Medical Query Generator
December 31, 2023 ยท View on GitHub
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.
About The Project
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.
Getting Started
To get started with the project, follow the steps below.
Prerequisites
- Google API Key
- Google Generativeai
- Flask
- Python Dotenv
Installation
-
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
.envfile.
-
Run the application:
python app.pyThe application will be accessible at http://localhost:5000/.
Usage
- 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.
Contributing
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.
License
Distributed under the MIT License. See LICENSE.txt for more information.
Contact
- Your Name - kalyanmurapaka274@gmail.com
Project Link: https://github.com/KalyanMurapaka45/Medical-Assisstant