Constructor EmbeddingStatus
- Namespace
- MailFathom.Application.Emails.Embeddings.Administration
- Assembly
- MailFathom.Application.dll
EmbeddingStatus(EmbeddingProfileIdentity?, EmbeddingGenerationProgress?, EmbeddingGenerationProgress?, AiProviderHealth, EmbeddingSpendPeriod, DateTimeOffset?)
Whether semantic search is working on this instance, and where it is if it is not yet.
public EmbeddingStatus(EmbeddingProfileIdentity? Declared, EmbeddingGenerationProgress? Serving, EmbeddingGenerationProgress? Building, AiProviderHealth ProviderHealth, EmbeddingSpendPeriod Period, DateTimeOffset? NextBackfillPassDueAt)
Parameters
DeclaredEmbeddingProfileIdentityThe geometry configuration declares, or null on an instance that declared no provider.
ServingEmbeddingGenerationProgressThe generation searches are answered from, or null when this instance has activated none.
BuildingEmbeddingGenerationProgressThe generation a reindex is filling, or null when no reindex is running.
ProviderHealthAiProviderHealthWhat the last call to the embedding provider established about it.
PeriodEmbeddingSpendPeriodWhere the deployment's budget period stands.
NextBackfillPassDueAtDateTimeOffset?When the backfill's next pass is due, or null while none is scheduled. An instant already past is a pass that is running or about to be taken; the absence is an instance that has only just started, or one whose walk is turned off and will schedule nothing at all.
Remarks
One value rather than five readings an operator has to combine, because the question it answers is one question. Semantic search can be absent for reasons that look nothing alike — no provider declared, a declaration nobody activated, a provider refusing the credential, a reindex still running, a budget period spent, a pass that is simply not due yet — and each of them is answered by a different member here. Reading them apart would leave an operator checking five things to learn that the sixth was the problem.
Nothing here is mail. Model names, counts, timestamps, and a health state are what it holds, which is what makes it safe to serve from the administrative endpoint.