Here’s an enhanced version of your README.md
with improved structure, clarity, and visual appeal. I've added badges, better formatting, and more detailed sections to make it more professional and user-friendly.
HealthAlly is an AI-powered healthcare chatbot designed to support university students by providing immediate assistance for physical & mental health concerns. Built with Python, Streamlit, and MongoDB, it offers personalized symptom diagnosis, first-aid room availability, mental health support, and doctor appointment booking—all tailored for campus life.
👉 Live Demo: Try HealthAlly Now
Feature | Description |
---|---|
🤖 AI Symptom Checker | Diagnoses conditions based on symptoms using ML & suggests treatments. |
💊 First-Aid Room Tracker | Checks medicine availability in campus first-aid rooms by department. |
🧠 Mental Health Support | Provides stress-relief tips & connects to counseling services. |
📅 Doctor Appointment Booking | Books consultations with campus doctors directly in-chat. |
📚 Academic Wellness Tips | Advice on managing exam stress, sleep, and study habits. |
24/7 Real-Time Assistance | Always available for urgent health queries. |
- University students needing quick health guidance.
- Those facing physical symptoms (fever, cough, headaches, etc.).
- Students struggling with stress, anxiety, or mental health challenges.
- Anyone seeking campus healthcare resources (medicines, first aid, doctors).
git clone https://github.com/AdesharaBrijesh/HealthAlly.git
cd HealthAlly
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
Create a config.py
file:
# config.py
MONGO_URI = "your_mongodb_connection_url_here" # Get this from MongoDB Atlas
config.py
to GitHub!
streamlit run streamlit_app.py
Visit http://localhost:8501
in your browser.
HealthAlly/
├── data/ # Health datasets (symptoms, treatments, etc.)
│ └── data.csv
├── model/ # AI models & embeddings
│ ├── llm.py # Symptom diagnosis logic
│ ├── medicine.py # Medicine search functions
│ └── *.pkl/.bin # Pre-trained model files
├── pages/ # Streamlit app pages
│ ├── 0_helthChat.py # Main chat interface
│ ├── 1_appointment_booking.py # Book doctors
│ └── ... # Other pages (history, profile, etc.)
├── styles/ # Custom CSS
│ └── sidebar.css
├── streamlit_app.py # Main app entry point
├── config.py # Secrets (ignored in Git)
└── requirements.txt # Python dependencies
- Select your department (e.g., Computer Science, Medicine).
- Describe symptoms (e.g., "headache, fever for 2 days").
- Get AI diagnosis with treatment & medicine suggestions.
- Check first-aid room for medicine availability.
- Book a doctor if symptoms persist.
We welcome contributions! Here’s how:
- Fork the repo.
- Create a branch:
git checkout -b feature/your-idea
- Commit changes:
git commit -m "Add awesome feature"
- Push:
git push origin feature/your-idea
- Open a Pull Request.
This project is licensed under the MIT License.
- MongoDB Atlas for database hosting.
- Streamlit for the intuitive UI framework.
- Hugging Face for transformer models.
- FAISS for efficient similarity search.
MONGO_URI
) private. Use .gitignore
!