Skip to content

Chat4PCOS is a chatbot application designed to assist patiens with questions related to Polycystic Ovary Syndrome (PCOS). It integrates data from a Neo4j graph database with a Hugging Face model to provide accurate and contextually relevant responses.

Notifications You must be signed in to change notification settings

arij01/Chat4PCOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat4PCOS

Screenshot 2024-12-26 233135

About

Chat4PCOS is a chatbot application designed to assist patiens with questions related to Polycystic Ovary Syndrome (PCOS). It integrates data from a Neo4j graph database with a Hugging Face model to provide accurate and contextually relevant responses.

Setup Instructions

Prerequisites

  • Python 3.8 or higher
  • Node.js and npm
  • Neo4j database

Backend Setup

  1. Clone the repository:

    git clone https://github.com/arij01/Chat4PCOS.git
    cd Chat4PCOS
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv\Scripts\activate
  3. Install the required Python packages:

    pip install -r requirements.txt
  4. Set up the Neo4j database:

    • Start your Neo4j database.
    • Load the data from script.cypher and relationships_queries.cypher localted in the data folder into the Neo4j database.
  5. Run the FastAPI server:

    python api.py

Frontend Setup

  1. Navigate to the frontend directory:

    cd frontend
  2. Install the required npm packages:

    npm install
  3. Start the React development server:

    npm start

Running the Application

  • Open your browser and navigate to http://localhost:3000 to interact with the Chat4PCOS application.

Additional Information

  • The backend server runs on http://127.0.0.1:8000.
  • The frontend React application runs on http://localhost:3000.
  • Ensure that the Neo4j database is running and accessible at bolt://localhost:7687.

About

Chat4PCOS is a chatbot application designed to assist patiens with questions related to Polycystic Ovary Syndrome (PCOS). It integrates data from a Neo4j graph database with a Hugging Face model to provide accurate and contextually relevant responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published