Table of Contents

Constructor EmbeddingGenerations

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

EmbeddingGenerations(RegisteredEmbeddingProfile?, RegisteredEmbeddingProfile?)

The generations this instance holds: the one retrieval reads, and the one being built beside it.

public EmbeddingGenerations(RegisteredEmbeddingProfile? Serving, RegisteredEmbeddingProfile? Building)

Parameters

Serving RegisteredEmbeddingProfile

The generation retrieval reads and newly synchronized mail is embedded into, or null when this instance has activated none.

Building RegisteredEmbeddingProfile

The generation a reindex is filling, or null when no reindex is running.

Remarks

Two rather than one, because changing model must not take semantic search away for as long as a mailbox takes to re-embed. The generation being built is never read, and the one serving stays authoritative until the new one is complete — which is what ADR 0006 means by making the profile the generation: there is no counter beside these two rows.

Both are absent on an instance that has activated nothing, which is a supported deployment rather than a fault.