Table of Contents

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

Outcome StoredEmailEmbeddingOutcome

How the turn ended.

EmbeddedChunkCount int

How many passages were given a vector and committed during this turn.

InputCharacterCount int

How many characters this turn sent to a provider, which is what its spend was counted in.

Failure EmbeddingGenerationFailure?

Why a provider call produced nothing, present exactly when Outcome is ProviderFailed.

SpendPeriodEndsAt DateTimeOffset?

When the budget period rolls over, present exactly when Outcome is 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.