Compartir a través de


ChatResponseFormatJson Class

Definition

Represents a response format for structured JSON data.

public ref class ChatResponseFormatJson sealed : Microsoft::Extensions::AI::ChatResponseFormat
public sealed class ChatResponseFormatJson : Microsoft.Extensions.AI.ChatResponseFormat
type ChatResponseFormatJson = class
    inherit ChatResponseFormat
Public NotInheritable Class ChatResponseFormatJson
Inherits ChatResponseFormat
Inheritance
ChatResponseFormatJson

Constructors

ChatResponseFormatJson(Nullable<JsonElement>, String, String)

Initializes a new instance of the ChatResponseFormatJson class with the specified schema.

Properties

Schema

Gets the JSON schema associated with the response, or null if there is none.

SchemaDescription

Gets a description of the schema.

SchemaName

Gets a name for the schema.

Applies to