HealthCare Advisor is a Streamlit application that serves as a healthcare advisor and provides users with tools like a BMI calculator and a medical query assistant. The application uses Google's Generative AI for health-related query responses, providing helpful insights but not a substitute for professional medical advice.
- BMI Calculator: Enter weight and height to calculate Body Mass Index (BMI) and interpret it based on standard BMI categories.
- Medical Query Assistant: Ask health-related questions to a virtual advisor powered by Google Generative AI's Gemini model.
- Disclaimer: Guidance on the app's limitations, advising users to consult healthcare professionals.
1. Clone the repository:
**git clone
cd healthcare-advisor**
2. Install required packages:
pip install -r requirements.txt
3. Set up API Key:
- Create a .env file in the root directory of your project.
- Add your Google Generative AI API key to .env: GOOGLE-API-KEY=your_api_key_here
Run the Streamlit app: streamlit run app.py
In the sidebar, enter your weight and height to calculate BMI. BMI categories will guide you based on your results. Use the text input box to ask health-related questions. Click on "Submit" to receive a response generated by the Google Generative AI model.
- HealthCare Advisor is not a substitute for professional medical advice.
- Always consult a qualified healthcare provider before making health decisions based on information provided by this app.
- Integration with LangChain for advanced query handling.
- Enhanced UI for a better user experience.
- Additional health calculators (e.g., heart rate, body fat percentage).