跳到主要内容

VoiceprintSettingsRequest

deviceId object必填

本人设备 ID;超出 JavaScript 安全整数范围时使用十进制字符串。

满足其中一种
integer<int64>

取值约束: >= -9007199254740991 and <= 9007199254740991

enabledboolean必填

是否启用当前助手的声纹策略;登记本身不会启用。

modestring必填

identify 仅识别身份,未识别继续对话;whitelist 按白名单过滤。保存时须显式提交所选模式。

取值约束: [identify, whitelist]

scoreThresholdnumber<double>必填

匹配分数阈值,须显式提交;初始默认值为 0.6。

取值约束: >= 0 and <= 1

VoiceprintSettingsRequest
{
"deviceId": 0,
"enabled": true,
"mode": "identify",
"scoreThreshold": 0
}