Table of Contents

Class EmailKnowledgeBounds

Namespace
MailFathom.Application.Retrieval
Assembly
MailFathom.Application.dll

How much mail one retrieval may hand to a model.

public sealed record EmailKnowledgeBounds : IEquatable<EmailKnowledgeBounds>
Inheritance
EmailKnowledgeBounds
Implements
Inherited Members

Remarks

The ceiling on what leaves the process for a question, expressed where the passages are built rather than where they are sent. A model asks for context by writing a query, so nothing about the request bounds the answer — this does, and it does so before the passages exist, which is what makes the bound impossible to widen from the model's side.

Two numbers rather than one total, because they control different things. The count is how many messages one question can draw on, and the per-passage size is how much of any single message it can draw out; a single total would let one enormous extract satisfy the same ceiling as a spread across several messages.

Properties

Default

Gets the bounds a deployment that states none receives.

MaximumCharactersPerPassage

Gets the greatest number of characters one passage may carry.

MaximumPassages

Gets the greatest number of passages one retrieval may return.

Methods

Create(int, int)

Creates bounds, refusing values no retrieval could run under.

ToString()

Returns a string that represents the current object.