Table of Contents

Constructor EmbeddingGenerationUpkeep

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

EmbeddingGenerationUpkeep(IEmbeddingGenerationStore, IStoredEmailEmbeddingBackfillStore, StoredEmailEmbeddingBackfill, IEmbeddingProfileVectorIndex, OptimisticConcurrencyRetryPolicy)

Initializes a new upkeep pass.

public EmbeddingGenerationUpkeep(IEmbeddingGenerationStore generationStore, IStoredEmailEmbeddingBackfillStore backfillStore, StoredEmailEmbeddingBackfill backfill, IEmbeddingProfileVectorIndex vectorIndex, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy)

Parameters

generationStore IEmbeddingGenerationStore

Reads the generations and writes the transitions between them.

backfillStore IStoredEmailEmbeddingBackfillStore

Answers how much of the target generation is still outstanding.

backfill StoredEmailEmbeddingBackfill

Walks the stored mail towards the target generation.

vectorIndex IEmbeddingProfileVectorIndex

Removes the approximate index of a generation nothing reads any more.

concurrencyRetryPolicy OptimisticConcurrencyRetryPolicy

Commits a transition or a removal batch, retrying a conflict with a competing writer.

Exceptions

ArgumentNullException

Thrown when any argument is null.