1 instantiation of IngestionDocument
Microsoft.Extensions.DataIngestion.Tests (1)
IngestionDocumentTests.cs (1)
22IngestionDocument doc = new("withSubSections");
19 references to IngestionDocument
Microsoft.Extensions.DataIngestion.Abstractions (18)
IngestionChunk.cs (3)
12/// Represents a chunk of content extracted from an <see cref="IngestionDocument"/>. 32public IngestionChunk(T content, IngestionDocument document, string? context = null) 55public IngestionDocument Document { get; }
IngestionChunker.cs (2)
10/// Splits an <see cref="IngestionDocument"/> into chunks. 21public abstract IAsyncEnumerable<IngestionChunk<T>> ProcessAsync(IngestionDocument document, CancellationToken cancellationToken = default);
IngestionDocument.cs (1)
16/// Initializes a new instance of the <see cref="IngestionDocument"/> class.
IngestionDocumentElement.cs (1)
15/// Represents an element within an <see cref="IngestionDocument"/>.
IngestionDocumentProcessor.cs (4)
10/// Part of the document processing pipeline that takes a <see cref="IngestionDocument"/> as input and produces a (potentially modified) <see cref="IngestionDocument"/> as output. 20public abstract Task<IngestionDocument> ProcessAsync(IngestionDocument document, CancellationToken cancellationToken = default);
IngestionDocumentReader.cs (7)
13/// Reads source content and converts it to an <see cref="IngestionDocument"/>. 18/// Reads a file and converts it to an <see cref="IngestionDocument"/>. 24public Task<IngestionDocument> ReadAsync(FileInfo source, CancellationToken cancellationToken = default) 31/// Reads a file and converts it to an <see cref="IngestionDocument"/>. 39public virtual async Task<IngestionDocument> ReadAsync(FileInfo source, string identifier, string? mediaType = null, CancellationToken cancellationToken = default) 49/// Reads a stream and converts it to an <see cref="IngestionDocument"/>. 56public abstract Task<IngestionDocument> ReadAsync(Stream source, string identifier, string mediaType, CancellationToken cancellationToken = default);
Microsoft.Extensions.DataIngestion.Tests (1)
IngestionDocumentTests.cs (1)
22IngestionDocument doc = new("withSubSections");