ChatResponseFormatJson クラス

定義

構造化された JSON データの応答形式を表します。

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
継承
ChatResponseFormatJson

コンストラクター

名前 説明
ChatResponseFormatJson(Nullable<JsonElement>, String, String)

指定したスキーマを使用して、 ChatResponseFormatJson クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Schema

応答に関連付けられている JSON スキーマを取得します。存在しない場合は null します。

SchemaDescription

スキーマの説明を取得します。

SchemaName

スキーマの名前を取得します。

拡張メソッド

名前 説明
AsOpenAIChatResponseFormat(ChatResponseFormat, ChatOptions)

ChatResponseFormatから OpenAI ChatResponseFormatを作成します。

AsOpenAIResponseTextFormat(ChatResponseFormat, ChatOptions)

ResponseTextFormatから OpenAI ChatResponseFormatを作成します。

適用対象