Inspiration
When thinking about social wellness and therapy, we remembered that journalling was important to self-improvement. As such we decided to create an application around helping your journal.
What it does
Our website allows users to write journals on the web. AI stores and processes these journals to generate custom prompts and reports. Our custom prompts encourage users to write more about a pressing matter. The reports suggest the user's mental state and advise on future steps.
How we built it
The website is built with React for the front end, Flask for the API server and SQLite as the database. When the user goes on a webpage, registers, or logs in, the server receives various API calls which tell it what to do. It can then either store, add or modify data in the database based on the user's request. For example, to look at the user's past journals, the site calls for the journals which is then converted into a query request on the database. The resulting answer is then parsed into JSON and sent back to the front end. The journal reports and custom prompts are based on a combination of the Gemini AI from Google and past journals from users.
Challenges we ran into
Throughout the project, we often ran into various problems. A major hurdle was various AI services and their APIs. Before settling on Gemini, we ran into various issues with other AI providers such as OpenAI. Other API issues involve API keys not working and running out of free tokens at these service providers. Another issue was Flask not cashing correctly.
Accomplishments that we're proud of
We take pride that we completed all the goals set at the beginning of the project.
What we learned
We all learned more about various parts of web development. Those who previously did front-end work learn more about back-end development and vice versa. We also learned more about databases, APIs and many other components of creating a website.
What's next for MindScribeAI
The future involves collaboration with licenced psychologists. This would help us provide better and more accurate services to help out clients with their struggles. We also hope to add more features with may calm and soothe the experience. We hope to work with other online therapy providers to better combat depression and stress. We would also like to use local LLMs to make the experiences more private for people who have the resources, but since we believe in the mission of providing a better insight into mental health for everyone, we would like to work with private compute server architecture to still be able to work with cloud providers so that our service is more accessible to everyone around the world no matter the resources they have.
Log in or sign up for Devpost to join the conversation.