Table of Contents

Class OnnxEmbeddingGeneratorInfo

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

What one generator is, as diagnostics and a consumer see it.

public sealed record OnnxEmbeddingGeneratorInfo : IEquatable<OnnxEmbeddingGeneratorInfo>
Inheritance
OnnxEmbeddingGeneratorInfo
Implements
Inherited Members

Constructors

OnnxEmbeddingGeneratorInfo(string, string, int, int, EmbeddingPooling, bool, string?, string?, EdgeTokenizerKind, int, string, string, ExecutionProviderReport)

What one generator is, as diagnostics and a consumer see it.

Properties

Dimensions

The fixed embedding width.

DocumentPrefix

The document-side instruction prefix, or null.

ExecutionProviders

Every provider attempt, in order, and the one that was accepted.

GraphPath

The absolute path ORT was handed, or empty before the first embed.

GraphSha256

The graph's digest, or empty before the first embed.

MaxSequenceLength

The preset's token ceiling.

ModelId

The manifest's model id, the same string OnnxSessionInfo.ModelId carries.

Normalize

Whether the pooled vector is L2-normalised.

Pooling

How the batch pools.

PresetId

The preset's id.

QueryPrefix

The query-side instruction prefix, or null.

TokenizerKind

Which tokenizer family the preset uses.

VocabularySize

The vocabulary size, or 0 before the first embed.