Table of Contents

Class AgentContextBudget

Namespace
MailFathom.Application.Agent.Answering
Assembly
MailFathom.Application.dll

What one turn of an Agent conversation may send, in tokens, before its earlier part is compacted.

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

Remarks

The deployment's, and one number for the whole application. It is not per person and not per conversation, and it is not read from the model: a provider's own window is what a call would be refused at, while this is what the deployment has decided to spend per turn — so an operator running a larger model raises it and nothing else changes.

It bounds what a turn sends, never what the conversation holds: compaction adds a summary and removes nothing, and what a person reads back is every original message however many compactions it went through.

Constructors

AgentContextBudget(int)

Initializes the budget.

Fields

DefaultTokens

What a deployment that states nothing lets one turn send.

MaximumTokens

The most a deployment may state.

MinimumTokens

The least a deployment may state, below which a summary and the question would not fit together.

Properties

Default

Gets the budget a deployment that states none receives.

Tokens

Gets what one turn may send, in tokens.