5 instantiations of SentimentEnricher
Microsoft.Extensions.DataIngestion.Tests (5)
Processors\SentimentEnricherTests.cs (5)
20
Assert.Throws<ArgumentNullException>("chatClient", () => new
SentimentEnricher
(null!));
28
Assert.Throws<ArgumentOutOfRangeException>("confidenceThreshold", () => new
SentimentEnricher
(new TestChatClient(), confidenceThreshold: threshold));
35
SentimentEnricher sut =
new
(chatClient);
67
SentimentEnricher sut =
new
(chatClient);
94
SentimentEnricher sut =
new
(chatClient);
8 references to SentimentEnricher
Microsoft.Extensions.DataIngestion (1)
Processors\SentimentEnricher.cs (1)
34
/// Initializes a new instance of the <see cref="
SentimentEnricher
"/> class.
Microsoft.Extensions.DataIngestion.Tests (7)
Processors\SentimentEnricherTests.cs (7)
35
SentimentEnricher
sut = new(chatClient);
67
SentimentEnricher
sut = new(chatClient);
74
Assert.Equal("Positive", chunks[0].Metadata[
SentimentEnricher
.MetadataKey]);
75
Assert.Equal("Negative", chunks[1].Metadata[
SentimentEnricher
.MetadataKey]);
76
Assert.Equal("Neutral", chunks[2].Metadata[
SentimentEnricher
.MetadataKey]);
77
Assert.Equal("Unknown", chunks[3].Metadata[
SentimentEnricher
.MetadataKey]);
94
SentimentEnricher
sut = new(chatClient);