Represents an algorithm deployed in an OpenSearch application, including its deployment status, associated models, and the scenario in which it runs.
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 scenario in which the algorithm is deployed. Valid values: FIRST_RANK (rough sort) and SECOND_RANK (fine sort). |
| desc | String | The description of the algorithm. |
| models[] | Object | The algorithm models deployed for this entry. For more information, see DeployedAlgorithmModel. |
| status | String | The deployment status. Valid values: UNKNOWN (status is unknown), PREDICTING (model prediction is in progress), PENDING (waiting to be deployed), REINDEX_PENDING (waiting for reindexing), REINDEXING (indexes are being rebuilt and the rough sort expression is being created), DEPLOYING (being deployed and the fine sort expression is being created), IN_SERVICE (the algorithm takes effect), OFFLINE (the algorithm is offline), TARGET_MISSING (the target algorithm to be deployed does not exist). |
| apps | Array | The version for which the algorithm is deployed. |
| gmtCreate | String | The time when the algorithm was deployed. |
| gmtModified | String | The time when the algorithm was last updated. |
该文章对您有帮助吗?