Welcome to the Healthcare Advisor, an AI-powered medical assistant built with Google Generative AI Gemini Model and Streamlit. This application provides general health-related information, answers questions on diseases and fitness, and includes a BMI calculator for quick health assessments.
-
Generative AI-Powered Chatbot:
- Acts as a virtual dietician and healthcare expert.
- Answers health-related questions.
- Provides responses only within the scope of health, diseases, and fitness.
- Refrains from giving medication advice and redirects users to consult doctors.
-
BMI Calculator:
- Sidebar tool to calculate Body Mass Index (BMI).
- Categorizes BMI into standard health ranges (Underweight, Normal, Overweight, Obese).
-
User-Friendly Interface:
- Streamlit-based intuitive layout.
- Real-time interaction with AI responses.
-
Disclaimer:
- Clearly outlines the limitations of the application.
- Advises consulting medical professionals for serious concerns.
Ensure the following are installed and set up on your system:
- Python 3.8 or above
- Streamlit
- Pandas
- Google Generative AI SDK
- A
.env
file with your Google API key:
- Clone this repository:
git clone https://github.com/your-username/healthcare-advisor.git
cd healthcare-advisor
2. Install the required dependencies:
pip install -r requirements.txt
3. Create a .env file in the project directory with your Google API key:
4. Run the application: streamlit run app.py
🏃 Usage
1. Open the application in your browser (default: http://localhost:8501).
2. Health Chatbot: Enter your health-related query in the text input box and click "Submit."
3. BMI Calculator:
- Enter your weight (in kgs) and height (in cms) in the sidebar.
- View the calculated BMI and its interpretation.
4. Review the Disclaimer at the bottom of the app for limitations.
---
🖼️ Application Overview
**Main Chat Interface**
- Interact with the AI-powered Healthcare Advisor.
**Sidebar BMI Calculator**
- Quickly calculate and interpret your BMI.
**Disclaimer Section**
- Understand the scope and limitations of the application.
🤝 Contributing
Contributions are welcome! Please fork the repository and create a pull request for any changes or enhancements.
📜 Disclaimer
This application is an AI-powered advisor and should not be taken as medical advice.
Always consult a qualified medical practitioner for any health-related decisions.
The application is designed for educational and informational purposes only.
🛡️ License
This project is licensed under the MIT License. See the LICENSE file for details.
🧑💻 Author
Your Name - Developer of Healthcare Advisor.
LinkedIn: Your LinkedIn Profile
GitHub: Your GitHub Profile
✨ Acknowledgements
- Google Generative AI
- Streamlit
- Pandas
Feel free to customize this file further based on your specific preferences!