An open API service indexing awesome lists of open source software.

https://github.com/abhaysingh71/ai-powered-healthcare-intelligence-network

The AI-Powered Healthcare Intelligence Network is an AI-driven system offering disease prediction, drug recommendations, heart disease risk assessment, and an AI medical chatbot. Using ML, NLP, and LLMs, it provides accurate diagnoses, insights, and recommendations, enhancing healthcare accessibility, efficiency, and decision-making .
https://github.com/abhaysingh71/ai-powered-healthcare-intelligence-network

airtificialintelligence chatbot data-analysis data-science datawrangling disease-prediction healthcare-ai heart-disease huggingface langchain large-language-models lightgbm machine-learning mistral-7b recommendation-system retrieval-augmented-generation sentence-transformers shap vector-database

Last synced: 8 months ago
JSON representation

The AI-Powered Healthcare Intelligence Network is an AI-driven system offering disease prediction, drug recommendations, heart disease risk assessment, and an AI medical chatbot. Using ML, NLP, and LLMs, it provides accurate diagnoses, insights, and recommendations, enhancing healthcare accessibility, efficiency, and decision-making .

Awesome Lists containing this project

README

          



GitHub Stars


Docker Pulls

🩺 AI-Powered Healthcare Intelligence Network


Revolutionizing Healthcare with AI-Driven Predictions, Recommendations, and Insights, Medibot(RAG)



![DALLΒ·E 2025-03-06 19 27 45 - A high-tech AI-driven healthcare system banner](https://github.com/user-attachments/assets/48ac86e6-51bd-40c4-8d96-638fafe9d4c6)

---

πŸ“Œ 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**.

| ![Screenshot 1](utils/img1.png) | ![Screenshot 2](utils/img2.png) |
|---------------------------------|---------------------------------|

πŸ’Š 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.

| ![Screenshot 1](utils/img3.png) | ![Screenshot 2](utils/img4.png) |
|---------------------------------|---------------------------------|

πŸͺ€ 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**

| ![Screenshot 1](utils/img5.png) | ![Screenshot 2](utils/img6.png) |
|---------------------------------|---------------------------------|

πŸ€– 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.

| ![Screenshot 1](utils/img7.png) | ![Screenshot 2](utils/img8.png) |
|---------------------------------|---------------------------------|

---

πŸ“‚ 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_TOKEN in 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.

```bash
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:


---

🌐 Connect With Me



πŸ™ GitHub |
πŸ”— LinkedIn |
🐦 Twitter