文档

UpdateExperimentConfig - 更新实验配置

更新一个实验配置信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

PUT /v2/openapi/instances/{instanceId}/scenes/{sceneId}/experiments/{experimentId}/config

请求参数

名称类型必填描述示例值
instanceIdstring

实例 ID。

airec-cn-****
sceneIdstring

场景 ID。

sceneId
experimentIdstring

实验 ID。

12345

返回参数

名称类型描述示例值
object

返回参数。

resultobject

返回参数。

baseboolean

是否为默认实验。

true
onlineTimestring

实验上线时间。

2020-12-07T06:47:30.000Z
offlineTimestring

实验下线/推全时间。

2020-12-07T06:47:30.000Z
descriptionstring

实验备注。

demo1
statusstring

实验状态。

取值:

  • Init:未上线。

  • Online:上线。

  • Finish:推全。

  • Offline:下线。

Online
namestring

实验名称。

I2I召回链路
algorithmsobject []

实验参数列表。

keystring

算法 key。

取值:

  • I2I:I2I 召回链路。

  • u2X2I:U2X2I 召回链路。

  • hot:热门商品召回链路。

  • new:新品召回链路。

  • embedding:向量召回链路。

  • mtorder:召回链路优先级。

  • rankservice:排序服务。

I2I
configobject []

子配置项列表。

keystring

算法配置项 key。

I2I
defaultValuestring

算法配置项默认值。

true
experimentValuestring

实验值。

true
namestring

子配置名称。

xxx
defaultValuestring

默认召回数量。

400
typestring

算法类别。

取值:

  • SYSTEM:系统默认类型。

  • CUSTOM:用户自定义类型。

SYSTEM
experimentValuestring

实验值。

300
hasConfigboolean

是否有子配置项。

取值:

  • true:是

  • false:否

true
categorystring

算法类目。

取值:

  • RECALL:召回。

  • RANK:排序。

RECALL
namestring

实验名称。

xxx
bucketsarray

分桶列表,上线实验时该字段才生效。

string

分桶信息。

userid
experimentIdstring

实验 ID。

xxx
requestIdstring

请求的 ID。

829F38F6-E2D6-4109-90A6-888160BD16C2

示例

正常返回示例

JSON格式

{
  "result": {
    "base": true,
    "onlineTime": "2020-12-07T06:47:30.000Z",
    "offlineTime": "2020-12-07T06:47:30.000Z",
    "description": "demo1",
    "status": "Online",
    "name": "I2I召回链路",
    "algorithms": [
      {
        "key": "I2I",
        "config": [
          {
            "key": "I2I",
            "defaultValue": "true",
            "experimentValue": "true",
            "name": "xxx"
          }
        ],
        "defaultValue": "400",
        "type": "SYSTEM",
        "experimentValue": "300",
        "hasConfig": true,
        "category": "RECALL",
        "name": "xxx"
      }
    ],
    "buckets": [
      "userid"
    ],
    "experimentId": "xxx"
  },
  "requestId": "829F38F6-E2D6-4109-90A6-888160BD16C2"
}

错误码

访问错误中心查看更多错误码。

变更历史

变更时间变更内容概要操作
暂无变更历史
  • 本页导读 (0)
文档反馈