Inspiration
Considering the AP Tests are within a month, I thought it would be useful to find a way to create my own tests. While imperfect, I figured I could use OpenAI to create custom tests about a given category.
What it does
It generates a test after the user specifies a topic and the number of questions they want. The user can also choose additional parameters for their tests, like if they want difficult questions. The user is then given the questions with prompts to place their answers in. Once they submit their responses, then the website will load OpenAI's answers to the following questions, putting the user's answers to the side.
How I built it
I used the OpenAI API to make two types of request: one to create the test questions, the other to get AI-generated answers to said questions. After some programming and structuring in HTML and CSS, I created my app.
Challenges we ran into
It was my first time using OpenAI, and parts of it didn't work when on JavaScript, so I had to learn how to make a curl request instead.
Accomplishments that I'm proud of
Understanding how to give the AI the ability to make a test that at least meets certain constraints.
What I learned
How to use OpenAI more creatively, instead of just using it to answer questions.
What's next for Autolate
Find a way to improve how it asks questions, and make it more user friendly by adding a default list of topics and parameters.
Built With
- css
- github
- html5
- javascript
- openai
- repl
- stack-overflow
Log in or sign up for Devpost to join the conversation.