4 overrides of ProcessAsync
Microsoft.Extensions.DataIngestion (3)
Chunkers\HeaderChunker.cs (1)
32
public override async IAsyncEnumerable<IngestionChunk<string>>
ProcessAsync
(IngestionDocument document,
Chunkers\SectionChunker.cs (1)
29
public override async IAsyncEnumerable<IngestionChunk<string>>
ProcessAsync
(IngestionDocument document, [EnumeratorCancellation] CancellationToken cancellationToken = default)
Chunkers\SemanticSimilarityChunker.cs (1)
47
public override async IAsyncEnumerable<IngestionChunk<string>>
ProcessAsync
(IngestionDocument document,
Microsoft.Extensions.DataIngestion.Tests (1)
IngestionPipelineTests.cs (1)
178
public override IAsyncEnumerable<IngestionChunk<DataContent>>
ProcessAsync
(IngestionDocument document, CancellationToken cancellationToken = default)
12 references to ProcessAsync
Microsoft.Extensions.DataIngestion (1)
IngestionPipeline.cs (1)
183
IAsyncEnumerable<IngestionChunk<T>> chunks = _chunker.
ProcessAsync
(document, cancellationToken);
Microsoft.Extensions.DataIngestion.Tests (11)
Chunkers\DocumentChunkerTests.cs (2)
20
await Assert.ThrowsAsync<ArgumentNullException>("document", async () => await chunker.
ProcessAsync
(null!).ToListAsync());
29
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(emptyDoc).ToListAsync();
Chunkers\SectionChunkerTests.cs (6)
33
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
66
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
84
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
127
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
156
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
177
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
Chunkers\SemanticSimilarityChunkerTests.cs (3)
57
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
100
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();
176
IReadOnlyList<IngestionChunk<string>> chunks = await chunker.
ProcessAsync
(doc).ToListAsync();