modelRegistryList( )
Returns all available models from the QVAC distributed model registry.
function modelRegistryList(): PromiseReturns
PromiseResolves with an array of ModelRegistryEntry objects representing every model in the registry.
Throws
| Error | When |
|---|---|
ModelRegistryQueryFailedError | The registry query fails on the server |
Example
import { modelRegistryList } from "@qvac/sdk";
const models = await modelRegistryList();
for (const model of models) {
console.log(model.registryPath, model.addon);
}