Inspiration
When I hear of health issues, I think of therapists but the challenge these days is that there aren't many professional therapists to talk to at your convenience. These events have led to unfortunate events but as AI continues to grow and understand, AI could be used to leverage the lack of professional therapists.
What it does
Allows you to communicate with an AI-trained therapist.
How we built it
I used OpenAIs API to generate chat completions. Trained using leading public JSON data of therapist conversations.
Challenges we ran into
I forgot to pay for OpenAIs API. I also tried to implement chat streaming to make it more interactive but I couldn't find a workaround for using the API on the client side, as it exposed my APIKEY and instantly disabled it.
Accomplishments that we're proud of
I am proud of my UI. I'm glad I was able to complete the main code.
What we learned
I learned to use Next.JS server actions to make the API requests, which are made on the server to keep my APIKEY secure.
What's next for ChatWithBob
I have planned to do this project for a while and wanted to implement a fine-tuned AI model, instead of passing it a Large JSON file of conversations. I also wanted to add authorization to save the chats in a database.
Built With
- nextjs
Log in or sign up for Devpost to join the conversation.