listRemoteModels

First introduced in version: 3.00.6.5

Syntax

listRemoteModels([modelName], [modelServerAddr])

Details

Retrieves the models available for download and their package versions.

Parameters

modelName is an optional STRING scalar specifying the model name. If omitted or set to an empty string, all models are queried. Otherwise, an exact match is performed on the model name.

modelServerAddr is an optional STRING scalar specifying the HTTP or HTTPS address of the model repository. This parameter is unspecified by default.

Returns

A table is returned, with one row for each model package version. The following fields are included:

Field Type Description
ModelName STRING Model name, which can be used for the modelName parameter of installModel.
ModelVersion STRING Model package version.
Tasks STRING Model capabilities. Multiple capabilities are separated by commas.
PackageSizeBytes LONG Download package size, in bytes.

An empty table is returned if the specified model name does not exist.

Examples

Query all models available for download and their package versions:

listRemoteModels()

An example result is shown below. The actual content depends on the query result:

ModelName ModelVersion Tasks PackageSizeBytes
bge-m3-int8 1.0.0 embedding 408,381,670
chronos-2 1.0.0 forecast 448,690,568
granite-embedding-97m-multilingual-r2-int8 1.0.0 embedding 74,559,738

Related Functions:installModel