My first GPT-3 project is to pull some basic JSON from a body of text. Using NodeJS.
In the Playground:
The completion works great. I have to keep pressing the "Submit button" though, to get it to finish.
Take at least 5 times. I guess this is because of the token limitations on each request.
In NodeJS:
Using the same prompt that worked in Playground (which required multiple Submits), would the equivalent way in a programmatic NodeJS environment be to just keep submitting requests? Or like maybe partial requests? Maybe keep stringify-ing the concat'd completion until it is a valid JSON object?
What is a recommended way to make multiple requests and keep track of when a completion is done using OpenAI GPT-3?