DescribeBaseExperiment - 获取基础实验

获取基础实验。

调试

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

调试

授权信息

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

请求语法

GET /v2/openapi/instances/{instanceId}/scenes/{sceneId}/base-experiment HTTP/1.1

请求参数

名称

类型

必填

描述

示例值

instanceId

string

实例 ID。

airec-cn-****

sceneId

string

场景 ID。

sceneId

返回参数

名称

类型

描述

示例值

object

返回参数。

result

object

返回参数。

base

boolean

是否为默认实验。

true

onlineTime

string

实验上线时间。

2020-12-07T06:47:30.000Z

offlineTime

string

实验下线/推全时间。

2020-12-07T06:47:30.000Z

description

string

实验备注。

xxx

status

string

实验状态。

取值:

  • Init:未上线。

  • Online:上线。

  • Finish:推全。

  • Offline:下线。

Init

name

string

实验名称。

测试实验

algorithms

array<object>

实验参数列表。

object

实验参数信息。

key

string

算法 key。

取值:

  • I2I:I2I 召回链路。

  • u2X2I:U2X2I 召回链路。

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

  • new:新品召回链路。

  • embedding:向量召回链路。

  • mtorder:召回链路优先级。

  • rankservice:排序服务。

I2I

config

array<object>

子配置项列表。

object

子配置项信息。

key

string

算法配置项 key。

I2I

defaultValue

string

算法配置项默认值。

true

experimentValue

string

实验值。

400

name

string

子配置名称。

xxx

defaultValue

string

默认召回数量。

true

type

string

算法类别。

取值:

  • SYSTEM:系统默认类型。

  • CUSTOM:用户自定义类型。

SYSTEM

experimentValue

string

实验值。

400

hasConfig

boolean

是否有子配置项。

取值:

  • true:是

  • false:否

false

category

string

算法类目。

取值:

  • RECALL:召回。

  • RANK:排序。

RECALL

name

string

实验名称。

xxx

buckets

array

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

string

分桶信息。

[1,2,3]

experimentId

string

实验 ID。

xxx

requestId

string

请求的 ID。

A74E3FB7-406C-5CBB-833E-E49308B5DC05

示例

正常返回示例

JSON格式

{
  "result": {
    "base": true,
    "onlineTime": "2020-12-07T06:47:30.000Z",
    "offlineTime": "2020-12-07T06:47:30.000Z",
    "description": "xxx",
    "status": "Init",
    "name": "测试实验",
    "algorithms": [
      {
        "key": "I2I",
        "config": [
          {
            "key": "I2I",
            "defaultValue": "true",
            "experimentValue": "400",
            "name": "xxx"
          }
        ],
        "defaultValue": "true",
        "type": "SYSTEM",
        "experimentValue": "400",
        "hasConfig": false,
        "category": "RECALL",
        "name": "xxx"
      }
    ],
    "buckets": [
      "[1,2,3]"
    ],
    "experimentId": "xxx"
  },
  "requestId": "A74E3FB7-406C-5CBB-833E-E49308B5DC05"
}

错误码

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

变更历史

更多信息,参考变更详情