Constructor EmbeddingProfileActivation
- Namespace
- MailFathom.Application.Emails.Embeddings.Generations
- Assembly
- MailFathom.Application.dll
EmbeddingProfileActivation(IEmbeddingGenerationStore, IEmbeddingProfileVectorIndex, OptimisticConcurrencyRetryPolicy, EmbeddingBackfillSchedule)
Initializes a new activation.
public EmbeddingProfileActivation(IEmbeddingGenerationStore generationStore, IEmbeddingProfileVectorIndex vectorIndex, OptimisticConcurrencyRetryPolicy concurrencyRetryPolicy, EmbeddingBackfillSchedule backfillSchedule)
Parameters
generationStoreIEmbeddingGenerationStoreReads which generations exist and registers the one being started.
vectorIndexIEmbeddingProfileVectorIndexBuilds the approximate index the new generation will be searched through.
concurrencyRetryPolicyOptimisticConcurrencyRetryPolicyCommits the registration, retrying a conflict with a competing writer.
backfillScheduleEmbeddingBackfillScheduleBrings the next upkeep pass forward once there is a generation for it to walk towards.
Exceptions
- ArgumentNullException
Thrown when any argument is null.