0

OpenAI Structured Outputs

Example · مثالpythonopenai

Content

OpenAI Structured Outputs

Supported Models

Azure OpenAI:

  • Access to gpt-4o-2024-08-06 or later
  • The 2024-08-01-preview API version
  • If using a token instead of an API key, you must have the Cognitive Services OpenAI Contributor role assigned to your Azure AD user.
  • See more information here

OpenAI:

  • The OpenAI models supported are:
  • gpt-4o-mini-2024-07-18 and later
  • gpt-4o-2024-08-06 and later

Source and license

Source
Microsoft Semantic Kernel
Original
microsoft/semantic-kernel/python/samples/concepts/structured_outputs
License
MIT