Skip to content

LmKitEmbeddingModels Class ​

Definition ​

Known LM-Kit embedding models, default models-folder layout, and local file resolution.

  • Namespace: JASE.Embeddings.LmKit
  • Assembly: JASE.Embeddings.LmKit.dll

Fields ​

NameDescription
DefaultModelIdThe default LM-Kit catalog identifier used by LmKitEmbeddingOptions.
ModelsDirectoryEnvironmentVariableEnvironment variable honored as an additional models-directory search path
ModelsDirectoryNameFolder name copied next to the provider assembly and into consuming application output.

Properties ​

NameDescription
AllGets every embedding model JASE knows how to resolve by catalog id and file name.
BgeM3Gets BAAI bge-m3 (multilingual, 1024 dimensions). Drop-in only; not packed with the library.
BgeSmallGets BAAI bge-small-en-v1.5 (English, 384 dimensions). Default shipped model.
EmbeddingGemma300mGets Google EmbeddingGemma 300M (multilingual, 768 dimensions). Drop-in only.
HarrierOssGets Microsoft Harrier OSS v1 0.6B (multilingual, 1024 dimensions). Drop-in only;
NomicEmbedTextGets Nomic Embed Text v1.5 (768 dimensions). Shipped quality step up from
Qwen3Embedding06bGets Alibaba Qwen3 Embedding 0.6B (multilingual, 1024 dimensions). Drop-in only.
ShippedGets models fetched and packed with this package.

Methods ​

NameDescription
string GetDefaultModelsDirectory()Returns the models directory next to the JASE.Embeddings.LmKit assembly.
IReadOnlyList<string> GetSearchDirectories(string configuredDirectory)Returns directories searched for model files, in priority order.
bool TryGet(string modelId, out LmKitEmbeddingModelInfo info)Attempts to look up a known catalog model by LM-Kit model id.
bool TryResolveModelFile(string modelId, string modelsDirectory, string explicitPath, out string path)Resolves a local model file from an explicit path or a models directory.