Skip to content

vikassrini/PhysicianAI-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealTime Physician Chatbot

The user can ask any health realted question to the chatbot. The user may upload pdf's of his helath report to ask questions based on them as well. Please pass only 1 pdf per session and if the first question is not answered proprly please try again before closing the application.

Demo of my chatbot working.

avatarimproved.1.mp4

Steps to run the bot

  1. Clone the Repository:

    git clone https://github.com/vikassrini/Chatbot.git
    cd Chatbot 
    
  2. Set Up a Virtual Environment (Optional but Recommended):

    # For macOS and Linux:
    python3 -m venv venv
    
    # For Windows:
    python -m venv venv
    
  3. Activate the Virtual Environment:

    # For macOS and Linux:
    source venv/bin/activate
    
    # For Windows:
    .\venv\Scripts\activate
    
  4. Install Required Dependencies: pip install -r requirements.txt

  5. Set up the Environment Variables:

    Create .toml file

    touch keys.toml
    

    You can get your OpenAI API key from here - Link to get OpenAI API key

    # add the following API key
    [api_keys]
    service_1_key = 
    
  6. Setup MongoDB:(optional) Download MongoDB from here Connect to the database using the connection string.

  7. Setup Weaviate: Run a local instance of Weavitate: Install docker on your machine , do this following this Installation Guide.

    Run the following command to start weavite

    docker compose up
    
  8. Run the application using the command:

    uvicorn chatapp:app --reload
    

About

Real Time Physician Chatbot

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published