Paige Lui
All Projects

Retrieval-Augmented Generation · Full-Stack Development

Medical RAG Chatbot

A medical-information chatbot that combines document retrieval, vector search, and language-model generation to produce responses informed by trusted reference material.

PythonFastAPINext.jsTypeScriptLangChainChromaOpenAI
Medical RAG Chatbot project preview

The Project

Overview

Large language models can generate fluent explanations, but their responses are not necessarily grounded in reliable reference material. This limitation is particularly important when discussing health-related information.

I developed a retrieval-augmented chatbot that combines a language model with a searchable collection of medical reference content. Instead of generating an answer entirely from the model's existing knowledge, the application retrieves relevant material and incorporates it into the response-generation process.

The project brought together backend API development, document processing, vector search, and frontend development into a single application.

Key Contributions

Project Highlights

Retrieval-Augmented Generation

Built a workflow that retrieves relevant medical reference material to provide context for generated responses.

Full-Stack Integration

Connected a Python-based API to a Next.js interface, creating an end-to-end application.

Source-Grounded Responses

Designed the application around established medical reference material rather than relying exclusively on a language model's general knowledge.

Behind the Build

Technical Deep Dive