A Flask web application that uses Google's GenerativeAI (Gemini) to generate medical responses based on user input. The application simulates a medical expert providing accurate advice to a patient's query.
The Medical Query Generator is a web application that leverages Google's GenerativeAI to generate detailed and accurate medical responses. Users input medical queries, and the application provides responses adhering to specific guidelines for clarity, accuracy, and informativeness.
To get started with the project, follow the steps below.
- Google API Key
- Google Generativeai
- Flask
- Python Dotenv
-
Clone the repository:
git clone https://github.com/KalyanMurapaka45/Medical-Assisstant.git cd medical-query-generator
-
Install dependencies:
pip install -r requirements.txt
-
Set up your Google API Key:
- Create a project on the Google Cloud Console.
- Enable the GenerativeAI API.
- Create an API key and add it to your environment variables or a
.env
file.
-
Run the application:
python app.py
The application will be accessible at http://localhost:5000/.
- Open your web browser and navigate to http://localhost:5000/.
- Input a medical query following the provided guidelines.
- Click the "Generate Response" button to obtain a detailed medical response.
Contributions to the Medical Query Generator are welcome! If you have suggestions, enhancements, or bug fixes, please follow the steps below:
- Fork the project.
- Create your feature branch (
git checkout -b feature/YourFeature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/YourFeature
). - Open a pull request.
Distributed under the MIT License. See LICENSE.txt
for more information.
- Your Name - kalyanmurapaka274@gmail.com
Project Link: https://github.com/KalyanMurapaka45/Medical-Assisstant