Skip to content

AI prototype that collects symptom via chat as user input and provide triage and diagnosis to the patient within the field of Gastroenterology.

Notifications You must be signed in to change notification settings

varayush007/Gastroenterology-Prototype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Medical Condition Diagnosis App

This is a Streamlit application that allows users to enter their symptoms and receive a diagnosis, triage recommendations, and diagnostic methods for potential medical conditions based on the provided symptoms.

Requirements

  • Python 3.7 or later
  • Streamlit
  • LangChain
  • Chroma
  • OpenAI API key (for embeddings and language model)

Installation

  1. Clone the repository:

    git clone https://github.com/varayush007/Gastroenterology-Prototype.git
    
  2. Navigate to the project directory:

    cd medical-condition-diagnosis
    
  3. Create a virtual environment and activate it:

     python -m venv env
     source env/bin/activate # On Windows, use `env\Scripts\activate`
    
  4. Install the required packages:

    pip install -r requirements.txt
    
  5. Create a .env file in the project root directory and add your OpenAI API key:

    OPENAI_API_KEY=your_openai_api_key
    

Usage

  1. Run the Streamlit app:
    streamlit run main.py
  2. In the web interface, enter your symptoms (comma-separated) in the input field.
  3. Click the "Diagnose" button.
  4. The app will display the potential medical conditions, triage recommendations, and diagnostic methods based on the provided symptoms.

About

AI prototype that collects symptom via chat as user input and provide triage and diagnosis to the patient within the field of Gastroenterology.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages