Class EmailChunkingResult
- Namespace
- MailFathom.Application.Emails.Chunking
- Assembly
- MailFathom.Application.dll
The passages one message's text was cut into, and how much of that text the cut reached.
public sealed record EmailChunkingResult : IEquatable<EmailChunkingResult>
- Inheritance
-
EmailChunkingResult
- Implements
- Inherited Members
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.
Constructors
- EmailChunkingResult(IReadOnlyList<EmailTextChunk>, int?)
The passages one message's text was cut into, and how much of that text the cut reached.
Properties
- Chunks
The passages in reading order, empty for a message whose body yielded no text.
- NoText
The result of cutting a message whose body yielded no text at all.
- TruncatedFromCharacterCount
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.