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
| Field | Type | Description |
|---|---|---|
id | Integer | The ID of the deployed algorithm. |
appGroupName | String | The name of the application. |
scene | String | The ranking stage where the algorithm operates. See Scene values. |
desc | String | The description of the algorithm. |
models[] | Object | The deployed algorithm models. See DeployedAlgorithmModel. |
status | String | The deployment status. When the value is IN_SERVICE, the algorithm is active and taking effect. See Status values. |
apps | Array | The version for which the algorithm is deployed. |
gmtCreate | String | The time when the algorithm was deployed, in ISO 8601 format (UTC). |
gmtModified | String | The 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.
| Value | Ranking stage |
|---|---|
FIRST_RANK | Rough sort |
SECOND_RANK | Fine sort |
Status values
| Value | Description |
|---|---|
UNKNOWN | The deployment status is unknown. |
PREDICTING | Model prediction is in progress. |
PENDING | The algorithm is waiting to be deployed. |
REINDEX_PENDING | The algorithm waits for reindexing. |
REINDEXING | Indexes are being rebuilt and the rough sort expression is being created. |
DEPLOYING | The algorithm is being deployed and the fine sort expression is being created. |
IN_SERVICE | The algorithm is active and taking effect. |
OFFLINE | The algorithm is offline. |
TARGET_MISSING | The algorithm to be deployed does not exist. |
该文章对您有帮助吗?