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/