Thanks to visit codestin.com
Credit goes to devpost.com

deb(AI)te

Project for Hack the North 2024.

💡 Inspiration

The idea for deb(AI)te was born from the desire to help people improve their presentation, critical thinking, and debating skills in a fun and interactive way. By integrating fun AI-driven characters with distinct personalities and expertise, users can engage in dynamic, real-time debates in a low-pressure environment. The aim is to make learning these essential skills more engaging and accessible for real-world purposes.

❓ What it does

deb(AI)te allows users to participate in structured debates against AI opponents. Users choose a debate topic, and the AI, customized with different difficulty levels, responds as an expert in the field. The user gets 30 seconds to prepare an argument and then present using their speech. After the user is done, the AI will provide their argument as to why their stance is superior. Then, the system uses a rating mechanism to assess both performances and provides constructive feedback on their arguments, helping the user to improve over time. The application leverages speech-to-text functionality for seamless interaction and AWS Polly for high-quality text-to-speech responses from the AI characters.

🧰 How we built it

We built deb(AI)te using JavaScript, React, and Tailwind CSS. We integrated AWS Transcribe and Polly for speech-to-text and text-to-speech functionality. The debate engine is powered by Cohere. Each of the characters' personalities and debate tactics are fed into Cohere giving the user a unique debate experience. As well the judging is also processed by Cohere giving feedback on the user's debate on three different categories - Creativity, Logic, and Flow. Cohere analyzes the data given by the user through the speech-to-text functionality to give meaningful feedback. The more confident and factual the user's speech, the higher the rating they will achieve.

🤔 Challenges we ran into

One challenge was creating AI personalities that were both engaging and realistic without straying into sensitive or controversial topics. As well, balancing the AI's difficulty levels in a way that challenges the user while providing valuable learning opportunities took significant fine-tuning.

🏆 Accomplishments that we're proud of

We’re proud to have created a fully functional debate platform within such a limited time period. Making each of the AI personalities was very fun and exciting as well as seeing our ideas come to fruition. We are also proud of how the UI/UX turned out including the artwork that was created to support the project.

🧠 What we learned

Through this project, we learned how to effectively integrate voice-based AI functionalities, refine prompt engineering, and handle real-time user interactions in a web-based application.

👉 What's next for deb(AI)te

  • More personalities to debate against.
  • Online play where you can challenge your debating skills against real people from across the world.

Built With

Share this project:

Updates