Property EmbeddingSize
- Namespace
- LMKit.Abstractions
- Assembly
- LM-Kit.NET.dll
EmbeddingSize
Gets the dimension of the vectors this embedder produces.
int EmbeddingSize { get; }
Property Value
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.