openai/openai-python
Publicmirrored from https://github.com/openai/openai-pythonAvailable
Commit
feat(api): add structured outputs support
This commit adds support for JSON schema response format & adds a
separate `.beta.chat.completions.parse()` method to automatically
deserialise the response content into a Pydantic model.
For more details on structured outputs, see this guide
https://platform.openai.com/docs/guides/structured-outputsChanged files
10 of 10 files listed · truncated