β‘ Latest Update: All optimizations implemented! Single entry point, <10 second response time, universal symptom support, and visible AI reasoning.
SympCheck Plus is an intelligent medical assistant that provides comprehensive symptom assessment, contextual conversations, and hospital recommendations. Built with advanced AI and designed for healthcare support.
# Single command to run the app:
python gradio_app.py
# Opens at: http://localhost:7860
That's it! No need for run_app.py, run.py, or quick_start.py anymore.
SympCheck/
βββ gradio_app.py β ONLY entry point
βββ requirements.txt
βββ .env β Set API keys here
β
βββ modules/ β AI Components
β βββ llm_agent.py β Streaming + timeouts
β βββ medical_agent.py β ReAct reasoning engine
β βββ rag_retriever.py β Medical knowledge base
β βββ symptom_parser.py β Symptom extraction
β βββ hospital_locator.py β Map generation
β βββ tts_output.py β Audio synthesis
β
βββ prompts/ β AI Templates
β βββ diagnosis_prompt.txt (enhanced for any symptom)
β βββ followup_prompt.txt
β
βββ data/ β Medical Data
βββ metrics/ β Analytics
βββ docs/ β Documentation
βββ tests/ β Unit tests
βββ legacy/ β Archived launchers
β βββ run_app.py
β βββ run.py
β βββ quick_start.py
β βββ start_app.py
β
βββ README.md (You are here)
| Metric | Before | After | Status |
|---|---|---|---|
| Response Time | 15-20s | 7-9s | β |
| Symptom Types | ~30 hardcoded | Unlimited | β |
| AI Reasoning | Hidden | Visible | β |
| Hospital Display | Text | Interactive Map | β |
| Startup Time | Slow | Fast | β |
git clone <your-repo-url>
cd SympCheck-AI-Healthcare
python -m venv venv
# On Windows:
venv\Scripts\activate
# On Linux/Mac:
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your API keys
python -m spacy download en_core_web_sm
python gradio_app.py
http://localhost:7860Create a .env file with the following variables:
# LLM Configuration (Optional - for advanced features)
NVIDIA_API_KEY=your_nvidia_api_key_here
NVIDIA_API_BASE=https://integrate.api.nvidia.com/v1
NVIDIA_MODEL=openai/gpt-4o-mini
# Google Maps API (Optional - for hospital locator)
GOOGLE_MAPS_API_KEY=your_google_maps_api_key
# Logging Level
LLM_AGENT_LOGLEVEL=INFO
To use the RAG (Retrieval-Augmented Generation) features:
Download medical dataset:
data/medquad.csvBuild the database:
python build_database.py
This creates FAISS indices for fast medical information retrieval.
For voice input/output features:
# On Ubuntu/Debian:
sudo apt-get install ffmpeg
# On macOS:
brew install ffmpeg
# On Windows:
# Download ffmpeg and add to PATH
python -c "from modules.audio_input import AudioTranscriber; AudioTranscriber()"
"I have a headache and fever for 2 days"
"I've been experiencing chest pain that gets worse when I breathe deeply.
It started yesterday evening and I also feel short of breath."
User: "I have stomach pain"
Assistant: [Provides assessment and questions]
User: "The pain is getting worse and I feel nauseous"
Assistant: [Updates assessment based on new information]
The system can automatically recommend nearby hospitals based on:
Emergency numbers are provided for immediate situations.
The application includes built-in metrics tracking:
View metrics through the admin interface (if enabled).
python -m pytest tests/
pip install black flake8
black .
flake8 .
modules/tests/MEDICAL DISCLAIMER: This application is for informational purposes only and is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.
EMERGENCY SITUATIONS: In case of medical emergencies, always call your local emergency services immediately (108 in India, 911 in US, etc.).
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.
For support and questions:
docs/Built with β€οΈ for healthcare accessibility
2 commits
Python
98.5%
β‘ Latest Update: All optimizations implemented! Single entry point, <10 second response time, universal symptom support, and visible AI reasoning.
SympCheck Plus is an intelligent medical assistant that provides comprehensive symptom assessment, contextual conversations, and hospital recommendations. Built with advanced AI and designed for healthcare support.
# Single command to run the app:
python gradio_app.py
# Opens at: http://localhost:7860
That's it! No need for run_app.py, run.py, or quick_start.py anymore.
SympCheck/
βββ gradio_app.py β ONLY entry point
βββ requirements.txt
βββ .env β Set API keys here
β
βββ modules/ β AI Components
β βββ llm_agent.py β Streaming + timeouts
β βββ medical_agent.py β ReAct reasoning engine
β βββ rag_retriever.py β Medical knowledge base
β βββ symptom_parser.py β Symptom extraction
β βββ hospital_locator.py β Map generation
β βββ tts_output.py β Audio synthesis
β
βββ prompts/ β AI Templates
β βββ diagnosis_prompt.txt (enhanced for any symptom)
β βββ followup_prompt.txt
β
βββ data/ β Medical Data
βββ metrics/ β Analytics
βββ docs/ β Documentation
βββ tests/ β Unit tests
βββ legacy/ β Archived launchers
β βββ run_app.py
β βββ run.py
β βββ quick_start.py
β βββ start_app.py
β
βββ README.md (You are here)
| Metric | Before | After | Status |
|---|---|---|---|
| Response Time | 15-20s | 7-9s | β |
| Symptom Types | ~30 hardcoded | Unlimited | β |
| AI Reasoning | Hidden | Visible | β |
| Hospital Display | Text | Interactive Map | β |
| Startup Time | Slow | Fast | β |
git clone <your-repo-url>
cd SympCheck-AI-Healthcare
python -m venv venv
# On Windows:
venv\Scripts\activate
# On Linux/Mac:
source venv/bin/activate
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your API keys
python -m spacy download en_core_web_sm
python gradio_app.py
http://localhost:7860Create a .env file with the following variables:
# LLM Configuration (Optional - for advanced features)
NVIDIA_API_KEY=your_nvidia_api_key_here
NVIDIA_API_BASE=https://integrate.api.nvidia.com/v1
NVIDIA_MODEL=openai/gpt-4o-mini
# Google Maps API (Optional - for hospital locator)
GOOGLE_MAPS_API_KEY=your_google_maps_api_key
# Logging Level
LLM_AGENT_LOGLEVEL=INFO
To use the RAG (Retrieval-Augmented Generation) features:
Download medical dataset:
data/medquad.csvBuild the database:
python build_database.py
This creates FAISS indices for fast medical information retrieval.
For voice input/output features:
# On Ubuntu/Debian:
sudo apt-get install ffmpeg
# On macOS:
brew install ffmpeg
# On Windows:
# Download ffmpeg and add to PATH
python -c "from modules.audio_input import AudioTranscriber; AudioTranscriber()"
"I have a headache and fever for 2 days"
"I've been experiencing chest pain that gets worse when I breathe deeply.
It started yesterday evening and I also feel short of breath."
User: "I have stomach pain"
Assistant: [Provides assessment and questions]
User: "The pain is getting worse and I feel nauseous"
Assistant: [Updates assessment based on new information]
The system can automatically recommend nearby hospitals based on:
Emergency numbers are provided for immediate situations.
The application includes built-in metrics tracking:
View metrics through the admin interface (if enabled).
python -m pytest tests/
pip install black flake8
black .
flake8 .
modules/tests/MEDICAL DISCLAIMER: This application is for informational purposes only and is not intended to be a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition.
EMERGENCY SITUATIONS: In case of medical emergencies, always call your local emergency services immediately (108 in India, 911 in US, etc.).
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.
For support and questions:
docs/Built with β€οΈ for healthcare accessibility
2 commits
Python
98.5%