Build a Medical Chatbot That Cites Its Sources
Connect a large language model to trusted medical references, then design tests that catch wrong or unsafe answers.
- Length
- 8 or 14 weeks
- Mentoring
- Weekly 1:1
- Between sessions
- Q&A channel
- Price
- From $1,900

What you will do
The project
Chatbots can sound confident even when they are wrong. In medicine, every answer needs a source and a safety check.
You will build a retrieval-augmented chatbot that cites trusted references and evaluate it the way Dr. Harari's group tests generative AI in randomized trials with clinicians.
What you will build
- A retrieval pipeline over trusted, public medical sources
- A chatbot that answers with citations
- A safety test set of tricky and risky questions
- An evaluation with a clinician-style scoring rubric
Your journey
From week 0 to your final presentation
Here is where you start, and what you will be able to do by the end.
Week 0: where you start
- No AI or coding experience needed. Your mentor teaches what you need, at your level.
- A laptop and a free Google account. We work in free, browser-based notebooks.
- Curiosity about a medical question, and 3–6 hours a week.
Final week: where you finish
- Explain how large language models work and why they hallucinate
- Build a retrieval pipeline over trusted medical sources
- Design prompts that produce cited, cautious answers
- Create a safety test set and score answers with a rubric
- Present an evaluation, not just a demo
Curriculum
Your project, step by step
Shown for the 14-week Publication Fellowship. The 8-week Project Fellowship covers the same steps at a faster pace and focuses on the core build.
- 1Output: Use case and rubric
Weeks 1–2
Frame the use case
Pick a clinical question area and define what a safe answer looks like.
- 2Output: Search index
Weeks 3–4
Build retrieval
Collect sources, chunk and embed them, and test search quality.
- 3Output: Working chatbot
Weeks 5–8
Build the chatbot
Generate answers with citations and refine prompts.
- 4Output: Safety report
Weeks 9–11
Test for safety
Run your test set, score answers and analyze failures.
- 5Output: Demo and poster
Weeks 12–14
Write and present
Present a live demo and your evaluation.
Weeks 1–2
Frame the use case
Pick a clinical question area and define what a safe answer looks like.
What you will cover
- How LLMs generate text
- Choosing a clinical question area
- Defining a safe, useful answer
Weeks 3–4
Build retrieval
Collect sources, chunk and embed them, and test search quality.
What you will cover
- Collecting trusted sources
- Chunking and embeddings
- Testing search quality
Weeks 5–8
Build the chatbot
Generate answers with citations and refine prompts.
What you will cover
- Connecting retrieval to an LLM
- Prompting for citations and caution
- Handling questions it should refuse
Weeks 9–11
Test for safety
Run your test set, score answers and analyze failures.
What you will cover
- Building a safety test set
- Scoring with a clinician-style rubric
- Analyzing failures and fixes
Weeks 12–14
Write and present
Present a live demo and your evaluation.
What you will cover
- Live demo
- Poster and figures
- Demo Day presentation
How each week works
A typical week in your fellowship
- 1
Each week
1:1 session with your mentor
60 minutes to review progress, solve problems and plan the week.
- 2
During the week
Work through your tasks
Guided notebooks, readings and short exercises, at times that suit you.
- 3
Anytime
Ask in your channel
Questions and advice from your mentor team, answered within one business day.
- 4
End of week
Share progress, get feedback
Post your progress and get written feedback before your next session.
Skills you will gain
Tools
Data
Public, reusable medical references such as MedlinePlus and PubMed abstracts. No real patient records are ever used.
Research questions you could explore
- How often do chatbots give unsafe advice, and does retrieval reduce it?
- Do clinicians trust answers more when sources are shown?
What you get
When you finish
Certificate
When you complete the project.
Letter of recommendation
If you meet all requirements.
Demo Day and project page
Present and share your work.
Publication support
For strong results, in Research and Publication Fellowships.
Pricing
Choose your fellowship length
Project Fellowship
8 weeks · A focused first project: build, evaluate and present a working medical AI model.
$1,900
One-time payment, or 3 payments on request
- 8 weekly 1:1 sessions (60 min)
- Private Q&A channel with your mentor
- Starter code, curated public data and templates
- Demo Day and a public project page
- Certificate and letter of recommendation*
Publication Fellowship
14 weeks · The full research cycle, from clinical question to poster, abstract and manuscript draft.
$2,900
One-time payment, or 3 payments on request
- 14 weekly 1:1 sessions (60 min)
- Private Q&A channel with your mentor
- Research question, analysis and poster
- Abstract, conference and manuscript support
- Certificate and letter of recommendation*
Get ready
Courses that pair well with this project

LLMs in Medicine: Retrieval, Prompting & Safety
Build and test medical assistants with large language models that cite sources and fail safely.
Learn more →
Evaluating Clinical AI: Metrics, Bias & Validation
Learn how to prove a medical AI model works, for whom, and what evidence would justify using it in care.
Learn more →
Python for Medical Data
Go from zero to confident with Python, using real clinical tables, images and signals.
Learn more →Questions
Is this project right for my level?
Yes. The same project runs at different depths. Your mentor adjusts the materials and goals for pre-med high school students, pre-med college students and health-tech professionals.
How much time does it take each week?
Plan for your 60-minute 1:1 session plus about 3–6 hours of independent work, depending on your fellowship length and goals.
Can I bring my own idea?
Yes. These questions are starting points. Many learners shape their own question with their mentor in week one.
Explore other projects

Predict Knee Osteoarthritis from X-rays
Train a deep-learning model to grade knee osteoarthritis on X-rays, then show clinicians why it made each call.
Learn more →
Detect Skin Cancer in Dermatology Images
Build a model that flags suspicious skin lesions for a dermatologist to review, and test whether it works fairly for everyone.
Learn more →
Find Eye Disease in Retinal OCT Scans
Teach a model to read retinal scans and spot conditions such as macular edema before they threaten vision.
Learn more →Ready to start this project?
Pay online, choose 3 payments, or ask us anything first.


