Spaces:
Sleeping
Sleeping
| # Medical Chatbot is Ready! π | |
| Your medical chatbot is now running! | |
| ## Access the Application | |
| The Streamlit application should be running at: | |
| **http://localhost:8501** | |
| Open this URL in your browser to start chatting with the medical chatbot. | |
| ## What's Been Done | |
| β Created complete medical chatbot architecture | |
| β Configured API keys (Pinecone & Google Gemini) | |
| β Installed all dependencies | |
| β Set up Pinecone vector database | |
| β Loaded **3,012 medical documents** from MultiMedQA (MedMCQA dataset) | |
| β Integrated with Gemini 1.5 Flash | |
| β Started the Streamlit application | |
| ## Project Files Created | |
| - `app.py` - Streamlit UI for the chatbot | |
| - `medical_chatbot.py` - RAG pipeline with Gemini & citation | |
| - `embedding_service.py` - Sentence transformers & Pinecone integration | |
| - `data_loader.py` - Medical data loading from Hugging Face | |
| - `setup_database.py` - Database initialization script | |
| - `config.py` - Configuration management | |
| - `requirements.txt` - Python dependencies | |
| - `README.md` - Complete documentation | |
| - `QUICK_START.md` - Setup guide | |
| ## Features | |
| - π€ Uses Gemini 1.5 Flash for intelligent responses | |
| - π Semantic search with Sentence Transformers | |
| - π Retrieves relevant medical information | |
| - π Provides citations and sources | |
| - π― Shows confidence scores | |
| - β οΈ Includes medical disclaimers | |
| ## How to Use | |
| 1. Open http://localhost:8501 in your browser | |
| 2. Ask medical questions (e.g., "What are diabetes symptoms?") | |
| 3. Get answers with: | |
| - Confident responses based on source material | |
| - Citation references | |
| - Confidence scores (High/Medium/Low) | |
| - Similarity scores | |
| ## Important Notes | |
| - β οΈ This is NOT medical advice | |
| - β οΈ Always consult healthcare professionals | |
| - β οΈ Confidence scores reflect data quality, not medical accuracy | |
| ## Example Questions | |
| Try asking: | |
| - "What causes chest pain?" | |
| - "How to treat high blood pressure?" | |
| - "What are diabetes symptoms?" | |
| - "Explain heart disease risk factors" | |
| ## Current Data Source | |
| The chatbot is trained on the **MultiMedQA** collection from Hugging Face: | |
| - **MedMCQA**: 3,000+ medical multiple-choice questions and answers | |
| - Source: https://huggingface.co/collections/openlifescienceai/multimedqa | |
| ## Next Steps | |
| To add more medical data: | |
| 1. Run `python setup_database.py` to reload data | |
| 2. Modify `data_loader.py` to increase dataset limits | |
| 3. The system currently uses 3,012 medical documents | |
| Enjoy your medical chatbot! π₯ | |