Skip to content

zimo27/TritonHealthBot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TritonHealthBot

TritonHealthBot is a chatbot designed for UCSD students to streamline their access to health and well-being resources, specifically focusing on UCSD CAPS (Counseling and Psychological Services). The bot aims to simplify the search for relevant health information by summarizing content from various health websites and providing citations. It will initially address urgent student questions such as health queries. The ultimate goal is to ensure students have quick and effective access to health resources, leveraging CAPS' comprehensive services which include counseling, psychiatric services, workshops, and more, all tailored to support students' academic success and personal development.

Useful Links

Tech Stack

Front End

  • React, Node.js

Back End

  • Flask, LangChain, Chroma

Getting Started

These instructions will give you a copy of the project up and running on your local machine

Backend Setup

This project uses a Flask server for the backend.

First, navigate to the backend directory by running:

cd backend

If you are using this project for the first time, please install dependencies by running:

pip install -r requirements.txt

To start the server, run:

python chatbot-app.py

Frontend Setup

This project mainly uses React framwork and Node.js tools.

From the backend directory, navigate to the frontend directory by running:

cd ..
cd frontend

If you are using this project for the first time, please install dependencies by running:

npm install

To render the pages in client proxy, run:

npm start

and open the localhost url that serve the pages, typically http://localhost:3000

Testing

This project uses Jest and the React Testing Library for unit testing.

To run the tests, run:

npm test

Structure

public

Contains some resource files generated by create-react-app. The most important one is index.html, the entry of the pages.

src

Contains all the source files of the project written by developer.

pages

Contains all the page-level component. Currently only Home page.

components

Contains all the components.

styles

Contains all the css files.

media

Contains all the images and other media resources.

Resources

Acknowledgments

  • Thanks to Hao who made suggestions to the projects

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 60.4%
  • Python 17.9%
  • CSS 16.2%
  • HTML 5.5%