Integrating Q&A in a web app


I am trying to include the Answers api in a web app so that end user can enter questions and get the answers. Anyone has tried this with success?


Many people have used the /completion endpoint successfully in creating QA apps. The general workflow has been:

  1. Create a prompt string with a variable
  2. Record user input
  3. Interpolate the string with user question
  4. Send string back to front end

This answer explains the /answers endpoint really well.

1 Like