SummarizingChatReducer(IChatClient, Int32, Nullable<Int32>) コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したチャット クライアント、ターゲット数、およびオプションのしきい値数を使用して、 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 より大きくなければなりません。