- Feb 6, 2023
- 537
- 149
In OpenAI API, how to programmatically check if the response is short. If so, you can add another command like "continue" or "expand"
Because, In my experience, I doesn't work if the response exceeds 4000 tokens, as you also need to pass the previous response to new response. If the response is 4500, it would return 4000 tokens, but you can't get the remaining 500 tokens as the max tokens per conversation is 4000 tokens. Correct me if I am wrong.
Because, In my experience, I doesn't work if the response exceeds 4000 tokens, as you also need to pass the previous response to new response. If the response is 4500, it would return 4000 tokens, but you can't get the remaining 500 tokens as the max tokens per conversation is 4000 tokens. Correct me if I am wrong.