Inspiration
Our inspiration was our experience in the classroom. We were always told to ask questions in class so we could learn as much as possible. However, we found that we didn't learn as much as we had hoped. We decided to flip the script and have the teachers (the AI) ask us the questions instead. We can then do our own research and try to answer their questions. Now some of these questions are quite hard, so we have to do quite a bit of research or the teachers won't be happy!
What it does
The app allows you to choose a topic to study. Then, it will give you a questions, where you have to give the answer and explanation that it's looking for. Finally, it will give you advice on your response so you can become a better teacher in the future.
How we built it
We built the app using React for our frontend and Flask for the backend. We used ChakraUI to help make our UI look clean. We used Flask to create an API from where we send our information from React to get our topic then again our "lesson" to get a feedback. We used the OpenAI API to help analyze our responses and give feedback.
Challenges we ran into
We faced some challenges with getting our Flask API to sync with the React frontend. We also faced some issues with getting the OpenAI to sync with our front end. We also faced various bugs in our code.
Accomplishments that we're proud of
We were able to design an aesthetically pleasing UI that allows the user to have a positive experience. We were able to link the OpenAI API to React and generate the text that we needed to.
What we learned
We learned how to create a Flask API and link it to a React frontend. We learned how to use the OpenAI API and integrate it with Flask.
What's next for You Be the Teacher
We could implement a numerical scale for each score. We could add a more comprehensive login system using CookieDB that allows users to save their stats.
Log in or sign up for Devpost to join the conversation.