openai/openai-python

Public

mirrored from https://github.com/openai/openai-pythonAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
main

Branches

Tags

  • No tags available.
25Branches391Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

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-outputs
Changed files1010 shown on this page
Branches0Containing branches
Tags0Containing tags