Class EmbeddingProfileActivation
- Namespace
- MailFathom.Application.Emails.Embeddings.Generations
- Assembly
- MailFathom.Application.dll
Turns a declared geometry into the generation this instance is building towards.
public sealed class EmbeddingProfileActivation
- Inheritance
-
EmbeddingProfileActivation
- Inherited Members
Remarks
This is the one writer of a profile row, and the only thing in MailFathom that starts spending against a provider on purpose. Editing configuration declares a model and costs nothing; ADR 0006 makes this separate act the one that materializes the declaration and pays for it.
What it never does is take semantic search away while it works. A generation begins its life being built, is never read while it is there, and replaces whatever was serving only once it is complete — so an operator changing model on a Tuesday is not answering for it on Wednesday. The counting and the confirmation that belong in front of the spending are the command surface's, not this type's: by the time it is called, the decision has been made.
Constructors
- EmbeddingProfileActivation(IEmbeddingGenerationStore, IEmbeddingProfileVectorIndex, OptimisticConcurrencyRetryPolicy, EmbeddingBackfillSchedule)
Initializes a new activation.
Methods
- ActivateAsync(EmbeddingProfileIdentity, CancellationToken)
Registers the declared geometry as the generation to build, unless one of it is already there.