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