Table of Contents

Constructor EmailChunkingResult

Namespace
MailFathom.Application.Emails.Chunking
Assembly
MailFathom.Application.dll

EmailChunkingResult(IReadOnlyList<EmailTextChunk>, int?)

The passages one message's text was cut into, and how much of that text the cut reached.

public EmailChunkingResult(IReadOnlyList<EmailTextChunk> Chunks, int? TruncatedFromCharacterCount)

Parameters

Chunks IReadOnlyList<EmailTextChunk>

The passages in reading order, empty for a message whose body yielded no text.

TruncatedFromCharacterCount int?

The length the text had when the per-message ceiling stopped the cut short of its end, or null when the whole text was cut.

Remarks

The truncation travels with the chunks rather than being inferred from them, because a chunk count says nothing about what is missing: a message cut whole and one cut to a ceiling look identical from the passages alone, and the difference is exactly what a reader deciding whether an answer could have been in the part nobody embedded needs.