推荐系统 RES-修改数据源特征:请求参数

时间:2025-02-12 14:52:34

请求参数

表3 请求Header参数

参数

是否必选

参数类型

描述

Content-Type

String

内容类型,取值为application/json。

表4 请求Body参数

参数

是否必选

参数类型

描述

item_attrs

Array of item_attrs objects

物品特征信息。

user_attrs

Array of user_attrs objects

用户特征信息。

behaviors

BehaviorsConfig object

行为信息。

表5 item_attrs

参数

是否必选

参数类型

描述

data_type

String

数据类型。

name

String

物品。

other_uses

Array of strings

其他用途。

表6 user_attrs

参数

是否必选

参数类型

描述

data_type

String

数据类型。

name

String

用户名称。

表7 BehaviorsConfig

参数

是否必选

参数类型

描述

positive_behaviors

Array of behaviorWeights objects

正向行为。

negative_behaviors

Array of behaviorWeights objects

负向行为。

表8 behaviorWeights

参数

是否必选

参数类型

描述

behavior_type

String

行为类型。

weight

Integer

行为权重。

other_uses

Array of strings

其他用途。

support.huaweicloud.com/api-res/res_02_0132.html