You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is an issue with the Python library and not an underlying OpenAI API
This is an issue with the Python library
Describe the bug
When call the client.chat.completions.create(..., logprobs=True) with gpt-3.5-turbo-1106
Sometime it will raise below error
Error code: 400 - {'error': {'message': "This model does not support the 'logprobs' parameter.", 'type': 'invalid_request_error', 'param': 'logprobs', 'code': None}}
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
When call the
client.chat.completions.create(..., logprobs=True)
withgpt-3.5-turbo-1106
Sometime it will raise below error
To Reproduce
Run the code snippets in jupyter about 5~8 times, sometime it run correctly, somtime will raise an error.
https://platform.openai.com/docs/api-reference/chat/create?lang=python
Code snippets
OS
Linux
Python version
python3.9.13
Library version
openai v1.6.1
The text was updated successfully, but these errors were encountered: