Skip to content

GurenMashu/MentalHealth_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer! :

This chatbot offers emotional support but is not a substitute for professional medical or mental health advice. Please consult a qualified expert for any medical concerns.

Directory Structure ->

MentalHealth_bot
|
|-data
   |---save_load_data
   |---dataset.csv    #after running flow.py
|
|-rag
   |---populate_db.py
   |---retrieve.py
|
|-app.py
|-flow.py
|-.env
|-.gitignore
|-README.md
|-requirements.txt

Instructions to run:-

  1. Setup the requirements using requirements.txt
python venv -m BIAenv
BIAenv\Scripts\activate #for windows
pip install -r requirements.txt
  1. Run flow.py to save dataset from huggingface as .csv
python flow.py
  1. Run app.py to launch the streamlit app
streamlit run app.py

Important:-

Setup a .env file with your GEMINI_API

#.env
GEMINI_API = "your api key here"

About

A chatbot with additional functions to converse with and provide suggestions for mentally disturbed individuals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages