The Medical Assistance System is a Python-based application designed to provide medical assistance to users by predicting diseases, suggesting remedies, recommending hospitals, and estimating treatment costs and duration based on user-provided information about symptoms and patient details.
- π©Ί Predicts diseases based on symptoms and severity.
- π Suggests remedies for identified symptoms.
- π₯ Recommends hospitals for treatment based on symptoms, severity, and location.
- π° Estimates treatment costs and duration.
langchain/
: Contains modules for OpenAI language models and various utilities.llms.py
: Module for interfacing with OpenAI language models.prompts.py
: Module containing prompt templates.chains.py
: Module for defining chain structures for processing user requests.memory.py
: Module for managing conversation memory.
main.py
: Main entry point for the Medical Assistance System.
- Python 3.x
- OpenAI GPT-3 API
-
Clone the repository:
git clone https://github.com/yourusername/medical-assistance-system.git cd medical-assistance-system
-
Install dependencies:
pip install -r requirements.txt
-
Set up OpenAI API key:
Replace
mykey
variable inmain.py
with your OpenAI API key.
-
Run the main script:
python main.py
-
Follow the prompts and provide necessary patient details and symptoms when prompted.
-
The system will provide predictions for diseases, suggest remedies, recommend hospitals, and estimate treatment costs and duration based on the provided information.
Contributions are welcome! If you have any suggestions, bug reports, or feature requests, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.