Padayon - Mental Health Support (Gen AI app)

Padayon - Mental Health Support (Gen AI app)

A generative AI Mental Health Support application created via PartyRock, an Amazon Bedrock playground.

Published Mar 9, 2024

Gen AI? It's everywhere! 🀯

Generative Artificial Intelligence or Gen AI has been gaining widespread attention these days. Many companies, communities, organizations, and individuals, like yourself, are integrating it into their daily routines for creation, innovation, and enhanced productivity. Undoubtedly, this technology is proving beneficial across various domains. In my view, generative AI is still on the rise, and we're just beginning to tap into its full potential.
That's why PartyRock, an Amazon Bedrock playground, is a great entry point to explore and unlock the capabilities of generative AI, enabling you to start creating, innovating, and boosting productivity. This is also the reason why I joined THE PARTYROCK GENERATIVE AI HACKATHON BY Amazon Web Services (AWS)! Check the hackathon here: https://awspartyrockhackathon.devpost.com/
Before I share my experience in joining the hackathon, let me share with you some terms that is important as these are the things that we used in the creation of this application.

Generative AI

Generative AI is a type of artificial intelligence that produces original content across various domains, such as conversations, stories, images, videos, and music. It mimics human intelligence in tasks like image recognition, natural language processing, and translation. This advanced AI can be trained in diverse subjects and applied for tasks like chatbots, media creation, and product development.
You can read more here: https://aws.amazon.com/what-is/generative-ai/

Amazon Bedrock

Amazon Bedrock is a fully managed service designed for building generative AI applications. It provides high-performing foundation models (FMs) and a range of features for secure and privacy-conscious development. With Amazon Bedrock, you can easily experiment with top FMs, customize them with your data, and create managed agents for diverse business tasksβ€”all without coding. Being serverless, it eliminates the need for infrastructure management and seamlessly integrates generative AI capabilities into your applications using familiar AWS services.
You can read more here: https://aws.amazon.com/bedrock/faqs/

Foundation Models

Foundation Models (FMs) are extensive neural networks revolutionizing the approach to machine learning. Trained on massive datasets, they enable data scientists to expedite and streamline the development of AI applications by serving as a starting point for building specialized ML models. Coined by researchers, the term "foundation model" refers to models trained on diverse, unlabeled data, excelling in tasks like language understanding, text/image generation, and natural language conversation.
You can read more here: https://aws.amazon.com/what-is/foundation-models/

Prompt Engineering

Prompt Engineering is the method of instructing generative AI to produce desired results. Despite its human-like capabilities, generative AI needs precise guidance for quality output. This involves selecting suitable formats, phrases, words, and symbols to enhance meaningful interactions with users. Prompt engineers employ creativity and trial-and-error to curate input texts, ensuring the application's generative AI functions as intended.
You can read more here: https://aws.amazon.com/what-is/prompt-engineering/


PartyRock functions as a platform for crafting AI-generated apps without coding in a playground powered by Amazon Bedrock. This provides a quick and enjoyable way to explore generative AI. According to PartyRock's website, it leverages foundational models from Amazon Bedrock to translate your ideas into fully functional PartyRock apps.
You can read more here: https://partyrock.aws/guide/getStarted

Now, that's what you call INFORMATION! Take time to grasp these concepts because these will help you to fully understand what Generative AI is.
Time to share my hackathon experience! πŸ‘¨β€πŸ’»
THE PARTYROCK GENERATIVE AI HACKATHON BY Amazon Web Services (AWS) is a hackathon that lets you learn Generative AI with PartyRock and then, make applications without code. It's a challenging yet fun way to learn Generative AI, right?
Before joining the hackathon, I came across numerous Gen AI-powered applications developed through PartyRock. They are all creative and fun to use! Inspired to unleash my creative juices, I decided to develop one myself. Surprisingly, PartyRock is currently hosting a hackathon, providing the perfect opportunity to submit my created application!

The Application πŸ“±

Let's discuss the app I created – it's a mental health tool called Padayon. It allows the users to:
1. Enter their name and age.
2. Input their Personality Type and Traits derived from their own results on 16personalities.com.
3. Document their day.
4. Identify and understand their emotions.
5. Manage and process their emotions.
6. Receive action items tailored to their emotional state.
7. Explore inspiring quotes from books, movies, notable personalities, etc.
8. Engage in conversations with a care bot.
9. Discover their animal representation based on personality type and traits.
In the Philippines, "Padayon" means "moving forward", and I chose this name because understanding our emotions is crucial for progress. Mental health is vital for everyone and while it was once stigmatized, we are currently challenging and overcoming that stigma. Personally, using this app makes me feel better as I navigate and comprehend my emotions. Sometimes, we struggle to grasp our feelings in the moment. When asked how we are, our default response is often "I am okay," but I believe our emotions go beyond just being "okay." We should delve deeper, understand our emotions, process them, and equip ourselves for future encounters.
Check the app here: https://partyrock.aws/u/mbrecalde/2eBeSqU6R/Padayon-Mental-Health-Support

Community Impact 🏘️

In the past, mental health was often viewed negatively, but now, we're changing that perception. Many young people are leading projects and webinars to promote mental health. Adding the app I created to this effort can help encourage taking care of our mental health and bring positive changes to our community by:
  1. Enhancing Mental Well-being: The app provides valuable tools for users to understand, process, and manage their emotions, promoting overall mental well-being.
  2. Fostering Personal Growth: Through features like personality type insights and daily documentation, Padayon encourages users to reflect on their experiences, fostering personal growth.
  3. Providing Accessible Support: With a care bot and personalized actions, Padayon provides crucial mental health support, especially where resources are limited.
  4. Empowering the Community: By fostering a culture of emotional understanding and resilience, Padayon aims to empower individuals within the community to proactively manage their mental health.
In the real world setting, this could be used by:
  1. Companies: Admins can use this tool for employee insights, promoting understanding and support. Employees can use it as well for self-reflection and improved well-being at work.
  2. Schools: With this tool, the teachers can understand students better, creating a supportive learning environment. Administrators can gain insights into staff well-being for a healthier school community.
  3. Individuals: Padayon is a personal tool for understanding, managing, and processing emotions, fostering self-discovery, personal growth, and proactive mental health care of an individual.
To boost adoption, here's what we can do:
  1. Running awareness campaigns
  2. Partnering with mental health organizations, schools, and companies
  3. Gathering user feedback for ongoing improvement

Alternative Development Scenario with Amazon Bedrock 🧠

If PartyRock were unavailable, developing the application with Amazon Bedrock would involve the following:

Architectural Considerations πŸ“

  1. Scalability, Reliability, and Resiliency: Utilizing Amazon Bedrock's infrastructure to ensure scalability, reliability, and resiliency.
  2. Serverless: Focusing on serverless architecture to simplify deployment and management.
  3. Security: Implementing robust security measures to protect user data and ensure privacy.
  4. Flexibility and Customization: Amazon Bedrock simplifies the process for developers to engage with a wide array of effective foundation models (FMs).
  5. Integration: Having the capability to integrate with different resources or services is crucial to create a high-performing and feature-rich application.

Model Selection βš™οΈ

The app heavily uses text generation for understanding emotions and personality, along with image generation for visualization. Amazon Bedrock's Foundation Models (FMs) can come in handy for our needs. We can opt for Anthropic's Claude model for text generation and Stability AI's Stability Diffusion XL model for image generation.

Integration of Additional Tools or Services πŸ› οΈ

Here are the services from AWS that I would integrate:
  1. Amazon S3: Used for storing documents and FAQs, providing scalable object storage.
  2. AWS Lambda: Employed for handling bot logics, offering serverless compute capacity.
  3. Amazon Lex: Utilized for creating a conversational interface, enabling the development of chatbots.
  4. Amazon DynamoDB: Chosen for storing user information, providing a fully managed NoSQL database.
  5. Amazon QuickSight: Employed for analyzing data, offering business intelligence and visualization tools.
  6. Amazon Comprehend: Used for sentiment analysis, facilitating the understanding of emotions expressed in text.

Creation. Reinvention. Enhanced Productivity. That's Generative AI. πŸ˜‰