π©Ί AI-Powered Healthcare Intelligence Network
Revolutionizing Healthcare with AI-Driven Predictions, Recommendations, and Insights, Medibot(RAG)
π About This Project
The AI-Powered Healthcare Intelligence Network is a cutting-edge platform that leverages Machine Learning (ML) and Natural Language Processing (NLP) to provide accurate disease predictions, personalized medical recommendations, and AI-assisted drug suggestions. The system aims to enhance early diagnosis, reduce medical errors, and offer intelligent healthcare solutions.
https://github.com/user-attachments/assets/360876dc-551a-498b-ab75-472137fed751
π Features
π‘ Disease Prediction & Medical Recommendation
This module uses Machine Learning to predict diseases based on symptoms and suggest the best medical recommendations.
- β Predicts diseases based on symptoms provided by the user.
- β Uses RandomForest Classifier for predictions.
- β Provides recommended treatments and precautions.
- β Provides medical descriptions, precautions, medication suggestions, and diet recommendations**.
![]() |
![]() |
|---|
π AI-Powered Drug Recommendation
Our AI system uses NLP & Cosine Similarity to recommend alternative medicines based on drug properties.
- β AI-powered alternative medicine finder.
- β Utilizes **NLP & cosine similarity** for **accurate drug matching**
- β Matches medicines with similar ingredients.
- β Ensures safer and more effective drug prescriptions.
![]() |
![]() |
|---|
πͺ Heart Disease Risk Assessment
This module uses LightGBM & AI classifiers to assess heart disease risks based on patient history.
- β Evaluates heart disease risk based on lifestyle and medical history.
- β Uses machine learning models (LightGBM, EasyEnsemble) for predicting heart disease risk.
- β Takes inputs like age, BMI, smoking habits, medical history, etc.
- β Provides a **personalized heart risk score with AI-driven recommendations**
![]() |
![]() |
|---|
π€ Medibot - AI Health Assistant
Our LLM-powered chatbot answers medical queries and provides instant healthcare insights using Hugging Face LLM (Mistral-7B-Instruct).
- β AI-powered medical chatbot based on Mistral-7B-Instruct.
- β Retrieves medical information from a FAISS vector database.
- β Retrieves reliable medical information using RAG (Retrieval Augmented Generation.
- β Provides fast, relevant, and fact-based healthcare responses.
- β Provides reliable AI-driven answers to health-related questions.
![]() |
![]() |
|---|
π Folder Structure
π¦ AI-Powered Healthcare Intelligence Network βββ π models/ # Trained ML models βββ π data/ # Medical datasets (CSV) βββ π vectorstore/db_faiss/ # FAISS vector database βββ π utils/ # Images, styles, and helper files βββ π pages/ # Individual module pages βββ π home.py # Main homepage (Streamlit UI) βββ π requirements.txt # Dependencies βββ π README.md # Project Documentation βββ π .gitignore # Ignored files βββ π styles.css # Custom CSS for UI
βοΈ Installation & Setup
1οΈβ£ Clone the Repository
git clone https://github.com/AbhaySingh71/AI-Powered-Healthcare-Intelligence-System.git cd AI-Powered-Healthcare-Intelligence-System
2οΈβ£ Set Up the Virtual Environment
python -m venv venv source venv/bin/activate # On macOS/Linux venv\Scripts\activate # On Windows
3οΈβ£ Install Dependencies
pip install -r requirements.txt
4οΈβ£ Set Up Environment Variables
Create a .env file and add:
HF_TOKEN=your_huggingface_api_token
Ensure it is added to GitHub Secrets when deploying.
5οΈβ£ Run the Application
streamlit run home.py
π Deployment on Streamlit Cloud
1οΈβ£ Push code to GitHub
git add . git commit -m "Initial commit" git push origin main
2οΈβ£ Deploy on Streamlit
- Go to Streamlit Cloud β Deploy a new app.
- Set
HF_TOKENin Streamlit Secrets. - Click Deploy! π
βοΈ Technologies Used
- Machine Learning: RandomForest, LightGBM, NLP, Cosine Similarity
- AI & NLP: Hugging Face Transformers, LangChain, FAISS
- Data Handling: Pandas, NumPy, Pickle
- Web Framework: Streamlit
- Visualization: Plotly, SHAP for feature importance
- Cloud Deployment: AWS, GCP
π Why Use This App?
- π₯ AI-Powered Healthcare Insights: Get data-driven medical predictions.
- βοΈ Enhances Patient Care: Supports doctors and patients in making informed decisions.
- π‘ Real-Time Recommendations: Provides immediate AI-assisted insights.
- β³ Saves Time: Automates diagnosis and medical recommendations.
- π¬ Empowers Medical Research: Helps in early disease detection and prevention.
Docker Deployment
This project is Docker-first. Docker ensures that the model can run in any environment without worrying about Python versions, dependencies, or system settings.
docker pull abhaysingh71/ai-powered-healthcare-system
docker run -p 8501:8501 abhaysingh71/ai-powered-healthcare-system
β Why Docker?
- Environment-independent deployments
- Fast setup and teardown
- Easy to host on cloud (AWS, GCP, Azure)
- Reproducibility for teams and CI/CD pipelines
π Docker hub
π License
This project is licensed under the MIT License. Feel free to use, modify, and contribute!
π¬ Contact Us
Have questions or need support? Reach out to us at:
- π§ [email protected]







