18 references to new
Microsoft.Extensions.DataIngestion (2)
Chunkers\ElementsChunker.cs (2)
199
chunks.Add(
new
(_currentChunk.ToString(), document, context));
208
chunks.Add(
new
(_currentChunk.ToString(), document, context));
Microsoft.Extensions.DataIngestion.Tests (16)
IngestionPipelineTests.cs (1)
181
.Select(image => new
IngestionChunk
<DataContent>(
Processors\ClassificationEnricherTests.cs (3)
122
new
(".NET developers need to integrate and interact with a growing variety of artificial intelligence (AI) services in their apps. " +
125
new
("Rabbits are small mammals in the family Leporidae of the order Lagomorpha (along with the hare and the pika)." +
127
new
("This text does not belong to any category.", _document),
Processors\KeywordEnricherTests.cs (2)
122
new
("The Microsoft.Extensions.AI libraries provide a unified approach for representing generative AI components", _document),
123
new
("Rabbits are great pets. They are friendly and make excellent companions.", _document)
Processors\SentimentEnricherTests.cs (4)
109
new
("I love programming! It's so much fun and rewarding.", _document),
110
new
("I hate bugs. They are so frustrating and time-consuming.", _document),
111
new
("The weather is okay, not too bad but not great either.", _document),
112
new
("I hate you. I am sorry, I actually don't. I am not sure myself what my feelings are.", _document)
Processors\SummaryEnricherTests.cs (2)
106
new
("I love programming! It's so much fun and rewarding.", _document),
107
new
("I hate bugs. They are so frustrating and time-consuming.", _document)
Writers\VectorStoreWriterTests.cs (4)
29
new
("some content", document)
78
new
("first chunk", document)
85
new
("second chunk", document)
98
new
("different content", document)