QVAC Logo

modelRegistrySearch( )

Searches the QVAC model registry with optional filters.

function modelRegistrySearch(params?): Promise<ModelRegistryEntry[]>;

Parameters

NameTypeRequired?Description
paramsModelRegistrySearchParamsOptional search filters. If omitted, returns all models.

ModelRegistrySearchParams

FieldTypeRequired?Description
filterstringFree-text filter on model name
enginestringFilter by inference engine
quantizationstringFilter 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

Returns

Promise<ModelRegistryEntry[]> — Matching model entries. See modelRegistryGetModel() for the ModelRegistryEntry shape.

Throws

ErrorWhen
QVAC_MODEL_REGISTRY_QUERY_FAILEDThe registry query fails

Example

// 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",
});

On this page