TextResponseFormatJsonSchema(String, ResponseFormatJsonSchemaSchema) Constructor

Definition

Initializes a new instance of TextResponseFormatJsonSchema.

public TextResponseFormatJsonSchema(string name, Azure.AI.AgentServer.Responses.Models.ResponseFormatJsonSchemaSchema schema);
new Azure.AI.AgentServer.Responses.Models.TextResponseFormatJsonSchema : string * Azure.AI.AgentServer.Responses.Models.ResponseFormatJsonSchemaSchema -> Azure.AI.AgentServer.Responses.Models.TextResponseFormatJsonSchema
Public Sub New (name As String, schema As ResponseFormatJsonSchemaSchema)

Parameters

name
String

The name of the response format. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.

Exceptions

name or schema is null.

Applies to