Using structured responses within the Venice API
max_tokens
or model timeout are reached, or if any rate limits are violated
required
tag. To make a field optional, you need to add a null
option within the type
of the field, like this "type": ["string", "null"]
null
options within the required field to allow an empty response.
additionalProperties
must be set to false for response_format to work properly
strict
must be set to true for response_format to work properly