Class StoredEmailEmbeddingBackfillResult
- Namespace
- MailFathom.Application.Emails.Embeddings.Backfill
- Assembly
- MailFathom.Application.dll
What one run of the embedding backfill did, and why it ended.
public sealed record StoredEmailEmbeddingBackfillResult : IEquatable<StoredEmailEmbeddingBackfillResult>
- Inheritance
-
StoredEmailEmbeddingBackfillResult
- Implements
- Inherited Members
Remarks
Counts and classifications only. Every message this run touched, every passage it cut, and every vector it stored is mail content or derived from it, and none of that belongs in something a worker logs.
The exhausted count is carried separately rather than folded into the ordinary progress, because it is the one thing a run does that an operator has to act on and that no other number here would show: the walk steps past such a message and keeps going, so without its own count a mailbox needing several sweeps to finish one message would look exactly like one that is finishing them.
Constructors
- StoredEmailEmbeddingBackfillResult(StoredEmailEmbeddingBackfillOutcome, int, int, int, int, int?, EmbeddingGenerationFailure?)
What one run of the embedding backfill did, and why it ended.
Properties
- CallBudgetExhaustedEmailCount
How many messages this run left part-way through because one turn spent every provider call a turn is allowed.
- ChunkedEmailCount
How many messages this run had to cut into passages before anything could be embedded.
- EmbeddedChunkCount
How many passages this run committed vectors for.
- EmbeddedEmailCount
How many messages this run brought up to date, or spent a provider call on.
- Failure
Why a provider call produced nothing, present exactly when
Outcomeis ProviderFailed.
- MoreWorkIsWorthTryingSoon
Gets whether running again shortly would reach work this run could not.
- Outcome
Why the run ended.
- OutstandingEmailCountAtSweepStart
How many messages awaited embedding when this sweep began, or null when the run resumed a sweep somebody else measured.