Method Create
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
Create(int, int, long)
Creates bounds, refusing values no run could complete under.
public static MailAnsweringRunBounds Create(int maximumRetrievedCharacters, int maximumProviderCalls, long maximumTokens)
Parameters
maximumRetrievedCharactersintThe greatest number of characters of retrieved mail one run may send.
maximumProviderCallsintThe greatest number of provider calls one run may make.
maximumTokenslongThe greatest number of tokens one run may consume.
Returns
- MailAnsweringRunBounds
The validated bounds.
Remarks
A call ceiling of one is accepted and is a usable deployment: the model answers from whatever the first call produces, having retrieved nothing. It is the floor rather than a recommendation.
Exceptions
- ArgumentOutOfRangeException
Thrown when a value is below one.