Inspiration

Looking at depression and suacide rates globally, we were deeply saddened by how all the numbers seem to be going up and just the sheer amount sparked some ideas, this is the one we went with.

What it does

This project is an AI assistant. It helps you with mindfulness, your hapiness, and is just a kind friend you can talk to.

How we built it

We created a webpage to access the assistant and just about us hosted on CloudFlare. We then created a backend API to talk to the bot. We create requests to the API, passing credentials to access chat history, and delete chat history upon user reqest. Our API with documentation coming soon makes it easy for developers to integrate.

Challenges we ran into

We ran into a lot of challenges when building this. Here are the top 3:

  1. Authentication: When making requests to the API we built, we got a bunch of authentication errors. We solved this by fixing CORS headers.
  2. Training: When training the bot, we had issues when storing training data. To fix this, we had to split a bunch of data into different files. That's just storing the data. Training the bot was really difficult. It could do stuff we didn't want it to. We wanted it to be mainly focused on mental health and being understanding of the user. This took hours of trial and error until we got some really good system prompts. 3: Hosting: After getting a prototype of our website and API done locally, we wanted to choose a good, reliable hosting solution for us. We started with CloudFlare but it wasn't so easy. The website we could get up, but cache busting with cloudflare had some issues for some reason, we updated versions for our files and the cache busting, just didn't cache bust. After redeploying with countless changes to wrangler.toml we fixed it. It had been an error when we created the project. ## Accomplishments that we're proud of
  3. We created our own API with documentation coming out soon, to make it super easy for developers to make their own mental health solutions, with us handling the backend. ## What we learned

What's next for Bunjai

Built With

Share this project:

Updates