An AI-powered medical analysis platform that transforms prescriptions, lab reports, and doctor's notes into simplified summaries, visual charts, and a chat-based interface using LLMs.
- 📁 Upload support for PDF and TXT medical documents
- 🧠 LLM-powered report summarization using Google Gemini
- 📊 Automatic visualization of lab results and health metrics
- 💬 Chat interface for asking questions about uploaded reports
- 📋 Searchable report history with downloads and statistics
-
Clone the repository
-
Create a
.envfile with your API keys:GEMINI_API_KEY=your_google_gemini_api_key MONGODB_URL=your_mongodb_connection_string -
Install dependencies:
pip install -r requirements.txt -
Run the app:
streamlit run app.py
- Upload your medical document through the sidebar
- View an AI-generated summary in simple language
- Explore auto-generated charts for vital signs, blood work, etc.
- Ask health-related questions based on your document
- Browse and manage previously uploaded reports
app.py– Main Streamlit interface and logicdb.py– MongoDB handlers (save, retrieve, search).env– API keys (not tracked in git)requirements.txt– Python dependencies
This is a prototype/demo application intended for educational and research purposes.
Always consult a qualified healthcare provider for medical advice.
Here is the link to the website: https://whitecoatai-2xizuifvkdg64cgjvvk9kc.streamlit.app/