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
embeddedChunkCountintHow many passages the turn committed a vector for before the ceiling bound.
inputCharacterCountintHow many characters the turn sent before it stopped.
spendPeriodEndsAtDateTimeOffsetWhen the period rolls over, which is when work resumes without anyone acting.
Returns
- StoredEmailEmbeddingRun
The result.
Exceptions
- ArgumentOutOfRangeException
Thrown when a count is negative.