diff options
Diffstat (limited to 'data/en_us/bailianvoicebot/2025-01-01')
| -rw-r--r-- | data/en_us/bailianvoicebot/2025-01-01/api-docs.php | 5238 |
1 files changed, 5238 insertions, 0 deletions
diff --git a/data/en_us/bailianvoicebot/2025-01-01/api-docs.php b/data/en_us/bailianvoicebot/2025-01-01/api-docs.php new file mode 100644 index 0000000..d985267 --- /dev/null +++ b/data/en_us/bailianvoicebot/2025-01-01/api-docs.php @@ -0,0 +1,5238 @@ +<?php return [ + 'version' => '1.0', + 'info' => ['style' => 'RPC', 'product' => 'BailianVoiceBot', 'version' => '2025-01-01'], + 'directories' => [ + [ + 'children' => ['UpdateSubscription', 'GetSubscription', 'DisableSubscription'], + 'type' => 'directory', + 'title' => 'MQ message subscription configuration', + ], + [ + 'children' => ['DeleteVariable', 'ListVariable', 'UpdateVariable', 'CreateVariable'], + 'type' => 'directory', + 'title' => 'Variable management', + ], + [ + 'children' => ['ListVoiceEngines', 'UpdateVoiceAccessProfile', 'ListVoiceAccessProfile', 'DeleteVoiceAccessProfile', 'CreateVoiceAccessProfile'], + 'type' => 'directory', + 'title' => 'Third-party voice configuration', + ], + [ + 'children' => ['UpdateVocabulary', 'ListVocabulary', 'ImportVocabulary', 'GetVocabulary', 'ExportVocabulary', 'DeleteVocabulary', 'CreateVocabulary'], + 'type' => 'directory', + 'title' => 'Hot word management', + ], + [ + 'children' => ['ListCloneVoiceModels', 'DeleteCloneVoice', 'ListCloneVoice', 'UpdateCloneVoice', 'CreateCloneVoice'], + 'type' => 'directory', + 'title' => 'Voice clone management', + ], + [ + 'children' => ['DeleteApplication', 'ListNluModels', 'PreviewVoice', 'ListBackgroundMusics', 'ListVoices', 'ListApplications', 'CreateApplicationVersion', 'UpdateApplication', 'CreateApplication', 'GetApplication', 'UpdateApplicationVersion', 'PublishApplicationVersion'], + 'type' => 'directory', + 'title' => 'Application management', + ], + 'BridgeWebCall', + 'GetDataChannelCredential', + 'GenerateFileUploadParams', + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'BridgeWebCall' => [ + 'summary' => 'Initiates a softphone test call.', + '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' => 'The Model Studio business space ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => 'The Model Studio application ID.', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + [ + 'name' => 'Caller', + 'in' => 'query', + 'schema' => ['description' => 'The caller ID to display for the incoming call.', 'type' => 'string', 'required' => false, 'example' => '13052253537', 'title' => ''], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => 'The device ID.', 'type' => 'string', 'required' => true, 'example' => '467539456766097392-cn-shenzhen', 'title' => ''], + ], + [ + 'name' => 'TimeoutSeconds', + 'in' => 'query', + 'schema' => ['description' => 'The duration in seconds before the system automatically disconnects an unanswered call.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'schema' => ['description' => 'The tags for the call.', 'type' => 'string', 'required' => false, 'example' => '{\'ENV\': \'production\'}', 'title' => ''], + ], + [ + 'name' => 'SampleRate', + 'in' => 'query', + 'schema' => ['description' => 'The sample rate.', 'type' => 'integer', 'format' => 'int32', 'default' => '16000', 'required' => false, 'example' => '8000', 'title' => ''], + ], + [ + 'name' => 'Sandbox', + 'in' => 'query', + 'schema' => ['description' => 'Specifies whether to use the sandbox environment.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''], + ], + [ + 'name' => 'AudioCodec', + 'in' => 'query', + 'schema' => [ + 'description' => 'The audio codec. Defaults to `PCM` if not specified.'."\n" + ."\n" + .'- PCM'."\n" + ."\n" + .'- OPUS', + 'enumValueTitles' => ['OPUS' => 'OPUS', 'PCM' => 'PCM'], + 'type' => 'string', + 'required' => false, + 'example' => 'PCM', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'True', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'string', 'example' => '200', 'title' => ''], + 'Code' => ['description' => 'The status code. A value of `OK` indicates that the request is successful.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'ErrorMsg' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'connect timed out', 'title' => ''], + 'Data' => [ + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'i-uf6abxo1tuuwarrtffpp', 'title' => ''], + 'SessionId' => ['description' => 'The session ID.', 'type' => 'string', 'example' => 'ws-4b7c263f-9b4c-4b28-baae-a65e9155e380', 'title' => ''], + 'ChannelId' => ['description' => 'The channel ID.', 'type' => 'string', 'example' => '894526715106764802', 'title' => ''], + 'ExpirationTime' => ['description' => 'The time at which the token expires.'."\n" + ."\n" + .'> The value is a timestamp.', 'type' => 'string', 'example' => '1744964682422', 'title' => ''], + 'ServerUrl' => ['description' => 'The server URL.', 'type' => 'string', 'example' => 'wss://sh-voicebot.aliyuncs.com:443/audio', 'title' => ''], + 'Token' => ['description' => 'The authentication signature.', 'type' => 'string', 'example' => '83480f806b48f022313de37b691e167e', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Softphone Test Call', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:BridgeWebCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateApplication' => [ + 'summary' => 'Creates a voice bot application.', + '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' => 'The ID of the Model Studio business space.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The application name.', 'type' => 'string', 'required' => true, 'example' => '测试001', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The application description.', 'type' => 'string', 'required' => false, 'example' => '描述一下这个应用', 'title' => ''], + ], + [ + 'name' => 'Concurrency', + 'in' => 'query', + 'schema' => ['description' => 'The maximum number of concurrent requests for the application.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'NluAccessType', + 'in' => 'query', + 'schema' => [ + 'description' => 'The NLU access type.'."\n" + ."\n" + .'- Managed', + 'type' => 'string', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + 'required' => false, + 'example' => 'MANAGED', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The data returned for the request.', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The status code of the operation.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'A message that provides additional details about the request status.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RequestId' => ['description' => 'The unique ID generated for the request.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C', 'title' => ''], + 'Data' => ['description' => 'The ID of the newly created voice bot application.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Create a voice bot application', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateApplicationVersion' => [ + 'summary' => 'Create a voicebot application version.', + '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' => 'The Model Studio workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52', 'title' => ''], + ], + [ + 'name' => 'SourceVersionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the source version to be published.', 'type' => 'string', 'required' => false, 'example' => '20904943-f711-494f-9f1f-e7f340f37707', 'title' => ''], + ], + [ + 'name' => 'TranscriberConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The Automatic Speech Recognition (ASR) configuration.', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'The ASR access method.', + 'type' => 'string', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + 'required' => false, + 'example' => 'MANAGED', + 'title' => '', + ], + 'NlsEngine' => [ + 'description' => 'The ASR engine type.', + 'type' => 'string', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + 'required' => false, + 'example' => 'ALIYUN', + 'title' => '', + ], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => 'The ID of the third-party voice configuration. This is required when using a third-party ASR service, such as Doubao or iFLYTEK.', 'type' => 'string', 'required' => false, 'example' => 'c2c9baae-9351-4c49-a8cb-6f24a83a8718', 'title' => ''], + ], + 'description' => 'Configuration for a third-party ASR service.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'VocabularyId' => ['description' => 'The ID of the custom `vocabulary` for ASR.', 'type' => 'string', 'required' => false, 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe3', 'title' => ''], + 'EndSilenceTimeout' => ['description' => 'The timeout for voice activity detection (VAD), in milliseconds. The recognizer ends the utterance if a period of silence exceeds this value.', 'type' => 'integer', 'format' => 'int32', 'default' => '500', 'required' => false, 'example' => '700', 'title' => ''], + 'CustomizationId' => ['description' => 'The custom language model ID for ASR.', 'type' => 'string', 'required' => false, 'example' => 'cd97223f-42f2-4cd9-95af-e734e2fe1fe4', 'title' => ''], + 'SpeechNoiseThreshold' => ['description' => 'The noise threshold. Valid values: \\[-100, 100].'."\n" + ."\n" + .'The closer the value is to -100, the more likely the system treats noise as speech.'."\n" + ."\n" + .'The closer the value is to +100, the more likely the system treats speech as noise.', 'type' => 'integer', 'format' => 'int32', 'default' => '0', 'required' => false, 'example' => '0', 'title' => ''], + 'Model' => [ + 'description' => 'The ASR model.', + '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'], + 'type' => 'string', + 'required' => false, + 'example' => 'fun-asr-flash-8k-realtime', + 'title' => '', + ], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['description' => 'The text to match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Replacement' => ['description' => 'The replacement text.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'description' => 'A list of rules to automatically correct transcription results by replacing specific text patterns.', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SynthesizerConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The Text-to-Speech (TTS) configuration.', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'The TTS access method.', + 'type' => 'string', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + 'required' => false, + 'example' => 'MANAGED', + 'title' => '', + ], + 'NlsEngine' => [ + 'description' => 'The TTS engine type.', + 'type' => 'string', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + 'required' => false, + 'example' => 'ALIYUN', + 'title' => '', + ], + 'Voice' => ['description' => 'The `voice` for Text-to-Speech (TTS) synthesis.', 'type' => 'string', 'required' => false, 'example' => 'aiqi', 'title' => ''], + 'SpeechRate' => ['description' => 'The speech rate.'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '-156', 'title' => ''], + 'Volume' => ['description' => 'The `volume` of the synthesized speech.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], + 'PitchRate' => ['description' => 'The speech pitch.'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => 'The ID of the access profile for the external TTS service.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => 'Configuration for accessing external TTS services.', + 'title' => '', + 'example' => '', + ], + 'Model' => ['description' => 'The TTS model.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['description' => 'The text to match.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'Replacement' => ['description' => 'The replacement text.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'description' => 'A list of rules to define custom pronunciations for specific text patterns.', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'ScriptProfile', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'Configuration for the Large Language Model (LLM) and `agent`.', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => 'The LLM model ID.', 'type' => 'string', 'required' => false, 'example' => 'qwen-plus', 'title' => ''], + 'AgentProfile' => [ + 'description' => 'The agent configuration.', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => 'The agent configuration template ID.', 'type' => 'string', 'required' => false, 'example' => 'SFM_PROMPTS_DEFAULT', 'title' => ''], + 'PromptsJson' => ['description' => 'A JSON string that contains the prompts.', 'type' => 'string', 'required' => false, 'example' => '{"prompts":"我是一个语音聊天机器人。"}', 'title' => ''], + 'Name' => ['description' => 'The agent name.', 'type' => 'string', 'required' => false, 'example' => '语音机器人小云', 'title' => ''], + 'Description' => ['description' => 'The agent description.', 'type' => 'string', 'required' => false, 'example' => '语音机器人小云'."\n", 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'InteractionConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The interaction configuration.', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => 'The silence detection configuration.', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'The timeout duration, in milliseconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5000', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'RagConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'The RAG engine.', + 'type' => 'string', + 'enum' => ['BAILIAN'], + 'required' => false, + 'example' => 'BAILIAN', + 'title' => '', + ], + 'Enabled' => ['description' => 'Specifies whether to enable RAG.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'KnowledgeBaseIds' => [ + 'type' => 'array', + 'items' => ['description' => 'The knowledge base ID.', 'type' => 'string', 'required' => false, 'example' => '3457xghryt', 'title' => ''], + 'description' => 'The list of knowledge base IDs.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TopN' => ['description' => 'The maximum number of relevant documents to retrieve from the `knowledge base`.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '20', 'minimum' => '1', 'required' => false, 'example' => '5', 'title' => ''], + 'MaxContentLength' => ['description' => 'The maximum concatenated length of RAG content.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '2000', 'minimum' => '1', 'required' => false, 'example' => '2000', 'title' => ''], + ], + 'description' => 'The Retrieval-Augmented Generation (RAG) configuration.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'ToolConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the MCP server configuration.', 'type' => 'string', 'required' => false, 'example' => 'phone-ai-call', 'title' => ''], + 'BaseUrl' => ['description' => 'The `base URL`.', 'type' => 'string', 'required' => false, 'example' => 'https://example.com', 'title' => ''], + 'SseEndpoint' => ['description' => 'The path for Server-Sent Events (`SSE`).', 'type' => 'string', 'required' => false, 'example' => '/phone-ai-call/mcp/sse?key=value', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of MCP configurations.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The tool configuration.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The status code of the operation.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C', 'title' => ''], + 'Data' => ['description' => 'The version ID.', 'type' => 'string', 'example' => '20904943-f711-494f-9f1f-e7f340f37707', 'title' => ''], + ], + 'description' => 'The response object.', + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Create a voice robot application version ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateCloneVoice' => [ + 'summary' => 'Creates a cloned voice.', + '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' => 'The ID of the Model Studio Business Unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => ['description' => 'The path of the uploaded file.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'voice_clone/音色克隆单元测试.wav', 'title' => ''], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The clone model.', + 'enumValueTitles' => ['CosyVoice' => 'The CosyVoice model.', 'QwenVc' => 'The QwenVc model.'], + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'CosyVoice', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.', 'title' => ''], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => [ + 'description' => 'The cloned voice object.', + 'type' => 'object', + 'properties' => [ + 'CloneVoiceId' => ['description' => 'The cloned voice ID.', 'type' => 'string', 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5', 'title' => ''], + 'Voice' => ['description' => 'The voice identifier.', 'type' => 'string', 'example' => 'cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of parameters for the error message.', + 'type' => 'array', + 'items' => ['description' => 'A parameter for the error message.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Create a clone voice', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'CreateVariable' => [ + 'summary' => 'Creates a variable.', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-baployoyopf22m2r', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The variable name.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'userType', 'title' => ''], + ], + [ + 'name' => 'DisplayName', + 'in' => 'formData', + 'schema' => ['description' => 'The display name of the variable.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '用户类型', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the variable.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '表示用户类型,包括VIP、普通用户', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.', 'title' => ''], + 'Code' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The variable ID.', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic parameters that are returned when an error occurs.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-baployoyopf22m2r', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Create a variable ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'CreateVocabulary' => [ + 'summary' => 'Creates a custom vocabulary to improve the accuracy of speech recognition for specific words or phrases.', + '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' => 'The ID of the Bailian business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-baployoyopf22m2r', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The vocabulary name. The name must be unique within your Alibaba Cloud account.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '金融行业热词', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the vocabulary.', 'type' => 'string', 'required' => false, 'example' => '包含金融行业专业术语', 'title' => ''], + ], + [ + 'name' => 'Words', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'docRequired' => true, + 'description' => 'A map of custom words to their assigned weights.', + 'additionalProperties' => ['description' => 'A custom word and its weight. A higher weight gives the word a higher priority during recognition.', 'type' => 'string', 'example' => '{"苹果":"2","香蕉":"3"}', 'title' => ''], + 'type' => 'object', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl'."\n" + .' does not exist.', 'title' => ''], + 'Code' => ['description' => 'The API status code. `OK` indicates a successful request.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The vocabulary ID.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + 'Params' => [ + 'description' => 'The dynamic error parameter list.', + 'type' => 'array', + 'items' => ['description' => 'The dynamic error parameter.', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a hotword ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'The ID of the Model Studio business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => ['description' => 'The voice engine.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'VOLC', 'title' => ''], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'docRequired' => true, + 'description' => 'The parameter configuration.', + 'type' => 'object', + 'properties' => [ + 'AppKey' => ['description' => 'This parameter is required when you use Doubao.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '2541370123', 'title' => ''], + 'AccessKey' => ['description' => 'This parameter is required when you use Doubao.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9', 'title' => ''], + 'AppId' => ['description' => 'This parameter is required when you use iFLYTEK.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '5b123bfb', 'title' => ''], + 'ApiKey' => ['description' => 'This parameter is required when you use Model Studio or iFLYTEK.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'sk-12341e259b1049e8872b47981e545f78', 'title' => ''], + 'ApiSecret' => ['description' => 'This parameter is required when you use iFLYTEK.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'c0358c6e51c1013b446fdeb21a3a1234', 'title' => ''], + 'AsrAppKey' => ['description' => 'Reserved for future use.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '暂无使用', 'title' => ''], + 'TtsApiKey' => ['description' => 'Reserved for future use.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '暂无使用', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response data.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The message returned for the request. If an error occurs, this parameter contains the error message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.', 'title' => ''], + 'Code' => ['description' => 'The internal error code. A value of OK indicates that the request is successful.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The configuration ID.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + 'Params' => [ + 'description' => 'The list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-baployoyopf22m2r', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create third-party voice configuration ', + 'summary' => 'Creates a voice access profile.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Deletes an application.', + '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' => 'The ID of the Bailian business unit.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The API status or error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'Additional information.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337', 'title' => ''], + 'Data' => ['description' => 'The ID of the deleted application.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Delete voicebot application ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'DeleteCloneVoice' => [ + 'summary' => 'Deletes a cloned voice.', + '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' => 'The ID of the business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zzu528i29ecnprcl', 'title' => ''], + ], + [ + 'name' => 'CloneVoiceId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the cloned voice.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl'."\n" + .' does not exist.', 'title' => ''], + 'Data' => ['description' => 'The ID of the cloned voice.', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + 'Params' => [ + 'description' => 'The list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-zzu528i29ecnprcl', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Delete clone voice ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'DeleteVariable' => [ + 'summary' => 'Deletes a specified variable.', + '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' => 'The ID of the Model Studio business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-rj6aqmctjcit4acy', 'title' => ''], + ], + [ + 'name' => 'VariableId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the variable.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.', 'title' => ''], + 'Data' => ['description' => 'The ID of the deleted variable.', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'The dynamic error parameter.', 'type' => 'string', 'example' => 'llm-rj6aqmctjcit4acy', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Delete variable ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'DeleteVocabulary' => [ + 'summary' => 'Deletes a vocabulary.', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the vocabulary.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.', 'title' => ''], + 'Data' => ['description' => 'The ID of the deleted vocabulary.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52', 'title' => ''], + 'Params' => [ + 'description' => 'The dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Delete hotword ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Deletes a voice access profile.', + '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' => 'The ID of the Bailian business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the voice access profile.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.', 'title' => ''], + 'Data' => ['description' => 'The ID of the deleted voice access profile.', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Delete third-party voice configuration ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Disables a message subscription.', + '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' => 'The Model Studio business unit ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response schema.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.', 'title' => ''], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'Not in use.', 'type' => 'string', 'example' => '暂无使用', 'title' => ''], + 'Params' => [ + 'description' => 'The list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'The dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Shutdown message subscription ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DisableSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Exports one or more vocabularies.', + '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' => 'The ID of the business unit in Model Studio.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'VocabularyIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'docRequired' => true, + 'description' => 'A list of vocabulary IDs.', + 'type' => 'array', + 'items' => ['description' => 'The ID of a vocabulary.', 'type' => 'string', 'required' => false, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'ID of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.', 'title' => ''], + 'Data' => ['description' => 'Currently not used.', 'type' => 'string', 'example' => '暂无使用', 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic parameters that provide context for the error.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic parameter providing context for the error.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Export hotwords ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ExportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Generates parameters for file uploads.', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Model Studio business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'FileName', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the file.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'test.wav'."\n", 'title' => ''], + ], + [ + 'name' => 'BusinessType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The business type of the file.', + 'enumValueTitles' => ['Vocabulary' => 'Indicates a vocabulary file.', 'CloneVoice' => 'Indicates a voice cloning file.'], + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'CloneVoice', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337', 'title' => ''], + 'Data' => [ + 'description' => 'Parameters for file uploads.', + 'type' => 'object', + 'properties' => [ + 'Signature' => ['description' => 'A signature calculated from the AccessKey secret and policy. OSS uses this signature to verify the authenticity of the POST request.', 'type' => 'string', 'example' => '6oETypl+gbYHwbgcwnQiyDYoQbA=', 'title' => ''], + 'Policy' => ['description' => 'OSS uses this parameter to validate the form fields in the request.', 'type' => 'string', 'example' => 'eyJleHBpcmF0aW9uIjoiMjAyNi0wMy0yOVQxMzoyNDoyNi4yMDNaIiwiY29uZGl0aW9ucyI6W239', 'title' => ''], + 'AccessKeyId' => ['description' => 'The access key ID used to generate the signature.', 'type' => 'string', 'example' => 'STS.NYGg9ejEjYqySx3EsuRutagbd', 'title' => ''], + 'Host' => ['description' => 'The OSS endpoint.', 'type' => 'string', 'example' => 'http://cab.oss-cn-hangzhou.aliyuncs.com', 'title' => ''], + 'FileKey' => ['description' => 'The upload path for the file.', 'type' => 'string', 'example' => 'vocabulary/B678CA67-C8CB-150C-AD7F-6FA7F0A811BA_热词导入模版 (7).zip', 'title' => ''], + 'ExpirationTime' => ['description' => 'The expiration time for the upload credentials.', 'type' => 'integer', 'format' => 'int64', 'example' => '1774794266093', 'title' => ''], + 'SecurityToken' => ['description' => 'The security token.', 'type' => 'string', 'example' => 'CAISzwJ1q6Ft5B2yfSjIr5ryLIjRh5pL7rOSUV6CoXMgXvpYjqLJhjz2IHhMfnlvB+gYsfU2m2xR5/Yclrp6SJtIXleCZtF94oxN9h2gb4fb42Jqag+/08/LI3OaLjKm9u2wCryLYbGwU/OpbE++5U0X6LDmdDKkckW4OJmS8/BOZcgWWQ/KBlgvRq0hRG1YpdQdKGHaONu0LxfumRCwNkdzvRdmgm4NgsbWgO/ks0GG3ASmlrFF+9mufMb5M/MBZskvD42Hu8VtbbfE3SJq7BxHybx7lqQs+02c5onHUwYPu0vZYrOLroQ+fFFjHKMzDdtPq/7ylPI9ofDamIXxxAarin3kufQeLmrJ4LwneIvBXr5RHd5wa2rbWAEsmLNBEhL2EJMKtT476hcbIAuUI3bC5F+kxOHp9i6ErImtRWbLssUUla4R5TGOWbLJWzkTH93xuRqAAapuIRuRt0d2Odr1hsaYukMd42UkNapdTrehzmXeR6lyv1jlLmkAHve9Cbl9N5bO3A96FSlEfjHksQBWG0CEXRm3jLW41bpR00dgnM6gpOj7lRW2z33L0dTtaRw79X3+Uqz3gv9md5QvoaVi1jnr/cFRNxbjl7DI39pdcGlTI2lqIAA=', 'title' => ''], + 'AccessKeySecret' => ['description' => 'The AccessKey secret for authorizing file uploads to OSS.', 'type' => 'string', 'example' => 'DGhwedF4SsbsqUMfzNBCjZFLJZSAdhiSE4hFPbKMm6JE', 'title' => ''], + 'Bucket' => ['description' => 'The name of the OSS bucket where the file is stored.', 'type' => 'string', 'example' => 'cab', 'title' => ''], + 'Region' => ['description' => 'The region where the OSS bucket is located.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Obtain File Upload Parameters ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GenerateFileUploadParams', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Retrieve a voice chatbot application.', + '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' => 'Workspace ID in Alibaba Cloud Model Studio', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => 'Application ID.', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'Status code', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'Response message', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337', 'title' => ''], + 'Data' => [ + 'description' => 'Returned data', + 'type' => 'object', + 'properties' => [ + 'ApplicationId' => ['description' => 'Application ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + 'Name' => ['description' => 'Application name', 'type' => 'string', 'example' => '测试001'."\n", 'title' => ''], + 'Description' => ['description' => 'Application description', 'type' => 'string', 'example' => '描述一下这个应用'."\n", 'title' => ''], + 'Concurrency' => ['description' => 'Concurrent call volume, which is the number of simultaneous outbound calls.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'CreatedTime' => ['description' => 'Application creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1730081561000', 'title' => ''], + 'UpdatedTime' => ['description' => 'Application modification time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1730081561000', 'title' => ''], + 'NluEngine' => ['description' => 'NLU engine', 'type' => 'string', 'example' => 'PROMPTS', 'title' => ''], + 'NluAccessType' => ['description' => 'NLU access method', 'type' => 'string', 'example' => 'MANAGED', 'title' => ''], + 'DraftVersion' => [ + 'description' => 'Draft version configuration', + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => 'Version ID', 'type' => 'string', 'example' => '743219815472857088', 'title' => ''], + 'TranscriberConfig' => [ + 'description' => 'ASR configuration', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'ASR engine', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'type' => 'string', + 'example' => 'ALIYUN', + 'title' => '', + ], + 'NlsAccessType' => [ + 'description' => 'ASR invocation method', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'type' => 'string', + 'example' => 'MANAGED', + 'title' => '', + ], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VocabularyId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + 'CustomizationId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + 'Model' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Replacement' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SynthesizerConfig' => [ + 'description' => 'TTS configuration', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'TTS engine', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'type' => 'string', + 'example' => 'ALIYUN', + 'title' => '', + ], + 'NlsAccessType' => [ + 'description' => 'TTS invocation method', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'type' => 'string', + 'example' => 'MANAGED', + 'title' => '', + ], + 'Voice' => ['description' => 'Voice', 'type' => 'string', 'example' => 'aixia', 'title' => ''], + 'SpeechRate' => ['description' => 'Speech rate'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'Volume' => ['description' => 'Volume', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'PitchRate' => ['description' => 'Pitch'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Model' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Replacement' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ScriptProfile' => [ + 'description' => 'Application model configuration', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => 'Model', 'type' => 'string', 'example' => 'qwen-plus', 'title' => ''], + 'Temperature' => ['description' => 'Probability threshold for nucleus sampling during generation'."\n" + ."\n" + .'> - Valid range: (0, 1.0). A higher value increases randomness; a lower value increases determinism.', 'type' => 'string', 'example' => '0.8', 'title' => ''], + 'TopP' => ['description' => 'Controls randomness and diversity of model responses'."\n" + ."\n" + .'> - Specifically, the temperature value controls the degree of smoothing applied to the probability distribution of candidate words during text generation. A higher temperature reduces the peak of the probability distribution, allowing more low-probability words to be selected, resulting in more diverse outputs. A lower temperature sharpens the peak, making high-probability words more likely to be chosen, leading to more deterministic results.'."\n" + .'>'."\n" + .'> - Valid range: \\[0, 2). Do not use 0, as it has no meaning.', 'type' => 'string', 'example' => '0.1', 'title' => ''], + 'AgentProfile' => [ + 'description' => 'Agent configuration', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => 'Application template ID', 'type' => 'string', 'example' => 'SFM_PROMPTS_DEFAULT', 'title' => ''], + 'AgentProfileId' => ['description' => 'Agent configuration ID.', 'type' => 'string', 'example' => '6a50b67072d44788951de29758432d94', 'title' => ''], + 'PromptsJson' => ['description' => 'Prompt JSON', 'type' => 'string', 'example' => '{"prompts":"我是一个聊天机器人。"}', 'title' => ''], + 'Description' => ['description' => 'Agent description', 'type' => 'string', 'example' => '聊天机器人', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'InteractionConfig' => [ + 'description' => 'Interaction configuration', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => 'Silence detection configuration', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'Task execution timeout in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'RagConfig' => [ + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'RAG engine', + 'type' => 'string', + 'enum' => ['BAILIAN'], + 'example' => 'BAILIAN', + 'title' => '', + ], + 'Enabled' => ['description' => 'Whether RAG is enabled', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'KnowledgeBaseIds' => [ + 'type' => 'array', + 'items' => ['description' => 'Knowledge base ID', 'type' => 'string', 'example' => '8345xghryt', 'title' => ''], + 'description' => 'List of knowledge base IDs', + 'title' => '', + 'example' => '', + ], + 'TopN' => ['description' => 'Maximum number of data records to retrieve', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'MaxContentLength' => ['description' => 'Maximum concatenated length of RAG content', 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'title' => ''], + ], + 'description' => 'RAG configuration', + 'title' => '', + 'example' => '', + ], + 'ToolConfig' => [ + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name', 'type' => 'string', 'example' => 'phone-ai-call', 'title' => ''], + 'BaseUrl' => ['description' => 'Base URL', 'type' => 'string', 'example' => 'https://example.com', 'title' => ''], + 'SseEndpoint' => ['description' => 'SSE path', 'type' => 'string', 'example' => '/phone-ai-call/mcp/sse?key=value', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'List of MCP server configurations', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Tool configuration', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'PublishedVersion' => [ + 'description' => 'Published application version', + 'type' => 'object', + 'properties' => [ + 'VersionId' => ['description' => 'Version ID', 'type' => 'string', 'example' => '47889c1f-dd3f-4ace-9587-a13a3563e678', 'title' => ''], + 'TranscriberConfig' => [ + 'description' => 'ASR configuration', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'ASR engine', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'type' => 'string', + 'example' => 'ALIYUN', + 'title' => '', + ], + 'NlsAccessType' => [ + 'description' => 'ASR invocation method', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'type' => 'string', + 'example' => 'MANAGED', + 'title' => '', + ], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VocabularyId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + 'CustomizationId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + 'Model' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Replacement' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'SynthesizerConfig' => [ + 'description' => 'TTS configuration', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => [ + 'description' => 'TTS engine', + 'enumValueTitles' => ['ALIYUN' => 'ALIYUN'], + 'type' => 'string', + 'example' => 'ALIYUN', + 'title' => '', + ], + 'NlsAccessType' => [ + 'description' => 'TTS invocation method', + 'enumValueTitles' => ['MANAGED' => 'MANAGED'], + 'type' => 'string', + 'example' => 'MANAGED', + 'title' => '', + ], + 'Voice' => ['description' => 'Voice', 'type' => 'string', 'example' => 'aixia', 'title' => ''], + 'SpeechRate' => ['description' => 'Speech rate'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'integer', 'format' => 'int32', 'example' => '-20', 'title' => ''], + 'Volume' => ['description' => 'Volume', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'PitchRate' => ['description' => 'Pitch'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'integer', 'format' => 'int32', 'example' => '3', 'title' => ''], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Model' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'Replacement' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'ScriptProfile' => [ + 'description' => 'Application model configuration', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => 'Model', 'type' => 'string', 'example' => 'qwen-plus'."\n", 'title' => ''], + 'Temperature' => ['description' => 'Probability threshold for nucleus sampling during generation'."\n" + ."\n" + .'> - Valid range: (0, 1.0). A higher value increases randomness; a lower value increases determinism.', 'type' => 'string', 'example' => '0.8', 'title' => ''], + 'TopP' => ['description' => 'Controls randomness and diversity of model responses'."\n" + ."\n" + .'> - Specifically, the temperature value controls the degree of smoothing applied to the probability distribution of candidate words during text generation. A higher temperature reduces the peak of the probability distribution, allowing more low-probability words to be selected, resulting in more diverse outputs. A lower temperature sharpens the peak, making high-probability words more likely to be chosen, leading to more deterministic results.'."\n" + .'>'."\n" + .'> - Valid range: \\[0, 2). Do not use 0, as it has no meaning.', 'type' => 'string', 'example' => '0.1', 'title' => ''], + 'AgentProfile' => [ + 'description' => 'Agent configuration', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => 'Agent configuration template ID', 'type' => 'string', 'example' => 'SFM_PROMPTS_DEFAULT', 'title' => ''], + 'AgentProfileId' => ['description' => 'Agent configuration ID', 'type' => 'string', 'example' => 'b97b6822dd624c32b6c2a54d717db718', 'title' => ''], + 'PromptsJson' => ['description' => 'Prompt JSON', 'type' => 'string', 'example' => '{"prompts":"我是一个聊天机器人。"}'."\n", 'title' => ''], + 'Description' => ['description' => 'Agent description', 'type' => 'string', 'example' => '我是一个聊天机器人', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'InteractionConfig' => [ + 'description' => 'Interaction configuration', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => 'Silence detection configuration', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'Timeout duration.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'RagConfig' => [ + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'RAG engine', + 'type' => 'string', + 'enum' => ['BAILIAN'], + 'example' => 'BAILIAN', + 'title' => '', + ], + 'Enabled' => ['description' => 'Whether RAG is enabled', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + 'KnowledgeBaseIds' => [ + 'type' => 'array', + 'items' => ['description' => 'Knowledge base ID', 'type' => 'string', 'example' => '3472xghryt', 'title' => ''], + 'description' => 'List of knowledge base IDs', + 'title' => '', + 'example' => '', + ], + 'TopN' => ['description' => 'Maximum number of data records to retrieve', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'MaxContentLength' => ['description' => 'Maximum concatenated length of RAG content', 'type' => 'integer', 'format' => 'int32', 'example' => '2000', 'title' => ''], + ], + 'description' => 'RAG configuration', + 'title' => '', + 'example' => '', + ], + 'ToolConfig' => [ + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => 'phone-ai-call', 'title' => ''], + 'BaseUrl' => ['description' => 'Base URL', 'type' => 'string', 'example' => 'https://example.com', 'title' => ''], + 'SseEndpoint' => ['description' => 'SSE path', 'type' => 'string', 'example' => '/phone-ai-call/mcp/sse?key=value', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'List of MCP server configurations', + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'Tool configuration', + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Retrieve Voice Bot Application', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'DeviceId', + 'in' => 'query', + 'schema' => ['description' => 'The device ID.', 'type' => 'string', 'required' => true, 'example' => 'device-3i5x4234f2j4w55e', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'title' => 'GenericResponse<DataChannelCredential>', + 'description' => 'The response object containing the data channel credential.', + 'type' => 'object', + 'properties' => [ + 'Data' => [ + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'DeviceId' => ['description' => 'The device ID.', 'type' => 'string', 'example' => 'device-3i5x4234f2j4w55e', 'title' => ''], + 'Topic' => ['description' => 'The MQTT topic for communication.', 'type' => 'string', 'example' => 'datachannel-prepub-a/dc52807f0eff4b9b8224d06c7f240c07', 'title' => ''], + 'ClientId' => ['description' => 'The client ID.', 'type' => 'string', 'example' => '26c2f022-b6c0-4ab0-9019-6e1a42dc5582', 'title' => ''], + 'Endpoint' => ['description' => 'The service endpoint for the connection.', 'type' => 'string', 'example' => 'mqtt-cn-ux146hgtt04.mqtt.aliyuncs.com', 'title' => ''], + 'UserName' => ['description' => 'The user name for authentication.', 'type' => 'string', 'example' => 'Token|LTAI5tRYzHUYYi4XstgMCsL4|mqtt-cn-ux146hgtt04', 'title' => ''], + 'Password' => ['description' => 'The password for authentication.', 'type' => 'string', 'example' => '***', 'title' => ''], + 'ExpirationTime' => ['description' => 'The expiration time of the credential.'."\n" + ."\n" + .'> The value is a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1745004535507', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Code' => ['description' => 'The status of the API call or a POP error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Params' => [ + 'description' => 'The response parameters.', + 'type' => 'array', + 'items' => ['description' => 'The invalid parameters.', 'type' => 'string', 'example' => '[\'02022042312\', \'jrtj\']', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Obtain tunnel Credential', + 'summary' => 'Obtains a credential for a data channel.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetDataChannelCredential', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', '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' => 'Retrieves the configuration of a message queue subscription.', + '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' => 'The ID of the Model Studio business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response schema.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The status code returned for the request.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The message returned with the response. If the operation was not successful, this parameter contains the error details.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337', 'title' => ''], + 'Data' => [ + 'description' => 'The subscription details.', + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => 'The ID of the business space instance.', 'type' => 'string', 'example' => 'llm-3pptowd2olrctsvc', 'title' => ''], + 'Disabled' => ['description' => 'Specifies if the subscription is disabled. A value of `true` means the subscription is disabled, while `false` means it is enabled.', 'type' => 'boolean', 'example' => '0', 'title' => ''], + 'MqType' => ['description' => 'The type of the message queue.', 'type' => 'string', 'example' => 'ROCKET_MQ_4', 'title' => ''], + 'Endpoint' => ['description' => 'The message queue endpoint. This parameter is required if `MqType` is set to `ROCKET_MQ_4` or `ROCKET_MQ_5`.', 'type' => 'string', 'example' => 'rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080', 'title' => ''], + 'Topic' => ['description' => 'The message queue topic. This parameter is required if `MqType` is set to `ROCKET_MQ_4` or `ROCKET_MQ_5`.', 'type' => 'string', 'example' => 'test', 'title' => ''], + 'UserName' => ['description' => 'The username for message queue authentication. This parameter is required if `MqType` is set to `ROCKET_MQ_5`.', 'type' => 'string', 'example' => 'username', 'title' => ''], + 'Password' => ['description' => 'The password for message queue authentication. This parameter is required if `MqType` is set to `ROCKET_MQ_5`.', 'type' => 'string', 'example' => 'pwd', 'title' => ''], + 'MqInstanceId' => ['description' => 'The message queue instance ID. This parameter is required if `MqType` is set to `ROCKET_MQ_5`.', 'type' => 'string', 'example' => 'rmq-cn-l4p89zajz67.cn', 'title' => ''], + 'ProducerId' => ['description' => 'The ID of the message producer. This parameter is required if `MqType` is set to `ROCKET_MQ_4`.', 'type' => 'string', 'example' => 'PID_Webhook', 'title' => ''], + 'EventList' => [ + 'description' => 'The list of subscribed events.', + 'type' => 'array', + 'items' => [ + 'description' => 'A subscribed event.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The event name.', 'type' => 'string', 'example' => 'Released', 'title' => ''], + 'DisplayName' => ['description' => 'The event display name.', 'type' => 'string', 'example' => '通话结束', 'title' => ''], + 'Disabled' => ['description' => 'Specifies if push notifications for this event are disabled. `true` indicates that notifications are disabled, while `false` indicates they are enabled.', 'type' => 'boolean', 'example' => 'false', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of parameters related to the response message.', + 'type' => 'array', + 'items' => ['description' => 'A parameter related to the response message.', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve message subscription configuration information ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'The ID of the Bailian business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the vocabulary.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4061', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The error code. `OK` indicates a successful request.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337', 'title' => ''], + 'Data' => [ + 'description' => 'The vocabulary details.', + 'type' => 'object', + 'properties' => [ + 'VocabularyId' => ['description' => 'The ID of the vocabulary.', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + 'Name' => ['description' => 'The name of the vocabulary.', 'type' => 'string', 'example' => '金融场景热词', 'title' => ''], + 'Description' => ['description' => 'The description of the vocabulary.', 'type' => 'string', 'example' => '包含金融场景专业术语', 'title' => ''], + 'CreatedTime' => ['description' => 'The creation time of the vocabulary, represented as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1773453676000', 'title' => ''], + 'UpdatedTime' => ['description' => 'The last update time of the vocabulary, represented as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1773453676000', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the instance.', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + 'TenantId' => ['description' => 'The ID of the tenant.', 'type' => 'string', 'example' => '1308144684576655', 'title' => ''], + 'WordCount' => ['description' => 'The number of words in the vocabulary.', 'type' => 'string', 'example' => '50', 'title' => ''], + 'Words' => ['description' => 'A JSON string containing the words and their weights.', 'type' => 'string', 'example' => '{\\"苹果\\":\\"2\\",\\"香蕉\\":\\"3\\"}', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic parameters that are substituted into the error message.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic parameter that is substituted into the error message.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve hotword information', + 'summary' => 'Retrieves the details of a vocabulary.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Imports a vocabulary.', + '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' => 'Model Studio business unit ID', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + ], + [ + 'name' => 'FileKey', + 'in' => 'formData', + 'schema' => ['description' => 'The path of the file to import.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'vocabulary/热词导入单元测试.zip', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response schema.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'request ID', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'HTTP status code', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'error message', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.', 'title' => ''], + 'Code' => ['description' => 'internal error code', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => [ + 'description' => 'A list of vocabulary IDs.', + 'type' => 'array', + 'items' => ['description' => 'vocabulary ID', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'dynamic error parameter', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Import hotwords ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ImportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Lists Intelligent Speech Interaction applications.', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'query', + 'schema' => ['description' => 'The name of the template. Supports fuzzy search.', 'type' => 'string', 'required' => false, 'example' => '通用', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The status of the request. `OK` indicates success. If an error occurs, a POP error code is returned.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'A message that provides details about the response.', 'type' => 'string', 'example' => 'successful', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337', 'title' => ''], + 'Data' => [ + 'description' => 'The data payload returned by the operation.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '1000', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '6', 'title' => ''], + 'Applications' => [ + 'description' => 'A list of applications.', + 'type' => 'array', + 'items' => [ + 'description' => 'Details of a single application.', + 'type' => 'object', + 'properties' => [ + 'CreatedTime' => ['description' => 'The time when the application was created, represented as a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1729909690', 'title' => ''], + 'UpdatedTime' => ['description' => 'The time when the application was last updated, represented as a UNIX timestamp.', 'type' => 'integer', 'format' => 'int64', 'example' => '1729909348', 'title' => ''], + 'ApplicationId' => ['description' => 'The application ID.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + 'Name' => ['description' => 'The application name.', 'type' => 'string', 'example' => '测试001'."\n", 'title' => ''], + 'Description' => ['description' => 'The application description.', 'type' => 'string', 'example' => '描述一下这个应用', 'title' => ''], + 'Concurrency' => ['description' => 'The number of concurrent requests allowed.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'NluEngine' => ['description' => 'The Natural Language Understanding (NLU) engine.', 'type' => 'string', 'example' => 'PROMPTS', 'title' => ''], + 'NluAccessType' => ['description' => 'The NLU access type.', 'type' => 'string', 'example' => 'MANAGED', 'title' => ''], + 'DraftVersionId' => ['description' => 'The draft version ID.', 'type' => 'string', 'example' => '20904943-f711-494f-9f1f-e7f340f37707'."\n", 'title' => ''], + 'PublishedVersionId' => ['description' => 'The published version ID.', 'type' => 'string', 'example' => '20904943-f711-494f-9f1f-e7f340f37707'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Query the list of voice bot applications ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListBackgroundMusics' => [ + 'summary' => 'Retrieves a list of background music.', + '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' => 'The Model Studio business unit ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zzu528i29ecnprcl', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'An object that contains the paginated list of background music.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'BackgroundMusics' => [ + 'description' => 'A list of background music items.', + 'type' => 'array', + 'items' => [ + 'description' => 'A background music item.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The background music ID.', 'type' => 'string', 'example' => '3258b551-4847-45fa-bbd8-838d90b90080', 'title' => ''], + 'Name' => ['description' => 'The background music name.', 'type' => 'string', 'example' => '办公氛围', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-rj6aqmctjcit4acy', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve the background music list ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListBackgroundMusics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Get instance details', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc', 'title' => ''], + ], + [ + 'name' => 'Status', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The status of the cloned voice.', + 'enumValueTitles' => ['Draft' => 'The voice is not yet published.', 'Published' => 'The voice is available for use.'], + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'Published', + 'title' => '', + ], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => 'The number of the page to return. Page numbers start at 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The number of entries to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => 'The result code of the request.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The message returned for the request.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'A paginated list of cloned voices.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'CloneVoices' => [ + 'description' => 'A list of cloned voices.', + 'type' => 'array', + 'items' => [ + 'description' => 'A cloned voice object.', + 'type' => 'object', + 'properties' => [ + 'CloneVoiceId' => ['description' => 'The ID of the cloned voice.', 'type' => 'string', 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5'."\n", 'title' => ''], + 'CreatedTime' => ['description' => 'The creation time of the cloned voice, as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1760494691000', 'title' => ''], + 'UpdatedTime' => ['description' => 'The last update time of the cloned voice, as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1760494691000', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the business space.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'TenantId' => ['description' => 'The ID of the tenant.', 'type' => 'string', 'example' => '1655449505171', 'title' => ''], + 'Voice' => ['description' => 'The speaker identifier.', 'type' => 'string', 'example' => 'cosyvoice-v3-plus-voicebot2-3666e4bbb2b94832ac4f4107b5804c34', 'title' => ''], + 'Name' => ['description' => 'The name of the cloned voice.', 'type' => 'string', 'example' => '测试克隆音', 'title' => ''], + 'NlsEngine' => ['description' => 'The TTS engine.', 'type' => 'string', 'example' => 'BAILIAN', 'title' => ''], + 'Status' => [ + 'description' => 'The status of the cloned voice.', + 'enumValueTitles' => ['Draft' => 'The cloned voice is a draft and not yet available for use.', 'Published' => 'The cloned voice is published and available for use.'], + 'type' => 'string', + 'example' => 'Published', + 'title' => '', + ], + 'Model' => [ + 'description' => 'The model used for cloning.', + 'enumValueTitles' => ['CosyVoice' => 'CosyVoice', 'QwenVc' => 'QwenVc'], + 'type' => 'string', + 'example' => 'CosyVoice', + 'title' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Retrieve clone voice list ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', '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' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response data.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The error code. A value of `OK` indicates the request is successful.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'The paginated list of clone voice models.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The returned page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries returned per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'CloneVoiceModels' => [ + 'description' => 'A list of clone voice models.', + 'type' => 'array', + 'items' => [ + 'description' => 'A clone voice model.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The model name.', 'type' => 'string', 'example' => 'CosyVoice', 'title' => ''], + 'DisplayName' => ['description' => 'The display name.', 'type' => 'string', 'example' => 'CosyVoice', 'title' => ''], + 'Description' => ['description' => 'The description.', 'type' => 'string', 'example' => '口音还原相似度高、韵律流畅', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve Clone Voice Model List ', + 'summary' => 'Lists available clone voice models.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListCloneVoiceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'The ID of the Model Studio business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'ID of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'A list of conversational models.', + 'type' => 'array', + 'items' => [ + 'description' => 'A conversational model.', + 'type' => 'object', + 'properties' => [ + 'Id' => ['description' => 'The model ID.', 'type' => 'string', 'example' => 'qwen-plus', 'title' => ''], + 'Name' => ['description' => 'The model name.', 'type' => 'string', 'example' => '通义千问-Plus', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of values for formatting the Message field.', + 'type' => 'array', + 'items' => ['description' => 'A value for formatting the Message field.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve the list of Large Language Models (LLMs) for conversation ', + 'summary' => 'Lists the available conversational models.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListNluModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Getting the variable list', + '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' => 'The Model Studio workspace ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'SearchPattern', + 'in' => 'formData', + 'schema' => ['description' => 'A keyword for a fuzzy search on the variable name or display name.', 'type' => 'string', 'required' => false, 'example' => 'age', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Response schema', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'Paginated data for the variable list.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of variables.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + 'Variables' => [ + 'description' => 'An array of variable objects.', + 'type' => 'array', + 'items' => [ + 'description' => 'A variable object.', + 'type' => 'object', + 'properties' => [ + 'VariableId' => ['description' => 'The variable ID.', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + 'CreatedTime' => ['description' => 'The time when the variable was created, specified as a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102', 'title' => ''], + 'UpdatedTime' => ['description' => 'The time when the variable was last updated, specified as a Unix timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102', 'title' => ''], + 'Name' => ['description' => 'The variable name.', 'type' => 'string', 'example' => 'age', 'title' => ''], + 'DisplayName' => ['description' => 'The display name.', 'type' => 'string', 'example' => '年龄', 'title' => ''], + 'Description' => ['description' => 'The description of the variable.', 'type' => 'string', 'example' => '用户当前年龄', 'title' => ''], + 'InstanceId' => ['description' => 'The Model Studio workspace ID.', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + 'TenantId' => ['description' => 'The tenant ID.', 'type' => 'string', 'example' => '1308144684576655', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'An array of values that provide context for the error message.', + 'type' => 'array', + 'items' => ['description' => 'A value that provides context for the error message.', 'type' => 'string', 'example' => 'llm-zop7ukgtksltamo4', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Retrieve variable list', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListVocabulary' => [ + 'summary' => 'Queries a list of vocabularies.', + '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' => 'The Bailian business unit ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The vocabulary name.', 'type' => 'string', 'required' => false, 'example' => '金融', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'The paginated data for the vocabulary list.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Vocabularies' => [ + 'description' => 'A list of vocabulary objects.', + 'type' => 'array', + 'items' => [ + 'description' => 'A vocabulary object.', + 'type' => 'object', + 'properties' => [ + 'VocabularyId' => ['description' => 'The vocabulary ID.', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + 'CreatedTime' => ['description' => 'The creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102', 'title' => ''], + 'UpdatedTime' => ['description' => 'The update time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1754013825102', 'title' => ''], + 'Name' => ['description' => 'The vocabulary name.', 'type' => 'string', 'example' => '金融场景热词', 'title' => ''], + 'Description' => ['description' => 'The vocabulary description.', 'type' => 'string', 'example' => '包含金融场景专业术语', 'title' => ''], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66a', 'title' => ''], + 'TenantId' => ['description' => 'The tenant ID.', 'type' => 'string', 'example' => '1308144684576655', 'title' => ''], + 'WordCount' => ['description' => 'The word count.', 'type' => 'integer', 'format' => 'int32', 'example' => '50', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-baployoyopf22m2r', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve Hot Word List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Gets third-party voice configurations.', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => 'The number of the page to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The maximum number of entries to return per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response body.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'The paginated results of third-party voice configurations.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of configurations.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'VoiceAccessProfiles' => [ + 'description' => 'The third-party voice configurations.', + 'type' => 'array', + 'items' => [ + 'description' => 'A third-party voice configuration.', + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['description' => 'The ID of the configuration.', 'type' => 'string', 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + 'CreatedTime' => ['description' => 'The creation time, represented as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1747620752000', 'title' => ''], + 'UpdatedTime' => ['description' => 'The time of the last update, represented as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'format' => 'int64', 'example' => '1747620752000', 'title' => ''], + 'InstanceId' => ['description' => 'The ID of the Bailian instance.', 'type' => 'string', 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + 'NlsEngine' => ['description' => 'The identifier of the voice engine.', 'type' => 'string', 'example' => 'VOLC', 'title' => ''], + 'NlsEngineName' => ['description' => 'The display name of the voice engine.', 'type' => 'string', 'example' => '豆包', 'title' => ''], + 'Profile' => [ + 'description' => 'The authentication credentials for the voice engine.', + 'type' => 'object', + 'properties' => [ + 'AppId' => ['description' => 'The application ID (AppId) from iFLYTEK.', 'type' => 'string', 'example' => '5b123bfb', 'title' => ''], + 'ApiKey' => ['description' => 'The API key for the Bailian or iFLYTEK service.', 'type' => 'string', 'example' => 'sk-12341e259b1049e8872b47981e545f78', 'title' => ''], + 'ApiSecret' => ['description' => 'The API secret for the iFLYTEK service.', 'type' => 'string', 'example' => 'c0358c6e51c1013b446fdeb21a3a1234', 'title' => ''], + 'AppKey' => ['description' => 'The AppKey for the Doubao service.', 'type' => 'string', 'example' => '2541370123', 'title' => ''], + 'AccessKey' => ['description' => 'The access key for the Doubao service.', 'type' => 'string', 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9', 'title' => ''], + 'AsrAppKey' => ['description' => 'Reserved for future use.', 'type' => 'string', 'example' => '暂无使用', 'title' => ''], + 'TtsApiKey' => ['description' => 'Reserved for future use.', 'type' => 'string', 'example' => '暂无使用', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'Capabilities' => [ + 'description' => 'The capabilities that the voice engine supports.', + 'type' => 'array', + 'items' => ['description' => 'A capability of the voice engine. Valid values: `ASR` and `TTS`.', 'type' => 'string', 'example' => 'ASR', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'Dynamic parameters related to the error message.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic parameter related to the error message.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Obtain third-party voice configuration List', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Retrieves a paginated list of available voice engines.', + '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' => 'The page number. Pages start from 1. The default is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The number of entries per page. The default is 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'Code' => ['description' => 'The error code. A value of `OK` indicates that the request was successful.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'The pagination data, which includes the list of voice engines.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The number of entries on the current page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of voice engines.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'VoiceEngines' => [ + 'description' => 'A list of voice engine objects.', + 'type' => 'array', + 'items' => [ + 'description' => 'A voice engine object.', + 'type' => 'object', + 'properties' => [ + 'NlsEngine' => ['description' => 'The identifier for the voice engine.', 'type' => 'string', 'example' => 'VOLC', 'title' => ''], + 'NlsEngineName' => ['description' => 'The display name of the voice engine.', 'type' => 'string', 'example' => '豆包', 'title' => ''], + 'ConfigSchema' => ['description' => 'The engine configuration schema, provided as a JSON string.', 'type' => 'string', 'example' => '[{\\"displayName\\":\\"AppKey\\",\\"maxLength\\":64,\\"name\\":\\"AppKey\\",\\"order\\":1,\\"required\\":true},{\\"displayName\\":\\"AccessKey\\",\\"maxLength\\":64,\\"name\\":\\"AccessKey\\",\\"order\\":2,\\"required\\":true}]', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Obtain the list of third-party voice engines ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoiceEngines', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Get a list of available voices', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'], + 'parameters' => [ + [ + 'name' => 'BusinessUnitId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the Model Studio workspace.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'PageNumber', + 'in' => 'formData', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'formData', + 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'docRequired' => true, 'example' => '10', 'title' => ''], + ], + [ + 'name' => 'NlsAccessType', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The TTS access type.', + 'enumValueTitles' => ['PROVIDED' => 'PROVIDED', 'MANAGED' => 'MANAGED'], + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'MANAGED', + 'title' => '', + ], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => [ + 'description' => 'The TTS engine.', + 'enumValueTitles' => ['IFLYTEK' => 'IFLYTEK', 'VOLC' => 'VOLC', 'BAILIAN' => 'BAILIAN'], + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'BAILIAN', + 'title' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.', 'title' => ''], + 'Data' => [ + 'description' => 'The paginated voice results.', + 'type' => 'object', + 'properties' => [ + 'PageNumber' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''], + 'PageSize' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Voices' => [ + 'description' => 'The list of voices.', + 'type' => 'array', + 'items' => [ + 'description' => 'A voice object.', + 'type' => 'object', + 'properties' => [ + 'Category' => ['description' => 'The category of the voice.', 'type' => 'string', 'example' => '通义千问音色', 'title' => ''], + 'Name' => ['description' => 'The voice name.', 'type' => 'string', 'example' => '芊悦', 'title' => ''], + 'Style' => ['description' => 'The style of the voice.', 'type' => 'string', 'example' => '女声', 'title' => ''], + 'Voice' => ['description' => 'The unique identifier for the voice.', 'type' => 'string', 'example' => 'Cherry', 'title' => ''], + 'Language' => ['description' => 'The supported language.', 'type' => 'string', 'example' => '中文及中英文混合', 'title' => ''], + 'NlsEngine' => ['description' => 'The TTS engine.', 'type' => 'string', 'example' => 'BAILIAN', 'title' => ''], + 'Model' => ['description' => 'The TTS model.', 'type' => 'string', 'example' => 'Qwen', 'title' => ''], + 'SupportedParams' => [ + 'description' => 'A list of supported parameters.', + 'type' => 'array', + 'items' => ['description' => 'A supported parameter.', 'type' => 'string', 'example' => 'speechRate', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', + ], + ], + 'title' => '', + 'example' => '', + ], + 'Params' => [ + 'description' => 'A list of dynamic parameters for the error message.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic parameter for the error message.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve voice list', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => ['description' => 'The TTS engine.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'BAILIAN', 'title' => ''], + ], + [ + 'name' => 'NlsAccessType', + 'in' => 'formData', + 'schema' => ['description' => 'The TTS access type.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'MANAGED', 'title' => ''], + ], + [ + 'name' => 'Model', + 'in' => 'formData', + 'schema' => ['description' => 'The TTS model.', 'type' => 'string', 'required' => false, 'example' => 'Qwen', 'title' => ''], + ], + [ + 'name' => 'Voice', + 'in' => 'formData', + 'schema' => ['description' => 'The voice for synthesis.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'Cherry', 'title' => ''], + ], + [ + 'name' => 'Text', + 'in' => 'formData', + 'schema' => ['description' => 'The text to synthesize for the preview.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '你好,很高兴认识你', 'title' => ''], + ], + [ + 'name' => 'Params', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => 'The synthesis parameters.', + 'type' => 'object', + 'properties' => [ + 'SpeechRate' => ['description' => 'The speech rate.'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0', 'title' => ''], + 'Volume' => ['description' => 'The volume.'."\n" + ."\n" + .'> Valid values: 0 to 100.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], + 'PitchRate' => ['description' => 'The pitch rate.'."\n" + ."\n" + .'> Valid values: -500 to 500.', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'ID of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.', 'title' => ''], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The preview audio link.', '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', 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'TTS synthesis audio preview ', + 'summary' => 'Generates a preview of a synthesized voice.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:PreviewVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Publishes a Voice Bot version.', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => 'The version ID.', 'type' => 'string', 'required' => true, 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed'."\n", 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The returned message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C', 'title' => ''], + 'Data' => ['description' => 'The ID of the published version.', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Publish voice bot ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:PublishApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateApplication' => [ + 'summary' => 'Updates a voice bot application.', + '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' => 'The Model Studio workspace ID.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => 'The application ID.', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The new name for the application.', 'type' => 'string', 'required' => true, 'example' => '测试001'."\n", 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'The application\'s new description.', 'type' => 'string', 'required' => false, 'example' => '描述一下这个应用', 'title' => ''], + ], + [ + 'name' => 'Concurrency', + 'in' => 'query', + 'schema' => ['description' => 'The concurrency setting.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '10', 'example' => '10', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The returned data.', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'RequestId' => ['description' => 'The unique request ID used for troubleshooting.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C', 'title' => ''], + 'Data' => ['description' => 'The ID of the updated application.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Modify a voice robot application', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', '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' => 'Modify the scenario version.', + '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' => 'The ID of the Model Studio workspace.', 'type' => 'string', 'required' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'ApplicationId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the application.', 'type' => 'string', 'required' => true, 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + ], + [ + 'name' => 'VersionId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the version.', 'type' => 'string', 'required' => true, 'example' => '20904943-f711-494f-9f1f-e7f340f37707'."\n", 'title' => ''], + ], + [ + 'name' => 'TranscriberConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The Automatic Speech Recognition (ASR) configuration.', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'The ASR invocation method.', + 'type' => 'string', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + 'required' => false, + 'example' => 'MANAGED', + 'title' => '', + ], + 'NlsEngine' => [ + 'description' => 'The ASR engine.', + 'type' => 'string', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + 'required' => false, + 'example' => 'ALIYUN', + 'title' => '', + ], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'VocabularyId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'EndSilenceTimeout' => ['type' => 'integer', 'format' => 'int32', 'default' => '500', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'CustomizationId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'SpeechNoiseThreshold' => ['type' => 'integer', 'format' => 'int32', 'default' => '0', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Model' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'CorrectionRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Replacement' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'SynthesizerConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The Text-to-Speech (TTS) configuration.', + 'type' => 'object', + 'properties' => [ + 'NlsAccessType' => [ + 'description' => 'The TTS invocation method.', + 'type' => 'string', + 'default' => 'MANAGED', + 'enum' => ['MANAGED'], + 'required' => false, + 'example' => 'MANAGED', + 'title' => '', + ], + 'NlsEngine' => [ + 'description' => 'The TTS engine.', + 'type' => 'string', + 'default' => 'ALIYUN', + 'enum' => ['ALIYUN', 'BAILIAN'], + 'required' => false, + 'example' => 'ALIYUN', + 'title' => '', + ], + 'Voice' => ['description' => 'The voice for speech synthesis.', 'type' => 'string', 'required' => false, 'example' => 'aixia', 'title' => ''], + 'SpeechRate' => ['description' => 'The speech rate.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3', 'title' => ''], + 'Volume' => ['description' => 'The volume.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '50', 'title' => ''], + 'PitchRate' => ['description' => 'The pitch.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + 'NlsAccessProfile' => [ + 'type' => 'object', + 'properties' => [ + 'AccessProfileId' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'Model' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'PronRules' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Pattern' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'Replacement' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'ScriptProfile', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The model configuration.', + 'type' => 'object', + 'properties' => [ + 'Model' => ['description' => 'The large language model (LLM) to use.', 'type' => 'string', 'required' => false, 'example' => 'qwen-plus', 'title' => ''], + 'AgentProfile' => [ + 'description' => 'The agent configuration.', + 'type' => 'object', + 'properties' => [ + 'ScriptProfileTemplateId' => ['description' => 'The ID of the profile template.', 'type' => 'string', 'required' => false, 'example' => 'SFM_PROMPTS_DEFAULT', 'title' => ''], + 'PromptsJson' => ['description' => 'The configuration for the agent\'s prompts.', 'type' => 'string', 'required' => false, 'example' => '{"prompts":"我是一个聊天机器人。"}', 'title' => ''], + 'Name' => ['description' => 'The name of the agent.', 'type' => 'string', 'required' => false, 'example' => '语音机器人', 'title' => ''], + 'Description' => ['description' => 'The description of the agent.', 'type' => 'string', 'required' => false, 'example' => '语音机器人', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'InteractionConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => 'The interaction configuration.', + 'type' => 'object', + 'properties' => [ + 'SilenceDetectionConfig' => [ + 'description' => 'The silence detection configuration.', + 'type' => 'object', + 'properties' => [ + 'Timeout' => ['description' => 'The timeout, in milliseconds.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '5000', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'RagConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RagEngine' => [ + 'description' => 'The RAG engine.', + 'type' => 'string', + 'enum' => ['BAILIAN'], + 'required' => false, + 'example' => 'BAILIAN', + 'title' => '', + ], + 'Enabled' => ['description' => 'Specifies whether to enable RAG.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''], + 'KnowledgeBaseIds' => [ + 'type' => 'array', + 'items' => ['description' => 'The ID of the knowledge base.', 'type' => 'string', 'required' => false, 'example' => '3678xghryt', 'title' => ''], + 'description' => 'The IDs of the knowledge bases.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'TopN' => ['description' => 'The number of top search results to retrieve from the knowledge base.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '20', 'minimum' => '1', 'required' => false, 'example' => '5', 'title' => ''], + 'MaxContentLength' => ['description' => 'The maximum character length of the content retrieved by RAG.', 'type' => 'integer', 'format' => 'int32', 'maximum' => '2000', 'minimum' => '1', 'required' => false, 'example' => '2000', 'title' => ''], + ], + 'description' => 'The Retrieval-Augmented Generation (RAG) configuration.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'ToolConfig', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'McpServers' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the MCP server.', 'type' => 'string', 'required' => false, 'example' => 'phone-ai-call', 'title' => ''], + 'BaseUrl' => ['description' => 'The base URL of the MCP server.', 'type' => 'string', 'required' => false, 'example' => 'https://example.com', 'title' => ''], + 'SseEndpoint' => ['description' => 'The endpoint path for Server-Sent Events (SSE).', 'type' => 'string', 'required' => false, 'example' => '/phone-ai-call/mcp/sse?key=value', 'title' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'description' => 'The MCP server configurations.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + 'description' => 'The tool configuration.', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => 'The response code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'successful', 'title' => ''], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'CF6D3484-19A1-5C77-863B-AC8B5754D37C', 'title' => ''], + 'Data' => ['description' => 'The returned data.', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + ], + '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' => 'Modify the voice robot application version', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateCloneVoice' => [ + 'summary' => 'Updates a clone voice.', + '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' => 'The Model Studio business unit ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-3pptowd2olrctsvc', 'title' => ''], + ], + [ + 'name' => 'CloneVoiceId', + 'in' => 'formData', + 'schema' => ['description' => 'The clone voice ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The clone voice name.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '测试克隆音', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.', 'title' => ''], + 'Code' => ['description' => 'The result code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The clone voice ID.', 'type' => 'string', 'example' => '8ee1160a-6999-478f-8df6-f33ef21f27d5', 'title' => ''], + 'Params' => [ + 'description' => 'Parameters that are used to populate the Message field.', + 'type' => 'array', + 'items' => ['description' => 'A parameter value used to populate the Message field.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Update clone voice ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateSubscription' => [ + 'summary' => 'Creates or updates a message queue (MQ) subscription.', + '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' => 'The ID of the Model Studio business space.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'MqType', + 'in' => 'formData', + 'schema' => ['description' => 'The type of the message queue service. Valid values are `ROCKET_MQ_4` and `ROCKET_MQ_5`, which correspond to ApsaraMQ for RocketMQ.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'ROCKET_MQ_4', 'title' => ''], + ], + [ + 'name' => 'EventSubscriptions', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'docRequired' => true, + 'description' => 'A list of events to subscribe to.', + 'type' => 'array', + 'items' => ['description' => 'The event type. Valid values:<br>'."\n" + .'`Established`: A call is connected.<br>'."\n" + .'`Released`: A call ends.<br>'."\n" + .'`RecordingReady`: A recording is available.<br>'."\n" + .'`CdrReady`: A call detail record is generated.<br>'."\n" + .'`LabelReady`: A label is generated.<br><br><br><br><br>', 'type' => 'string', 'required' => false, 'example' => 'Released', 'title' => ''], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + [ + 'name' => 'Endpoint', + 'in' => 'formData', + 'schema' => ['description' => 'The endpoint. This parameter is required if `MqType` is set to `ROCKET_MQ_4` or `ROCKET_MQ_5`.', 'type' => 'string', 'required' => false, 'maxLength' => 128, 'example' => 'rmq-cn-l4p89zajz67.cn-hangzhou.rmq.aliyuncs.com:8080', 'title' => ''], + ], + [ + 'name' => 'Topic', + 'in' => 'formData', + 'schema' => ['description' => 'The topic of the queue. This parameter is required if `MqType` is set to `ROCKET_MQ_4` or `ROCKET_MQ_5`.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'test', 'title' => ''], + ], + [ + 'name' => 'UserName', + 'in' => 'formData', + 'schema' => ['description' => 'The username for authentication. This parameter is required if `MqType` is set to `ROCKET_MQ_5`.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'username', 'title' => ''], + ], + [ + 'name' => 'Password', + 'in' => 'formData', + 'schema' => ['description' => 'The password for authentication. This parameter is required if `MqType` is set to `ROCKET_MQ_5`.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'pwd', 'title' => ''], + ], + [ + 'name' => 'MqInstanceId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the ApsaraMQ for RocketMQ instance. This parameter is required if `MqType` is set to `ROCKET_MQ_5`.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'rmq-cn-l4p89zajz67.cn', 'title' => ''], + ], + [ + 'name' => 'ProducerId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the producer. This parameter is required if `MqType` is set to `ROCKET_MQ_4`.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'user1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response body.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'ID of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The response message. If the request fails, this parameter contains the error message.', 'type' => 'string', 'example' => 'Instance llm-rj6aqmctjcit4acy does not exist.', 'title' => ''], + 'Code' => ['description' => 'The request status code. A value of `OK` indicates that the request was successful.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The returned data, which is the application ID for this operation.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic parameters used in the error message.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic parameter used in the error message.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Update subscription information ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Updates a variable.', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-0rxabdztx7rsdi7n', 'title' => ''], + ], + [ + 'name' => 'VariableId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the variable.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + ], + [ + 'name' => 'DisplayName', + 'in' => 'formData', + 'schema' => ['description' => 'The display name of the variable.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '年龄', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the variable.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '用户当前年龄', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-xdne77rxe14ziszr'."\n" + .' does not exist.', 'title' => ''], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The ID of the updated variable.', 'type' => 'string', 'example' => 'a395011f-a247-400f-bc69-28796749fd52'."\n", 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Update variable ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-c11iig67g863rih8', 'title' => ''], + ], + [ + 'name' => 'VocabularyId', + 'in' => 'formData', + 'schema' => ['description' => 'The ID of the vocabulary.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'd74d6290-7cbe-4436-b5d7-014ebb0f4061', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => 'The name of the vocabulary.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '金融场景热词', 'title' => ''], + ], + [ + 'name' => 'Description', + 'in' => 'formData', + 'schema' => ['description' => 'The description of the vocabulary.', 'type' => 'string', 'required' => false, 'example' => '包含金融场景专业术语', 'title' => ''], + ], + [ + 'name' => 'Words', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'docRequired' => true, + 'description' => 'An object containing the words in the vocabulary and their corresponding weights.', + 'additionalProperties' => ['description' => 'A key-value pair where the key is a word and the value is its weight. The weight influences the recognition probability.', 'type' => 'string', 'example' => '{"苹果":"2","香蕉":"3"}', 'title' => ''], + 'type' => 'object', + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The data returned for the request.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'ID of the request ', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The result message.', 'type' => 'string', 'example' => 'Instance llm-zzu528i29ecnprcl does not exist.', 'title' => ''], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The ID of the vocabulary.', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + 'Params' => [ + 'description' => 'A list of dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-zzu528i29ecnprcl', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Update hotword ', + 'summary' => 'Updates a vocabulary.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Updates a voice access profile.', + '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' => 'The ID of the Model Studio business unit.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + ], + [ + 'name' => 'AccessProfileId', + 'in' => 'formData', + 'schema' => ['description' => 'The access profile ID.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'af81a389-91f0-4157-8d82-720edd02b66b', 'title' => ''], + ], + [ + 'name' => 'NlsEngine', + 'in' => 'formData', + 'schema' => ['description' => 'The voice engine.', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'BAILIAN', 'title' => ''], + ], + [ + 'name' => 'Profile', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'docRequired' => true, + 'description' => 'The parameter configuration.', + 'type' => 'object', + 'properties' => [ + 'AppKey' => ['description' => 'Required when the voice engine is Doubao.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '2541370123', 'title' => ''], + 'AccessKey' => ['description' => 'Required when the voice engine is Doubao.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'HwRnTXgwnQOlsj68URDS5_VMm4Wtapq9', 'title' => ''], + 'AppId' => ['description' => 'Required when the voice engine is iFLYTEK.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '5b123bfb', 'title' => ''], + 'ApiKey' => ['description' => 'Required when the voice engine is Model Studio or iFLYTEK.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'sk-12341e259b1049e8872b47981e545f78', 'title' => ''], + 'ApiSecret' => ['description' => 'Required when the voice engine is iFLYTEK.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => 'c0358c6e51c1013b446fdeb21a3a1234', 'title' => ''], + 'AsrAppKey' => ['description' => 'This parameter is not used.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '暂无使用', 'title' => ''], + 'TtsApiKey' => ['description' => 'This parameter is not used.', 'type' => 'string', 'maxLength' => 64, 'required' => false, 'example' => '暂无使用', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => 'The response body.', + 'title' => 'Schema of Response ', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'ID of the request ', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D771A1B6-3D5F-174A-BEE1-98CE1000D337'], + 'HttpStatusCode' => ['description' => 'The HTTP status code.', 'type' => 'integer', 'format' => 'int32', 'example' => '200', 'title' => ''], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'Instance llm-baployoyopf22m2r does not exist.', 'title' => ''], + 'Code' => ['description' => 'The internal error code.', 'type' => 'string', 'example' => 'OK', 'title' => ''], + 'Data' => ['description' => 'The ID of the voice access profile.', 'type' => 'string', 'example' => '82ea16d1-425c-4c03-9be5-cc91de9779ed', 'title' => ''], + 'Params' => [ + 'description' => 'The dynamic error parameters.', + 'type' => 'array', + 'items' => ['description' => 'A dynamic error parameter.', 'type' => 'string', 'example' => 'llm-xdne77rxe14ziszr', 'title' => ''], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Update third-party voice configuration ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + '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' => 'Alibaba Cloud Model Studio', + 'ramCodes' => ['bailianvoicebot'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListVocabulary', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVocabulary', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteCloneVoice', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GenerateFileUploadParams', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GenerateFileUploadParams', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVoiceAccessProfile', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetDataChannelCredential', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetDataChannelCredential', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PreviewVoice', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:PreviewVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListApplications', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListApplications', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVocabulary', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateApplication', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVariable', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'PublishApplicationVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:PublishApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DisableSubscription', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DisableSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateCloneVoice', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetVocabulary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVoiceAccessProfile', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoices', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoices', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoiceEngines', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoiceEngines', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateApplicationVersion', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateApplication', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListBackgroundMusics', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListBackgroundMusics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListNluModels', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListNluModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVoiceAccessProfile', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetApplication', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCloneVoiceModels', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListCloneVoiceModels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVoiceAccessProfile', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVoiceAccessProfile', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ExportVocabulary', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ExportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateSubscription', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateVariable', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateVariable', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetSubscription', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'bailianvoicebot:GetSubscription', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'BridgeWebCall', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:BridgeWebCall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListVariable', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListVariable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteVocabulary', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ImportVocabulary', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ImportVocabulary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteApplication', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'bailianvoicebot:DeleteApplication', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateApplicationVersion', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'bailianvoicebot:CreateApplicationVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'ListCloneVoice', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'bailianvoicebot:ListCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateCloneVoice', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'bailianvoicebot:UpdateCloneVoice', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'BailianVoiceBot', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [], + ], +]; |
