Inspiration

We were inspired to work on this project because of our unified interest in making health support and especially mental health support more accesiable. Due to our shared experience with fellow students of anxiety and depression in the pandemic era, we were heavily motivated to work on this project.

What it does

Mental palace is an AI chatbot designed to offer emphatetic and personalized mental health support by providing users with custom AI personas tailored to their spesific needs. Users can securely and safely share their mental health problems and have a non-judgemental envoirnment to share their struggles.

How we built it

Mental palace was built in combination of AI and web technologies such as Google Gemini with Langchain framework to generate human-like responese, memory systems to make AI remember the past conversations and give more personalized answers. We developed a UI with Streamlit UI for ease of use. We also used SQLite, Streamlit authentication and .env files in order to keep the vulnerable data secure.

Challenges we ran into

One of the many difficulties we encountered along the way was making sure AI personalization could adjust to the various demands of users while being sympathetic and nonjudgmental. Another significant challenge was striking a balance between memory and privacy because we needed to preserve chat logs for personalization without jeopardizing user security, necessitating strong data protection methods. In order to teach the AI to deliver interesting and significant interactions while preserving a unique persona for every type of AI, we also worked on response consistency. A seamless experience that made it easy for users to switch between personas and sessions was also made possible by UI and UX design. We are pleased to report that, in spite of these difficulties, we have successfully deployed four distinct AI personas, each of which is suited to a distinct kind of mental health assistance. We created an AI-powered therapy assistant that is safe, scalable, and affordable; we managed sessions seamlessly so that users may review earlier exchanges for ongoing assistance; and we created an intuitive user interface (UI) that makes mental health help more widely available.

Accomplishments that we're proud of

We have successfully created four unique AI personas to create diverse answers. On top of that we developed an intuitive UI that makes this app easily usable by every type of user.

What we learned

We learned a lot about how AI may be used in mental health applications. In order to create meaningful connections and make users feel understood and supported, emotional intelligence is essential. User privacy is still of the highest priority, necessitating a careful balancing act between security and customisation. Scalability is crucial, necessitating constant improvement to maintain interesting and contextually appropriate responses. Above all, the impact of accessibility was demonstrated; even an AI chatbot can offer consolation and assistance to individuals in need.

What's next for Mental Palace

We canenhance Mental Palace with a number of important features, including: multilingual support to make the chatbot accessible to a worldwide audience; crisis intervention alerts using AI-powered risk detection to identify users in distress and provide emergency resources; mobile app integration for seamless accessibility anytime and anywhere; and voice support to enable natural interactions through voice input. Users looking for mental health help will have a more welcoming, accommodating, and helpful experience thanks to these enhancements.

Built With

Share this project:

Updates