8000 GitHub - nithin9000/medimate: MedChat AI is a privacy-focused medical chatbot that uses a locally hosted Mistral 7B LLM with RAG from the Gale Encyclopedia of Medicine to deliver accurate, context-aware health information. It features a responsive React UI, contextual memory, and location based doctor recommendations,all with a strong commitment to ethical AI use.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

MedChat AI is a privacy-focused medical chatbot that uses a locally hosted Mistral 7B LLM with RAG from the Gale Encyclopedia of Medicine to deliver accurate, context-aware health information. It features a responsive React UI, contextual memory, and location based doctor recommendations,all with a strong commitment to ethical AI use.

License

Notifications You must be signed in to change notification settings

nithin9000/medimate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧠 MedChat AI

MedChat AI is a privacy-focused medical chatbot that uses a locally hosted Mistral 7B LLM with Retrieval-Augmented Generation (RAG) from the Gale Encyclopedia of Medicine to deliver accurate, context-aware health information. It features a responsive React UI, contextual memory, and location-based doctor recommendations—all with a strong commitment to ethical AI use.


🚀 Features

  • 🔒 Local LLM: Runs Mistral 7B via Ollama, ensuring full privacy and offline support.
  • 📚 RAG Knowledge Base: Uses Gale Encyclopedia of Medicine for accurate, medical-grade responses.
  • 🧠 Contextual Memory: Maintains conversation history for natural multi-turn dialogue.
  • 📍 Doctor Finder: Recommends nearby specialists using a location-aware MongoDB dataset.
  • 💬 React + FastAPI Stack: Modern, mobile-friendly frontend with a robust Python backend.
  • ⚠️ Medical Disclaimer: Each response includes a built-in notice that it's not a substitute for professional care.

🛠️ Tech Stack

  • Frontend: React + TypeScript + Tailwind CSS
  • Backend: FastAPI + Python
  • LLM: Mistral 7B (via Ollama)
  • RAG: Custom ingestion using Gale Encyclopedia .txt files + vector store
  • Database: MongoDB (for doctor & hospital info)

Installation

  1. Create a Environment
  python -m venv medbot
  source medbot/bin/activate
  1. Install required packages
  pip install -r requirements.txt
  1. Start Local database with MongoDBCompass and select Database.json file from data directory.

  2. Install ollama and download the LLM you want to use.

  3. Start backend

  uvicorn main:app --reload
  1. Start Frontend
  cd frontend
  npm install
  npm run dev
  1. Open localhost with your browser to see the result.
  http://localhost:5173

About

MedChat AI is a privacy-focused medical chatbot that uses a locally hosted Mistral 7B LLM with RAG from the Gale Encyclopedia of Medicine to deliver accurate, context-aware health information. It features a responsive React UI, contextual memory, and location based doctor recommendations,all with a strong commitment to ethical AI use.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0