StructuredOutputDefinition Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of StructuredOutputDefinition.
public StructuredOutputDefinition(string name, string description, BinaryData schema, bool? strict);
new Azure.AI.Projects.OpenAI.StructuredOutputDefinition : string * string * BinaryData * Nullable<bool> -> Azure.AI.Projects.OpenAI.StructuredOutputDefinition
Public Sub New (name As String, description As String, schema As BinaryData, strict As Nullable(Of Boolean))
Parameters
- name
- String
The name of the structured output.
- description
- String
A description of the output to emit. Used by the model to determine when to emit the output.
- schema
- BinaryData
The JSON schema for the structured output.
Exceptions
name, description or schema is null.