DeployedAlgorithm

更新时间:
复制 MD 格式

Represents an algorithm deployed in an OpenSearch application, including its deployment status, target ranking scenario, and associated models.

Example

{
    "id": "281",
    "appGroupName": "tongtianhe_apitest",
    "scene": "SECOND_RANK",
    "desc": "",
    "models": [{
        "modelName": "popV2",
        "modelId": 363,
        "progress": 100,
        "status": "IN_SERVICE",
        "projectId": 1747,
        "algorithmType": "POP"
    }],
    "gmtCreate": "2020-02-07T10:59:12+0000",
    "gmtModified": "2020-02-07T11:15:02+0000",
    "status": "IN_SERVICE",
    "apps": [
        "100298098"
    ]
}

Structure

FieldTypeDescription
idIntegerThe ID of the deployed algorithm.
appGroupNameStringThe name of the application.
sceneStringThe ranking stage where the algorithm operates. See Scene values.
descStringThe description of the algorithm.
models[]ObjectThe deployed algorithm models. See DeployedAlgorithmModel.
statusStringThe deployment status. When the value is IN_SERVICE, the algorithm is active and taking effect. See Status values.
appsArrayThe version for which the algorithm is deployed.
gmtCreateStringThe time when the algorithm was deployed, in ISO 8601 format (UTC).
gmtModifiedStringThe time when the algorithm was last updated, in ISO 8601 format (UTC).

Scene values

The scene field specifies where in the ranking pipeline the algorithm operates.

ValueRanking stage
FIRST_RANKRough sort
SECOND_RANKFine sort

Status values

ValueDescription
UNKNOWNThe deployment status is unknown.
PREDICTINGModel prediction is in progress.
PENDINGThe algorithm is waiting to be deployed.
REINDEX_PENDINGThe algorithm waits for reindexing.
REINDEXINGIndexes are being rebuilt and the rough sort expression is being created.
DEPLOYINGThe algorithm is being deployed and the fine sort expression is being created.
IN_SERVICEThe algorithm is active and taking effect.
OFFLINEThe algorithm is offline.
TARGET_MISSINGThe algorithm to be deployed does not exist.