文档

DescribeDefaultAlgorithms - 获取默认算法信息

获取默认算法信息。

调试

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

授权信息

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

请求语法

GET /v2/openapi/instances/{instanceId}/scenes/{sceneId}/default-algorithms

请求参数

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

实例 ID

airec-cn-xxxxxx
sceneIdstring

场景 ID

test

返回参数

名称类型描述示例值
object
resultobject []

返回结果

keystring

算法 key I2I I2I 召回链路 u2X2I U2X2I 召回链路 hot 热门商品召回链路 new 新品召回链路 embedding 向量召回链路 mtorder 召回链路优先级 rankservice 排序服务

I2I
configobject []

实验定制值

keystring

算法配置项 key

I2I-truncedquantity
defaultValuestring

算法配置项默认值

swing;commoni2i;pcategory;scategory
experimentValuestring

算法配置项实验值

300
namestring

算法配置项 name (说明:系统默认算法,控制台需要通过美杜莎获取,用户自定义算法,后端会返回 name)

I2I算法
defaultValuestring

算法默认值 对于 i2i,hot,new 等召回算法为"true"/"false" 对于 mtorder 为各路召回链路的排序

true
typestring

算法类别 SYSTEM 系统默认类型 CUSTOM 用户自定义类型

SYSTEM
experimentValuestring

实验定制值

300
hasConfigboolean

是否有子配置项 true 是 false 否

true
categorystring

算法类目 RECALL 召回 RANK 排序

RECALL
namestring

名称(说明:系统默认算法,控制台需要通过美杜莎获取,用户自定义算法,后端会返回 name)

xxx
requestIdstring

请求 id

F60021C4-57AF-5F46-9B3E-FCEF1C7A1459

示例

正常返回示例

JSON格式

{
  "result": [
    {
      "key": "I2I",
      "config": [
        {
          "key": "I2I-truncedquantity",
          "defaultValue": "swing;commoni2i;pcategory;scategory",
          "experimentValue": "300",
          "name": "I2I算法"
        }
      ],
      "defaultValue": "true",
      "type": "SYSTEM",
      "experimentValue": "300",
      "hasConfig": true,
      "category": "RECALL",
      "name": "xxx"
    }
  ],
  "requestId": "F60021C4-57AF-5F46-9B3E-FCEF1C7A1459"
}

错误码

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

变更历史

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