28 references to IngestionDocumentHeader
Microsoft.Extensions.DataIngestion.Markdig (1)
MarkdownParser.cs (1)
96
HeadingBlock heading => new
IngestionDocumentHeader
(elementMarkdown)
Microsoft.Extensions.DataIngestion.MarkItDown (1)
src\Libraries\Microsoft.Extensions.DataIngestion.Markdig\MarkdownParser.cs (1)
96
HeadingBlock heading => new
IngestionDocumentHeader
(elementMarkdown)
Microsoft.Extensions.DataIngestion.Tests (26)
Chunkers\HeaderChunkerTests.cs (16)
23
new
IngestionDocumentHeader
("Header 1") { Level = 1 },
24
new
IngestionDocumentHeader
("Header 1_1") { Level = 2 },
26
new
IngestionDocumentHeader
("Header 1_1_1") { Level = 3 },
29
new
IngestionDocumentHeader
("Header 1_1_2") { Level = 3 },
32
new
IngestionDocumentHeader
("Header 1_2") { Level = 2 },
34
new
IngestionDocumentHeader
("Header 1_2_1") { Level = 3 },
64
new
IngestionDocumentHeader
("Header A") { Level = 1 },
65
new
IngestionDocumentHeader
("Header B") { Level = 2 },
66
new
IngestionDocumentHeader
("Header C") { Level = 3 },
89
new
IngestionDocumentHeader
("Header A") { Level = 1 }, // 2 tokens
90
new
IngestionDocumentHeader
("Header B") { Level = 2 }, // 2 tokens
91
new
IngestionDocumentHeader
("Header C") { Level = 3 }, // 2 tokens
111
new
IngestionDocumentHeader
("Header A") { Level = 1 },
112
new
IngestionDocumentHeader
("Header B") { Level = 2 },
113
new
IngestionDocumentHeader
("Header C") { Level = 3 },
238
new
IngestionDocumentHeader
("Header A") { Level = 1 },
Chunkers\SectionChunkerTests.cs (4)
99
new
IngestionDocumentHeader
("# Section title"),
106
new
IngestionDocumentHeader
("## Subsection title"),
113
new
IngestionDocumentHeader
("### Subsubsection title"),
171
new
IngestionDocumentHeader
("Section 1"),
Chunkers\SemanticSimilarityChunkerTests.cs (2)
144
new
IngestionDocumentHeader
("# .NET Supported Languages") { Level = 1 },
149
new
IngestionDocumentHeader
("# Ancient Greek Olympian Gods") { Level = 1 },
IngestionDocumentTests.cs (4)
27
new
IngestionDocumentHeader
("header"),
34
new
IngestionDocumentHeader
("nested header"),
44
new
IngestionDocumentHeader
("header 2"),
78
IngestionDocumentHeader header =
new
("# header");