Inspiration
Discord is increasingly popular among young people, but you have servers that are incredibly difficult to manage, often relying on an honor system. However, some of these servers sometimes devolve into name-calling and bullying, something that should be avoided to strengthen the community created by the server. This is where the idea of Chopper was born.
What it does
Chopper is split into two parts. The first part detects bullying using artificial intelligence and has a variety of configurable options to change what behavior Chopper exhibits upon detecting bullying, including but not limited to kicking the person and delivering a warning. The second half of Chopper is a chatbot which helps individuals with managing and improving their mental health.
How we built it
For the chatbot, we used a GPT-4 model with a custom prompt. For the bullying detection, we used a custom model with over 8 thousand data samples which have not been previously publicly used on the Kaggle platform. The data was first cleaned and also includes custom data points to increase the accuracy of the model in detecting bullying. The discord interface uses the discord api and the customization options are built with html, css and js.
Challenges we ran into
One significant challenge we had was choosing the correct data and cleaning it. A variety of options were explored, but the results were not what we expected. A data sample with over 100 thousand data points and a 48 thousand data point sample both served to be painfully inaccurate in detecting bullying in servers, often failing to recognize bullying unless incredibly overt. We also struggled with the customization dashboard, integrating the external site with the discord bot. This process took many hours.
Accomplishments that we're proud of
Overall, we think we have made a great bot that could reliably be used in servers. The variety of options and configurable interface are both incredible, and this AI model is one of the first ones we had done successfully.
What we learned
We learned a lot about building Discord bots and also using machine learning models, a surprising part of which is debugging, data cleaning, and data selection.
What's next for Chopper
In the future Chopper could be expanded to other platforms, further improve the data used to power the ML model, and increasing the configurability to also let the user select selectivity in bullying detection.
Built With
- ai
- discord
- html5
- javascript
- python
Log in or sign up for Devpost to join the conversation.