Inspiration
I spent 1.5 years in mission san jose high before switching schools as I and many other students found mission to have an extremely toxic academic environment. Infact mission has the highest suicide rate in FUSD (no266 in california). Its not something that any of us are proud of. One thing I noticed was that every kid has discord, its almost essential in order to stay in touch with the school activities/clubs we have, so why not create an ai chatbot that can help directly on the platform?
What it does
The bot first reads all messages and sends it to gemini, gemini analyzes each message and any message that stands out as potential harm to their mental health is flagged, this is sent back to the bot who opens a direct message channel directly in discord like a normal user, it sends a concerned message to the flagged user and then connects them to gemini. Gemini knows that the user is already flagged and will have a friendly chat with the user. This process will happen each time a flagged message is detected.
How we built it
I know some python, but the real hero was repls ai agent which refined my clunky code, and helped me with things like adding the api code I provided to connect ClairAI to gemini.
Challenges we ran into
- the bot was sending double messages
- the bot was not flagging concerning messages ## Accomplishments that we're proud of
- good, fast, and reliant responses -responses are much better than what we expected ## What we learned -How to effectively use repls ai agent to develop applications (I am also trying to make a game with it) ## What's next for ClarAI
- Alerting authorities when people say they will commit suicide (This will be a little difficult as false alarms will be very troublesome)
- Getting it published and hopefully it gets fully integrated into discord itself making it easier to reach more users
Built With
- python
- replit
Log in or sign up for Devpost to join the conversation.