QVAC Logo

modelRegistrySearch( )

Searches the model registry with optional filters for model type, engine, quantization, and free-text query.

function modelRegistrySearch(params: ModelRegistrySearchParams): Promise

Parameters

NameTypeRequired?Description
paramsModelRegistrySearchParamsSearch filters to narrow down registry results

ModelRegistrySearchParams

FieldTypeRequired?Description
addon"llm" | "whisper" | "embeddings" | "nmt" | "vad" | "tts" | "ocr" | "parakeet" | "other"Filter by addon type
enginestringFilter by inference engine (e.g. "llamacpp", "whisper")
filterstringFree-text search query matched against model names and metadata
modelType"llm" | "whisper" | "embeddings" | "nmt" | "vad" | "tts" | "ocr" | "parakeet" | "other"Alias for addon — filter by model type
quantizationstringFilter by quantization format (e.g. "Q4_0", "FP16")

Returns

Promise

Resolves with an array of ModelRegistryEntry objects matching the search criteria.

Throws

ErrorWhen
ModelRegistryQueryFailedErrorThe registry query fails on the server

Example

import { modelRegistrySearch } from "@qvac/sdk";

const llmModels = await modelRegistrySearch({
  addon: "llm",
  quantization: "Q4_0",
});

for (const model of llmModels) {
  console.log(model.registryPath);
}

On this page