Table of Contents

Property EmbeddingSize

Namespace
LMKit.Integrations.ExtensionsAI.Embeddings
Assembly
LM-Kit.NET.Integrations.ExtensionsAI.dll

EmbeddingSize

Gets the dimension of the vectors this embedder produces.

public override int EmbeddingSize { get; }

Property Value

int

Remarks

May be 0 when the dimension is not known until the first successful embedding call, which happens with some remote providers that report the dimension only in their response. Consumers that need to size a vector store up front should defer that sizing to the first produced vector when this value is 0.

Share