Constructor MailAnsweringBudget
- Namespace
- MailFathom.Application.Retrieval.AskMail
- Assembly
- MailFathom.Application.dll
MailAnsweringBudget(EmailKnowledgeBounds, MailAnsweringRunBounds, MailAnsweringPeriodBounds, MailAnswerBounds, AgentContextBudget)
Every ceiling one question about the mailbox is subject to, from what a lookup hands over to what a period may spend.
public MailAnsweringBudget(EmailKnowledgeBounds Retrieval, MailAnsweringRunBounds Run, MailAnsweringPeriodBounds Period, MailAnswerBounds Answer, AgentContextBudget Context)
Parameters
RetrievalEmailKnowledgeBoundsWhat one lookup may draw out of the mailbox.
RunMailAnsweringRunBoundsWhat one run may send, call, and consume.
PeriodMailAnsweringPeriodBoundsWhat the runs of one period may add up to.
AnswerMailAnswerBoundsHow much of a run's outcome one response publishes.
ContextAgentContextBudgetWhat one turn of an Agent conversation may send before its earlier part is compacted.
Remarks
The five are declared together because an operator reads them together — they are one decision about how much answering costs and how much mail leaves — and they are separate values because they are enforced in five places: where the passages are built, where a provider call is about to be made, where a question is admitted, where a response is written, and where an Agent turn is composed from the conversation before it. A composition root maps the declaration onto this and registers the parts; nothing downstream resolves the whole.
It holds no credential, no endpoint, and nothing about which provider answers. What a question may spend is a property of this deployment rather than of the model it happens to be pointed at, so an instance that answers no questions still has these ceilings and simply never reaches one.