Appearance
TryResolveModelFile Method
Definition
- Namespace:
JASE.Embeddings.LmKit - Assembly:
JASE.Embeddings.LmKit.dll
bool TryResolveModelFile(string modelId, string modelsDirectory, string explicitPath, out string path)
csharp
bool TryResolveModelFile(string modelId, string modelsDirectory, string explicitPath, out string path)Resolves a local model file from an explicit path or a models directory.
Parameters
| Name | Description |
|---|---|
explicitPath | Optional full path to a GGUF or LMK file. |
modelId | The LM-Kit catalog identifier. |
modelsDirectory | Optional extra search directory. |
path | The resolved file path when found. |
Returns
when a file exists at the resolved location.