Inspiration

  • Professor and TAs spend lots of time answering relatively trivial questions about assignments and the material that are usually found in the book or on the website, but can be hard to find for students. In addition, up to 25% of new questions on community based forums like Piazza and EdStem are duplicate questions. I wanted to create something like Ask.com that could be used in the same way for assignments and course material.

What it does

  • In "Ask Any Question", I have created a text box where people can ask any general question to content that may be available on Google, or can upload their textbook/assignment to easily query GPT-3 with it.

How we built it

  • I experimented with the OpenAI API until I found settings that answered questions to my satisfaction, then integrated the code for the API into a website that I built on Heroku, using Flask.

Challenges we ran into

  • I tried using other hosting services and website stacks, but ran into difficulties integrating the OpenAI API and adding upload file buttons.
  • In addition, OpenAI has limits for how much data can be read in

Accomplishments that we're proud of

  • The website works pretty well!

What we learned

  • How to build a website using Flask on Heroku
  • Using the OpenAI GPT-3 API
  • The power of transformers (no, not the robots)

What's next for Ask Any Question

  • Integrating with APIs for forums like Facebook, Piazza, Quora and StackOverflow to answer trivial questions so that moderators would not have to spend as much time answering duplicate questions or handle questions that could be handled by GPT-3

Built With

Share this project:

Updates