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
generationStoreIEmbeddingGenerationStoreReads the generations and writes the transitions between them.
backfillStoreIStoredEmailEmbeddingBackfillStoreAnswers how much of the target generation is still outstanding.
backfillStoredEmailEmbeddingBackfillWalks the stored mail towards the target generation.
vectorIndexIEmbeddingProfileVectorIndexRemoves the approximate index of a generation nothing reads any more.
concurrencyRetryPolicyOptimisticConcurrencyRetryPolicyCommits a transition or a removal batch, retrying a conflict with a competing writer.
Exceptions
- ArgumentNullException
Thrown when any argument is null.