- It's a user-friendly chat interface allows patients to upload blood test results and provides clear interpretations
- Assesses the urgency of the patient's condition and provides guidance on seeking immediate medical attention for urgent issues.
-
Navigate to your project directory using the
cdcommand:cd mychatBot -
Install the required dependencies using pip with the requirements.txt file:
pip install -r requirements.txt
-
- Set up the OpenAI API by creating an OpenAI account and obtaining an API key.
- Then, set the OPENAI_API_KEY environment variable in the main.py file by replacing "YOUR_API_KEY" with your actual API key.
-
Run the application using the python command:
python main.py
- Create a virtual environment using the python -m venv command:
python -m venv chatbot_venv
- Activate the virtual environment using the appropriate command:
chatbot_venv\Scripts\activate
- Install the required dependencies within the virtual environment using pip with the requirements.txt file:
pip install -r requirements.txt
- Set up the OpenAI API as described earlier.
- Run the application using the python command:
python main.py