Class RegisteredEmbeddingProfile
- Namespace
- MailFathom.Application.Emails.Embeddings
- Assembly
- MailFathom.Application.dll
One profile row, with the geometry it fixed when it was registered.
public sealed record RegisteredEmbeddingProfile : IEquatable<RegisteredEmbeddingProfile>
- Inheritance
-
RegisteredEmbeddingProfile
- Implements
- Inherited Members
Remarks
Lifecycle-neutral by design, because a profile is a generation and two of them coexist while a new one is built: the one retrieval reads and the one being embedded into are the same shape and are told apart by EmbeddingProfileLifecycleState rather than by their type. Its absence is what "this instance does not embed" means — a profile row exists, or it does not, and ADR 0006 records why the switch is an activation rather than a setting.
The identity travels with the identifier rather than being looked up beside it, because a caller about to spend on a provider call needs both: the identifier says which rows the vectors hang on, and the identity says which space they have to belong to for that attribution to be true.
Constructors
- RegisteredEmbeddingProfile(EmbeddingProfileId, EmbeddingProfileIdentity)
One profile row, with the geometry it fixed when it was registered.
Properties
- Id
Which registered profile this is.
- Identity
The geometry the profile fixed at registration.