Table of Contents

Class EdgeEmbeddingException

Namespace
Qavren.Edge.Embeddings.Onnx
Assembly
Qavren.Edge.Embeddings.Onnx.dll

Every failure this package raises. It carries exactly the five codes spec 15.1 allocates to Qavren.Edge.Embeddings.Onnx - TokenizerAssetMissing (5101), TokenizerKindUnsupported (5102), EmbeddingDimensionMismatch (5103), EmbeddingPresetNotFound (5104) and EmbeddingInputTooLong (5105) - and invents none: 15.1 is a closed list and a sixth code would be an SP1 edit this plan does not have.

public sealed class EdgeEmbeddingException : EdgeException, ISerializable
Inheritance
EdgeEmbeddingException
Implements
Inherited Members

Remarks

Derives from SP1's EdgeException, so the HelpLink convention (foundation/docs/errors.md#<code>) applies for free.

Constructors

EdgeEmbeddingException(EdgeErrorCode, string, string, Exception?)

Creates the exception.

Properties

Actual

The width or size that was actually seen. Populated by dimension and vocabulary mismatches only.

Expected

The width or size that was required. Populated by dimension and vocabulary mismatches only.

PresetId

The preset this failure concerns.