Yunigma is an AI-powered medical chatbot. It leverages Google's Gemini AI models to provide medical information and answer health-related queries.
- Medical query answering using Gemini Pro model
- Image analysis for medical-related images using Gemini Pro Vision
- Multi-language support (English, Hindi, Kannada, Tamil, Telugu)
- User-friendly Streamlit interface
- Chat history persistence
- Input validation for medical relevance
Before you begin, ensure you have met the following requirements:
- Python 3.7+
- Streamlit
- Google GenerativeAI API key
- PIL (Python Imaging Library)
- googletrans
-
Clone the repository:
git clone https://github.com/YashasJKumar/Medical_Chatbot.git cd Medical_Chatbot -
Install the required packages:
pip install -r requirements.txt
-
Set up your Google API key:
- Create a
secrets.tomlfile in the.streamlitdirectory - Add your Google API key:
GOOGLE_API_KEY = "your-api-key-here"
- Create a
To run the Yunigma Medical Chatbot:
- Navigate to the project directory
- Run the Streamlit app:
streamlit run app.py
- Open your web browser and go to the provided local URL (usually
http://localhost:8501)
- Type your medical query in the chat input
- Optionally, upload an image for analysis
- Select your preferred response language from the sidebar
- View the chatbot's response in your chosen language
This chatbot is trained on medical textbooks and is fine-tuned to answer medical-related queries. It is not a substitute for professional medical advice, diagnosis, or treatment. Always consult with a qualified healthcare provider for medical concerns.
Contributions to the Yunigma Medical Chatbot are welcome. Please ensure that your code adheres to the project's coding standards and includes appropriate tests.
If you have any questions or feedback, please contact me at [yashasjkumar6@gmail.com].