I want to ask if there's a way to properly use OpenAI API to generate complete responses even after the max token limit. I'm using the official OpenAI python package but can't find any way to replicate that in GPT-3 (text-davinci-003) since it doesn't support chat interface.
My code for this is currently like this
response = openai.Completion.create(
model="text-davinci-003",
prompt=prompt,
max_tokens=2049-len(prompt)
)
text = response.choices[0].text.strip()