Taal

SummarizingChatReducer(IChatClient, Int32, Nullable<Int32>) Constructor

Definitie

Initialiseert een nieuw exemplaar van de SummarizingChatReducer klasse met de opgegeven chatclient, het doelaantal en het optionele aantal drempelwaarden.

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))

Parameters

chatClient
IChatClient

De chatclient die wordt gebruikt om te communiceren met het chatsysteem. Kan niet zijn null.

targetCount
Int32

Het doelaantal berichten dat moet worden bewaard na samenvatting. Moet groter zijn dan 0.

threshold
Nullable<Int32>

Het aantal berichten dat verder targetCount is toegestaan voordat samenvatting wordt geactiveerd. Moet groter dan of gelijk zijn aan 0 als deze is opgegeven.

Van toepassing op