12 instantiations of SummarizingChatReducer
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.AI.Tests (11)
ChatReduction\SummarizingChatReducerTests.cs (11)
20Assert.Throws<ArgumentNullException>(() => new SummarizingChatReducer(null!, targetCount: 5, threshold: 2));
30Assert.Throws<ArgumentOutOfRangeException>(() => new SummarizingChatReducer(chatClient, targetCount, threshold: 2));
39Assert.Throws<ArgumentOutOfRangeException>(() => new SummarizingChatReducer(chatClient, targetCount: 5, thresholdCount));
46var reducer = new SummarizingChatReducer(chatClient, targetCount: 5, threshold: 2);
54var reducer = new SummarizingChatReducer(chatClient, targetCount: 5, threshold: 2);
65var reducer = new SummarizingChatReducer(chatClient, targetCount: 1, threshold: 0);
90var reducer = new SummarizingChatReducer(chatClient, targetCount: 3, threshold: 0);
119var reducer = new SummarizingChatReducer(chatClient, targetCount, thresholdCount);
154var reducer = new SummarizingChatReducer(chatClient, targetCount: 1, threshold: 0);
180var reducer = new SummarizingChatReducer(chatClient, targetCount: 1, threshold: 0);
208var reducer = new SummarizingChatReducer(chatClientForSummarization, targetCount: 2, threshold: 0);
10 references to SummarizingChatReducer
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.AI.Tests (8)
ChatReduction\SummarizingChatReducerTests.cs (8)
46var reducer = new SummarizingChatReducer(chatClient, targetCount: 5, threshold: 2);
54var reducer = new SummarizingChatReducer(chatClient, targetCount: 5, threshold: 2);
65var reducer = new SummarizingChatReducer(chatClient, targetCount: 1, threshold: 0);
90var reducer = new SummarizingChatReducer(chatClient, targetCount: 3, threshold: 0);
119var reducer = new SummarizingChatReducer(chatClient, targetCount, thresholdCount);
154var reducer = new SummarizingChatReducer(chatClient, targetCount: 1, threshold: 0);
180var reducer = new SummarizingChatReducer(chatClient, targetCount: 1, threshold: 0);
208var reducer = new SummarizingChatReducer(chatClientForSummarization, targetCount: 2, threshold: 0);