Skip to content

VirtualTherapist is a application to heal and push yourself

Notifications You must be signed in to change notification settings

hoangviet2/VirtualTherapist

Repository files navigation

Virtual Therapist

> Notebook & dataset > Notebook & dataset > Pitching slide

Acknowledgement

  • Mentor: Hồ Ngọc Lâm
  • Team members:
  • Viet Hoang
  • Trang Gia Khang
  • Nguyễn Quốc Anh
  • Trần Nguyễn Bảo Khang
  • Phan Lê Tường Bách

Abstract & introduction

Young people today are increasingly less likely to share their personal emotions openly.

Approach

The application uses natural language processing and artificial intelligence to interact with users in a conversational manner, and offers a toolbox of features to help them cope with stress, anxiety, depression, and other challenges. The application also integrates mental health assessment tools to monitor the users’ progress and provide

feedback. We assume that technology-based applications can be a viable and scalable alternative to face-to-face mental health services for adolescents. Our solution consists of four main components:

  • A general emotion classifier that can categorize the user’s story (diary) into positive, negative, or neutral emotions, based on a deep neural network with bidirectional LSTM (BiLSTM) architecture. We evaluated our solution using a self-scraping dataset of online diaries from various websites. We compared different architectures and models for each component and selected the best ones based on their accuracy and performance using logistic regression.

What's next

  • Expand the dataset to make the AI model more generalized and practical
  • Impove the time series for progess record analyis
  • Solve the "cold start" problem of the recommender system

How to run the code

First you need to clone this repository to your local system. Open terminal and then paste this command line

git clone https://github.com/hoangviet2/VirtualTherapist.git

Next move into the cloned directory

cd VirtualTherapist

Create a virtual environment with venv to avoid conflicts in library versions and modules

python -m venv .venv

Activate the environment

.\.venv\Scripts\activate

Install all neccessary libraries with a specific version

pip install -r requirements.txt

To run the server backend flask python, run this line of command

flask --debug run

Now, the website should be available at the port 127.0.0.1:5000

To run the streamlit app, move into the src folder

cd src

Now run the app with this command

streamlit run main.py

About

VirtualTherapist is a application to heal and push yourself

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •