Language

SummarizingChatReducer(IChatClient, Int32, Nullable<Int32>) コンストラクター

定義

指定したチャット クライアント、ターゲット数、およびオプションのしきい値数を使用して、 SummarizingChatReducer クラスの新しいインスタンスを初期化します。

public:
 SummarizingChatReducer(Microsoft::Extensions::AI::IChatClient ^ chatClient, int targetCount, Nullable<int> threshold);
public SummarizingChatReducer(Microsoft.Extensions.AI.IChatClient chatClient, int targetCount, int? threshold);
new Microsoft.Extensions.AI.SummarizingChatReducer : Microsoft.Extensions.AI.IChatClient * int * Nullable<int> -> Microsoft.Extensions.AI.SummarizingChatReducer
Public Sub New (chatClient As IChatClient, targetCount As Integer, threshold As Nullable(Of Integer))

パラメーター

chatClient
IChatClient

チャット システムとの対話に使用されるチャット クライアント。 null にすることはできません。

targetCount
Int32

集計後に保持するメッセージのターゲット数。 0 より大きくなければなりません。

threshold
Nullable<Int32>

要約がトリガーされる前に targetCount を超えて許可されるメッセージの数。 指定する場合は、0 以上にする必要があります。

適用対象