Method ReadAsync
- Namespace
- MailFathom.Application.Emails.Embeddings.Administration
- Assembly
- MailFathom.Application.dll
ReadAsync(EmbeddingProfileIdentity?, CancellationToken)
Reads where semantic search stands on this instance.
public Task<EmbeddingStatus> ReadAsync(EmbeddingProfileIdentity? declared, CancellationToken cancellationToken)
Parameters
declaredEmbeddingProfileIdentityThe geometry configuration declares, or null where it declares none.
cancellationTokenCancellationTokenCancels the reads.
Returns
- Task<EmbeddingStatus>
The status.
Remarks
An instance that has activated nothing answers with both generations absent and the rest present, which is the supported deployment that serves lexical search rather than a failure to report on.
Exceptions
- OperationCanceledException
Thrown when the caller cancels.