Hello, everyone.
I write python code which summarize article.
But Error of “context length is wrong” still occur as below.
I understand that number of tokens is limited. but tokens length of sample article is less than 4096 (text-davinci-003). I checked this page “OpenAI API”
what is wrong?
“openai.error.InvalidRequestError: This model’s maximum context length is 4097 tokens, however you requested 4581 tokens (485 in your prompt; 4096 for the completion). Please reduce your prompt; or completion length.”