Table of Contents

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

backfillStore IStoredEmailEmbeddingBackfillStore

Reads what remains and writes both the passages and the position a run produced.

embeddingGenerator StoredEmailEmbeddingGenerator

Brings one message up to date, which is the same unit of work the live worker performs.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits a write, retrying a conflict with a competing writer.

gateTelemetry IDerivedWorkGateTelemetry

Records why a message the classification gate was holding is being derived from now.

options StoredEmailEmbeddingBackfillOptions

Bounds one run.

Exceptions

ArgumentNullException

Thrown when any argument is null.