We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following section (https://docs.litellm.ai/docs/completion/json_mode#pass-in-json-schema) provides an example that contains an error.
response_format: { "type": "json_schema", "json_schema": … , "strict": true }
But it should be
response_format: { "type": "json_schema", "json_schema": { ..., "strict": true } }
The first example will throw an error for OpenAI.
litellm.BadRequestError: OpenAIException - Unknown parameter: 'response_format.strict'.
No
1.67.2
https://www.linkedin.com/in/tomas2d/
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What happened?
The following section (https://docs.litellm.ai/docs/completion/json_mode#pass-in-json-schema) provides an example that contains an error.
But it should be
The first example will throw an error for OpenAI.
Relevant log output
litellm.BadRequestError: OpenAIException - Unknown parameter: 'response_format.strict'.
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
1.67.2
Twitter / LinkedIn details
https://www.linkedin.com/in/tomas2d/
The text was updated successfully, but these errors were encountered: