Skip to content

In the project, I will build a mental health consultation system for users based on the DSM-5 data set, using the Llamaindex framework. After consulting the user, the system will compile statistics through the conversation.

License

Notifications You must be signed in to change notification settings

PhamTrinhDuc/Chatbot-Mental-Health-with-Llamaindex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pipeline

GitHub starsGitHub issues

MENTAL HEALTH WITH LLAMAINDEX

To Install This Application, Follow These Steps:

Step 1. Clone the repository:

git clone https://github.com/PhamTrinhDuc/Chatbot-Mental-Health-with-Llamaindex.git
cd Chatbot-Mental-Health-with-Llamaindex

Step 2. (Optional) Create and activate a virtual environment:

  • For Unix/macOS:
python3 -m venv .venv
source .venv/bin/activate
  • For Windows:
python -m venv venv
.\venv\Scripts\activate
  • Conda:
conda create -n <env_name> python=<python_version> 
conda activate env_name

Step 3. Before starting your application, you need to fill in some evironment variables. Create a .env file and fill in these

OPENAI_API_KEY = "sk-dojvF..."

Step 4. Install the necessary libraries for the project

pip install -r requirements.txt

Step 5. Chat interface

python test_code.py # ingest data
streamlit run Home🏠.py

About

In the project, I will build a mental health consultation system for users based on the DSM-5 data set, using the Llamaindex framework. After consulting the user, the system will compile statistics through the conversation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages