Table of Contents

Constructor StoredEmailEmbeddingBackfill

Namespace
MailFathom.Application.Emails.Embeddings.Backfill
Assembly
MailFathom.Application.dll

StoredEmailEmbeddingBackfill(IActiveEmbeddingProfileReader, IStoredEmailEmbeddingBackfillStore, StoredEmailEmbeddingGenerator, OptimisticConcurrencyRetryPolicy, StoredEmailEmbeddingBackfillOptions)

Initializes a new embedding backfill.

public StoredEmailEmbeddingBackfill(IActiveEmbeddingProfileReader profileReader, IStoredEmailEmbeddingBackfillStore backfillStore, StoredEmailEmbeddingGenerator embeddingGenerator, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, StoredEmailEmbeddingBackfillOptions options)

Parameters

profileReader IActiveEmbeddingProfileReader

Answers whether this instance embeds at all, and into which vector space.

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.

options StoredEmailEmbeddingBackfillOptions

Bounds one run.

Exceptions

ArgumentNullException

Thrown when any argument is null.