QVAC Logo

modelRegistryList( )

Returns all available models from the QVAC distributed model registry.

function modelRegistryList(): Promise<ModelRegistryEntry[]>;

Returns

Promise<ModelRegistryEntry[]> — Array of all models in the registry.

Throws

ErrorWhen
QVAC_MODEL_REGISTRY_QUERY_FAILEDThe registry query fails

Example

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

const models = await modelRegistryList();
for (const model of models) {
  console.log(model.registryPath, model.addon);
}

On this page