Inspiration

There are no real ways to sit down with the most powerful man in the country and ask him questions about what hes doing or why he did something. Instead we get a highly curated stream of information from large businesses or organiations. Plus, if you did wish you could ask the president a question, there is really no avenue for you to do so. This application addresses both of those issues and puts more power in the hands of the people.

What it does

Create a live video streaming platform for President of the United States to interact with people of America. On this platform people can ask any question they want to the President and the President can select random questions and answer them. Meanwhile, People are free to dislike and like his comments live. They can click like or dislike and president can see these reactions.

How we built it

React front end which spawns websockets using PeerJS. Other people connect to the presidents websocket and the president remembers all people who connect to him. Then he starts streaming to all connected websockets. People can use their connections to send other data such as questions, likes, and dislikes, straight to the president. In order to combat spam and offensive language we have trained two MAGE AI models and deployed them. When you input a question, it goes through both MAGE AI's to make sure it is not offensive and not spam.

Challenges we ran into

Limited valid dataset online to use when building our text filter ML model. Building the websockets and getting different computers to reliably talk to one another and send data between each other.

Accomplishments that we're proud of

we eventually use mage ai and build a predict model that can detect the offensive language and abuse speech that has 95.46% accuracy. This can help us block vicious question from president. Successfully created an one to all streaming platform for president to interact with residents directly.

What we learned

How websockets work, how to create video streaming platforms, how to clean data for ML, how to find data for ML and how to use MAGE (I think I might use it again in the future)

What's next for Tea Party with the President

Build a more specific ML model that could automatically classify peoples questions and then push the top 3 most frequently asked questions to president. Also use NLP to generate a question which closely approximates many different peoples questions.

Built With

Share this project:

Updates