Class MailAnsweringRunBounds
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
What one answering run may draw out of the mailbox and spend at the provider before it is stopped.
public sealed record MailAnsweringRunBounds : IEquatable<MailAnsweringRunBounds>
- Inheritance
-
MailAnsweringRunBounds
- Implements
- Inherited Members
Remarks
A run is a conversation rather than a call: the model asks for mail, the tool answers, and the model may ask again. EmailKnowledgeBounds bounds one lookup and the endpoint's own declaration bounds one request, so neither of them says anything about a run that makes twenty lookups. These three do, and each is checked before the next provider call rather than reported after the run.
Three numbers because they fail in three different ways. The retrieved-character ceiling is the privacy one — it is the total amount of somebody's mail that may leave the process to answer one question, whatever the model asks for. The token ceiling is the cost one, and it is the only one stated in the unit a provider bills by. The call ceiling is the one that always works: a token count is what the provider reported, and an endpoint that reports none would leave the cost ceiling unreachable while a tool loop went round.
The retrieval ceiling cuts and the other two stop the run. A lookup refused for budget still leaves an answerable question — the run has mail already and is told there is no more — while a run that may make no further call has no answer to publish and nothing to cut down to.
Properties
- Default
Gets the bounds a deployment that states none receives.
- MaximumProviderCalls
Gets the greatest number of provider calls one run may make.
- MaximumRetrievedCharacters
Gets the greatest number of characters of retrieved mail one run may send.
- MaximumTokens
Gets the greatest number of tokens, sent and received together, one run may consume.
Methods
- Create(int, int, long)
Creates bounds, refusing values no run could complete under.
- ToString()
Returns a string that represents the current object.