Inspiration
I always wonder how the debaters come up with what they want to say, how they argue with one another, and the practical outcome and learning from a debate.
So why not simulate a debate and learn while watching it?
What it does
You can enter any debate topic. An example is given - "A good public speaker is a good debater."
Then the debate starts between 2 debate teams, consisting of 4 debaters each. The strategies by each debater are first formulated.
Based on the strategies, each debater takes turn to come up with the points, examples, arguments, and rebuttals. One team is made to be more aggressive and combative to another.
At the end of the debate, some comments are given by a judge on the strategies used by each team. The judge also announce the winner of the debate.
A chatbot is provided for the user to ask anything on the debate.
How I built it
The app is built using widgets provided in PartyRock, careful prompting and repetitive testing.
All types of widgets have been used, including "User Input" for the user to enter the debate topic, "Static Text" for notices, "Text Generation" for generating the strategies, the speech by each debater and the judge, "Image Generation" for generating the representative image, and "Chatbot" for the interactive chat assistant.
For prompting, these have been used:
- Asking the AI to pretend to be a debater, or a judge.
- Specifying the format or limiting the kind of info generated.
- Making each widget run sequentially after the previous widget has completed running to avoid error and provide user the info on a logical manner.
- Ensuring the chatbot take into account all info provided in other widgets to be able to answer questions on the info given.
Challenges I ran into
The widgets start responding as soon as I start typing in the input box. This might lead to error in the subsequent widgets to run, and confuse the user using the app. I think an "Enter" or "Submit" button could have been useful. Or at least, the widgets could start responding only after certain lag time such as 3 seconds.
Accomplishments
I'm proud to have made this app thanks to PartyRock, that I can use it personally to use the app for my own learning and entertainment.
What I learned
I've learned to create something useful for practical use with prompt engineering, careful prompting and sequencing, and having the users in mind when developing the app.
What's next for Debate Anything
I wish to program using AWS Bedrock, Python and other web technologies to make it a more official and user-friendly public-facing app.
Built With
- partyrock
Log in or sign up for Devpost to join the conversation.