Struct EmbeddingProfileFingerprint
- Namespace
- MailFathom.Application.Emails.Embeddings
- Assembly
- MailFathom.Application.dll
Identifies one vector space by everything that decides what a vector in it means.
public readonly record struct EmbeddingProfileFingerprint : IEquatable<EmbeddingProfileFingerprint>
- Implements
- Inherited Members
Remarks
The profile table is unique on this value, which is what makes activation idempotent: a declaration whose geometry is already registered resolves to the existing profile instead of writing a second row that would be re-embedded from scratch for nothing. Returning to a previous model is therefore a switch rather than a duplicate. See ADR 0006.
The digest names no mail and no credential. It is computed over a deployment's own configured settings, so unlike a chunk's content hash it identifies nothing personal and needs no handling on that account.
Fields
- Length
The number of characters a hexadecimal SHA-256 digest occupies.
Properties
- Value
Gets the digest as sixty-four lowercase hexadecimal characters.
Methods
- Compute(EmbeddingProfileIdentity)
Computes the fingerprint of one vector space.
- Create(string)
Reads back a fingerprint that was written earlier.
- ToString()
Returns the fully qualified type name of this instance.