Constructor StoredEmailEmbeddingBackfill
- Namespace
- MailFathom.Application.Emails.Embeddings.Backfill
- Assembly
- MailFathom.Application.dll
StoredEmailEmbeddingBackfill(IStoredEmailEmbeddingBackfillStore, StoredEmailEmbeddingGenerator, OptimisticConcurrencyRetryPolicy, IDerivedWorkGateTelemetry, StoredEmailEmbeddingBackfillOptions)
Initializes a new embedding backfill.
public StoredEmailEmbeddingBackfill(IStoredEmailEmbeddingBackfillStore backfillStore, StoredEmailEmbeddingGenerator embeddingGenerator, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, IDerivedWorkGateTelemetry gateTelemetry, StoredEmailEmbeddingBackfillOptions options)
Parameters
backfillStoreIStoredEmailEmbeddingBackfillStoreReads what remains and writes both the passages and the position a run produced.
embeddingGeneratorStoredEmailEmbeddingGeneratorBrings one message up to date, which is the same unit of work the live worker performs.
concurrencyRetryPolicyOptimisticConcurrencyRetryPolicyCommits a write, retrying a conflict with a competing writer.
gateTelemetryIDerivedWorkGateTelemetryRecords why a message the classification gate was holding is being derived from now.
optionsStoredEmailEmbeddingBackfillOptionsBounds one run.
Exceptions
- ArgumentNullException
Thrown when any argument is null.