Table of Contents

Method Compute

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

Compute(EmbeddingProfileIdentity)

Computes the fingerprint of one vector space.

public static EmbeddingProfileFingerprint Compute(EmbeddingProfileIdentity identity)

Parameters

identity EmbeddingProfileIdentity

The geometry to fingerprint.

Returns

EmbeddingProfileFingerprint

The fingerprint.

Remarks

Every text field is length-prefixed and every number is written big-endian, so the encoding is one-to-one and the digest depends on the values alone rather than on the machine that computed it. An absent optional value is written as a presence marker rather than skipped, which is what keeps the encoding one-to-one over a value that may be missing rather than merely short.

Exceptions

ArgumentNullException

Thrown when identity is null.