Table of Contents

Constructor RegisteredEmbeddingProfile

Namespace
MailFathom.Application.Emails.Embeddings
Assembly
MailFathom.Application.dll

RegisteredEmbeddingProfile(EmbeddingProfileId, EmbeddingProfileIdentity)

One profile row, with the geometry it fixed when it was registered.

public RegisteredEmbeddingProfile(EmbeddingProfileId Id, EmbeddingProfileIdentity Identity)

Parameters

Id EmbeddingProfileId

Which registered profile this is.

Identity EmbeddingProfileIdentity

The geometry the profile fixed at registration.

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.