If the youtube video has not uploaded by the time you're reading this, here's a loom link! https://www.loom.com/share/9d83592aa88544f893d008a6550e6332

What inspired us

The four of us are in the same math class, and none of us have a clue about what’s going on (midterm 2 was very traumatizing). Unfortunately, we can’t give up yet – we still have finals to study for. However, when you’re studying at 3 am with 5 hours until your 8 am exam, there isn’t anyone to give you feedback on whether you’re doing the problem correctly. Additionally, the study process is quite inefficient, as we spend quite a bit of time just looking for practice problems and identifying which topics to study. This project is our attempt at streamlining and personalizing studying to make time-crunched cram sessions as impactful as possible.

What it does

Study SamurAI

  • generates practice problems with respect to topics selected by users by filtering from the database
  • Generates obfuscating answers with API calls,
  • Displays the dynamic multiple-choice problem,
  • Records user input,
  • Explanation problem based on the user’s choice, and
  • Offers Exam Prep Mode that allows selecting multiple topics.

How we built it

We used Vue for the front end and Firebase to store our data and host the website. Vue, Firebase, OpenAI API, MathJax Embedding Chat-gpt in our app and let the AI generate correct/incorrect answers and explanations.

Challenges

asynchronous functions were complicated: we had to make sure when we render components, all necessary data has been prepared. Choosing between the many browser-latex libraries for optimized performance in vue took some while.

Accomplishments that we're proud of

Engineered prompts for API calls to get ChatGPT to output options consistently in the correct format. Integrating many technologies in one web app–many of our members are using these for the first time! The name (come on! It’s a good one)

What We Learned:

We got so much experience with GitHub collaboration! We also learned about structuring our priorities: what are the basic things we need to work on, and what's the extra icing on the cake? We already knew ChatGPT is impressive software, but figuring out the OpenAI API made us realize how useful it is in developing contexts. Integrating Latex into web projects will be helpful for our future math endeavors :)

Next Steps:

We are planning on putting more problems into our database of practice problems so users could get a variety of practices. We are also planning on building a textbook page to help users to better understand concepts they are unfamiliar with. On the other hand, we also want to build our login page and have two separate user groups: teachers and students. To distinguish between the user groups, teachers would have access to the form that adds practice problems to our database. We are also planning on extending a function that gives difficulty rating to the practice problems based on how many people made mistakes on the particular problem.

Built With

Share this project:

Updates