Share via


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(String, 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.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to