Integrating Q&A in a web app

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