Table of Contents

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

maximumRetrievedCharacters int

The greatest number of characters of retrieved mail one run may send.

maximumProviderCalls int

The greatest number of provider calls one run may make.

maximumTokens long

The 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.