Enum EmbeddingProfileLifecycleState
- Namespace
- MailFathom.Application.Emails.Embeddings
- Assembly
- MailFathom.Application.dll
Where one embedding profile is in its life, which is the whole of what a registered profile may change.
public enum EmbeddingProfileLifecycleState
Fields
Active = 1The one profile retrieval reads. At most one profile is here at a time.
Building = 0Registered and being embedded into, and never read from while it is here.
Superseded = 2Replaced by a later generation, and whose vectors are being removed in bounded batches.
Remarks
A profile's identity is fixed at insertion, so this is the only thing about a profile that moves. There is no generation counter beside it: the profile is the generation, so two generations coexisting while a new one is built are two rows, one Building and one Active, and a read path has no second field it must remember to consult. See ADR 0006.