Table of Contents

Namespace MailFathom.Application.Emails.Embeddings.Limits

Classes

EmbeddingInputBound

How much of one message's extracted text is cut into passages, and therefore what one message may cost.

EmbeddingRequestPacer

Spaces embedding requests out so a deployment never sends faster than it declared it would.

EmbeddingSpendBudget

The aggregate ceiling an instance is willing to spend on embedding, and the period it is counted over.

EmbeddingSpendGate

Answers whether embedding may spend right now, and records what it did spend.

EmbeddingSpendPeriod

What one budget period has spent so far, and what it still admits.

Interfaces

IEmbeddingSpendLedger

Keeps the durable count of what each budget period has already sent to a provider.