Method ProviderFailed
- Namespace
- MailFathom.Application.Emails.Embeddings.Generation
- Assembly
- MailFathom.Application.dll
ProviderFailed(int, EmbeddingGenerationFailure)
Reports a provider call that ended without vectors, after whatever this turn had already committed.
public static StoredEmailEmbeddingRun ProviderFailed(int embeddedChunkCount, EmbeddingGenerationFailure failure)
Parameters
embeddedChunkCountintHow many passages were committed before the failing call.
failureEmbeddingGenerationFailureWhy the call produced nothing.
Returns
- StoredEmailEmbeddingRun
The result.
Exceptions
- ArgumentOutOfRangeException
Thrown when the count is negative, or the failure is not a defined member.