A Retrieval-Augmented Generation (RAG) based medical chatbot leveraging Large Language Models (LLMs) and a vector database for accurate, context-aware medical question answering.
- Domain: Medical Question Answering
- Core Technologies: Python, React, Qdrant, Mistral-7B (or other LLMs)
- Features:
- Retrieval-Augmented Generation (RAG) pipeline
- Semantic search over medical knowledge bases (MedQuAD, PubMed, etc.)
- Modern frontend for chat-based interaction
- Scalable backend with RESTful APIs
frontend/— React-based web UIscripts/— Data processing, retrieval, and backend scriptsmodels/— (Large files, download separately)data/— (Large files, download separately)qdrant_data/— (Vector DB files, download separately)
git clone https://github.com/IshaanPotle/LLM_Medical-Chatbot.git
cd LLM_Medical-Chatbot- Backend:
- Python 3.8+
- Install required packages (see scripts/requirements.txt or your script headers)
- Frontend:
- Node.js 18+
cd frontend && npm install
This repository does not include large files (models, data, vector DB) due to GitHub size limits.
- Hugging Face Repository: https://huggingface.co/IshaanPotle27/llm_medical_chatbot/tree/main/.
- Models: Download from the
models/folder - Processed Data: Download from the
data/folder - Qdrant Vector DB: Download from the
qdrant_data/folder
- Models: Download from the
Instructions:
- Download the files from the above Hugging Face link.
- Place them in the corresponding folders (
models/,data/,qdrant_data/).
# Example (adjust as needed)
python scripts/backend_rag.pycd frontend
npm run dev- Retrieval-Augmented Generation: Combines LLMs with semantic search for accurate, context-rich answers.
- Medical Knowledge Bases: Utilizes MedQuAD, PubMed, and other trusted sources.
- Scalable Architecture: Modular backend and frontend for easy extension.
- Swap in different LLMs or embedding models as needed.
- Add new data sources by updating the scripts in
scripts/.
Pull requests and issues are welcome!
See MedQuAD-master/LICENSE.txt and project root for licensing details.
For questions or collaboration, open an issue or contact IshaanPotle.