UpdateModelApplication - 更新大模型应用配置

更新时间:
复制 MD 格式

修改模型应用

调试

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

调试

授权信息

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

请求参数

名称

类型

必填

描述

示例值

ApplicationName

string

模型应用名称

测试应用

ApplicationCode

string

应用编码

DKSDLSA

ApplicationCps

integer

应用并发请求数

12

ModelCode

string

模型编码

1231

ModelVersion

string

模型版本

1

QualificationId

integer

资质 ID

61

QualificationName

string

资质名称

测试质检

SpeechId

integer

话术 ID

15

SpeechContent

string

话术内容

测试话术

UsageDesc

string

用途

测试用途

DyvmsSceneName

string

场景名称

测试场景

StartWord

string

开场白

你好,这是个测试开场白

StartWordType

integer

开场白类型

0:文本 1:录音

RecordingFile

string

录音音频文件地址

https://xxxxxxxxxxxxxxx.wav

Prompt

string

提示词

测试提示词

TtsConfig

object

tts 配置,包括音色、音量、音速等。

VoiceCode

string

声音编码

12123213123

MixingTemplate

integer

混音模版 id

111

BackgroundEnabled

boolean

是否开启背景音

true

TtsVolume

integer

TTS 变量播放的音量。取值范围:0~100,默认值为 0。

11

TtsStyle

string

声音风格

voice

ResourceId

string

资源 id

122

CustomerAccountId

integer

账号 id

47

VoiceType

string

声音类型

SYSTEM:系统音色
COSYCLONE:复刻音色
BL-CUSTOM:定制精品复刻音色

SYSTEM

MixingEnabled

boolean

是否开启混音

true

TtsSpeed

integer

TTS 变量播放时的声音速度。取值范围:-200~200,默认值为 0。

7

BackgroundSound

integer

背景音 id

111

BackgroundVolume

integer

背景音音量(id) 取值:0:low,1:medium,2:high

1

MuteDuration

integer

静音时长

85

MuteActive

boolean

第一个静音是否唤起模型

true

MutePushMode

string

静音事件推送模式

FIRST_ONLY

MuteHangupNum

integer

连续多少个静音事件主动挂机

70

CallAssistantRecognize

boolean

通话助手识别

true

CallAssistantHangup

boolean

识别到智能接听是否挂断。

false

EnableMorse

boolean

是否启用摩斯码配置,默认不开启

false

SessionTimeout

integer

最大通话时长

49

Source

string

来源。固定值:USER。

USER

InterruptConfig

object

打断配置

EnableStartwordEntireNotInterrupt

boolean

开场白全程不打断

true

EnableAvoidInterrupt

boolean

防止连续抢话功能是否开启

true

EnableStartwordNotInterrupt

boolean

开场白不打断配置是否开启

StartwordProtectDuration

number

开场白保护时长

1.4699

EnableInterruptBackchannel

boolean

是否启用打断垫词配置

true

AvoidInterruptDTO

object

防止连续抢话功能配置

InterruptProtectDuration

number

打断保护时长

16.417547

InterruptNum

integer

连续打断次数

3

EnableDtmfReceive

boolean

是否开启 DTMF 按键收集,默认 false

false

DtmfInputTimeout

integer

DTMF 输入超时时长(秒),范围 1~10

1

DtmfDigitCount

integer

DTMF 按键位数,范围 1~12

1

DtmfAutoValidateEnable

boolean

是否开启按键值自动校验

true

DtmfAllowedDigits

string

按键数字枚举(逗号分隔文本,如:1,2,3;最多 20 个)

1

DtmfOutOfRangeAction

string

超出范围处理:RETURN_MODEL / AUTO_RETRY

RETURN_MODEL

DtmfRetryPlayTimes

integer

重试次数(PlayTimes,1~3),仅 AUTO_RETRY 生效

1

DtmfRetryPromptText

string

自定义重试提示音文本(<=50 字),为空使用默认“输入错误,请重新输入”

测试文本

EnableDtmfSend

boolean

true

DtmfSendWaitTimeout

integer

58

DtmfSendMaxCount

integer

90

CallConnectedTriggerModel

boolean

是否开启接听事件推送,默认关闭。

false

返回参数

名称

类型

描述

示例值

object

RequestBody 参数。

AccessDeniedDetail

string

访问被拒绝的详细原因。

None

RequestId

string

请求 ID。

D9CB3933-9FE3-4870-BA8E-2BEE91B69D23

Message

string

状态码描述。

successful

Data

string

数据列表。

DKSDLSA

Code

string

请求状态码。返回 OK 表示请求成功。

OK

Success

boolean

调用接口是否成功。取值:

  • true:成功。

  • false:失败。

true

示例

正常返回示例

JSON格式

{
  "AccessDeniedDetail": "None",
  "RequestId": "D9CB3933-9FE3-4870-BA8E-2BEE91B69D23",
  "Message": "successful",
  "Data": "DKSDLSA",
  "Code": "OK",
  "Success": true
}

错误码

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

变更历史

更多信息,参考变更详情