I want to take advantage of the continuation token feature. Did this get depreciated? Chat GPT explains that its available using the ctoken?
It gave an example of how to use it below
import openai
# Set the API key
openai.api_key = "YOUR_API_KEY"
# Initial prompt and parameters
prompt = "Write a story about a spaceship that travels to a distant planet."
stop = "The end"
# Make the initial API call and get the continuation token
response = openai.Completion.create(model="text-davinci-002", prompt=prompt, stop=stop)
continuation_token = response["choices"][0]["ctoken"]
# Use the continuation token to continue generating text
response = openai.Completion.create(model="text-davinci-002", prompt=continuation_token, stop=stop)
generated_text = response["choices"][0]["text"]
# Print the generated text
print(generated_text)
But in the response there is no ctoken. I checked a few models and its missing. I cant find any documentation on this either.