From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/bailianvoicebot/2025-01-01/api-docs.php | 4591 ++++++++++++++++++++ 1 file changed, 4591 insertions(+) create mode 100644 data/zh_cn/bailianvoicebot/2025-01-01/api-docs.php (limited to 'data/zh_cn/bailianvoicebot') diff --git a/data/zh_cn/bailianvoicebot/2025-01-01/api-docs.php b/data/zh_cn/bailianvoicebot/2025-01-01/api-docs.php new file mode 100644 index 0000000..95ffe7e --- /dev/null +++ b/data/zh_cn/bailianvoicebot/2025-01-01/api-docs.php @@ -0,0 +1,4591 @@ + '1.0', + 'info' => ['style' => 'RPC', 'product' => 'BailianVoiceBot', 'version' => '2025-01-01'], + 'directories' => [ + [ + 'children' => ['UpdateSubscription', 'GetSubscription', 'DisableSubscription'], + 'type' => 'directory', + 'title' => 'MQ消息订阅配置', + 'id' => 451882, + ], + [ + 'children' => ['DeleteVariable', 'ListVariable', 'UpdateVariable', 'CreateVariable'], + 'type' => 'directory', + 'title' => '变量管理', + 'id' => 451886, + ], + [ + 'children' => ['ListVoiceEngines', 'UpdateVoiceAccessProfile', 'ListVoiceAccessProfile', 'DeleteVoiceAccessProfile', 'CreateVoiceAccessProfile'], + 'type' => 'directory', + 'title' => '三方语音配置', + 'id' => 451891, + ], + [ + 'children' => ['UpdateVocabulary', 'ListVocabulary', 'ImportVocabulary', 'GetVocabulary', 'ExportVocabulary', 'DeleteVocabulary', 'CreateVocabulary'], + 'type' => 'directory', + 'title' => '热词管理', + 'id' => 451897, + ], + [ + 'children' => ['ListCloneVoiceModels', 'DeleteCloneVoice', 'ListCloneVoice', 'UpdateCloneVoice', 'CreateCloneVoice'], + 'type' => 'directory', + 'title' => '克隆音管理', + 'id' => 451905, + ], + [ + 'children' => ['DeleteApplication', 'ListNluModels', 'PreviewVoice', 'ListBackgroundMusics', 'ListVoices', 'ListApplications', 'CreateApplicationVersion', 'UpdateApplication', 'CreateApplication', 'GetApplication', 'UpdateApplicationVersion', 'PublishApplicationVersion'], + 'type' => 'directory', + 'title' => '应用管理', + 'id' => 451911, + ], + 'BridgeWebCall', + 'GetDataChannelCredential', + 'GenerateFileUploadParams', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'BridgeWebCall' => [ + 'summary' => '创建软电话测试通话。', + 'path' => '', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'tenant'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => '百炼应用ID', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => ['description' => '呼入主叫号码(用于展示)。', 'type' => 'string', 'required' => false, 'example' => '13052253537'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => true, 'example' => '467539456766097392-cn-shenzhen'], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => ['description' => '超时时间,呼叫在经过该参数指定的时间仍然未接通的情况下,则主动挂断,单位秒', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => ['description' => '随路数据', 'type' => 'string', 'required' => false, 'example' => '{\'ENV\': \'production\'}'], + ], + [ + 'name' => 'SampleRate', + 'in' => 'query', + 'schema' => ['description' => '采样率', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '8000', 'default' => '16000'], + ], + [ + 'name' => 'Sandbox', + 'in' => 'query', + 'schema' => ['description' => '是否测试环境', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'AudioCodec', + 'in' => 'query', + 'schema' => [ + 'description' => '编码类型,不传默认PCM编码。'."\n" + .'- PCM'."\n" + .'- OPUS', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['OPUS' => 'OPUS', 'PCM' => 'PCM'], + 'example' => 'PCM', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Success' => ['description' => '是否成功', 'type' => 'boolean', 'example' => 'True'], + 'HttpStatusCode' => ['description' => 'http 状态码', 'type' => 'string', 'example' => '200'], + 'Code' => ['description' => '状态码,200 表示正常', 'type' => 'string', 'example' => 'OK'], + 'ErrorMsg' => ['description' => '错误信息', 'type' => 'string', 'example' => 'connect timed out'], + 'Data' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-uf6abxo1tuuwarrtffpp'], + 'SessionId' => ['description' => '会话ID', 'type' => 'string', 'example' => 'ws-4b7c263f-9b4c-4b28-baae-a65e9155e380'], + 'ChannelId' => ['description' => '通道ID。', 'type' => 'string', 'example' => '894526715106764802'], + 'ExpirationTime' => ['description' => 'Token有效期。'."\n" + ."\n" + .'> 返回值为时间戳形式。', 'type' => 'string', 'example' => '1744964682422'], + 'ServerUrl' => ['description' => '服务地址', 'type' => 'string', 'example' => 'wss://sh-voicebot.aliyuncs.com:443/audio'], + 'Token' => ['description' => '认证签名。', 'type' => 'string', 'example' => '83480f806b48f022313de37b691e167e'], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Success\\": true,\\n \\"HttpStatusCode\\": \\"200\\",\\n \\"Code\\": \\"OK\\",\\n \\"ErrorMsg\\": \\"connect timed out\\",\\n \\"Data\\": {\\n \\"InstanceId\\": \\"i-uf6abxo1tuuwarrtffpp\\",\\n \\"SessionId\\": \\"ws-4b7c263f-9b4c-4b28-baae-a65e9155e380\\",\\n \\"ChannelId\\": \\"894526715106764802\\",\\n \\"ExpirationTime\\": \\"1744964682422\\",\\n \\"ServerUrl\\": \\"wss://sh-voicebot.aliyuncs.com:443/audio\\",\\n \\"Token\\": \\"83480f806b48f022313de37b691e167e\\"\\n }\\n}","type":"json"}]', + 'title' => '软电话测试通话', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:BridgeWebCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateApplication' => [ + 'summary' => '创建语音机器人应用。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '266705', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '应用名称', 'type' => 'string', 'required' => true, 'example' => '测试001'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '应用描述', 'type' => 'string', 'required' => false, 'example' => '描述一下这个应用'], + ], + [ + 'name' => 'Concurrency', + 'in' => 'query', + 'schema' => ['description' => '并发数量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10'], + ], + [ + 'name' => 'NluAccessType', + 'in' => 'query', + 'schema' => [ + 'description' => 'Nlu访问方式'."\n" + ."\n" + .'- Managed', + 'type' => 'string', + 'required' => false, + 'example' => 'MANAGED', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '接口状态码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '返回提示信息', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Data' => ['description' => '返回结果(应用ID)', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\"\\n}","type":"json"}]', + 'title' => '创建语音机器人应用', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateApplicationVersion' => [ + 'summary' => '创建语音机器人应用版本。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267461', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'], + ], + [ + 'name' => 'SourceVersionId', + 'in' => 'query', + 'schema' => ['description' => '原versionID(发布时使用)', 'type' => 'string', 'required' => false, 'example' => '20904943-f711-494f-9f1f-e7f340f37707'], + ], + [ + 'name' => 'TranscriberConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'ASR语音配置', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'ASR访问方式', + 'type' => 'string', + 'required' => false, + 'example' => 'MANAGED', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + ], + 'NlsEngine' => [ + 'description' => 'ASR引擎类型', + 'type' => 'string', + 'required' => false, + 'example' => 'ALIYUN', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + ], + 'NlsAccessProfile' => [ + 'description' => '关联配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '三方语音配置 ID(使用豆包、科大等三方 ASR 服务时需配置)', 'type' => 'string', 'required' => false, 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718'], + ], + 'required' => false, + ], + 'VocabularyId' => ['description' => '热词表 ID', 'type' => 'string', 'required' => false, 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe3'], + 'EndSilenceTimeout' => ['description' => '静音检测(说话间隔超过 x 毫秒时触发断句,即 VAD)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '700', 'default' => '500'], + 'CustomizationId' => ['description' => 'ASR 的定制语言模型 ID', 'type' => 'string', 'required' => false, 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe4'], + 'SpeechNoiseThreshold' => ['description' => '噪音参数阈值,参数范围:[-100,100]。取值说明如下:'."\n" + ."\n" + .'取值越趋于-100,噪音被判定为语音的概率越大。'."\n" + ."\n" + .'取值越趋于+100,语音被判定为噪音的概率越大。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0', 'default' => '0'], + 'Model' => [ + 'description' => 'ASR 模型', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['fun-asr-flash-8k-realtime' => 'fun-asr-flash-8k-realtime', 'fun-asr-realtime-2026-02-28' => 'fun-asr-realtime-2026-02-28', 'paraformer-realtime-v2' => 'paraformer-realtime-v2', 'paraformer-realtime-8k-v2' => 'paraformer-realtime-8k-v2'], + 'example' => 'fun-asr-flash-8k-realtime', + ], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'required' => false, 'description' => ''], + 'Replacement' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'description' => '', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SynthesizerConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'TTS语音配置', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'TTS访问方式', + 'type' => 'string', + 'required' => false, + 'example' => 'MANAGED', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + ], + 'NlsEngine' => [ + 'description' => 'TTS引擎类型', + 'type' => 'string', + 'required' => false, + 'example' => 'ALIYUN', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + ], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'required' => false, 'example' => 'aiqi'], + 'SpeechRate' => ['description' => '播报速度'."\n" + .'> 取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '-156'], + 'Volume' => ['description' => '音量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'PitchRate' => ['description' => '语调'."\n" + .'> 取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + 'required' => false, + 'description' => '', + ], + 'Model' => ['type' => 'string', 'required' => false, 'description' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'required' => false, 'description' => ''], + 'Replacement' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'description' => '', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ScriptProfile', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '模型', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => 'LLM模型ID', 'type' => 'string', 'required' => false, 'example' => 'qwen-plus'], + 'AgentProfile' => [ + 'description' => '智能体配置信息', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => '智能体配置模版ID', 'type' => 'string', 'required' => false, 'example' => 'SFM_PROMPTS_DEFAULT'], + 'PromptsJson' => ['description' => '提示词json', 'type' => 'string', 'required' => false, 'example' => '{"prompts":"我是一个语音聊天机器人。"}'], + 'Name' => ['description' => '智能体名称', 'type' => 'string', 'required' => false, 'example' => '语音机器人小云'], + 'Description' => ['description' => '智能体描述', 'type' => 'string', 'required' => false, 'example' => '语音机器人小云'."\n"], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'InteractionConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '交互配置', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => '静默检测配置', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '超时时长(毫秒)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5000'], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'RagConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'RAG 配置', + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'RAG 引擎', + 'type' => 'string', + 'required' => false, + 'example' => 'BAILIAN', + 'enum' => ['BAILIAN'], + ], + 'Enabled' => ['description' => '是否启用 RAG', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'KnowledgeBaseIds' => [ + 'description' => '知识库 ID 列表', + 'type' => 'array', + 'items' => ['description' => '知识库 ID', 'type' => 'string', 'required' => false, 'example' => '3457xghryt'], + 'required' => false, + ], + 'TopN' => ['description' => '取最大多少条数据', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '20', 'minimum' => '1', 'example' => '5'], + 'MaxContentLength' => ['description' => 'RAG 内容最大拼接长度', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2000', 'minimum' => '1', 'example' => '2000'], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ToolConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '工具配置', + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'description' => 'MCP信息配置列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '名称', 'type' => 'string', 'required' => false, 'example' => 'phone-ai-call'], + 'BaseUrl' => ['description' => '基础URL', 'type' => 'string', 'required' => false, 'example' => 'https://example.com'], + 'SseEndpoint' => ['description' => 'SSE路径', 'type' => 'string', 'required' => false, 'example' => '/phone-ai-call/mcp/sse?key=value'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '接口状态码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '返回提示信息', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Data' => ['description' => '返回结果(VersionId)', 'type' => 'string', 'example' => '20904943-f711-494f-9f1f-e7f340f37707'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Data\\": \\"20904943-f711-494f-9f1f-e7f340f37707\\"\\n}","type":"json"}]', + 'title' => '创建语音机器人应用版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateCloneVoice' => [ + 'summary' => '创建克隆音', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-xdne77rxe14ziszr'], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => ['description' => '上传文件路径', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'voice_clone/音色克隆单元测试.wav'], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => [ + 'description' => '克隆模型', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'QwenVc' => 'QwenVc'], + 'example' => 'CosyVoice', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '克隆音对象', + 'type' => 'object', + 'properties' => [ + 'CloneVoiceId' => ['description' => '克隆音ID', 'type' => 'string', 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34'], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": {\\n \\"CloneVoiceId\\": \\"8ee1160a-6999-478f-8df6-f33ef21f27d5\\",\\n \\"Voice\\": \\"cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34\\"\\n },\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + 'title' => '创建克隆音', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateVariable' => [ + 'summary' => '创建变量', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-baployoyopf22m2r'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '变量名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'userType'], + ], + [ + 'name' => 'DisplayName', + 'in' => 'formData', + 'schema' => ['description' => '显示名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '用户类型'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '表示用户类型,包括VIP、普通用户'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '变量ID', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-baployoyopf22m2r'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-baployoyopf22m2r does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"82ea16d1-425c-4c03-9be5-cc91de9779ed\\",\\n \\"Params\\": [\\n \\"llm-baployoyopf22m2r\\"\\n ]\\n}","type":"json"}]', + 'title' => '创建变量', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateVocabulary' => [ + 'summary' => '创建实例', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-baployoyopf22m2r'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '热词名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '金融行业热词'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '包含金融行业专业术语'], + ], + [ + 'name' => 'Words', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '热词列表', + 'type' => 'object', + 'required' => false, + 'docRequired' => true, + 'additionalProperties' => ['type' => 'string', 'example' => '{"苹果":"2","香蕉":"3"}', 'description' => '热词'], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl'."\n" + .' does not exist.'], + 'Code' => ['description' => '接口状态码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '热词ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建热词', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\",\\n \\"Params\\": [\\n \\"llm-zop7ukgtksltamo4\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateVoiceAccessProfile' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-xdne77rxe14ziszr'], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => ['description' => '语音引擎', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'VOLC'], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'AppKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => '2541370123', 'maxLength' => 64], + 'AccessKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9', 'maxLength' => 64], + 'AppId' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => '5b123bfb', 'maxLength' => 64], + 'ApiKey' => ['description' => '使用百炼、科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'sk-12341e259b1049e8872b47981e545f78', 'maxLength' => 64], + 'ApiSecret' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'c0358c6e51c1013b446fdeb21a3a1234', 'maxLength' => 64], + 'AsrAppKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + 'TtsApiKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + ], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '配置 ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-baployoyopf22m2r'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建三方语音配置', + 'summary' => '创建实例', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\",\\n \\"Params\\": [\\n \\"llm-baployoyopf22m2r\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteApplication' => [ + 'summary' => '删除应用', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267358', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => '应用ID。', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '接口状态或POP错误码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '附加信息。', 'type' => 'string', 'example' => 'OK'], + 'RequestId' => ['description' => '请求唯一标识 ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Data' => ['description' => '返回结果(删除的应用ID)。', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"OK\\",\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\"\\n}","type":"json"}]', + 'title' => '删除语音机器人应用', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteCloneVoice' => [ + 'summary' => '删除场景', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zzu528i29ecnprcl'], + ], + [ + 'name' => 'CloneVoiceId', + 'in' => 'formData', + 'schema' => ['description' => '克隆音ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl'."\n" + .' does not exist.'], + 'Data' => ['description' => '克隆音ID', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-zzu528i29ecnprcl'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl\\\\n does not exist.\\",\\n \\"Data\\": \\"82ea16d1-425c-4c03-9be5-cc91de9779ed\\",\\n \\"Params\\": [\\n \\"llm-zzu528i29ecnprcl\\"\\n ]\\n}","type":"json"}]', + 'title' => '删除克隆音', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteVariable' => [ + 'summary' => '删除变量', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-rj6aqmctjcit4acy'], + ], + [ + 'name' => 'VariableId', + 'in' => 'formData', + 'schema' => ['description' => '变量ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.'], + 'Data' => ['description' => '变量ID', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-rj6aqmctjcit4acy'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-rj6aqmctjcit4acy does not exist.\\",\\n \\"Data\\": \\"82ea16d1-425c-4c03-9be5-cc91de9779ed\\",\\n \\"Params\\": [\\n \\"llm-rj6aqmctjcit4acy\\"\\n ]\\n}","type":"json"}]', + 'title' => '删除变量', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteVocabulary' => [ + 'summary' => '删除场景', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => '热词 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.'], + 'Data' => ['description' => '热词 ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除热词', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-baployoyopf22m2r does not exist.\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'DeleteVoiceAccessProfile' => [ + 'summary' => '删除三方语音配置', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => '三方语音配置 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'HTTP状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.'], + 'Data' => ['description' => '三方语音配置 ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除三方语音配置', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl does not exist.\\",\\n \\"Data\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'DisableSubscription' => [ + 'summary' => '禁用消息订阅', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '关闭消息订阅', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-baployoyopf22m2r does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"暂无使用\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'ExportVocabulary' => [ + 'summary' => '导出热词', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'VocabularyIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '热词 ID 列表', + 'type' => 'array', + 'items' => ['description' => '热词 ID ', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.'], + 'Data' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '导出热词', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl does not exist.\\",\\n \\"Data\\": \\"暂无使用\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'GenerateFileUploadParams' => [ + 'summary' => '获取文件上传信息', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'FileName', + 'in' => 'formData', + 'schema' => ['description' => '文件名', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test.wav'."\n"], + ], + [ + 'name' => 'BusinessType', + 'in' => 'formData', + 'schema' => [ + 'description' => '文件类型', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['Vocabulary' => 'Vocabulary', 'CloneVoice' => 'CloneVoice'], + 'example' => 'CloneVoice', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Data' => [ + 'description' => '文件上传参数', + 'type' => 'object', + 'properties' => [ + 'Signature' => ['description' => '根据AccessKey Secret和 Policy 计算出的签名信息。调用 OSS API 时,OSS 验证该签名信息,从而确认 Post 请求的合法性。', 'type' => 'string', 'example' => '6oETypl+gbYHwbgcwnQiyDYoQbA='], + 'Policy' => ['description' => 'OSS 通过该参数验证请求表单域的合法性', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNi0wMy0yOVQxMzoyNDoyNi4yMDNaIiwiY29uZGl0aW9ucyI6W239'], + 'AccessKeyId' => ['description' => '签名使用的 AccessKeyId。', 'type' => 'string', 'example' => 'STS.NYGg9ejEjYqySx3EsuRutagbd'], + 'Host' => ['description' => 'OSS 的接入域名。', 'type' => 'string', 'example' => 'http://cab.oss-cn-hangzhou.aliyuncs.com'], + 'FileKey' => ['description' => '上传文件路径', 'type' => 'string', 'example' => 'vocabulary/B678CA67-C8CB-150C-AD7F-6FA7F0A811BA_热词导入模版 (7).zip'], + 'ExpirationTime' => ['description' => '上传有效期', 'type' => 'integer', 'format' => 'int64', 'example' => '1774794266093'], + 'SecurityToken' => ['description' => '安全 token', 'type' => 'string', 'example' => 'CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB+gYsfU2m2xR5/Yclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag+/08/LI3OaLjKm9u2wCryLYbGwU/OpbE++5U0X6LDmdDKkckW4OJmS8/BOZcgWWQ/KBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO/ks0GG3ASmlrFF+9mufMb5M/MBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs+02c5onHUwYPu0vZYrOLroQ+fFFjHKMzDdtPq/7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F+kxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3+Uqz3gv9md5QvoaVi1jnr/cFRNxbjl7DI39pdcGlTI2lqIAA='], + 'AccessKeySecret' => ['description' => 'Oss 授权上传文件的 Secret。', 'type' => 'string', 'example' => 'DGhwedF4SsbsqUMfzNBCjZFLJZSAdhiSE4hFPbKMm6JE'], + 'Bucket' => ['description' => 'OSS 文件保存桶名称。', 'type' => 'string', 'example' => 'cab'], + 'Region' => ['description' => '地域', 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取文件上传参数', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr\\\\n does not exist.\\",\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Data\\": {\\n \\"Signature\\": \\"6oETypl+gbYHwbgcwnQiyDYoQbA=\\",\\n \\"Policy\\": \\"eyJleHBpcmF0aW9uIjoiMjAyNi0wMy0yOVQxMzoyNDoyNi4yMDNaIiwiY29uZGl0aW9ucyI6W239\\",\\n \\"AccessKeyId\\": \\"STS.NYGg9ejEjYqySx3EsuRutagbd\\",\\n \\"Host\\": \\"http://cab.oss-cn-hangzhou.aliyuncs.com\\",\\n \\"FileKey\\": \\"vocabulary/B678CA67-C8CB-150C-AD7F-6FA7F0A811BA_热词导入模版 (7).zip\\",\\n \\"ExpirationTime\\": 1774794266093,\\n \\"SecurityToken\\": \\"CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB+gYsfU2m2xR5/Yclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag+/08/LI3OaLjKm9u2wCryLYbGwU/OpbE++5U0X6LDmdDKkckW4OJmS8/BOZcgWWQ/KBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO/ks0GG3ASmlrFF+9mufMb5M/MBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs+02c5onHUwYPu0vZYrOLroQ+fFFjHKMzDdtPq/7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F+kxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3+Uqz3gv9md5QvoaVi1jnr/cFRNxbjl7DI39pdcGlTI2lqIAA=\\",\\n \\"AccessKeySecret\\": \\"DGhwedF4SsbsqUMfzNBCjZFLJZSAdhiSE4hFPbKMm6JE\\",\\n \\"Bucket\\": \\"cab\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n },\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'GetApplication' => [ + 'summary' => '获取语音机器人应用。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267390', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => '应用ID。', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'code码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Data' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => ['description' => '应用ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + 'Name' => ['description' => '应用名称', 'type' => 'string', 'example' => '测试001'."\n"], + 'Description' => ['description' => '应用描述', 'type' => 'string', 'example' => '描述一下这个应用'."\n"], + 'Concurrency' => ['description' => '呼叫并发量,即同时在外呼的通话数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CreatedTime' => ['description' => '应用创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1730081561000'], + 'UpdatedTime' => ['description' => '应用修改的时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1730081561000'], + 'NluEngine' => ['description' => 'Nlu引擎', 'type' => 'string', 'example' => 'PROMPTS'], + 'NluAccessType' => ['description' => 'Nlu访问方式', 'type' => 'string', 'example' => 'MANAGED'], + 'DraftVersion' => [ + 'description' => '编辑版配置内容', + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '743219815472857088'], + 'TranscriberConfig' => [ + 'description' => 'ASR配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'ASR引擎', + 'type' => 'string', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'example' => 'ALIYUN', + ], + 'NlsAccessType' => [ + 'description' => 'ASR调用方式', + 'type' => 'string', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'VocabularyId' => ['type' => 'string', 'description' => ''], + 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'CustomizationId' => ['type' => 'string', 'description' => ''], + 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'Model' => ['type' => 'string', 'description' => ''], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => ''], + 'Replacement' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'description' => '', + ], + ], + ], + 'SynthesizerConfig' => [ + 'description' => 'TTS配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'example' => 'ALIYUN', + ], + 'NlsAccessType' => [ + 'description' => 'TTS调用方式', + 'type' => 'string', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'aixia'], + 'SpeechRate' => ['description' => '播报速度'."\n" + .'> 取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Volume' => ['description' => '音量', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'PitchRate' => ['description' => '音调'."\n" + .'> 取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'Model' => ['type' => 'string', 'description' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => ''], + 'Replacement' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'description' => '', + ], + ], + ], + 'ScriptProfile' => [ + 'description' => '应用模型配置', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => '模型', 'type' => 'string', 'example' => 'qwen-plus'], + 'Temperature' => ['description' => '生成过程中的核采样方法概率阈值'."\n" + ."\n\n" + .'> - 例如,取值为0.8时,仅保留概率加起来大于等于0.8的最可能token的最小集合作为候选集。'."\n" + .' * 取值范围为(0,1.0),取值越大,生成的随机性越高;取值越低,生成的确定性越高', 'type' => 'string', 'example' => '0.8'], + 'TopP' => ['description' => '用于控制模型回复的随机性和多样性'."\n" + .'> - 具体来说,temperature值控制了生成文本时对每个候选词的概率分布进行平滑的程度。 较高的temperature值会降低概率分布的峰值,使得更多的低概率词被选择,生成结果更加多样化;而较低的temperature值则会增强概率分布的峰值,使得高概率词更容易被选择,生成结果更加确定。'."\n" + .'> - 取值范围: [0, 2),不建议取值为0,无意义。', 'type' => 'string', 'example' => '0.1'], + 'AgentProfile' => [ + 'description' => '智能体配置信息', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => '应用模版ID', 'type' => 'string', 'example' => 'SFM_PROMPTS_DEFAULT'], + 'AgentProfileId' => ['description' => '智能体配置ID。', 'type' => 'string', 'example' => '6a50b67072d44788951de29758432d94'], + 'PromptsJson' => ['description' => '提示词json', 'type' => 'string', 'example' => '{"prompts":"我是一个聊天机器人。"}'], + 'Description' => ['description' => '智能体描述', 'type' => 'string', 'example' => '聊天机器人'], + ], + ], + ], + ], + 'InteractionConfig' => [ + 'description' => '交互配置', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => '静默检测配置', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '任务执行超时时间,单位秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + ], + ], + ], + ], + 'RagConfig' => [ + 'description' => 'RAG配置', + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'RAG引擎', + 'type' => 'string', + 'example' => 'BAILIAN', + 'enum' => ['BAILIAN'], + ], + 'Enabled' => ['description' => '是否启用RAG', 'type' => 'boolean', 'example' => 'false'], + 'KnowledgeBaseIds' => [ + 'description' => '知识库ID列表', + 'type' => 'array', + 'items' => ['description' => '知识库 ID', 'type' => 'string', 'example' => '8345xghryt'], + ], + 'TopN' => ['description' => '取最大多少条数据', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'MaxContentLength' => ['description' => 'RAG内容最大拼接长度', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + ], + ], + 'ToolConfig' => [ + 'description' => '工具配置', + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'description' => 'MCP信息配置列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => 'phone-ai-call'], + 'BaseUrl' => ['description' => '基础URL', 'type' => 'string', 'example' => 'https://example.com'], + 'SseEndpoint' => ['description' => 'SSE路径', 'type' => 'string', 'example' => '/phone-ai-call/mcp/sse?key=value'], + ], + 'description' => '', + ], + ], + ], + ], + ], + ], + 'PublishedVersion' => [ + 'description' => '已发布应用版本', + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => '版本ID', 'type' => 'string', 'example' => '47889c1f-dd3f-4ace-9587-a13a3563e678'], + 'TranscriberConfig' => [ + 'description' => 'ASR配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'ASR引擎', + 'type' => 'string', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'example' => 'ALIYUN', + ], + 'NlsAccessType' => [ + 'description' => 'ASR调用方式', + 'type' => 'string', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'VocabularyId' => ['type' => 'string', 'description' => ''], + 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'CustomizationId' => ['type' => 'string', 'description' => ''], + 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'description' => ''], + 'Model' => ['type' => 'string', 'description' => ''], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => ''], + 'Replacement' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'description' => '', + ], + ], + ], + 'SynthesizerConfig' => [ + 'description' => 'TTS配置', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'example' => 'ALIYUN', + ], + 'NlsAccessType' => [ + 'description' => 'TTS调用方式', + 'type' => 'string', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'aixia'], + 'SpeechRate' => ['description' => '播报速度'."\n" + .'> 取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'example' => '-20'], + 'Volume' => ['description' => '音量', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'PitchRate' => ['description' => '音调'."\n" + .'> 取值范围:-500~500。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'Model' => ['type' => 'string', 'description' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => ''], + 'Replacement' => ['type' => 'string', 'description' => ''], + ], + 'description' => '', + ], + 'description' => '', + ], + ], + ], + 'ScriptProfile' => [ + 'description' => '应用模型配置', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => '模型', 'type' => 'string', 'example' => 'qwen-plus'."\n"], + 'Temperature' => ['description' => '生成过程中的核采样方法概率阈值'."\n" + ."\n\n" + .'> - 例如,取值为0.8时,仅保留概率加起来大于等于0.8的最可能token的最小集合作为候选集。'."\n" + .' * 取值范围为(0,1.0),取值越大,生成的随机性越高;取值越低,生成的确定性越高', 'type' => 'string', 'example' => '0.8'], + 'TopP' => ['description' => '用于控制模型回复的随机性和多样性'."\n" + .'> - 具体来说,temperature值控制了生成文本时对每个候选词的概率分布进行平滑的程度。 较高的temperature值会降低概率分布的峰值,使得更多的低概率词被选择,生成结果更加多样化;而较低的temperature值则会增强概率分布的峰值,使得高概率词更容易被选择,生成结果更加确定。'."\n" + .'> - 取值范围: [0, 2),不建议取值为0,无意义。', 'type' => 'string', 'example' => '0.1'], + 'AgentProfile' => [ + 'description' => '智能体配置信息', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => '智能体配置模版ID', 'type' => 'string', 'example' => 'SFM_PROMPTS_DEFAULT'], + 'AgentProfileId' => ['description' => '智能体配置ID', 'type' => 'string', 'example' => 'b97b6822dd624c32b6c2a54d717db718'], + 'PromptsJson' => ['description' => '提示词json', 'type' => 'string', 'example' => '{"prompts":"我是一个聊天机器人。"}'."\n"], + 'Description' => ['description' => '智能体描述', 'type' => 'string', 'example' => '我是一个聊天机器人'], + ], + ], + ], + ], + 'InteractionConfig' => [ + 'description' => '交互配置', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => '静默检测配置', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '超时时长。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + ], + ], + ], + ], + 'RagConfig' => [ + 'description' => 'RAG 配置', + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'RAG 引擎', + 'type' => 'string', + 'example' => 'BAILIAN', + 'enum' => ['BAILIAN'], + ], + 'Enabled' => ['description' => '是否启用 RAG', 'type' => 'boolean', 'example' => 'false'], + 'KnowledgeBaseIds' => [ + 'description' => '知识库 ID 列表', + 'type' => 'array', + 'items' => ['description' => '知识库 ID', 'type' => 'string', 'example' => '3472xghryt'], + ], + 'TopN' => ['description' => '取最大多少条数据', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'MaxContentLength' => ['description' => 'RAG 内容最大拼接长度', 'type' => 'integer', 'format' => 'int32', 'example' => '2000'], + ], + ], + 'ToolConfig' => [ + 'description' => '工具配置', + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'description' => 'MCP信息配置列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '名称。', 'type' => 'string', 'example' => 'phone-ai-call'], + 'BaseUrl' => ['description' => '基础URL', 'type' => 'string', 'example' => 'https://example.com'], + 'SseEndpoint' => ['description' => 'SSE路径', 'type' => 'string', 'example' => '/phone-ai-call/mcp/sse?key=value'], + ], + 'description' => '', + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Data\\": {\\n \\"ApplicationId\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\",\\n \\"Name\\": \\"测试001\\\\n\\",\\n \\"Description\\": \\"描述一下这个应用\\\\n\\",\\n \\"Concurrency\\": 10,\\n \\"CreatedTime\\": 1730081561000,\\n \\"UpdatedTime\\": 1730081561000,\\n \\"NluEngine\\": \\"PROMPTS\\",\\n \\"NluAccessType\\": \\"MANAGED\\",\\n \\"DraftVersion\\": {\\n \\"VersionId\\": \\"743219815472857088\\",\\n \\"TranscriberConfig\\": {\\n \\"NlsEngine\\": \\"ALIYUN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"\\"\\n },\\n \\"VocabularyId\\": \\"\\",\\n \\"EndSilenceTimeout\\": 0,\\n \\"CustomizationId\\": \\"\\",\\n \\"SpeechNoiseThreshold\\": 0,\\n \\"Model\\": \\"\\",\\n \\"CorrectionRules\\": [\\n {\\n \\"Pattern\\": \\"\\",\\n \\"Replacement\\": \\"\\"\\n }\\n ]\\n },\\n \\"SynthesizerConfig\\": {\\n \\"NlsEngine\\": \\"ALIYUN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"Voice\\": \\"aixia\\",\\n \\"SpeechRate\\": 1,\\n \\"Volume\\": 50,\\n \\"PitchRate\\": 5,\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"\\"\\n },\\n \\"Model\\": \\"\\",\\n \\"PronRules\\": [\\n {\\n \\"Pattern\\": \\"\\",\\n \\"Replacement\\": \\"\\"\\n }\\n ]\\n },\\n \\"ScriptProfile\\": {\\n \\"Model\\": \\"qwen-plus\\",\\n \\"Temperature\\": \\"0.8\\",\\n \\"TopP\\": \\"0.1\\",\\n \\"AgentProfile\\": {\\n \\"ScriptProfileTemplateId\\": \\"SFM_PROMPTS_DEFAULT\\",\\n \\"AgentProfileId\\": \\"6a50b67072d44788951de29758432d94\\",\\n \\"PromptsJson\\": \\"{\\\\\\"prompts\\\\\\":\\\\\\"我是一个聊天机器人。\\\\\\"}\\",\\n \\"Description\\": \\"聊天机器人\\"\\n }\\n },\\n \\"InteractionConfig\\": {\\n \\"SilenceDetectionConfig\\": {\\n \\"Timeout\\": 3\\n }\\n },\\n \\"RagConfig\\": {\\n \\"RagEngine\\": \\"BAILIAN\\",\\n \\"Enabled\\": false,\\n \\"KnowledgeBaseIds\\": [\\n \\"8345xghryt\\"\\n ],\\n \\"TopN\\": 5,\\n \\"MaxContentLength\\": 2000\\n },\\n \\"ToolConfig\\": {\\n \\"McpServers\\": [\\n {\\n \\"Name\\": \\"phone-ai-call\\",\\n \\"BaseUrl\\": \\"https://example.com\\",\\n \\"SseEndpoint\\": \\"/phone-ai-call/mcp/sse?key=value\\"\\n }\\n ]\\n }\\n },\\n \\"PublishedVersion\\": {\\n \\"VersionId\\": \\"47889c1f-dd3f-4ace-9587-a13a3563e678\\",\\n \\"TranscriberConfig\\": {\\n \\"NlsEngine\\": \\"ALIYUN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"\\"\\n },\\n \\"VocabularyId\\": \\"\\",\\n \\"EndSilenceTimeout\\": 0,\\n \\"CustomizationId\\": \\"\\",\\n \\"SpeechNoiseThreshold\\": 0,\\n \\"Model\\": \\"\\",\\n \\"CorrectionRules\\": [\\n {\\n \\"Pattern\\": \\"\\",\\n \\"Replacement\\": \\"\\"\\n }\\n ]\\n },\\n \\"SynthesizerConfig\\": {\\n \\"NlsEngine\\": \\"ALIYUN\\",\\n \\"NlsAccessType\\": \\"MANAGED\\",\\n \\"Voice\\": \\"aixia\\",\\n \\"SpeechRate\\": -20,\\n \\"Volume\\": 50,\\n \\"PitchRate\\": 3,\\n \\"NlsAccessProfile\\": {\\n \\"AccessProfileId\\": \\"\\"\\n },\\n \\"Model\\": \\"\\",\\n \\"PronRules\\": [\\n {\\n \\"Pattern\\": \\"\\",\\n \\"Replacement\\": \\"\\"\\n }\\n ]\\n },\\n \\"ScriptProfile\\": {\\n \\"Model\\": \\"qwen-plus\\\\n\\",\\n \\"Temperature\\": \\"0.8\\",\\n \\"TopP\\": \\"0.1\\",\\n \\"AgentProfile\\": {\\n \\"ScriptProfileTemplateId\\": \\"SFM_PROMPTS_DEFAULT\\",\\n \\"AgentProfileId\\": \\"b97b6822dd624c32b6c2a54d717db718\\",\\n \\"PromptsJson\\": \\"{\\\\\\"prompts\\\\\\":\\\\\\"我是一个聊天机器人。\\\\\\"}\\\\n\\",\\n \\"Description\\": \\"我是一个聊天机器人\\"\\n }\\n },\\n \\"InteractionConfig\\": {\\n \\"SilenceDetectionConfig\\": {\\n \\"Timeout\\": 30\\n }\\n },\\n \\"RagConfig\\": {\\n \\"RagEngine\\": \\"BAILIAN\\",\\n \\"Enabled\\": false,\\n \\"KnowledgeBaseIds\\": [\\n \\"3472xghryt\\"\\n ],\\n \\"TopN\\": 5,\\n \\"MaxContentLength\\": 2000\\n },\\n \\"ToolConfig\\": {\\n \\"McpServers\\": [\\n {\\n \\"Name\\": \\"phone-ai-call\\",\\n \\"BaseUrl\\": \\"https://example.com\\",\\n \\"SseEndpoint\\": \\"/phone-ai-call/mcp/sse?key=value\\"\\n }\\n ]\\n }\\n }\\n }\\n}","type":"json"}]', + 'title' => '获取语音机器人应用', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'GetDataChannelCredential' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => '设备ID', 'type' => 'string', 'required' => true, 'example' => 'device-3i5x4234f2j4w55e'], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'GenericResponse', + 'description' => 'GenericResponse', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => '返回数据', + 'type' => 'object', + 'properties' => [ + 'DeviceId' => ['description' => '设备ID', 'type' => 'string', 'example' => 'device-3i5x4234f2j4w55e'], + 'Topic' => ['description' => 'Topic', 'type' => 'string', 'example' => 'datachannel-prepub-a/dc52807f0eff4b9b8224d06c7f240c07'], + 'ClientId' => ['description' => '客户端ID', 'type' => 'string', 'example' => '26c2f022-b6c0-4ab0-9019-6e1a42dc5582'], + 'Endpoint' => ['description' => '节点', 'type' => 'string', 'example' => 'mqtt-cn-ux146hgtt04.mqtt.aliyuncs.com'], + 'UserName' => ['description' => '用户名称', 'type' => 'string', 'example' => 'Token|LTAI5tRYzHUYYi4XstgMCsL4|mqtt-cn-ux146hgtt04'], + 'Password' => ['description' => '密码', 'type' => 'string', 'example' => '***'], + 'ExpirationTime' => ['description' => '链接有效期。'."\n" + ."\n" + .'> 返回值为时间戳形式。', 'type' => 'integer', 'format' => 'int64', 'example' => '1745004535507'], + ], + ], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Code' => ['description' => '接口状态或POP错误码。', 'type' => 'string', 'example' => 'OK'], + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => 'success'], + 'Params' => [ + 'description' => '响应参数。', + 'type' => 'array', + 'items' => ['description' => '错误参数。', 'type' => 'string', 'example' => '[\'02022042312\', \'jrtj\']'], + ], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Instance', 'errorMessage' => 'You have no permission to access instance %s.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + 500 => [ + ['errorCode' => 'InternalService.Common', 'errorMessage' => 'An internal service error occurred. %s', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取数据通道凭证', + 'summary' => '获取数据通道凭证。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetDataChannelCredential', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Data\\": {\\n \\"DeviceId\\": \\"device-3i5x4234f2j4w55e\\",\\n \\"Topic\\": \\"datachannel-prepub-a/dc52807f0eff4b9b8224d06c7f240c07\\",\\n \\"ClientId\\": \\"26c2f022-b6c0-4ab0-9019-6e1a42dc5582\\",\\n \\"Endpoint\\": \\"mqtt-cn-ux146hgtt04.mqtt.aliyuncs.com\\",\\n \\"UserName\\": \\"Token|LTAI5tRYzHUYYi4XstgMCsL4|mqtt-cn-ux146hgtt04\\",\\n \\"Password\\": \\"***\\",\\n \\"ExpirationTime\\": 1745004535507\\n },\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"success\\",\\n \\"Params\\": [\\n \\"[\'02022042312\', \'jrtj\']\\"\\n ]\\n}","type":"json"}]', + ], + 'GetSubscription' => [ + 'summary' => '获取MQ配置', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '接口状态码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Data' => [ + 'description' => '订阅信息', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '百炼业务空间 ID', 'type' => 'string', 'example' => 'llm-3pptowd2olrctsvc'], + 'Disabled' => ['description' => '是否禁用:0-启用,1-禁用', 'type' => 'boolean', 'example' => '0'], + 'MqType' => ['description' => '消息推送类型', 'type' => 'string', 'example' => 'ROCKET_MQ_4'], + 'Endpoint' => ['description' => '接入点(使用 ROCKET_MQ_4、ROCKET_MQ_5 时必填)', 'type' => 'string', 'example' => 'rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080'], + 'Topic' => ['description' => '队列 topic(使用 ROCKET_MQ_4、ROCKET_MQ_5 时必填)', 'type' => 'string', 'example' => 'test'], + 'UserName' => ['description' => '用户名(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'example' => 'username'], + 'Password' => ['description' => '密码(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'example' => 'pwd'], + 'MqInstanceId' => ['description' => 'MQ 实例 ID(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'example' => 'rmq-cn-l4p89zajz67.cn'], + 'ProducerId' => ['description' => '生产者标识(使用 ROCKET_MQ_4 时必填)', 'type' => 'string', 'example' => 'PID_Webhook'], + 'EventList' => [ + 'description' => '订阅事件列表', + 'type' => 'array', + 'items' => [ + 'description' => '订阅事件对象', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '订阅内容', 'type' => 'string', 'example' => 'Released'], + 'DisplayName' => ['description' => '订阅内容显示名称', 'type' => 'string', 'example' => '通话结束'], + 'Disabled' => ['description' => '是否推送', 'type' => 'boolean', 'example' => 'false'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取消息订阅配置信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl does not exist.\\",\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Data\\": {\\n \\"InstanceId\\": \\"llm-3pptowd2olrctsvc\\",\\n \\"Disabled\\": true,\\n \\"MqType\\": \\"ROCKET_MQ_4\\",\\n \\"Endpoint\\": \\"rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080\\",\\n \\"Topic\\": \\"test\\",\\n \\"UserName\\": \\"username\\",\\n \\"Password\\": \\"pwd\\",\\n \\"MqInstanceId\\": \\"rmq-cn-l4p89zajz67.cn\\",\\n \\"ProducerId\\": \\"PID_Webhook\\",\\n \\"EventList\\": [\\n {\\n \\"Name\\": \\"Released\\",\\n \\"DisplayName\\": \\"通话结束\\",\\n \\"Disabled\\": false\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-zop7ukgtksltamo4\\"\\n ]\\n}","type":"json"}]', + ], + 'GetVocabulary' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zop7ukgtksltamo4'], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => '热词 ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4061'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Data' => [ + 'description' => '热词对象', + 'type' => 'object', + 'properties' => [ + 'VocabularyId' => ['description' => '热词ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'Name' => ['description' => '热词名称', 'type' => 'string', 'example' => '金融场景热词'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '包含金融场景专业术语'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773453676000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1773453676000'], + 'InstanceId' => ['description' => '百炼业务空间ID', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4'], + 'TenantId' => ['description' => '租户 ID', 'type' => 'string', 'example' => '1308144684576655'], + 'WordCount' => ['description' => '热词数量', 'type' => 'string', 'example' => '50'], + 'Words' => ['description' => '热词', 'type' => 'string', 'example' => '{\\"苹果\\":\\"2\\",\\"香蕉\\":\\"3\\"}'], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取热词信息', + 'summary' => '获取实例详情', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl does not exist.\\",\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Data\\": {\\n \\"VocabularyId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"Name\\": \\"金融场景热词\\",\\n \\"Description\\": \\"包含金融场景专业术语\\",\\n \\"CreatedTime\\": 1773453676000,\\n \\"UpdatedTime\\": 1773453676000,\\n \\"InstanceId\\": \\"llm-zop7ukgtksltamo4\\",\\n \\"TenantId\\": \\"1308144684576655\\",\\n \\"WordCount\\": \\"50\\",\\n \\"Words\\": \\"{\\\\\\\\\\\\\\"苹果\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"香蕉\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"3\\\\\\\\\\\\\\"}\\"\\n },\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'ImportVocabulary' => [ + 'summary' => '导入热词', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zop7ukgtksltamo4'], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => ['description' => '上传文件路径', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'vocabulary/热词导入单元测试.zip'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => [ + 'description' => '热词 ID 列表', + 'type' => 'array', + 'items' => ['description' => '热词 ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '导入热词', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-rj6aqmctjcit4acy does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": [\\n \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\"\\n ],\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'ListApplications' => [ + 'summary' => '查询语音机器人应用列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267377', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => ['description' => '模板名称,模糊搜索。', 'type' => 'string', 'required' => false, 'example' => '通用'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => '页码', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页显示条数', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '接口状态或POP错误码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => 'successful'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Data' => [ + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '当前的页数。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'], + 'TotalCount' => ['description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'Applications' => [ + 'description' => '应用列表信息。', + 'type' => 'array', + 'items' => [ + 'description' => '应用列表信息。', + 'type' => 'object', + 'properties' => [ + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1729909690'], + 'UpdatedTime' => ['description' => '修改时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1729909348'], + 'ApplicationId' => ['description' => '应用ID。', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + 'Name' => ['description' => '应用名称', 'type' => 'string', 'example' => '测试001'."\n"], + 'Description' => ['description' => '应用描述', 'type' => 'string', 'example' => '描述一下这个应用'], + 'Concurrency' => ['description' => '并发设置', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'NluEngine' => ['description' => 'Nlu引擎', 'type' => 'string', 'example' => 'PROMPTS'], + 'NluAccessType' => ['description' => 'Nlu调用方式', 'type' => 'string', 'example' => 'MANAGED'], + 'DraftVersionId' => ['description' => '草稿版本ID', 'type' => 'string', 'example' => '20904943-f711-494f-9f1f-e7f340f37707'."\n"], + 'PublishedVersionId' => ['description' => '发布版本ID', 'type' => 'string', 'example' => '20904943-f711-494f-9f1f-e7f340f37707'."\n"], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 1000,\\n \\"TotalCount\\": 6,\\n \\"Applications\\": [\\n {\\n \\"CreatedTime\\": 1729909690,\\n \\"UpdatedTime\\": 1729909348,\\n \\"ApplicationId\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\",\\n \\"Name\\": \\"测试001\\\\n\\",\\n \\"Description\\": \\"描述一下这个应用\\",\\n \\"Concurrency\\": 10,\\n \\"NluEngine\\": \\"PROMPTS\\",\\n \\"NluAccessType\\": \\"MANAGED\\",\\n \\"DraftVersionId\\": \\"20904943-f711-494f-9f1f-e7f340f37707\\\\n\\",\\n \\"PublishedVersionId\\": \\"20904943-f711-494f-9f1f-e7f340f37707\\\\n\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '查询语音机器人应用列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListBackgroundMusics' => [ + 'summary' => '获取背景音列表', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zzu528i29ecnprcl'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.'], + 'Data' => [ + 'description' => '背景音列表分页结果', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'BackgroundMusics' => [ + 'description' => '背景音列表', + 'type' => 'array', + 'items' => [ + 'description' => '背景音', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'ID', 'type' => 'string', 'example' => '3258b551-4847-45fa-bbd8-838d90b90080'], + 'Name' => ['description' => '名称', 'type' => 'string', 'example' => '办公氛围'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-rj6aqmctjcit4acy'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取背景音列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-baployoyopf22m2r does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"BackgroundMusics\\": [\\n {\\n \\"Id\\": \\"3258b551-4847-45fa-bbd8-838d90b90080\\",\\n \\"Name\\": \\"办公氛围\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-rj6aqmctjcit4acy\\"\\n ]\\n}","type":"json"}]', + ], + 'ListCloneVoice' => [ + 'summary' => '获取实例详情', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc'], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => '状态', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['Draft' => 'Draft', 'Published' => 'Published'], + 'example' => 'Published', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.'], + 'Data' => [ + 'description' => '克隆音列表分页数据', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'CloneVoices' => [ + 'description' => '克隆音列表', + 'type' => 'array', + 'items' => [ + 'description' => '克隆音对象', + 'type' => 'object', + 'properties' => [ + 'CloneVoiceId' => ['description' => '克隆音ID', 'type' => 'string', 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'."\n"], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1760494691000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1760494691000'], + 'InstanceId' => ['description' => '业务空间ID', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + 'TenantId' => ['description' => '租户ID', 'type' => 'string', 'example' => '1655449505171'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34'], + 'Name' => ['description' => '克隆音名称', 'type' => 'string', 'example' => '测试克隆音'], + 'NlsEngine' => ['description' => 'TTS引擎', 'type' => 'string', 'example' => 'BAILIAN'], + 'Status' => [ + 'description' => '状态', + 'type' => 'string', + 'enumValueTitles' => ['Draft' => 'Draft', 'Published' => 'Published'], + 'example' => 'Published', + ], + 'Model' => [ + 'description' => '克隆模型', + 'type' => 'string', + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'QwenVc' => 'QwenVc'], + 'example' => 'CosyVoice', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"CloneVoices\\": [\\n {\\n \\"CloneVoiceId\\": \\"8ee1160a-6999-478f-8df6-f33ef21f27d5\\\\n\\",\\n \\"CreatedTime\\": 1760494691000,\\n \\"UpdatedTime\\": 1760494691000,\\n \\"InstanceId\\": \\"llm-xdne77rxe14ziszr\\",\\n \\"TenantId\\": \\"1655449505171\\",\\n \\"Voice\\": \\"cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34\\",\\n \\"Name\\": \\"测试克隆音\\",\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"Status\\": \\"Published\\",\\n \\"Model\\": \\"CosyVoice\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '获取克隆音列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListCloneVoiceModels' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.'], + 'Data' => [ + 'description' => '克隆音模型分页数据', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'CloneVoiceModels' => [ + 'description' => '克隆音模型列表', + 'type' => 'array', + 'items' => [ + 'description' => '克隆音模型对象', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '模型名称', 'type' => 'string', 'example' => 'CosyVoice'], + 'DisplayName' => ['description' => '显示名称', 'type' => 'string', 'example' => 'CosyVoice'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '口音还原相似度高、韵律流畅'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取克隆音模型列表', + 'summary' => '获取克隆音色可用模型列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"CloneVoiceModels\\": [\\n {\\n \\"Name\\": \\"CosyVoice\\",\\n \\"DisplayName\\": \\"CosyVoice\\",\\n \\"Description\\": \\"口音还原相似度高、韵律流畅\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'ListNluModels' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.'], + 'Data' => [ + 'description' => '对话模型列表', + 'type' => 'array', + 'items' => [ + 'description' => '对话模型', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => '模型 ID', 'type' => 'string', 'example' => 'qwen-plus'], + 'Name' => ['description' => '模型名称', 'type' => 'string', 'example' => '通义千问-Plus'], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取对话大模型列表', + 'summary' => '获取对话模型列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-rj6aqmctjcit4acy does not exist.\\",\\n \\"Data\\": [\\n {\\n \\"Id\\": \\"qwen-plus\\",\\n \\"Name\\": \\"通义千问-Plus\\"\\n }\\n ],\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVariable' => [ + 'summary' => '获取变量列表', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zop7ukgtksltamo4'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'formData', + 'schema' => ['description' => '基于变量名称或者显示名称模糊检索', 'type' => 'string', 'required' => false, 'example' => 'age'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http 状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.'], + 'Data' => [ + 'description' => '变量列表分页数据', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'Variables' => [ + 'description' => '变量对象列表', + 'type' => 'array', + 'items' => [ + 'description' => '变量对象', + 'type' => 'object', + 'properties' => [ + 'VariableId' => ['description' => '变量ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'Name' => ['description' => '变量名称', 'type' => 'string', 'example' => 'age'], + 'DisplayName' => ['description' => '显示名称', 'type' => 'string', 'example' => '年龄'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '用户当前年龄'], + 'InstanceId' => ['description' => '百炼业务空间 ID', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4'], + 'TenantId' => ['description' => '租户 ID', 'type' => 'string', 'example' => '1308144684576655'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-rj6aqmctjcit4acy does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 50,\\n \\"Variables\\": [\\n {\\n \\"VariableId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1754013825102,\\n \\"UpdatedTime\\": 1754013825102,\\n \\"Name\\": \\"age\\",\\n \\"DisplayName\\": \\"年龄\\",\\n \\"Description\\": \\"用户当前年龄\\",\\n \\"InstanceId\\": \\"llm-zop7ukgtksltamo4\\",\\n \\"TenantId\\": \\"1308144684576655\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-zop7ukgtksltamo4\\"\\n ]\\n}","type":"json"}]', + 'title' => '获取变量列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListVocabulary' => [ + 'summary' => '获取实例详情', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '热词名称', 'type' => 'string', 'required' => false, 'example' => '金融'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr does not exist.'], + 'Data' => [ + 'description' => '热词列表分页数据', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'Vocabularies' => [ + 'description' => '热词对象列表', + 'type' => 'array', + 'items' => [ + 'description' => '热词对象', + 'type' => 'object', + 'properties' => [ + 'VocabularyId' => ['description' => '热词 ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102'], + 'Name' => ['description' => '热词名称', 'type' => 'string', 'example' => '金融场景热词'], + 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '包含金融场景专业术语'], + 'InstanceId' => ['description' => '百炼业务空间 ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a'], + 'TenantId' => ['description' => '租户 ID', 'type' => 'string', 'example' => '1308144684576655'], + 'WordCount' => ['description' => '热词数量', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-baployoyopf22m2r'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取热词列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Vocabularies\\": [\\n {\\n \\"VocabularyId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1754013825102,\\n \\"UpdatedTime\\": 1754013825102,\\n \\"Name\\": \\"金融场景热词\\",\\n \\"Description\\": \\"包含金融场景专业术语\\",\\n \\"InstanceId\\": \\"af81a389-91f0-4157-8d82-720edd02b66a\\",\\n \\"TenantId\\": \\"1308144684576655\\",\\n \\"WordCount\\": 50\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-baployoyopf22m2r\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVoiceAccessProfile' => [ + 'summary' => '获取三方语音配置列表', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr does not exist.'], + 'Data' => [ + 'description' => '三方语音配置分页结果', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'VoiceAccessProfiles' => [ + 'description' => '三方语音配置列表', + 'type' => 'array', + 'items' => [ + 'description' => '三方语音配置', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => '配置 ID', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + 'CreatedTime' => ['description' => '创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1747620752000'], + 'UpdatedTime' => ['description' => '更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1747620752000'], + 'InstanceId' => ['description' => '百炼业务空间ID', 'type' => 'string', 'example' => 'llm-c11iig67g863rih8'], + 'NlsEngine' => ['description' => '语音引擎', 'type' => 'string', 'example' => 'VOLC'], + 'NlsEngineName' => ['description' => '显示名称', 'type' => 'string', 'example' => '豆包'], + 'Profile' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => '科大讯飞调用 AppId', 'type' => 'string', 'example' => '5b123bfb'], + 'ApiKey' => ['description' => '百炼、科大讯飞调用 ApiKey', 'type' => 'string', 'example' => 'sk-12341e259b1049e8872b47981e545f78'], + 'ApiSecret' => ['description' => '科大讯飞调用 ApiSecret', 'type' => 'string', 'example' => 'c0358c6e51c1013b446fdeb21a3a1234'], + 'AppKey' => ['description' => '豆包调用 AppKey', 'type' => 'string', 'example' => '2541370123'], + 'AccessKey' => ['description' => '豆包调用 AccessKey', 'type' => 'string', 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9'], + 'AsrAppKey' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + 'TtsApiKey' => ['description' => '暂无使用', 'type' => 'string', 'example' => '暂无使用'], + ], + ], + 'Capabilities' => [ + 'description' => '语音引擎能力列表', + 'type' => 'array', + 'items' => ['description' => '语音引擎能力', 'type' => 'string', 'example' => 'ASR'], + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取三方语音配置列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"VoiceAccessProfiles\\": [\\n {\\n \\"AccessProfileId\\": \\"af81a389-91f0-4157-8d82-720edd02b66b\\",\\n \\"CreatedTime\\": 1747620752000,\\n \\"UpdatedTime\\": 1747620752000,\\n \\"InstanceId\\": \\"llm-c11iig67g863rih8\\",\\n \\"NlsEngine\\": \\"VOLC\\",\\n \\"NlsEngineName\\": \\"豆包\\",\\n \\"Profile\\": {\\n \\"AppId\\": \\"5b123bfb\\",\\n \\"ApiKey\\": \\"sk-12341e259b1049e8872b47981e545f78\\",\\n \\"ApiSecret\\": \\"c0358c6e51c1013b446fdeb21a3a1234\\",\\n \\"AppKey\\": \\"2541370123\\",\\n \\"AccessKey\\": \\"HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9\\",\\n \\"AsrAppKey\\": \\"暂无使用\\",\\n \\"TtsApiKey\\": \\"暂无使用\\"\\n },\\n \\"Capabilities\\": [\\n \\"ASR\\"\\n ]\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVoiceEngines' => [ + 'summary' => '获取引擎列表', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], + 'parameters' => [ + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.'], + 'Data' => [ + 'description' => '语音引擎分页结果', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'VoiceEngines' => [ + 'description' => '语音引擎对象列表', + 'type' => 'array', + 'items' => [ + 'description' => '语音引擎对象', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => ['description' => '语音引擎', 'type' => 'string', 'example' => 'VOLC'], + 'NlsEngineName' => ['description' => '显示名称', 'type' => 'string', 'example' => '豆包'], + 'ConfigSchema' => ['description' => '引擎配置', 'type' => 'string', 'example' => '[{\\"displayName\\":\\"AppKey\\",\\"maxLength\\":64,\\"name\\":\\"AppKey\\",\\"order\\":1,\\"required\\":true},{\\"displayName\\":\\"AccessKey\\",\\"maxLength\\":64,\\"name\\":\\"AccessKey\\",\\"order\\":2,\\"required\\":true}]'], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取三方语音引擎列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-rj6aqmctjcit4acy does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"VoiceEngines\\": [\\n {\\n \\"NlsEngine\\": \\"VOLC\\",\\n \\"NlsEngineName\\": \\"豆包\\",\\n \\"ConfigSchema\\": \\"[{\\\\\\\\\\\\\\"displayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AppKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"maxLength\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AppKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"order\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"required\\\\\\\\\\\\\\":true},{\\\\\\\\\\\\\\"displayName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccessKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"maxLength\\\\\\\\\\\\\\":64,\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"AccessKey\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"order\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"required\\\\\\\\\\\\\\":true}]\\"\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'ListVoices' => [ + 'summary' => '获取音色列表', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10'], + ], + [ + 'name' => 'NlsAccessType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'TTS 调用方式', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED'], + 'example' => 'MANAGED', + ], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => [ + 'description' => 'TTS 引擎', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'example' => 'BAILIAN', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.'], + 'Data' => [ + 'description' => '音色分页结果', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => '页号', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页条数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数量', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'Voices' => [ + 'description' => '音色列表', + 'type' => 'array', + 'items' => [ + 'description' => '音色', + 'type' => 'object', + 'properties' => [ + 'Category' => ['description' => '类目', 'type' => 'string', 'example' => '通义千问音色'], + 'Name' => ['description' => '音色名称', 'type' => 'string', 'example' => '芊悦'], + 'Style' => ['description' => '风格', 'type' => 'string', 'example' => '女声'], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'example' => 'Cherry'], + 'Language' => ['description' => '支持语言', 'type' => 'string', 'example' => '中文及中英文混合'], + 'NlsEngine' => ['description' => 'TTS引擎', 'type' => 'string', 'example' => 'BAILIAN'], + 'Model' => ['description' => 'TTS模型', 'type' => 'string', 'example' => 'Qwen'], + 'SupportedParams' => [ + 'description' => '支持参数列表', + 'type' => 'array', + 'items' => ['description' => '支持参数', 'type' => 'string', 'example' => 'speechRate'], + ], + ], + ], + ], + ], + ], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取音色列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr\\\\n does not exist.\\",\\n \\"Data\\": {\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 100,\\n \\"Voices\\": [\\n {\\n \\"Category\\": \\"通义千问音色\\",\\n \\"Name\\": \\"芊悦\\",\\n \\"Style\\": \\"女声\\",\\n \\"Voice\\": \\"Cherry\\",\\n \\"Language\\": \\"中文及中英文混合\\",\\n \\"NlsEngine\\": \\"BAILIAN\\",\\n \\"Model\\": \\"Qwen\\",\\n \\"SupportedParams\\": [\\n \\"speechRate\\"\\n ]\\n }\\n ]\\n },\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'PreviewVoice' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => ['description' => 'TTS 引擎', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'BAILIAN'], + ], + [ + 'name' => 'NlsAccessType', + 'in' => 'formData', + 'schema' => ['description' => 'TTS 调用方式', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'MANAGED'], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => ['description' => 'TTS模型', 'type' => 'string', 'required' => false, 'example' => 'Qwen'], + ], + [ + 'name' => 'Voice', + 'in' => 'formData', + 'schema' => ['description' => '发音人', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Cherry'], + ], + [ + 'name' => 'Text', + 'in' => 'formData', + 'schema' => ['description' => '试听文本', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '你好,很高兴认识你'], + ], + [ + 'name' => 'Params', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '合成参数', + 'type' => 'object', + 'properties' => [ + 'SpeechRate' => ['description' => '播报速度'."\n" + .'> 取值范围:-500~500。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'], + 'Volume' => ['description' => '音量'."\n" + .'> 取值范围:0~100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'PitchRate' => ['description' => '语调'."\n" + .'> 取值范围:-500~500。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '试听音频链接', 'type' => 'string', 'example' => 'https://cab-config-pre.oss-cn-hangzhou.aliyuncs.com/TTSDEMO/05B9FBF3-3681-10FF-9C24-340A93F3A25F.wav?Expires=1774795253&OSSAccessKeyId=STS.NYGg2ejEjYqySx3EsuRutagbd&Signature=L7oa%2F7s%2FeVwBxpkn3SvKfr8uXB0%3D&security-token=CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB%2BgYsfU2m2xR5%2FYclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag%2B%2F08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0GG3ASmlrFF%2B9mufMb5M%2FMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onHUwYPu0vZYrOLroQ%2BfFFjHKMzEetPq%2F7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F%2BkxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3%2BUqz3gv9md5QvoaVi1jnr%2FcFRNxbjl7DI39pdcGlTI2lqIAA%3D'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'TTS合成试听', + 'summary' => '试听', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-baployoyopf22m2r does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"https://cab-config-pre.oss-cn-hangzhou.aliyuncs.com/TTSDEMO/05B9FBF3-3681-10FF-9C24-340A93F3A25F.wav?Expires=1774795253&OSSAccessKeyId=STS.NYGg2ejEjYqySx3EsuRutagbd&Signature=L7oa%2F7s%2FeVwBxpkn3SvKfr8uXB0%3D&security-token=CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB%2BgYsfU2m2xR5%2FYclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag%2B%2F08%2FLI3OaLjKm9u2wCryLYbGwU%2FOpbE%2B%2B5U0X6LDmdDKkckW4OJmS8%2FBOZcgWWQ%2FKBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO%2Fks0GG3ASmlrFF%2B9mufMb5M%2FMBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs%2B02c5onHUwYPu0vZYrOLroQ%2BfFFjHKMzEetPq%2F7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F%2BkxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3%2BUqz3gv9md5QvoaVi1jnr%2FcFRNxbjl7DI39pdcGlTI2lqIAA%3D\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'PublishApplicationVersion' => [ + 'summary' => '发布语音机器人版本', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267602', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'."\n"], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '接口状态码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => '请求返回码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Data' => ['description' => '返回结果(版本ID)', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Data\\": \\"82ea16d1-425c-4c03-9be5-cc91de9779ed\\"\\n}","type":"json"}]', + 'title' => '发布语音机器人', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:PublishApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateApplication' => [ + 'summary' => '修改语音机器人应用。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267392', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => '应用名称', 'type' => 'string', 'required' => true, 'example' => '测试001'."\n"], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '应用描述', 'type' => 'string', 'required' => false, 'example' => '描述一下这个应用'], + ], + [ + 'name' => 'Concurrency', + 'in' => 'query', + 'schema' => ['description' => '并发设置', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回结果', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '响应信息', 'type' => 'string', 'example' => 'success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Data' => ['description' => '返回结果(应用ID)', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'title' => '修改语音机器人应用', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\"\\n}","type":"json"}]', + ], + 'UpdateApplicationVersion' => [ + 'summary' => '修改场景版本。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + [ + 'BearerToken' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '267599', + 'abilityTreeNodes' => ['FEATUREcccBM6DRP'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'query', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => '应用ID', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => '版本ID', 'type' => 'string', 'required' => true, 'example' => '20904943-f711-494f-9f1f-e7f340f37707'."\n"], + ], + [ + 'name' => 'TranscriberConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'ASR配置', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'ASR调用方式', + 'type' => 'string', + 'required' => false, + 'example' => 'MANAGED', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + ], + 'NlsEngine' => [ + 'description' => 'ASR引擎', + 'type' => 'string', + 'required' => false, + 'example' => 'ALIYUN', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + ], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + 'required' => false, + 'description' => '', + ], + 'VocabularyId' => ['type' => 'string', 'required' => false, 'description' => ''], + 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '500', 'description' => ''], + 'CustomizationId' => ['type' => 'string', 'required' => false, 'description' => ''], + 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0', 'description' => ''], + 'Model' => ['type' => 'string', 'required' => false, 'description' => ''], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'required' => false, 'description' => ''], + 'Replacement' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'description' => '', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'SynthesizerConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'TTS配置', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'TTS调用方式', + 'type' => 'string', + 'required' => false, + 'example' => 'MANAGED', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + ], + 'NlsEngine' => [ + 'description' => 'TTS引擎', + 'type' => 'string', + 'required' => false, + 'example' => 'ALIYUN', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + ], + 'Voice' => ['description' => '发音人', 'type' => 'string', 'required' => false, 'example' => 'aixia'], + 'SpeechRate' => ['description' => '语速', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], + 'Volume' => ['description' => '音量', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50'], + 'PitchRate' => ['description' => '音调', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + 'required' => false, + 'description' => '', + ], + 'Model' => ['type' => 'string', 'required' => false, 'description' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'required' => false, 'description' => ''], + 'Replacement' => ['type' => 'string', 'required' => false, 'description' => ''], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + 'description' => '', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ScriptProfile', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '模型配置', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => '模型', 'type' => 'string', 'required' => false, 'example' => 'qwen-plus'], + 'AgentProfile' => [ + 'description' => '智能体配置', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => '配置模版ID', 'type' => 'string', 'required' => false, 'example' => 'SFM_PROMPTS_DEFAULT'], + 'PromptsJson' => ['description' => '提示词配置', 'type' => 'string', 'required' => false, 'example' => '{"prompts":"我是一个聊天机器人。"}'], + 'Name' => ['description' => '智能体名称', 'type' => 'string', 'required' => false, 'example' => '语音机器人'], + 'Description' => ['description' => '智能体描述', 'type' => 'string', 'required' => false, 'example' => '语音机器人'], + ], + 'required' => false, + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'InteractionConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '交互配置', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => '静默检测配置', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => '超时时长(毫秒)', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5000'], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'RagConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'RAG 配置', + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'RAG 引擎', + 'type' => 'string', + 'required' => false, + 'example' => 'BAILIAN', + 'enum' => ['BAILIAN'], + ], + 'Enabled' => ['description' => '是否启用 RAG', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'KnowledgeBaseIds' => [ + 'description' => '知识库 ID 列表', + 'type' => 'array', + 'items' => ['description' => '知识库 ID', 'type' => 'string', 'required' => false, 'example' => '3678xghryt'], + 'required' => false, + ], + 'TopN' => ['description' => '取最大多少条数据', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '20', 'minimum' => '1', 'example' => '5'], + 'MaxContentLength' => ['description' => 'RAG 内容最大拼接长度', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '2000', 'minimum' => '1', 'example' => '2000'], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ToolConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '工具配置', + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'description' => 'MCP信息配置列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '名称', 'type' => 'string', 'required' => false, 'example' => 'phone-ai-call'], + 'BaseUrl' => ['description' => '基础URL', 'type' => 'string', 'required' => false, 'example' => 'https://example.com'], + 'SseEndpoint' => ['description' => 'SSE路径', 'type' => 'string', 'required' => false, 'example' => '/phone-ai-call/mcp/sse?key=value'], + ], + 'required' => false, + 'description' => '', + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'code码。', 'type' => 'string', 'example' => 'OK'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '信息。', 'type' => 'string', 'example' => 'successful'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Data' => ['description' => '返回结果', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'Parameter.Enumeration', 'errorMessage' => 'The parameter %s must be one of the value of enumeration %s.', 'description' => ''], + ['errorCode' => 'Parameter.Blank', 'errorMessage' => 'The parameter %s must not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Empty', 'errorMessage' => 'The parameter %s may not be null or empty.', 'description' => ''], + ['errorCode' => 'Parameter.Null', 'errorMessage' => 'The parameter %s may not be null.', 'description' => ''], + ], + 403 => [ + ['errorCode' => 'Permission.Unauthorized', 'errorMessage' => 'You are not authorized to perform this action. %s privileges are required.', 'description' => ''], + ], + [ + ['errorCode' => 'NotExists.InstanceId', 'errorMessage' => 'The specified instance %s does not exist.', 'description' => ''], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"CF6D3484-19A1-5C77-863B-AC8B5754D37C\\",\\n \\"Data\\": \\"82ea16d1-425c-4c03-9be5-cc91de9779ed\\"\\n}","type":"json"}]', + 'title' => '修改语音机器人应用版本', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateCloneVoice' => [ + 'summary' => '更新实例', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc'], + ], + [ + 'name' => 'CloneVoiceId', + 'in' => 'formData', + 'schema' => ['description' => '克隆音ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '克隆音名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '测试克隆音'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '克隆音ID', 'type' => 'string', 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"8ee1160a-6999-478f-8df6-f33ef21f27d5\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + 'title' => '更新克隆音', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateSubscription' => [ + 'summary' => '创建或更新MQ配置', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'MqType', + 'in' => 'formData', + 'schema' => ['description' => '消息推送类型', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ROCKET_MQ_4'], + ], + [ + 'name' => 'EventSubscriptions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '订阅事件列表', + 'type' => 'array', + 'items' => ['description' => '订阅事件\\'."\n" + .'Established - 接通\\'."\n" + .'Released - 通话结束\\'."\n" + .'RecordingReady - 录音就绪\\'."\n" + .'CdrReady - 话单生成\\'."\n" + .'LabelReady - 标签生成', 'type' => 'string', 'required' => false, 'example' => 'Released'], + 'required' => false, + 'docRequired' => true, + ], + ], + [ + 'name' => 'Endpoint', + 'in' => 'formData', + 'schema' => ['description' => '接入点(使用 ROCKET_MQ_4、ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080', 'maxLength' => 128], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => ['description' => '队列 topic(使用 ROCKET_MQ_4、ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'test', 'maxLength' => 64], + ], + [ + 'name' => 'UserName', + 'in' => 'formData', + 'schema' => ['description' => '用户名(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'username', 'maxLength' => 64], + ], + [ + 'name' => 'Password', + 'in' => 'formData', + 'schema' => ['description' => '密码(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'pwd', 'maxLength' => 64], + ], + [ + 'name' => 'MqInstanceId', + 'in' => 'formData', + 'schema' => ['description' => 'MQ 实例 ID(使用 ROCKET_MQ_5 时必填)', 'type' => 'string', 'required' => false, 'example' => 'rmq-cn-l4p89zajz67.cn', 'maxLength' => 64], + ], + [ + 'name' => 'ProducerId', + 'in' => 'formData', + 'schema' => ['description' => '生产者标识(使用 ROCKET_MQ_4 时必填)', 'type' => 'string', 'required' => false, 'example' => 'user1', 'maxLength' => 64], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '信息。', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.'], + 'Code' => ['description' => '接口状态或POP错误码。', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '返回结果(应用ID)', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新订阅信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-rj6aqmctjcit4acy does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateVariable' => [ + 'summary' => '更新变量', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-0rxabdztx7rsdi7n'], + ], + [ + 'name' => 'VariableId', + 'in' => 'formData', + 'schema' => ['description' => '变量ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + [ + 'name' => 'DisplayName', + 'in' => 'formData', + 'schema' => ['description' => '显示名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '年龄'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '用户当前年龄'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '变量ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n"], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-xdne77rxe14ziszr\\\\n does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"a395011f-a247-400f-bc69-28796749fd52\\\\n\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + 'title' => '更新变量', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateVocabulary' => [ + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8'], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => '热词ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4061'], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '热词名称', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '金融场景热词'], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => '描述', 'type' => 'string', 'required' => false, 'example' => '包含金融场景专业术语'], + ], + [ + 'name' => 'Words', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '热词列表', + 'type' => 'object', + 'required' => false, + 'docRequired' => true, + 'additionalProperties' => ['type' => 'string', 'example' => '{"苹果":"2","香蕉":"3"}', 'description' => '热词'], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '热词ID', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + 'Params' => [ + 'description' => '动态错误参数列表', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-zzu528i29ecnprcl'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新热词', + 'summary' => '更新实例', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-zzu528i29ecnprcl does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"82ea16d1-425c-4c03-9be5-cc91de9779ed\\",\\n \\"Params\\": [\\n \\"llm-zzu528i29ecnprcl\\"\\n ]\\n}","type":"json"}]', + ], + 'UpdateVoiceAccessProfile' => [ + 'summary' => '更新三方语音配置', + 'path' => '', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => '百炼业务空间ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-xdne77rxe14ziszr'], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => '配置ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b'], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => ['description' => '语音引擎', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'BAILIAN'], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '参数配置', + 'type' => 'object', + 'properties' => [ + 'AppKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => '2541370123', 'maxLength' => 64], + 'AccessKey' => ['description' => '使用豆包时必填', 'type' => 'string', 'required' => false, 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9', 'maxLength' => 64], + 'AppId' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => '5b123bfb', 'maxLength' => 64], + 'ApiKey' => ['description' => '使用百炼、科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'sk-12341e259b1049e8872b47981e545f78', 'maxLength' => 64], + 'ApiSecret' => ['description' => '使用科大讯飞时必填', 'type' => 'string', 'required' => false, 'example' => 'c0358c6e51c1013b446fdeb21a3a1234', 'maxLength' => 64], + 'AsrAppKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + 'TtsApiKey' => ['description' => '暂无使用', 'type' => 'string', 'required' => false, 'example' => '暂无使用', 'maxLength' => 64], + ], + 'required' => false, + 'docRequired' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'http状态码', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'Message' => ['description' => '错误信息', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.'], + 'Code' => ['description' => '内部错误码', 'type' => 'string', 'example' => 'OK'], + 'Data' => ['description' => '变量ID', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'], + 'Params' => [ + 'description' => '动态错误参数', + 'type' => 'array', + 'items' => ['description' => '动态错误参数', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr'], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '更新三方语音配置', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D771A1B6-3D5F-174A-BEE1-98CE1000D337\\",\\n \\"HttpStatusCode\\": 200,\\n \\"Message\\": \\"Instance llm-baployoyopf22m2r does not exist.\\",\\n \\"Code\\": \\"OK\\",\\n \\"Data\\": \\"82ea16d1-425c-4c03-9be5-cc91de9779ed\\",\\n \\"Params\\": [\\n \\"llm-xdne77rxe14ziszr\\"\\n ]\\n}","type":"json"}]', + ], + ], + 'endpoints' => [], + 'errorCodes' => [], + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ram' => [ + 'productCode' => 'BailianVoiceBot', + 'productName' => '大模型服务平台百炼', + 'ramCodes' => ['bailianvoicebot'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListVocabulary', + 'description' => '获取热词列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVocabulary', + 'description' => '更新热词', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteCloneVoice', + 'description' => '删除克隆音', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenerateFileUploadParams', + 'description' => '获取文件上传参数', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GenerateFileUploadParams', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVoiceAccessProfile', + 'description' => '创建三方语音配置', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataChannelCredential', + 'description' => '获取数据通道凭证', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetDataChannelCredential', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PreviewVoice', + 'description' => 'TTS合成试听', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:PreviewVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListApplications', + 'description' => '查询语音机器人应用列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVocabulary', + 'description' => '创建热词', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateApplication', + 'description' => '创建语音机器人应用', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVariable', + 'description' => '删除变量', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PublishApplicationVersion', + 'description' => '发布语音机器人', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:PublishApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DisableSubscription', + 'description' => '关闭消息订阅', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DisableSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateCloneVoice', + 'description' => '创建克隆音', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetVocabulary', + 'description' => '获取热词信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVoiceAccessProfile', + 'description' => '更新三方语音配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoices', + 'description' => '获取音色列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoiceEngines', + 'description' => '获取三方语音引擎列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoiceEngines', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateApplicationVersion', + 'description' => '修改语音机器人应用版本', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateApplication', + 'description' => '修改语音机器人应用', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBackgroundMusics', + 'description' => '获取背景音列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListBackgroundMusics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListNluModels', + 'description' => '获取对话大模型列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListNluModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoiceAccessProfile', + 'description' => '获取三方语音配置列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetApplication', + 'description' => '获取语音机器人应用', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCloneVoiceModels', + 'description' => '获取克隆音模型列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListCloneVoiceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVoiceAccessProfile', + 'description' => '删除三方语音配置', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ExportVocabulary', + 'description' => '导出热词', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ExportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSubscription', + 'description' => '更新订阅信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVariable', + 'description' => '创建变量', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVariable', + 'description' => '更新变量', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSubscription', + 'description' => '获取消息订阅配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BridgeWebCall', + 'description' => '软电话测试通话', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:BridgeWebCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVariable', + 'description' => '获取变量列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVocabulary', + 'description' => '删除热词', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ImportVocabulary', + 'description' => '导入热词', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ImportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteApplication', + 'description' => '删除语音机器人应用', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateApplicationVersion', + 'description' => '创建语音机器人应用版本', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCloneVoice', + 'description' => '获取克隆音列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateCloneVoice', + 'description' => '更新克隆音', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [], + ], +]; -- cgit v1.2.3