๐ค Ask about Indian medicines + find nearest medical stores in Jaipur โ powered by local AI, zero internet needed!
Features โข Demo โข Installation โข Architecture โข Tech Stack โข Datasets
MediBot Jaipur is a fully offline, privacy-first Medical AI Assistant that answers questions about 253,973 Indian medicines and helps you find the nearest medical store from 383 verified Jaipur pharmacies โ all running locally on your laptop using Mistral 7B.
No API keys. No internet. No data leaving your machine. Just pure AI magic. ๐ฅ
| Feature | Description |
|---|---|
| ๐ 253K+ Medicines | Complete A-Z Indian medicine database with prices in โน |
| ๐ 383 Jaipur Stores | Find nearest medical stores by area name |
| ๐ง RAG Architecture | Retrieval Augmented Generation for accurate answers |
| ๐ 100% Offline | No internet, no API costs, no data privacy concerns |
| โก Fast Search | MiniLM embeddings search 323K chunks in milliseconds |
| ๐บ๏ธ Google Maps Links | Direct links to stores on Google Maps |
| ๐ Store Details | Phone, timings, delivery, ratings for each store |
| ๐จ Beautiful UI | Dark-themed Gradio interface with quick-question buttons |
| ๐ค Mistral 7B | Powerful 7B parameter LLM running on local GPU |
๐ Area: Malviya Nagar
๐ Question: "medicine for fever"
MediBot โ
"For fever, common medicines include:
1. Paracetamol (500mg) - โน15-30
2. Dolo 650 - โน30
3. Calpol - โน25
Always consult a real doctor before use.
๐ฅ Nearby Medical Stores in Malviya Nagar:
1. Apollo Pharmacy (Malviya Nagar)
โญ 3.4/5 (302 reviews)
๐ 7AM - 11PM | โ No delivery
๐ 9198488707
๐บ๏ธ maps.google.com/?q=26.86,75.81
2. City Med House (Malviya Nagar)
โญ 4.7/5 (2790 reviews)
๐ 7AM - 9PM | ๐ Delivery: 5km
๐ 9181639077
๐บ๏ธ maps.google.com/?q=26.86,75.80"
- Python 3.10+
- NVIDIA GPU (8GB+ VRAM recommended)
- Ollama installed
- 16GB+ RAM
git clone https://github.com/Jashanjindal/MediBot.git
cd MediBotpip install -r requirements.txtollama pull mistralDownload these and place in data/ folder:
- A-Z Medicines Dataset of India โ
A_Z_medicines_dataset_of_india.csv - Medical Q&A Dataset โ
medDataset_processed.csv - Jaipur Medical Stores Dataset โ
jaipur_medical_stores_ml.xlsx
# Open ingest.ipynb in Jupyter and run all cells
# This takes ~26 minutes โ only needed ONCE!
jupyter notebook ingest.ipynb# Open launch.ipynb and run all 4 cells
jupyter notebook launch.ipynb
# Opens at http://127.0.0.1:7860MediBot/
โ
โโโ ๐ launch.ipynb โ Run this every day! (4 cells, ~2 mins)
โโโ ๐ setup/
โ โโโ ingest.ipynb โ Run once to build vectorstore
โ
โโโ ๐ data/
โ โโโ A_Z_medicines_dataset_of_india.csv
โ โโโ medDataset_processed.csv
โ โโโ jaipur_medical_stores_ml.xlsx
โ
โโโ ๐ vectorstore/ โ Auto-generated (not on GitHub)
โโโ ๐ requirements.txt
โโโ ๐ .gitignore
โโโ ๐ README.md
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ USER INPUT โ
โ Area: "Malviya Nagar" โ
โ Question: "medicine for fever" โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโ
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ RAG PIPELINE โ โ LOCATION ENGINE โ
โ โ โ โ
โ MiniLM Embeddings โ โ Search 383 Jaipur stores โ
โ โ โ โ by area name / GPS โ
โ ChromaDB Search โ โ using GeoPy distance โ
โ โ โ โ โ โ
โ Top 8 relevant โ โ Top 3 nearest stores โ
โ medical chunks โ โ with full details โ
โโโโโโโโโโโโฌโโโโโโโโโโโโ โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโ
โ โ
โโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MISTRAL 7B โ
โ Reads medicine context โ
โ + store information โ
โ Generates full answer โ
โ Running on RTX GPU โ
โโโโโโโโโโโโโโฌโโโโโโโโโโโโโ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ GRADIO UI โ
โ Dark themed chat โ
โ Quick question buttons โ
โ Location input box โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Component | Technology | Why |
|---|---|---|
| LLM | Mistral 7B via Ollama | Best 7B model, runs on 8GB VRAM |
| Embeddings | MiniLM (sentence-transformers) | 50x faster than LLM embeddings |
| Vector DB | ChromaDB | Fast similarity search |
| Location | GeoPy | Distance calculation between GPS coordinates |
| Framework | LangChain | Connects all AI components |
| UI | Gradio | Beautiful dark-themed web interface |
| Language | Python 3.10+ | ML ecosystem |
| GPU | NVIDIA RTX 4050 | Local GPU inference |
Dataset 1 โ A-Z Medicines of India
โโโ Total medicines : 253,973
โโโ Key columns : name, price(โน), manufacturer, composition
โโโ Source : Kaggle
Dataset 2 โ Medical Q&A
โโโ Total Q&A pairs : 16,407
โโโ Key columns : question, answer, type
โโโ Source : Kaggle
Dataset 3 โ Jaipur Medical Stores
โโโ Total stores : 383
โโโ Key columns : name, address, locality, lat/lon,
โ phone, timings, delivery, rating
โโโ Coverage : All major Jaipur localities
Combined Knowledge Base
โโโ Total documents : 270,380
โโโ After chunking : 323,516 chunks
โโโ Embedding model : all-MiniLM-L6-v2
Malviya Nagar Vaishali Nagar C-Scheme
Mansarovar Tonk Road Ajmer Road
Sanganer Jagatpura Pratap Nagar
Civil Lines Raja Park Shyam Nagar
Nirman Nagar Sodala Vidhyadhar Nagar
...and many more!
๐ Medicine Info
โ "What is Paracetamol used for?"
โ "What medicines contain Amoxicillin?"
โ "Composition of Augmentin 625?"
๐ฐ Pricing
โ "Price of Dolo 650 in India?"
โ "Cheapest fever medicines?"
โ ๏ธ Side Effects
โ "Side effects of Azithromycin?"
โ "Is Ibuprofen safe for children?"
๐ With Location (Jaipur specific)
โ Area: Vaishali Nagar | "medicine for cold"
โ Area: C-Scheme | "where can I get Metformin?"
โ Area: Mansarovar | "nearest 24x7 pharmacy?"
# Step 1 โ Start Ollama (keep terminal open)
ollama serve
# Step 2 โ Open launch notebook
jupyter notebook launch.ipynb
# Step 3 โ Run All Cells (Ctrl+F9)
# Takes ~2 minutes total
# Step 4 โ Open browser
# Go to http://127.0.0.1:7860- โ No API costs โ completely free to run forever
- โ Privacy first โ your medical questions never leave your laptop
- โ Indian medicine focused โ built specifically for Indian medicines with โน prices
- โ Jaipur specific โ 383 verified local pharmacies with real contact details
- โ Location aware โ finds nearest store in your area instantly using GPS data
- โ Massive knowledge base โ 323K chunks of medical knowledge
- โ Production ready UI โ looks and feels like a real product
- โ Fully reproducible โ anyone can clone and rebuild in ~30 minutes
MediBot Jaipur is for educational purposes only. Always consult a qualified medical professional before taking any medicine. Store information may not be 100% accurate โ always verify before visiting. The creators are not responsible for any medical decisions made based on this tool.
Jashan Jindal
- B.Tech CS (AI & ML) โ JECRC University, Jaipur
- GitHub: @Jashanjindal
- LinkedIn: Jashan Jindal
MIT License โ free to use, modify, and distribute!
Built with โค๏ธ in Jaipur, Rajasthan ๐ฎ๐ณ
If this helped you, give it a โญ on GitHub!
"Built a complete offline Medical AI with RAG architecture, local LLM inference, and location-based pharmacy search โ running 100% on my laptop!"