Supporting response_format for structured outputs #169
codelion
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We now support structured outputs using response_format. You can use any HF model (prefix with
json) with the standard OpenAIresponse_formatfield as follows (supports both pydantic types and json schema):This will give the output:
Beta Was this translation helpful? Give feedback.
All reactions