Skip to content

utsab345/Medical-RAG-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤖 Medical RAG Chatbot

A smart Retrieval-Augmented Generation (RAG) chatbot for medical documents. Upload PDFs, extract their content, and interact with the model to get precise answers.

Built with a glassmorphic Tailwind CSS chat UI and a FastAPI backend, supporting Groq or local LLM inference.


🚀 Features

  • 🧠 RAG-powered Q&A: Ask questions directly from uploaded PDFs.
  • 📁 PDF Upload & Indexing: Automatically extract and embed content.
  • 💬 Interactive Chat: Smooth typing animations for real-time conversations.
  • 🌙 Dark / Light Mode Toggle: UI mode persists with localStorage.
  • 💾 Chat History: Saved locally in the browser for quick access.
  • 🧹 Clear Chat: Reset your conversation anytime.
  • Health Status Indicator: Monitor backend connectivity.
  • Modern Tech Stack: FastAPI backend + Tailwind UI, compatible with LangChain and Groq.

🖼️ Screenshot

Medical RAG Chatbot Screenshot


⚙️ Tech Stack

  • Frontend: React + Tailwind CSS + Glassmorphism design
  • Backend: FastAPI + LangChain / Groq for RAG inference
  • Data Storage: Browser localStorage for chat history
  • PDF Processing: PDF text extraction + embedding generation

🏗️ Setup & Usage

  1. Clone the repo
git clone https://github.com/utsab345/medical-rag-chatbot.git
cd medical-rag-chatbot
  1. Install dependencies
    pip install -r requirements.txt
    npm install
  2. Run backend
    uvicorn app.main:app --reload
  3. Run frontend
    npm run dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors