Table of Contents

Method SpendCeilingReached

Namespace
MailFathom.Application.Emails.Embeddings.Generation
Assembly
MailFathom.Application.dll

SpendCeilingReached(int, int, DateTimeOffset)

Reports a turn stopped by the period's spend ceiling, after whatever it had already committed.

public static StoredEmailEmbeddingRun SpendCeilingReached(int embeddedChunkCount, int inputCharacterCount, DateTimeOffset spendPeriodEndsAt)

Parameters

embeddedChunkCount int

How many passages the turn committed a vector for before the ceiling bound.

inputCharacterCount int

How many characters the turn sent before it stopped.

spendPeriodEndsAt DateTimeOffset

When the period rolls over, which is when work resumes without anyone acting.

Returns

StoredEmailEmbeddingRun

The result.

Exceptions

ArgumentOutOfRangeException

Thrown when a count is negative.