55 references to IngestionDocumentParagraph
Microsoft.Extensions.DataIngestion.Markdig (2)
MarkdownParser.cs (2)
106
ParagraphBlock paragraph => new
IngestionDocumentParagraph
(elementMarkdown)
110
CodeBlock codeBlock => new
IngestionDocumentParagraph
(elementMarkdown)
Microsoft.Extensions.DataIngestion.MarkItDown (2)
src\Libraries\Microsoft.Extensions.DataIngestion.Markdig\MarkdownParser.cs (2)
106
ParagraphBlock paragraph => new
IngestionDocumentParagraph
(elementMarkdown)
110
CodeBlock codeBlock => new
IngestionDocumentParagraph
(elementMarkdown)
Microsoft.Extensions.DataIngestion.Tests (51)
Chunkers\HeaderChunkerTests.cs (19)
25
new
IngestionDocumentParagraph
("Paragraph 1_1_1"),
27
new
IngestionDocumentParagraph
("Paragraph 1_1_1_1"),
28
new
IngestionDocumentParagraph
("Paragraph 1_1_1_2"),
30
new
IngestionDocumentParagraph
("Paragraph 1_1_2_1"),
31
new
IngestionDocumentParagraph
("Paragraph 1_1_2_2"),
33
new
IngestionDocumentParagraph
("Paragraph 1_2_1"),
35
new
IngestionDocumentParagraph
("Paragraph 1_2_1_1"),
67
new
IngestionDocumentParagraph
("This is a very long text. It's expressed with plenty of tokens")
92
new
IngestionDocumentParagraph
("This is a very long text. It's expressed with plenty of tokens")
114
new
IngestionDocumentParagraph
("This is a very long text. It's expressed with plenty of tokens. And it contains a new line.\nWith some text after the new line."),
115
new
IngestionDocumentParagraph
("And following paragraph.")
239
new
IngestionDocumentParagraph
("This is some text that describes why we need the following table."),
241
new
IngestionDocumentParagraph
("And some follow up.")
252
cells[0, 0] = new
IngestionDocumentParagraph
("one");
253
cells[0, 1] = new
IngestionDocumentParagraph
("two");
254
cells[0, 2] = new
IngestionDocumentParagraph
("three");
255
cells[0, 3] = new
IngestionDocumentParagraph
("four");
256
cells[0, 4] = new
IngestionDocumentParagraph
("five");
264
cells[row, col] = new
IngestionDocumentParagraph
(number.ToString());
Chunkers\SectionChunkerTests.cs (16)
28
new
IngestionDocumentParagraph
("This is a paragraph."),
29
new
IngestionDocumentParagraph
("This is another paragraph.")
50
new
IngestionDocumentParagraph
("This is a paragraph."),
51
new
IngestionDocumentParagraph
("This is another paragraph.")
58
new
IngestionDocumentParagraph
("This is a paragraph in section 2."),
59
new
IngestionDocumentParagraph
("This is another paragraph in section 2.")
100
new
IngestionDocumentParagraph
("This is a paragraph in section 1."),
101
new
IngestionDocumentParagraph
("This is another paragraph in section 1."),
107
new
IngestionDocumentParagraph
("This is a paragraph in subsection 1.1."),
108
new
IngestionDocumentParagraph
("This is another paragraph in subsection 1.1."),
114
new
IngestionDocumentParagraph
("This is a paragraph in subsubsection 1.1.1."),
115
new
IngestionDocumentParagraph
("This is another paragraph in subsubsection 1.1.1.")
118
new
IngestionDocumentParagraph
("This is the last paragraph in subsection 1.2."),
152
new
IngestionDocumentParagraph
(text)
172
new
IngestionDocumentParagraph
("This is a paragraph in section 1."),
173
new
IngestionDocumentParagraph
("This is another paragraph in section 1.")
Chunkers\SemanticSimilarityChunkerTests.cs (9)
42
new
IngestionDocumentParagraph
(text)
74
new
IngestionDocumentParagraph
(text1),
75
new
IngestionDocumentParagraph
(text2),
76
new
IngestionDocumentParagraph
(text3)
145
new
IngestionDocumentParagraph
("The .NET platform supports multiple programming languages:"),
148
new
IngestionDocumentParagraph
("C# remains the most popular language for .NET development."),
150
new
IngestionDocumentParagraph
("The twelve Olympian gods were the principal deities of the Greek pantheon:"),
153
new
IngestionDocumentParagraph
("These gods resided on Mount Olympus and ruled over different aspects of mortal and divine life.")
248
result[i, j] = new
IngestionDocumentParagraph
(cells[i, j]);
IngestionDocumentTests.cs (7)
14
{ new
IngestionDocumentParagraph
("header") },
15
{ new
IngestionDocumentParagraph
("row1") },
16
{ new
IngestionDocumentParagraph
("row2") }
28
new
IngestionDocumentParagraph
("paragraph"),
35
new
IngestionDocumentParagraph
("nested paragraph")
45
new
IngestionDocumentParagraph
("paragraph 2")
71
=> Assert.Throws<ArgumentNullException>("markdown", () => new
IngestionDocumentParagraph
(input!));