modelRegistrySearch( )
Searches the QVAC model registry with optional filters.
function modelRegistrySearch(params?): Promise<ModelRegistryEntry[]>;
| Field | Type | Required? | Description |
|---|
| filter | string | ✗ | Free-text filter on model name |
| engine | string | ✗ | Filter by inference engine |
| quantization | string | ✗ | Filter by quantization level |
| modelType | "llm" | "whisper" | "embeddings" | "nmt" | "vad" | "tts" | "ocr" | "other" | ✗ | Filter by model type (alias for addon) |
| addon | "llm" | "whisper" | "embeddings" | "nmt" | "vad" | "tts" | "ocr" | "other" | ✗ | Filter by addon type |
Promise<ModelRegistryEntry[]> — Matching model entries. See modelRegistryGetModel() for the ModelRegistryEntry shape.
| Error | When |
|---|
QVAC_MODEL_REGISTRY_QUERY_FAILED | The registry query fails |
// Search LLM models
const llmModels = await modelRegistrySearch({ modelType: "llm" });
// Search by name
const llamaModels = await modelRegistrySearch({ filter: "llama" });
// Combined filters
const models = await modelRegistrySearch({
modelType: "llm",
quantization: "Q4_K_M",
});