Inspiration

We wanted to create a project that helped people medically by using AI technology to answer their questions about mental health. Mental health is very important especially with all the stressors from school and life in general that we believe it would help people if they had a website that can act like a one stop hub for how to get help and advice on what to do.

What it does

We created a website that includes an AI chatbot that answers people questions specifically on mental health and resources that leads people to hotlines, helpful videos and more.

How we built it

Backend

  • Large Language Models
  • Vector Databases
  • LLama2
  • Faiss: A library for efficient similarity search
  • LangChain
  • Quantization
  • Chainlit
  • Python
  • Hugging Face

Frontend

  • Next.js
  • Node.js
  • React
  • HTML
  • CSS

Challenges we ran into

Some challenges we ran into were learning how to connect the AI to the website. We ended up using chain lit which wouldn't really let us customize the actual chatbot so we made a website around the chatbot. We decided to add more features as well such as resources that links different websites related to mental health and FAQ about how it works and what it does. It also took time to teach a member of our group to learn react, next.js and implement a page in under 24 hours.

Accomplishments that we're proud of

We're proud to create a working website that had all the features we were trying implement like a chatbot, resources, and FAQ.

Omar

We built a chatbot that is well-versed in mental health. It makes use of vector databases to ensure that each answer it gives is explainable and justifiable, down to the specific page numbers in a book. The chatbot is easily extendable by increasing the corpus of books used to build the vector database, and the chatbot itself uses Llama 2 as an LLM, without the need for additional training.

Caroline

I'm proud of how I managed to create a working page with zero knowledge of how frameworks such as react, next, and node js.

James

I was able to mentor people on how frameworks work and have a deepen my knowledge of how chatbot AIs work as well as frameworks in general.

Brianna

I was able to learn Next.js in a timely manner and I even was able to create the navigation bar and the home page.

What we learned

Omar

I learned out to use chainlit, vector databases, langchain. I also learn how voice assistance works as well as how to build explainable AI

Caroline

I learned how to use frameworks to build a website and make card components using jxs.

James

I got a lot more experience with my soft skills, I had lots of opportunities to help guide people and help them learn a new framework.

Brianna

I have experience with working with React.js before, but not Next.js. I learned how to use the file based router and how to change the layout to add things like a navbar to every page.

What's next for MedMind

We could work on making the website more presentable/better looking and add more resources to the resources page. We can also add more books, sections, data, and knowledge to the chatbot. We can also look into making the chatbot run faster.

Built With

Share this project:

Updates