Constructor StoredEmailEmbeddingRun
- Namespace
- MailFathom.Application.Emails.Embeddings.Generation
- Assembly
- MailFathom.Application.dll
StoredEmailEmbeddingRun(StoredEmailEmbeddingOutcome, int, int, EmbeddingGenerationFailure?, DateTimeOffset?)
What one message's turn at being embedded produced.
public StoredEmailEmbeddingRun(StoredEmailEmbeddingOutcome Outcome, int EmbeddedChunkCount, int InputCharacterCount, EmbeddingGenerationFailure? Failure, DateTimeOffset? SpendPeriodEndsAt)
Parameters
OutcomeStoredEmailEmbeddingOutcomeHow the turn ended.
EmbeddedChunkCountintHow many passages were given a vector and committed during this turn.
InputCharacterCountintHow many characters this turn sent to a provider, which is what its spend was counted in.
FailureEmbeddingGenerationFailure?Why a provider call produced nothing, present exactly when
Outcomeis ProviderFailed.SpendPeriodEndsAtDateTimeOffset?When the budget period rolls over, present exactly when
Outcomeis SpendCeilingReached.
Remarks
Counts and classifications only. The message identity, its passages, and the vectors they became are all mail content or derived from it, and none of them belongs in something a worker logs.