Table of Contents

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

embeddedChunkCount int

How many passages were committed before the failing call.

failure EmbeddingGenerationFailure

Why the call produced nothing.

Returns

StoredEmailEmbeddingRun

The result.

Exceptions

ArgumentOutOfRangeException

Thrown when the count is negative, or the failure is not a defined member.