Inspiration
I was inspired to make MindMateAI because I have recently faced situations where having someone to talk to during a rough period would have been very helpful, and I know that there are many others that feel the same way.
What it does
MindMateAI uses AI to power a therapy chatbot, available to anyone at all times. It can help with any problem the user has, and provides helpful, in-depth help and advice.
How we built it
I built MindMateAI using React.js on the frontend and Node.js on the backend. It uses many of OpenAI's resources to power its helpful AI and is almost 5 thousand lines of code. It has a very secure user system with password hashing and salting, and backend database rules.
MindMateAI was built using the following technologies:
- React.js
- Node.js
- Font Awesome
- Express
- SASS
- OpenAI GPT-4
- OpenAI Whisper
- Firebase
- Twilio
- Auth0
- Javascript
- HTML
- CSS
Challenges we ran into
One of the major challenges I faced while creating MindMateAI was finding a stable prompt for the AI model, as with the wrong prompt, it would begin to repeat itself and be unhelpful. I overcame this challenge with a technique called self-learning, where I give the model instructions on how to create a helpful prompt, and I repeat the process over and over until it finds an optimal prompt.
Another challenge I faced was the use of speech-to-text technology, as I wanted to contain the project to a single backend and frontend, however, Node.js and Javascript do not work well together with audio, so it was a struggle. I spent hours on this task and finally found a solution.
Accomplishments that we're proud of
I am proud of my ability to overcome the many challenges I faced while building MindMateAI, as I never gave up, and pushed through all of the problems I encountered.
I am also proud of how quickly I built the UI and UX for the website, as within the first hour I was able to get most of it done.
What we learned
I learned that having an application with so many moving parts that don't work well together is hard, but doable, as long as you find a modular solution that is easy to maintain.
What's next for MindMateAI
I hope to be able to release MindMateAI as a website and mobile app where users can easily get therapy without having to go through any hassle. I believe that in the future I will be able to an enormous amount of people with MindMateAI.
Log in or sign up for Devpost to join the conversation.