28 instantiations of IngestionDocumentSection
Microsoft.Extensions.DataIngestion.Markdig (3)
MarkdownParser.cs (3)
41IngestionDocumentSection rootSection = new(documentMarkdown); 158IngestionDocumentSection list = new(listMarkdown); 184IngestionDocumentSection quote = new(elementMarkdown);
Microsoft.Extensions.DataIngestion.MarkItDown (3)
src\Libraries\Microsoft.Extensions.DataIngestion.Markdig\MarkdownParser.cs (3)
41IngestionDocumentSection rootSection = new(documentMarkdown); 158IngestionDocumentSection list = new(listMarkdown); 184IngestionDocumentSection quote = new(elementMarkdown);
Microsoft.Extensions.DataIngestion.Tests (22)
Chunkers\HeaderChunkerTests.cs (5)
19doc.Sections.Add(new() 60doc.Sections.Add(new() 85doc.Sections.Add(new() 107doc.Sections.Add(new() 234doc.Sections.Add(new()
Chunkers\SectionChunkerTests.cs (9)
24doc.Sections.Add(new IngestionDocumentSection 46new() 54new() 79doc.Sections.Add(new IngestionDocumentSection 95new() 102new IngestionDocumentSection 109new IngestionDocumentSection 148doc.Sections.Add(new IngestionDocumentSection 167doc.Sections.Add(new IngestionDocumentSection
Chunkers\SemanticSimilarityChunkerTests.cs (3)
38doc.Sections.Add(new IngestionDocumentSection 70doc.Sections.Add(new IngestionDocumentSection 140doc.Sections.Add(new IngestionDocumentSection
IngestionDocumentTests.cs (3)
23doc.Sections.Add(new IngestionDocumentSection("first section") 30new IngestionDocumentSection("nested section") 40doc.Sections.Add(new IngestionDocumentSection("second section")
Processors\AlternativeTextEnricherTests.cs (2)
99new IngestionDocumentSection 186IngestionDocumentSection rootSection = new();
19 references to IngestionDocumentSection
Microsoft.Extensions.DataIngestion (4)
Chunkers\SectionChunker.cs (4)
13/// Treats each <see cref="IngestionDocumentSection" /> in a <see cref="IngestionDocument.Sections"/> as a separate entity. 34foreach (IngestionDocumentSection section in document.Sections) 47private void Process(IngestionDocument document, IngestionDocumentSection section, List<IngestionChunk<string>> chunks, string? parentContext = null) 63case IngestionDocumentSection nestedSection:
Microsoft.Extensions.DataIngestion.Abstractions (4)
IngestionDocument.cs (2)
33public IList<IngestionDocumentSection> Sections { get; } = []; 55if (currentElement is not IngestionDocumentSection nestedSection)
IngestionDocumentElement.cs (2)
74/// Initializes a new instance of the <see cref="IngestionDocumentSection"/> class. 83/// Initializes a new instance of the <see cref="IngestionDocumentSection"/> class.
Microsoft.Extensions.DataIngestion.Markdig (5)
MarkdownParser.cs (5)
41IngestionDocumentSection rootSection = new(documentMarkdown); 156private static IngestionDocumentSection MapListBlock(ListBlock listBlock, bool previousWasBreak, string documentMarkdown, string listMarkdown) 158IngestionDocumentSection list = new(listMarkdown); 182private static IngestionDocumentSection MapQuoteBlock(QuoteBlock quoteBlock, bool previousWasBreak, string documentMarkdown, string elementMarkdown) 184IngestionDocumentSection quote = new(elementMarkdown);
Microsoft.Extensions.DataIngestion.MarkItDown (5)
src\Libraries\Microsoft.Extensions.DataIngestion.Markdig\MarkdownParser.cs (5)
41IngestionDocumentSection rootSection = new(documentMarkdown); 156private static IngestionDocumentSection MapListBlock(ListBlock listBlock, bool previousWasBreak, string documentMarkdown, string listMarkdown) 158IngestionDocumentSection list = new(listMarkdown); 182private static IngestionDocumentSection MapQuoteBlock(QuoteBlock quoteBlock, bool previousWasBreak, string documentMarkdown, string elementMarkdown) 184IngestionDocumentSection quote = new(elementMarkdown);
Microsoft.Extensions.DataIngestion.Tests (1)
Processors\AlternativeTextEnricherTests.cs (1)
186IngestionDocumentSection rootSection = new();