diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/tingwu/2023-09-30 | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/zh_cn/tingwu/2023-09-30')
| -rw-r--r-- | data/zh_cn/tingwu/2023-09-30/api-docs.php | 1786 |
1 files changed, 718 insertions, 1068 deletions
diff --git a/data/zh_cn/tingwu/2023-09-30/api-docs.php b/data/zh_cn/tingwu/2023-09-30/api-docs.php index 248dc7b..88ddd94 100644 --- a/data/zh_cn/tingwu/2023-09-30/api-docs.php +++ b/data/zh_cn/tingwu/2023-09-30/api-docs.php @@ -1,24 +1,14 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'tingwu', - 'version' => '2023-09-30', - ], + 'info' => ['style' => 'ROA', 'product' => 'tingwu', 'version' => '2023-09-30'], 'directories' => [ 'CreateTask', 'GetTaskInfo', [ - 'id' => 187956, - 'title' => '热词', + 'children' => ['CreateTranscriptionPhrases', 'GetTranscriptionPhrases', 'UpdateTranscriptionPhrases', 'DeleteTranscriptionPhrases', 'ListTranscriptionPhrases'], 'type' => 'directory', - 'children' => [ - 'CreateTranscriptionPhrases', - 'GetTranscriptionPhrases', - 'UpdateTranscriptionPhrases', - 'DeleteTranscriptionPhrases', - 'ListTranscriptionPhrases', - ], + 'title' => '热词', + 'id' => 351091, ], ], 'components' => [ @@ -26,25 +16,16 @@ ], 'apis' => [ 'CreateTask' => [ - 'summary' => '创建听悟任务,包括创建离线转写任务和实时会议任务。', 'path' => '/openapi/tingwu/v2/tasks', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ @@ -52,10 +33,7 @@ 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '196631', - 'abilityTreeNodes' => [ - 'FEATUREnls24C81K', - 'FEATUREnlsO1I14I', - ], + 'abilityTreeNodes' => ['FEATUREnls24C81K', 'FEATUREnlsO1I14I'], ], 'parameters' => [ [ @@ -67,10 +45,7 @@ .'- **realtime**:表示实时任务,比如创建实时记录', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'offline' => 'offline', - 'realtime' => 'realtime', - ], + 'enumValueTitles' => ['offline' => 'offline', 'realtime' => 'realtime'], 'example' => 'offline', ], ], @@ -86,10 +61,7 @@ .'需要注意:在结束实时记录时,务必设置此参数,且设置为stop。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'stop' => 'stop', - 'start' => 'start', - ], + 'enumValueTitles' => ['stop' => 'stop', 'start' => 'start'], 'example' => 'stop', ], ], @@ -102,12 +74,7 @@ 'description' => '请求参数body', 'type' => 'object', 'properties' => [ - 'AppKey' => [ - 'description' => '在管控台创建的项目AppKey。', - 'type' => 'string', - 'required' => false, - 'example' => 'JV1sRTisRMi****', - ], + 'AppKey' => ['description' => '在管控台创建的项目AppKey。', 'type' => 'string', 'required' => false, 'example' => 'JV1sRTisRMi****'], 'Input' => [ 'description' => '创建任务时设置的基本信息参数。注意不同的任务类型所需设置的必选参数并不相同。'."\n" ."\n" @@ -131,29 +98,11 @@ .'- **yue**:粤语', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'ja' => '日语', - 'yue' => '粤语', - 'fspk' => '中英文自由说', - 'en' => '英文', - 'cn' => '中文', - ], + 'enumValueTitles' => ['ja' => '日语', 'yue' => '粤语', 'fspk' => '中英文自由说', 'en' => '英文', 'cn' => '中文'], 'example' => 'cn', ], - 'FileUrl' => [ - 'title' => '创建离线转写任务时,必须填写的原始音频链接,当前支持http或https形式的链接。', - 'description' => '当您创建离线转写任务,设置的原始音视频文件的http(s)链接', - 'type' => 'string', - 'required' => false, - 'example' => 'http://xxx.com/zzz/1.wav', - ], - 'TaskKey' => [ - 'title' => '任务级别的自定义标识,用以区分不同任务,可选。如设置,建议为每一个任务设置不同的标识', - 'description' => '用户设置的自定义标识,用以关联本任务。', - 'type' => 'string', - 'required' => false, - 'example' => 'task_tingwu_123', - ], + 'FileUrl' => ['title' => '创建离线转写任务时,必须填写的原始音频链接,当前支持http或https形式的链接。', 'description' => '当您创建离线转写任务,设置的原始音视频文件的http(s)链接', 'type' => 'string', 'required' => false, 'example' => 'http://xxx.com/zzz/1.wav'], + 'TaskKey' => ['title' => '任务级别的自定义标识,用以区分不同任务,可选。如设置,建议为每一个任务设置不同的标识', 'description' => '用户设置的自定义标识,用以关联本任务。', 'type' => 'string', 'required' => false, 'example' => 'task_tingwu_123'], 'Format' => [ 'title' => '音频流编码格式,支持PCM(无压缩的PCM文件或WAV文件)或OPUS(压缩的OPUS文件)。仅在创建实时会议时必选。', 'description' => '您创建实时会议时,需通过该参数指定音频流数据的编码格式,比如pcm。当前支持以下取值:'."\n" @@ -165,13 +114,7 @@ .'- **mp3**', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'mp3' => 'mp3', - 'aac' => 'aac', - 'speex' => 'speex', - 'pcm' => 'pcm', - 'opus' => 'opus', - ], + 'enumValueTitles' => ['mp3' => 'mp3', 'aac' => 'aac', 'speex' => 'speex', 'pcm' => 'pcm', 'opus' => 'opus'], 'example' => 'pcm', ], 'SampleRate' => [ @@ -183,59 +126,23 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 8000 => '8000', - 16000 => '16000', - ], + 'enumValueTitles' => [8000 => '8000', 16000 => '16000'], 'example' => '16000', - 'enum' => [ - '16000', - '8000', - ], - ], - 'ProgressiveCallbacksEnabled' => [ - 'title' => '是否开启回调功能。当需要开启回调功能时,您需要在控制台配置好回调类型和地址,并在创建任务时将该参数置为true。', - 'description' => '是否开启回调功能。'."\n" - .'当需要开启回调功能时,您需要在控制台配置好回调类型和地址,并在创建任务时将该参数置为true。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'MultipleStreamsEnabled' => [ - 'title' => '是否开启多通道音频流识别。当且仅当在实时记录场景下才需考虑设置,默认为false', - 'description' => '是否开启多通道音频流识别。当且仅当在实时记录场景下才需考虑设置,默认为false', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'TaskId' => [ - 'title' => '您创建实时记录时返回的TaskId,通过此Id,您可以结束实时记录。该参数仅在结束实时记录时设置,其他时候请不要设置。', - 'description' => '您创建实时记录时返回的TaskId,通过此Id,您可以结束实时记录。该参数仅在结束实时记录时设置,其他时候请不要设置。', - 'type' => 'string', - 'required' => false, - 'example' => '9922c84c087044eda18659c128b56c84', - ], - 'OutputPath' => [ - 'title' => '在控制台配置oss信息后,可以通过配置oss写入地址,将结果直接保存到自定义oss内。', - 'type' => 'string', - 'required' => false, + 'enum' => ['16000', '8000'], ], + 'ProgressiveCallbacksEnabled' => ['title' => '是否开启回调功能。当需要开启回调功能时,您需要在控制台配置好回调类型和地址,并在创建任务时将该参数置为true。', 'description' => '是否开启回调功能。'."\n" + .'当需要开启回调功能时,您需要在控制台配置好回调类型和地址,并在创建任务时将该参数置为true。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'MultipleStreamsEnabled' => ['title' => '是否开启多通道音频流识别。当且仅当在实时记录场景下才需考虑设置,默认为false', 'description' => '是否开启多通道音频流识别。当且仅当在实时记录场景下才需考虑设置,默认为false', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'TaskId' => ['title' => '您创建实时记录时返回的TaskId,通过此Id,您可以结束实时记录。该参数仅在结束实时记录时设置,其他时候请不要设置。', 'description' => '您创建实时记录时返回的TaskId,通过此Id,您可以结束实时记录。该参数仅在结束实时记录时设置,其他时候请不要设置。', 'type' => 'string', 'required' => false, 'example' => '9922c84c087044eda18659c128b56c84'], + 'OutputPath' => ['title' => '在控制台配置oss信息后,可以通过配置oss写入地址,将结果直接保存到自定义oss内。', 'type' => 'string', 'required' => false, 'description' => ''], 'LanguageHints' => [ 'title' => '偏好语种,仅当SourceLanguage="multilingual"时生效,限制模型的输出语种。', 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - 'required' => false, - ], - 'AudioChannelMode' => [ - 'title' => '多通道音视频处理模式。', - 'type' => 'string', + 'items' => ['type' => 'string', 'required' => false, 'description' => ''], 'required' => false, + 'description' => '', ], + 'AudioChannelMode' => ['title' => '多通道音视频处理模式。', 'type' => 'string', 'required' => false, 'description' => ''], ], 'required' => false, ], @@ -253,9 +160,7 @@ 'type' => 'string', 'required' => false, 'example' => 'mp3', - 'enum' => [ - 'mp3', - ], + 'enum' => ['mp3'], ], 'TargetVideoFormat' => [ 'title' => '是否将原始视频文件转成mp4格式保存,目前仅支持设置为mp4格式。仅在创建离线文件转写且原始文件为视频格式时设置此参数有意义,通常无须设置。', @@ -263,9 +168,7 @@ 'type' => 'string', 'required' => false, 'example' => 'mp4', - 'enum' => [ - 'mp4', - ], + 'enum' => ['mp4'], ], 'VideoThumbnailEnabled' => [ 'title' => '是否将原始视频文件抽取视频缩略图并保存。仅在创建离线文件转写且原始文件为视频格式时设置此参数有意义,通常无须设置。', @@ -276,14 +179,7 @@ 'example' => 'false', 'default' => 'false', ], - 'SpectrumEnabled' => [ - 'title' => '是否将原始音视频文件或音频流生成音频波形图并保存,目前仅支持设置为mp3格式。在创建离线文件转写或实时会议时可选。', - 'description' => '是否将原始音视频文件或音频流生成音频波形图并保存,目前仅支持设置为mp3格式。在创建离线文件转写或实时会议时可选。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'SpectrumEnabled' => ['title' => '是否将原始音视频文件或音频流生成音频波形图并保存,目前仅支持设置为mp3格式。在创建离线文件转写或实时会议时可选。', 'description' => '是否将原始音视频文件或音频流生成音频波形图并保存,目前仅支持设置为mp3格式。在创建离线文件转写或实时会议时可选。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], ], 'required' => false, ], @@ -292,22 +188,8 @@ 'description' => '语音转写控制参数。', 'type' => 'object', 'properties' => [ - 'AudioEventDetectionEnabled' => [ - 'title' => '是否在语音转写过程中开启声音事件检测,开启后,会生成声音事件检测的结果,比如Music事件等。', - 'description' => '是否在语音转写过程中开启声音事件检测功能,用以判断音频中是否存在比如music等事件。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'DiarizationEnabled' => [ - 'title' => '是否在语音转写过程中开启说话人分离功能', - 'description' => '是否开启说话人分离功能', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'AudioEventDetectionEnabled' => ['title' => '是否在语音转写过程中开启声音事件检测,开启后,会生成声音事件检测的结果,比如Music事件等。', 'description' => '是否在语音转写过程中开启声音事件检测功能,用以判断音频中是否存在比如music等事件。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'DiarizationEnabled' => ['title' => '是否在语音转写过程中开启说话人分离功能', 'description' => '是否开启说话人分离功能', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], 'Diarization' => [ 'description' => '说话人分离功能参数', 'type' => 'object', @@ -327,10 +209,7 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - '0', - 2 => '2', - ], + 'enumValueTitles' => ['0', 2 => '2'], 'example' => '2', ], ], @@ -346,10 +225,7 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 1 => '识别出完整句子时返回识别结果', - '识别出中间结果及完整句子时返回识别结果', - ], + 'enumValueTitles' => [1 => '识别出完整句子时返回识别结果', '识别出中间结果及完整句子时返回识别结果'], 'example' => '2', 'default' => '1', ], @@ -365,34 +241,14 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 1 => '识别出完整句子时返回识别结果', - '识别出中间结果及完整句子时返回识别结果', - ], + 'enumValueTitles' => [1 => '识别出完整句子时返回识别结果', '识别出中间结果及完整句子时返回识别结果'], 'example' => '1', 'default' => '1', ], - 'PhraseId' => [ - 'title' => '热词ID', - 'description' => '热词的词表ID', - 'type' => 'string', - 'required' => false, - 'example' => 'ce9c2a34b6d847bf92a77d0a196f****', - ], - 'Model' => [ - 'title' => '设置语音转写模型,提升特定领域转写效果。', - 'type' => 'string', - 'required' => false, - ], - 'RealtimeDiarizationEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'ProfanityFilterEnabled' => [ - 'title' => '是否启用语音转写过程中的敏感词过滤功能,默认开启', - 'type' => 'boolean', - 'required' => false, - ], + 'PhraseId' => ['title' => '热词ID', 'description' => '热词的词表ID', 'type' => 'string', 'required' => false, 'example' => 'ce9c2a34b6d847bf92a77d0a196f****'], + 'Model' => ['title' => '设置语音转写模型,提升特定领域转写效果。', 'type' => 'string', 'required' => false, 'description' => ''], + 'RealtimeDiarizationEnabled' => ['type' => 'boolean', 'required' => false, 'description' => ''], + 'ProfanityFilterEnabled' => ['title' => '是否启用语音转写过程中的敏感词过滤功能,默认开启', 'type' => 'boolean', 'required' => false, 'description' => ''], ], 'required' => false, ], @@ -413,11 +269,7 @@ .'- **ja**:日文', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'ja' => '日语', - 'en' => '英语', - 'cn' => '中文', - ], + 'enumValueTitles' => ['ja' => '日语', 'en' => '英语', 'cn' => '中文'], 'example' => 'en', ], 'required' => false, @@ -433,10 +285,7 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 1 => '1', - '2', - ], + 'enumValueTitles' => [1 => '1', '2'], 'example' => '2', 'default' => '1', ], @@ -451,40 +300,16 @@ 'type' => 'integer', 'format' => 'int32', 'required' => false, - 'enumValueTitles' => [ - 1 => '识别出完整句子时返回识别结果', - '识别出中间结果及完整句子时返回识别结果', - ], + 'enumValueTitles' => [1 => '识别出完整句子时返回识别结果', '识别出中间结果及完整句子时返回识别结果'], 'example' => '1', 'default' => '1', ], ], 'required' => false, ], - 'TranslationEnabled' => [ - 'title' => '是否将语音识别内容开启翻译功能。如需翻译,此时设置为true', - 'description' => '是否启用翻译功能。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'AutoChaptersEnabled' => [ - 'title' => '是否启用章节速览功能,开启后会生成章节标题和章节摘要结果。', - 'description' => '是否启用章节速览功能,开启后会生成章节标题和章节摘要结果。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], - 'MeetingAssistanceEnabled' => [ - 'title' => '是否启用智能纪要功能,开启后会生成关键词、重点内容、待办等结果(依赖传入的参数类型)。', - 'description' => '是否启用智能纪要功能,开启后会生成关键词、重点内容、待办等结果。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'TranslationEnabled' => ['title' => '是否将语音识别内容开启翻译功能。如需翻译,此时设置为true', 'description' => '是否启用翻译功能。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'AutoChaptersEnabled' => ['title' => '是否启用章节速览功能,开启后会生成章节标题和章节摘要结果。', 'description' => '是否启用章节速览功能,开启后会生成章节标题和章节摘要结果。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'], + 'MeetingAssistanceEnabled' => ['title' => '是否启用智能纪要功能,开启后会生成关键词、重点内容、待办等结果(依赖传入的参数类型)。', 'description' => '是否启用智能纪要功能,开启后会生成关键词、重点内容、待办等结果。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], 'MeetingAssistance' => [ 'title' => '智能纪要功能控制参数,支持待办事项、关键词、重点内容的算法处理。 若您启用MeetingAssistanceEnabled但未通过MeetingAssistance设置算法类型,则默认都进行调用和返回。', 'description' => '智能纪要功能控制参数,支持待办事项、关键词、重点内容的算法处理。 若您启用MeetingAssistanceEnabled但未通过MeetingAssistance设置算法类型,则默认都进行调用和返回。', @@ -500,10 +325,7 @@ .'- **KeyInformation**:关键信息处理,含关键词、重点内容等', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Actions' => '待办事项', - 'KeyInformation' => '关键信息(含关键词和重点内容)', - ], + 'enumValueTitles' => ['Actions' => '待办事项', 'KeyInformation' => '关键信息(含关键词和重点内容)'], 'example' => 'Actions', ], 'required' => false, @@ -512,14 +334,7 @@ ], 'required' => false, ], - 'SummarizationEnabled' => [ - 'title' => '是否启用摘要功能,开启后会可以生成全文摘要、发言人总结等结果(依赖传入的摘要类型)。', - 'description' => '是否启用摘要功能,开启后会可以生成全文摘要、发言人总结等结果', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'SummarizationEnabled' => ['title' => '是否启用摘要功能,开启后会可以生成全文摘要、发言人总结等结果(依赖传入的摘要类型)。', 'description' => '是否启用摘要功能,开启后会可以生成全文摘要、发言人总结等结果', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], 'Summarization' => [ 'title' => '摘要功能控制参数', 'description' => '摘要功能控制参数。', @@ -537,94 +352,46 @@ .'- **QuestionsAnswering**:问答回顾摘要', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Conversational' => '发言人总结摘要', - 'QuestionsAnswering' => '问答回顾摘要', - 'Paragraph' => '全文摘要', - ], + 'enumValueTitles' => ['Conversational' => '发言人总结摘要', 'QuestionsAnswering' => '问答回顾摘要', 'Paragraph' => '全文摘要'], 'example' => 'Paragraph', ], 'required' => false, - 'enumValueTitles' => [ - 'Conversational' => '发言人总结摘要', - 'QuestionsAnswering' => '问答回顾', - 'Paragraph' => '全文摘要', - ], + 'enumValueTitles' => ['Conversational' => '发言人总结摘要', 'QuestionsAnswering' => '问答回顾', 'Paragraph' => '全文摘要'], 'example' => 'Paragraph', ], ], 'required' => false, ], - 'PptExtractionEnabled' => [ - 'title' => '是否启用PPT抽取和PPT总结功能,开启后会对视频文件中的PPT进行画面抽取,并形成对应的总结', - 'description' => '是否启用PPT抽取和PPT总结功能,开启后会对视频文件中的PPT进行画面抽取,并形成对应的总结。 该参数建议仅在离线转写且源文件是视频文件时开启。在实时记录场景及离线转写但源文件仅是音频输入场景下无法生成结果。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'TextPolishEnabled' => [ - 'title' => '是否启用口语书面化,开启后会对音频转写结果进行润色,输出更为规范的文本结果', - 'description' => '是否启用口语书面化功能。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'ServiceInspectionEnabled' => [ - 'title' => '服务质检功能开关,默认为false。', - 'type' => 'boolean', - 'required' => false, - ], + 'PptExtractionEnabled' => ['title' => '是否启用PPT抽取和PPT总结功能,开启后会对视频文件中的PPT进行画面抽取,并形成对应的总结', 'description' => '是否启用PPT抽取和PPT总结功能,开启后会对视频文件中的PPT进行画面抽取,并形成对应的总结。 该参数建议仅在离线转写且源文件是视频文件时开启。在实时记录场景及离线转写但源文件仅是音频输入场景下无法生成结果。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'TextPolishEnabled' => ['title' => '是否启用口语书面化,开启后会对音频转写结果进行润色,输出更为规范的文本结果', 'description' => '是否启用口语书面化功能。', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'ServiceInspectionEnabled' => ['title' => '服务质检功能开关,默认为false。', 'type' => 'boolean', 'required' => false, 'description' => ''], 'ServiceInspection' => [ 'title' => '服务质检参数对象。', 'type' => 'object', 'properties' => [ - 'SceneIntroduction' => [ - 'title' => '服务质检的对话场景描述。', - 'type' => 'string', - 'required' => false, - ], - 'InspectionIntroduction' => [ - 'title' => '服务质检的检测目标和侧重点描述。', - 'type' => 'string', - 'required' => false, - ], + 'SceneIntroduction' => ['title' => '服务质检的对话场景描述。', 'type' => 'string', 'required' => false, 'description' => ''], + 'InspectionIntroduction' => ['title' => '服务质检的检测目标和侧重点描述。', 'type' => 'string', 'required' => false, 'description' => ''], 'InspectionContents' => [ 'title' => '服务质检的质检维度列表,包含质检维度名称和定义,即需要大模型以什么样的标准判断该维度是否命中。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Title' => [ - 'title' => '服务质检的质检维度名称。', - 'type' => 'string', - 'required' => false, - ], - 'Content' => [ - 'title' => '服务质检的质检维度定义。', - 'type' => 'string', - 'required' => false, - ], + 'Title' => ['title' => '服务质检的质检维度名称。', 'type' => 'string', 'required' => false, 'description' => ''], + 'Content' => ['title' => '服务质检的质检维度定义。', 'type' => 'string', 'required' => false, 'description' => ''], ], 'required' => false, + 'description' => '', ], 'required' => false, + 'description' => '', ], - 'SpeakerMap' => [ - 'type' => 'object', - 'required' => false, - ], + 'SpeakerMap' => ['type' => 'object', 'required' => false, 'description' => ''], ], 'required' => false, + 'description' => '', ], - 'CustomPromptEnabled' => [ - 'title' => '是否启用自定义Prompt,开启后可以输入个性化定制Prompt。', - 'description' => '是否启用自定义Prompt功能。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - ], + 'CustomPromptEnabled' => ['title' => '是否启用自定义Prompt,开启后可以输入个性化定制Prompt。', 'description' => '是否启用自定义Prompt功能。', 'type' => 'boolean', 'required' => false, 'example' => 'false'], 'CustomPrompt' => [ 'title' => '自定义Prompt的主要参数。', 'description' => '自定义Prompt控制参数对象。', @@ -638,34 +405,10 @@ 'description' => '占位符', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'Prompt的自定义名称,用于匹配输出结果。', - 'description' => 'Prompt的自定义名称,用于匹配输出结果。', - 'type' => 'string', - 'required' => true, - 'example' => 'summary-demo', - ], - 'Prompt' => [ - 'title' => 'Prompt的自定义内容。', - 'description' => 'Prompt的自定义内容。', - 'type' => 'string', - 'required' => true, - 'example' => '总结一下下面的对话内容:{Transcription}', - ], - 'Model' => [ - 'title' => '指定Prompt的模型。', - 'description' => '指定Prompt的模型。', - 'type' => 'string', - 'required' => false, - 'example' => 'tingwu-turbo', - ], - 'TransType' => [ - 'title' => '指定{Transcription}标签格式。', - 'description' => '指定{Transcription}标签格式。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], + 'Name' => ['title' => 'Prompt的自定义名称,用于匹配输出结果。', 'description' => 'Prompt的自定义名称,用于匹配输出结果。', 'type' => 'string', 'required' => true, 'example' => 'summary-demo'], + 'Prompt' => ['title' => 'Prompt的自定义内容。', 'description' => 'Prompt的自定义内容。', 'type' => 'string', 'required' => true, 'example' => '总结一下下面的对话内容:{Transcription}'], + 'Model' => ['title' => '指定Prompt的模型。', 'description' => '指定Prompt的模型。', 'type' => 'string', 'required' => false, 'example' => 'tingwu-turbo'], + 'TransType' => ['title' => '指定{Transcription}标签格式。', 'description' => '指定{Transcription}标签格式。', 'type' => 'string', 'required' => false, 'example' => 'default'], ], 'required' => false, ], @@ -679,140 +422,84 @@ 'description' => '扩展参数,通常情况无须设置。', 'type' => 'object', 'properties' => [ - 'NfixEnabled' => [ - 'title' => '是否启用Nfix。通常情况无须设置。', - 'description' => '是否启用nfix,通常情况无须设置。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - 'MaxKeywords' => [ - 'title' => '指定关键词的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'DomainEducationEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'OcrAuxiliaryEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'TranslateLlmSceneEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'FullTextSummaryFormat' => [ - 'title' => '全文摘要返回格式', - 'type' => 'string', - 'required' => false, + 'NfixEnabled' => ['title' => '是否启用Nfix。通常情况无须设置。', 'description' => '是否启用nfix,通常情况无须设置。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'MaxKeywords' => ['title' => '指定关键词的数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''], + 'DomainEducationEnabled' => ['type' => 'boolean', 'required' => false, 'description' => ''], + 'OcrAuxiliaryEnabled' => ['type' => 'boolean', 'required' => false, 'description' => ''], + 'TranslateLlmSceneEnabled' => ['type' => 'boolean', 'required' => false, 'description' => ''], + 'FullTextSummaryFormat' => ['title' => '全文摘要返回格式', 'type' => 'string', 'required' => false, 'description' => ''], + 'TranslationHotwordMap' => [ + 'type' => 'object', + 'properties' => [ + 'bizUserId' => ['type' => 'string'], + 'bizType' => ['type' => 'string'], + ], ], ], 'required' => false, ], - 'ContentExtractionEnabled' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'ContentExtractionEnabled' => ['type' => 'boolean', 'required' => false, 'description' => ''], 'ContentExtraction' => [ 'title' => '对话内容提取参数对象。', 'type' => 'object', 'properties' => [ - 'SceneIntroduction' => [ - 'title' => '对话内容提取的场景描述。', - 'type' => 'string', - 'required' => false, - ], + 'SceneIntroduction' => ['title' => '对话内容提取的场景描述。', 'type' => 'string', 'required' => false, 'description' => ''], 'ExtractionContents' => [ 'title' => '对话内容提取的提取维度列表,包含提取项的名称和定义。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Title' => [ - 'title' => '对话内容提取的提取维度名称。', - 'type' => 'string', - 'required' => false, - ], - 'Content' => [ - 'title' => '对话内容提取的维度定义。', - 'type' => 'string', - 'required' => false, - ], - 'Identity' => [ - 'type' => 'string', - 'required' => false, - ], + 'Title' => ['title' => '对话内容提取的提取维度名称。', 'type' => 'string', 'required' => false, 'description' => ''], + 'Content' => ['title' => '对话内容提取的维度定义。', 'type' => 'string', 'required' => false, 'description' => ''], + 'Identity' => ['type' => 'string', 'required' => false, 'description' => ''], ], 'required' => false, + 'description' => '', ], 'required' => false, + 'description' => '', ], - 'SpeakerMap' => [ - 'type' => 'object', - 'required' => false, - ], + 'SpeakerMap' => ['type' => 'object', 'required' => false, 'description' => ''], ], 'required' => false, + 'description' => '', ], - 'IdentityRecognitionEnabled' => [ - 'title' => '身份识别开关。', - 'type' => 'boolean', - 'required' => false, - ], + 'IdentityRecognitionEnabled' => ['title' => '身份识别开关。', 'type' => 'boolean', 'required' => false, 'description' => ''], 'IdentityRecognition' => [ 'title' => '身份识别参数对象。', 'type' => 'object', 'properties' => [ - 'SceneIntroduction' => [ - 'title' => '身份识别的场景描述。', - 'type' => 'string', - 'required' => false, - ], + 'SceneIntroduction' => ['title' => '身份识别的场景描述。', 'type' => 'string', 'required' => false, 'description' => ''], 'IdentityContents' => [ 'title' => '身份识别的内容列表,包含身份名称和描述。', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '身份名称。', - 'type' => 'string', - 'required' => false, - ], - 'Description' => [ - 'title' => '身份描述。', - 'type' => 'string', - 'required' => false, - ], + 'Name' => ['title' => '身份名称。', 'type' => 'string', 'required' => false, 'description' => ''], + 'Description' => ['title' => '身份描述。', 'type' => 'string', 'required' => false, 'description' => ''], ], 'required' => false, + 'description' => '', ], 'required' => false, + 'description' => '', ], ], 'required' => false, + 'description' => '', ], 'AutoChapters' => [ 'type' => 'object', 'properties' => [ - 'ChapterGranularity' => [ - 'type' => 'string', - 'required' => false, - ], + 'ChapterGranularity' => ['type' => 'string', 'required' => false, 'description' => ''], ], 'required' => false, + 'description' => '', ], - 'Model' => [ - 'type' => 'string', - 'required' => false, - ], - 'LlmOutputLanguage' => [ - 'type' => 'string', - 'required' => false, - ], + 'Model' => ['type' => 'string', 'required' => false, 'description' => ''], + 'LlmOutputLanguage' => ['type' => 'string', 'required' => false, 'description' => ''], ], 'required' => false, ], @@ -828,294 +515,88 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID,仅用于联调。', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'description' => '状态说明。', - 'type' => 'string', - 'example' => 'Success.', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID,仅用于联调。', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '0'], + 'Message' => ['description' => '状态说明。', 'type' => 'string', 'example' => 'Success.'], 'Data' => [ 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => '任务id', - 'type' => 'string', - 'example' => 'c5394c6ee0fb474899d42215a3925c7e', - ], - 'TaskKey' => [ - 'description' => '用户创建任务时设置的自定义标识。', - 'type' => 'string', - 'example' => 'task_tingwu_123', - ], - 'MeetingJoinUrl' => [ - 'title' => '实时记录场景下生成的音频流推送地址,您可以在后续实时音频流识别时通过该地址进行', - 'description' => '实时记录场景下生成的音频流推送地址,您可以在后续实时音频流识别时通过该地址进行', - 'type' => 'string', - 'example' => 'wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****', - ], - 'TaskStatus' => [ - 'title' => '任务状态', - 'description' => '任务状态', - 'type' => 'string', - 'example' => 'ONGOING', - ], + 'TaskId' => ['description' => '任务id', 'type' => 'string', 'example' => 'c5394c6ee0fb474899d42215a3925c7e'], + 'TaskKey' => ['description' => '用户创建任务时设置的自定义标识。', 'type' => 'string', 'example' => 'task_tingwu_123'], + 'MeetingJoinUrl' => ['title' => '实时记录场景下生成的音频流推送地址,您可以在后续实时音频流识别时通过该地址进行', 'description' => '实时记录场景下生成的音频流推送地址,您可以在后续实时音频流识别时通过该地址进行', 'type' => 'string', 'example' => 'wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****'], + 'TaskStatus' => ['title' => '任务状态', 'description' => '任务状态', 'type' => 'string', 'example' => 'ONGOING'], ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"c5394c6ee0fb474899d42215a3925c7e\\",\\n \\"TaskKey\\": \\"task_tingwu_123\\",\\n \\"MeetingJoinUrl\\": \\"wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****\\",\\n \\"TaskStatus\\": \\"ONGOING\\"\\n }\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '创建听悟任务', - ], - 'GetTaskInfo' => [ - 'summary' => '查询任务状态和任务结果。', - 'path' => '/openapi/tingwu/v2/tasks/{TaskId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'produces' => [ - 'application/json', + 'summary' => '创建听悟任务,包括创建离线转写任务和实时会议任务。', + 'changeSet' => [ + ['createdAt' => '2025-09-12T05:20:21.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-09-12T04:07:33.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-04-02T03:52:47.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-03-31T09:57:32.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-02-27T08:59:22.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-02-05T03:00:34.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-22T03:15:40.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-10T04:56:31.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-07-29T07:00:18.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-06-21T05:43:51.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-06-14T05:07:11.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-05-21T11:33:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-05-20T08:44:15.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-05-17T07:13:56.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-05-15T03:05:45.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-03-18T08:42:15.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-03-18T05:49:57.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-03-15T07:24:48.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-03-12T01:36:52.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-01-08T06:20:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-12-19T10:53:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-12-18T13:17:42.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-12-11T06:35:36.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-11-20T08:13:44.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-11-16T03:05:21.000Z', 'description' => '请求参数发生变更'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREnls24C81K', - 'FEATUREnlsO1I14I', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'], ], ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'title' => '创建任务时生成的TaskId', - 'description' => '创建任务时返回的TaskId。', - 'type' => 'string', - 'required' => true, - 'example' => 'c5394c6ee0fb474899d42215a3925c7e', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID,仅用于联调。', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'description' => '状态说明。', - 'type' => 'string', - 'example' => 'Success.', - ], - 'Data' => [ - 'description' => '返回对象。', - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'c5394c6ee0fb474899d42215a3925c7e', - ], - 'TaskKey' => [ - 'title' => '该任务由用户自定义的TaskKey, 此处原样返回。', - 'description' => '用户创建任务时设置的自定义标识。', - 'type' => 'string', - 'example' => 'task_tingwu_123', - ], - 'TaskStatus' => [ - 'title' => '任务状态', - 'description' => '任务状态。 '."\n" - ."\n" - .'- ONGOING:任务进行中。 '."\n" - .'- COMPLETED:任务完成。 '."\n" - .'- FAILED:任务失败 '."\n" - .'- INVALID:无效任务。', - 'type' => 'string', - 'example' => 'COMPLETED', - ], - 'OutputMp3Path' => [ - 'title' => 'mp3转换结果的url链接', - 'description' => 'mp3转换结果的url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp3?Expires=1706064016', - ], - 'OutputMp4Path' => [ - 'title' => 'mp4转换结果的url链接', - 'description' => 'mp4转换结果的url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp4?Expires=1706064016', - ], - 'OutputThumbnailPath' => [ - 'title' => '视频缩略图的url链接', - 'description' => '视频缩略图的url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.png?Expires=1706064016', - ], - 'OutputSpectrumPath' => [ - 'title' => '音频波形图的url链接', - 'description' => '音频波形图的url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.spectrum?Expires=1706064016', - ], - 'ErrorCode' => [ - 'title' => '错误码', - 'description' => '错误码', - 'type' => 'string', - 'example' => 'TSC.AudioFormat', - ], - 'ErrorMessage' => [ - 'title' => '错误信息', - 'description' => '错误信息', - 'type' => 'string', - 'example' => 'Audio format invalid.', - ], - 'Result' => [ - 'title' => '各类算法处理的结果集合。该结果以http链接的形式返回,用户可基于该链接解析原生结果。', - 'description' => '各类算法处理的结果集合。该结果以http链接的形式返回,用户可基于该链接解析原生结果。', - 'type' => 'object', - 'properties' => [ - 'Transcription' => [ - 'title' => '语音转写对应的结果url链接。', - 'description' => '语音转写对应的结果url链接。', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Transcription_20231222101008.json?Expires=1706064016', - ], - 'AutoChapters' => [ - 'title' => '章节速览功能对应的结果url链接。', - 'description' => '章节速览功能对应的结果url链接。', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_AutoChapters_20231222101215.json?Expires=1706064016', - ], - 'MeetingAssistance' => [ - 'title' => '智能纪要对应的结果url链接', - 'description' => '智能纪要对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_MeetingAssistance_20231222101112.json?Expires=1706064016', - ], - 'Summarization' => [ - 'title' => '大模型摘要对应的结果url链接。', - 'description' => '大模型摘要对应的结果url链接。', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Summarization_20231222101215.json?Expires=1706064016', - ], - 'Translation' => [ - 'title' => '文本翻译对应的结果url链接', - 'description' => '文本翻译对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Translation_20231222101215.json?Expires=1706064016', - ], - 'PptExtraction' => [ - 'title' => '视频PPT抽取和总结对应的结果url链接', - 'description' => '视频PPT抽取和总结对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_PptExtraction_20231222101215.json?Expires=1706064016', - ], - 'TextPolish' => [ - 'title' => '口语书面化对应的结果url链接', - 'description' => '口语书面化对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_TextPolish_20231222101215.json?Expires=1706064016', - ], - 'CustomPrompt' => [ - 'title' => '自定义prompt对应的结果url链接', - 'description' => '自定义prompt对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ CustomPrompt_20231222101215.json?Expires=1706064016', - ], - 'ServiceInspection' => [ - 'title' => '服务质检对应的结果url链接', - 'description' => '服务质检对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ServiceInspection_20231222101215.json?Expires=1706064016', - ], - 'IdentityRecognition' => [ - 'description' => '身份识别对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ IdentityRecognition_20231222101215.json?Expires=1706064016', - ], - 'ContentExtraction' => [ - 'description' => '对话内容提取对应的结果url链接', - 'type' => 'string', - 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ContentExtraction_20231222101215.json?Expires=1706064016', - ], - ], - ], - ], - ], + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"c5394c6ee0fb474899d42215a3925c7e\\",\\n \\"TaskKey\\": \\"task_tingwu_123\\",\\n \\"TaskStatus\\": \\"COMPLETED\\",\\n \\"OutputMp3Path\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp3?Expires=1706064016\\",\\n \\"OutputMp4Path\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp4?Expires=1706064016\\",\\n \\"OutputThumbnailPath\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.png?Expires=1706064016\\",\\n \\"OutputSpectrumPath\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.spectrum?Expires=1706064016\\",\\n \\"ErrorCode\\": \\"TSC.AudioFormat\\",\\n \\"ErrorMessage\\": \\"Audio format invalid.\\",\\n \\"Result\\": {\\n \\"Transcription\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Transcription_20231222101008.json?Expires=1706064016\\",\\n \\"AutoChapters\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_AutoChapters_20231222101215.json?Expires=1706064016\\",\\n \\"MeetingAssistance\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_MeetingAssistance_20231222101112.json?Expires=1706064016\\",\\n \\"Summarization\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Summarization_20231222101215.json?Expires=1706064016\\",\\n \\"Translation\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Translation_20231222101215.json?Expires=1706064016\\",\\n \\"PptExtraction\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_PptExtraction_20231222101215.json?Expires=1706064016\\",\\n \\"TextPolish\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_TextPolish_20231222101215.json?Expires=1706064016\\",\\n \\"CustomPrompt\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ CustomPrompt_20231222101215.json?Expires=1706064016\\",\\n \\"ServiceInspection\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ServiceInspection_20231222101215.json?Expires=1706064016\\",\\n \\"IdentityRecognition\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ IdentityRecognition_20231222101215.json?Expires=1706064016\\",\\n \\"ContentExtraction\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ContentExtraction_20231222101215.json?Expires=1706064016\\"\\n }\\n }\\n}","type":"json"}]', - 'title' => '查询任务状态和任务结果', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"c5394c6ee0fb474899d42215a3925c7e\\",\\n \\"TaskKey\\": \\"task_tingwu_123\\",\\n \\"MeetingJoinUrl\\": \\"wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****\\",\\n \\"TaskStatus\\": \\"ONGOING\\"\\n }\\n}","type":"json"}]', ], 'CreateTranscriptionPhrases' => [ 'summary' => '创建热词词表。', 'path' => '/openapi/tingwu/v2/resources/phrases', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'body', @@ -1126,31 +607,9 @@ 'description' => '请求参数body', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '词表名称。', - 'description' => '词表名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'fruit_phrase', - 'maxLength' => 50, - 'minLength' => 1, - ], - 'Description' => [ - 'title' => '词表描述信息。', - 'description' => '词表描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom fruit phrases list', - 'maxLength' => 250, - 'minLength' => 1, - ], - 'WordWeights' => [ - 'title' => '词表里的词和对应的权重,为JSON的Map格式字符串。', - 'description' => '词表里的词和对应的权重,为JSON的Map格式字符串。', - 'type' => 'string', - 'required' => true, - 'example' => '{"苹果":3,"西瓜":3}', - ], + 'Name' => ['title' => '词表名称。', 'description' => '词表名称。', 'type' => 'string', 'required' => true, 'example' => 'fruit_phrase', 'maxLength' => 50, 'minLength' => 1], + 'Description' => ['title' => '词表描述信息。', 'description' => '词表描述信息。', 'type' => 'string', 'required' => false, 'example' => 'custom fruit phrases list', 'maxLength' => 250, 'minLength' => 1], + 'WordWeights' => ['title' => '词表里的词和对应的权重,为JSON的Map格式字符串。', 'description' => '词表里的词和对应的权重,为JSON的Map格式字符串。', 'type' => 'string', 'required' => true, 'example' => '{"苹果":3,"西瓜":3}'], ], 'required' => false, ], @@ -1163,99 +622,70 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'description' => '状态说明。', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '0'], + 'Message' => ['description' => '状态说明。', 'type' => 'string', 'example' => 'success'], 'Data' => [ 'title' => '返回对象。', 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。', - 'description' => '操作是否成功。', - 'type' => 'string', - 'example' => 'SUCCEEDED', - ], - 'PhraseId' => [ - 'title' => '词表ID。', - 'description' => '词表ID。', - 'type' => 'string', - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'success', - ], + 'Status' => ['title' => '操作是否成功。', 'description' => '操作是否成功。', 'type' => 'string', 'example' => 'SUCCEEDED'], + 'PhraseId' => ['title' => '词表ID。', 'description' => '词表ID。', 'type' => 'string', 'example' => 'a93b91141c0f422fa114af203f8b****'], + 'ErrorCode' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => '0'], + 'ErrorMessage' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string', 'example' => 'success'], ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"PhraseId\\": \\"a93b91141c0f422fa114af203f8b****\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\"\\n }\\n}","type":"json"}]', 'title' => '创建热词词表', - ], - 'GetTranscriptionPhrases' => [ - 'summary' => '查询热词词表信息。', - 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', - 'methods' => [ - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteTranscriptionPhrases' => [ + 'summary' => '删除词表。', + 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', + 'methods' => ['delete'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREnls24C81K', 'FEATUREnlsO1I14I'], ], 'parameters' => [ [ 'name' => 'PhraseId', 'in' => 'path', - 'schema' => [ - 'title' => '词表ID。', - 'description' => '词表ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], + 'schema' => ['title' => '词表ID。', 'description' => '词表ID。', 'type' => 'string', 'required' => true, 'example' => 'a93b91141c0f422fa114af203f8b****'], ], ], 'responses' => [ @@ -1265,163 +695,69 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'description' => '状态说明。', - 'type' => 'string', - 'example' => 'success', - ], + 'Status' => ['title' => '操作是否成功。(暂不使用)', 'description' => '操作是否成功。', 'type' => 'string', 'example' => 'SUCCEEDED'], + 'ErrorCode' => ['title' => '错误码。(暂不使用)', 'description' => '错误码。', 'type' => 'string', 'example' => '0'], + 'ErrorMessage' => ['title' => '错误信息。(暂不使用)', 'description' => '错误信息。', 'type' => 'string', 'example' => 'success'], 'Data' => [ - 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。', - 'description' => '操作是否成功。', - 'type' => 'string', - 'example' => 'SUCCEEDED', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'success', - ], - 'Phrases' => [ - 'description' => '热词对象,', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'PhraseId' => [ - 'title' => '词表ID。', - 'description' => '词表ID。', - 'type' => 'string', - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], - 'Name' => [ - 'title' => '词表名称。', - 'description' => '词表名称。', - 'type' => 'string', - 'example' => 'fruit_phrase', - ], - 'Description' => [ - 'title' => '词表描述信息。', - 'description' => '词表描述信息。', - 'type' => 'string', - 'example' => 'custom fruit phrases list', - ], - 'WordWeights' => [ - 'title' => '词表里的词和对应的权重,为JSON的Map格式字符串。', - 'description' => '词表里的词和对应的权重,为JSON的Map格式字符串。', - 'type' => 'string', - 'example' => '{"苹果":3,"西瓜":3}', - ], - ], - ], - ], + 'Status' => ['title' => '操作是否成功。', 'description' => '操作是否成功。', 'type' => 'string'], + 'ErrorCode' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string'], + 'ErrorMessage' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string'], ], + 'description' => '', ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"\\",\\n \\"ErrorCode\\": \\"\\",\\n \\"ErrorMessage\\": \\"\\"\\n }\\n}","type":"json"}]', + 'title' => '删除热词词表', + 'changeSet' => [ + ['createdAt' => '2025-03-12T02:26:22.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Phrases\\": [\\n {\\n \\"PhraseId\\": \\"a93b91141c0f422fa114af203f8b****\\",\\n \\"Name\\": \\"fruit_phrase\\",\\n \\"Description\\": \\"custom fruit phrases list\\",\\n \\"WordWeights\\": \\"{\\\\\\"苹果\\\\\\":3,\\\\\\"西瓜\\\\\\":3}\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '查询热词词表', - ], - 'UpdateTranscriptionPhrases' => [ - 'summary' => '更新热词词表。', - 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', - 'methods' => [ - 'put', + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:DeleteTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetTaskInfo' => [ + 'summary' => '查询任务状态和任务结果。', + 'path' => '/openapi/tingwu/v2/tasks/{TaskId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREnls24C81K', 'FEATUREnlsO1I14I'], ], 'parameters' => [ [ - 'name' => 'PhraseId', + 'name' => 'TaskId', 'in' => 'path', - 'schema' => [ - 'title' => '词表ID。', - 'description' => '词表ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'title' => '请求参数body', - 'description' => '请求参数body', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '词表名称。', - 'description' => '词表名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'fruit_phrase', - 'maxLength' => 50, - 'minLength' => 1, - ], - 'Description' => [ - 'title' => '词表描述信息。', - 'description' => '词表描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'custom fruit phrases list', - 'maxLength' => 250, - 'minLength' => 1, - ], - 'WordWeights' => [ - 'title' => '词表里的词和对应的权重,为JSON的Map格式字符串。', - 'description' => '词表里的词和对应的权重,为JSON的Map格式字符串。', - 'type' => 'string', - 'required' => true, - 'example' => '{"苹果":3,"西瓜":3}', - ], - ], - 'required' => false, - ], + 'schema' => ['title' => '创建任务时生成的TaskId', 'description' => '创建任务时返回的TaskId。', 'type' => 'string', 'required' => true, 'example' => 'c5394c6ee0fb474899d42215a3925c7e'], ], ], 'responses' => [ @@ -1431,43 +767,44 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'description' => '状态说明。', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID,仅用于联调。', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '0'], + 'Message' => ['description' => '状态说明。', 'type' => 'string', 'example' => 'Success.'], 'Data' => [ 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。', - 'description' => '操作是否成功。', - 'type' => 'string', - 'example' => 'SUCCEEDED', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'success', + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'c5394c6ee0fb474899d42215a3925c7e'], + 'TaskKey' => ['title' => '该任务由用户自定义的TaskKey, 此处原样返回。', 'description' => '用户创建任务时设置的自定义标识。', 'type' => 'string', 'example' => 'task_tingwu_123'], + 'TaskStatus' => ['title' => '任务状态', 'description' => '任务状态。 '."\n" + ."\n" + .'- ONGOING:任务进行中。 '."\n" + .'- COMPLETED:任务完成。 '."\n" + .'- FAILED:任务失败 '."\n" + .'- INVALID:无效任务。', 'type' => 'string', 'example' => 'COMPLETED'], + 'OutputMp3Path' => ['title' => 'mp3转换结果的url链接', 'description' => 'mp3转换结果的url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp3?Expires=1706064016'], + 'OutputMp4Path' => ['title' => 'mp4转换结果的url链接', 'description' => 'mp4转换结果的url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp4?Expires=1706064016'], + 'OutputThumbnailPath' => ['title' => '视频缩略图的url链接', 'description' => '视频缩略图的url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.png?Expires=1706064016'], + 'OutputSpectrumPath' => ['title' => '音频波形图的url链接', 'description' => '音频波形图的url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.spectrum?Expires=1706064016'], + 'ErrorCode' => ['title' => '错误码', 'description' => '错误码', 'type' => 'string', 'example' => 'TSC.AudioFormat'], + 'ErrorMessage' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => 'Audio format invalid.'], + 'Result' => [ + 'title' => '各类算法处理的结果集合。该结果以http链接的形式返回,用户可基于该链接解析原生结果。', + 'description' => '各类算法处理的结果集合。该结果以http链接的形式返回,用户可基于该链接解析原生结果。', + 'type' => 'object', + 'properties' => [ + 'Transcription' => ['title' => '语音转写对应的结果url链接。', 'description' => '语音转写对应的结果url链接。', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Transcription_20231222101008.json?Expires=1706064016'], + 'AutoChapters' => ['title' => '章节速览功能对应的结果url链接。', 'description' => '章节速览功能对应的结果url链接。', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_AutoChapters_20231222101215.json?Expires=1706064016'], + 'MeetingAssistance' => ['title' => '智能纪要对应的结果url链接', 'description' => '智能纪要对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_MeetingAssistance_20231222101112.json?Expires=1706064016'], + 'Summarization' => ['title' => '大模型摘要对应的结果url链接。', 'description' => '大模型摘要对应的结果url链接。', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Summarization_20231222101215.json?Expires=1706064016'], + 'Translation' => ['title' => '文本翻译对应的结果url链接', 'description' => '文本翻译对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Translation_20231222101215.json?Expires=1706064016'], + 'PptExtraction' => ['title' => '视频PPT抽取和总结对应的结果url链接', 'description' => '视频PPT抽取和总结对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_PptExtraction_20231222101215.json?Expires=1706064016'], + 'TextPolish' => ['title' => '口语书面化对应的结果url链接', 'description' => '口语书面化对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_TextPolish_20231222101215.json?Expires=1706064016'], + 'CustomPrompt' => ['title' => '自定义prompt对应的结果url链接', 'description' => '自定义prompt对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ CustomPrompt_20231222101215.json?Expires=1706064016'], + 'ServiceInspection' => ['title' => '服务质检对应的结果url链接', 'description' => '服务质检对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ServiceInspection_20231222101215.json?Expires=1706064016'], + 'IdentityRecognition' => ['description' => '身份识别对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ IdentityRecognition_20231222101215.json?Expires=1706064016'], + 'ContentExtraction' => ['description' => '对话内容提取对应的结果url链接', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ContentExtraction_20231222101215.json?Expires=1706064016'], + ], ], ], ], @@ -1475,54 +812,31 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\"\\n }\\n}","type":"json"}]', - 'title' => '更新热词词表', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"c5394c6ee0fb474899d42215a3925c7e\\",\\n \\"TaskKey\\": \\"task_tingwu_123\\",\\n \\"TaskStatus\\": \\"COMPLETED\\",\\n \\"OutputMp3Path\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp3?Expires=1706064016\\",\\n \\"OutputMp4Path\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp4?Expires=1706064016\\",\\n \\"OutputThumbnailPath\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.png?Expires=1706064016\\",\\n \\"OutputSpectrumPath\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.spectrum?Expires=1706064016\\",\\n \\"ErrorCode\\": \\"TSC.AudioFormat\\",\\n \\"ErrorMessage\\": \\"Audio format invalid.\\",\\n \\"Result\\": {\\n \\"Transcription\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Transcription_20231222101008.json?Expires=1706064016\\",\\n \\"AutoChapters\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_AutoChapters_20231222101215.json?Expires=1706064016\\",\\n \\"MeetingAssistance\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_MeetingAssistance_20231222101112.json?Expires=1706064016\\",\\n \\"Summarization\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Summarization_20231222101215.json?Expires=1706064016\\",\\n \\"Translation\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Translation_20231222101215.json?Expires=1706064016\\",\\n \\"PptExtraction\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_PptExtraction_20231222101215.json?Expires=1706064016\\",\\n \\"TextPolish\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_TextPolish_20231222101215.json?Expires=1706064016\\",\\n \\"CustomPrompt\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ CustomPrompt_20231222101215.json?Expires=1706064016\\",\\n \\"ServiceInspection\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ServiceInspection_20231222101215.json?Expires=1706064016\\",\\n \\"IdentityRecognition\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ IdentityRecognition_20231222101215.json?Expires=1706064016\\",\\n \\"ContentExtraction\\": \\"http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ContentExtraction_20231222101215.json?Expires=1706064016\\"\\n }\\n }\\n}","type":"json"}]', + 'title' => '查询任务状态和任务结果', + 'changeSet' => [], ], - 'DeleteTranscriptionPhrases' => [ - 'summary' => '删除词表。', + 'GetTranscriptionPhrases' => [ + 'summary' => '查询热词词表信息。', 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREnls24C81K', - 'FEATUREnlsO1I14I', - ], - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [ [ 'name' => 'PhraseId', 'in' => 'path', - 'schema' => [ - 'title' => '词表ID。', - 'description' => '词表ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], + 'schema' => ['title' => '词表ID。', 'description' => '词表ID。', 'type' => 'string', 'required' => true, 'example' => 'a93b91141c0f422fa114af203f8b****'], ], ], 'responses' => [ @@ -1532,41 +846,29 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。(暂不使用)', - 'description' => '操作是否成功。', - 'type' => 'string', - 'example' => 'SUCCEEDED', - ], - 'ErrorCode' => [ - 'title' => '错误码。(暂不使用)', - 'description' => '错误码。', - 'type' => 'string', - 'example' => '0', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。(暂不使用)', - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '0'], + 'Message' => ['description' => '状态说明。', 'type' => 'string', 'example' => 'success'], 'Data' => [ + 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。', - 'description' => '操作是否成功。', - 'type' => 'string', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '错误信息。', - 'type' => 'string', + 'Status' => ['title' => '操作是否成功。', 'description' => '操作是否成功。', 'type' => 'string', 'example' => 'SUCCEEDED'], + 'ErrorCode' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => '0'], + 'ErrorMessage' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string', 'example' => 'success'], + 'Phrases' => [ + 'description' => '热词对象,', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PhraseId' => ['title' => '词表ID。', 'description' => '词表ID。', 'type' => 'string', 'example' => 'a93b91141c0f422fa114af203f8b****'], + 'Name' => ['title' => '词表名称。', 'description' => '词表名称。', 'type' => 'string', 'example' => 'fruit_phrase'], + 'Description' => ['title' => '词表描述信息。', 'description' => '词表描述信息。', 'type' => 'string', 'example' => 'custom fruit phrases list'], + 'WordWeights' => ['title' => '词表里的词和对应的权重,为JSON的Map格式字符串。', 'description' => '词表里的词和对应的权重,为JSON的Map格式字符串。', 'type' => 'string', 'example' => '{"苹果":3,"西瓜":3}'], + ], + 'description' => '', + ], ], ], ], @@ -1574,37 +876,39 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Phrases\\": [\\n {\\n \\"PhraseId\\": \\"a93b91141c0f422fa114af203f8b****\\",\\n \\"Name\\": \\"fruit_phrase\\",\\n \\"Description\\": \\"custom fruit phrases list\\",\\n \\"WordWeights\\": \\"{\\\\\\"苹果\\\\\\":3,\\\\\\"西瓜\\\\\\":3}\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + 'title' => '查询热词词表', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:GetTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"\\",\\n \\"ErrorCode\\": \\"\\",\\n \\"ErrorMessage\\": \\"\\"\\n }\\n}","type":"json"}]', - 'title' => '删除热词词表', ], 'ListTranscriptionPhrases' => [ 'summary' => '列举用户所有热词词表信息。', 'path' => '/openapi/tingwu/v2/resources/phrases', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - ], + 'systemTags' => ['operationType' => 'none'], 'parameters' => [], 'responses' => [ 200 => [ @@ -1613,69 +917,27 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'description' => '状态码。', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'description' => '状态说明。', - 'type' => 'string', - 'example' => 'success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '0'], + 'Message' => ['description' => '状态说明。', 'type' => 'string', 'example' => 'success'], 'Data' => [ 'description' => '返回对象。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。', - 'description' => '操作是否成功。', - 'type' => 'string', - 'example' => 'SUCCEEDED', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '错误码。', - 'type' => 'string', - 'example' => 'PHS.Exceed', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '错误信息。', - 'type' => 'string', - 'example' => 'The num of the phrase exceeds the upper limit.', - ], + 'Status' => ['title' => '操作是否成功。', 'description' => '操作是否成功。', 'type' => 'string', 'example' => 'SUCCEEDED'], + 'ErrorCode' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => 'PHS.Exceed'], + 'ErrorMessage' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string', 'example' => 'The num of the phrase exceeds the upper limit.'], 'Phrases' => [ 'description' => '热词对象,', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'PhraseId' => [ - 'title' => '词表ID。', - 'description' => '词表ID。', - 'type' => 'string', - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], - 'Name' => [ - 'title' => '词表名称。', - 'description' => '词表名称。', - 'type' => 'string', - 'example' => 'fruit_phrase', - ], - 'Description' => [ - 'title' => '词表描述信息。', - 'description' => '词表描述信息。', - 'type' => 'string', - 'example' => 'custom fruit phrases list', - ], + 'PhraseId' => ['title' => '词表ID。', 'description' => '词表ID。', 'type' => 'string', 'example' => 'a93b91141c0f422fa114af203f8b****'], + 'Name' => ['title' => '词表名称。', 'description' => '词表名称。', 'type' => 'string', 'example' => 'fruit_phrase'], + 'Description' => ['title' => '词表描述信息。', 'description' => '词表描述信息。', 'type' => 'string', 'example' => 'custom fruit phrases list'], ], + 'description' => '', ], ], ], @@ -1684,17 +946,405 @@ ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"PHS.Exceed\\",\\n \\"ErrorMessage\\": \\"The num of the phrase exceeds the upper limit.\\",\\n \\"Phrases\\": [\\n {\\n \\"PhraseId\\": \\"a93b91141c0f422fa114af203f8b****\\",\\n \\"Name\\": \\"fruit_phrase\\",\\n \\"Description\\": \\"custom fruit phrases list\\"\\n }\\n ]\\n }\\n}","type":"json"}]', 'title' => '列举热词词表', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:ListTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateTranscriptionPhrases' => [ + 'summary' => '更新热词词表。', + 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', + 'methods' => ['put'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'none'], + 'parameters' => [ + [ + 'name' => 'PhraseId', + 'in' => 'path', + 'schema' => ['title' => '词表ID。', 'description' => '词表ID。', 'type' => 'string', 'required' => true, 'example' => 'a93b91141c0f422fa114af203f8b****'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => '请求参数body', + 'description' => '请求参数body', + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '词表名称。', 'description' => '词表名称。', 'type' => 'string', 'required' => true, 'example' => 'fruit_phrase', 'maxLength' => 50, 'minLength' => 1], + 'Description' => ['title' => '词表描述信息。', 'description' => '词表描述信息。', 'type' => 'string', 'required' => false, 'example' => 'custom fruit phrases list', 'maxLength' => 250, 'minLength' => 1], + 'WordWeights' => ['title' => '词表里的词和对应的权重,为JSON的Map格式字符串。', 'description' => '词表里的词和对应的权重,为JSON的Map格式字符串。', 'type' => 'string', 'required' => true, 'example' => '{"苹果":3,"西瓜":3}'], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => '状态码。', 'type' => 'string', 'example' => '0'], + 'Message' => ['description' => '状态说明。', 'type' => 'string', 'example' => 'success'], + 'Data' => [ + 'description' => '返回对象。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => '操作是否成功。', 'description' => '操作是否成功。', 'type' => 'string', 'example' => 'SUCCEEDED'], + 'ErrorCode' => ['title' => '错误码。', 'description' => '错误码。', 'type' => 'string', 'example' => '0'], + 'ErrorMessage' => ['title' => '错误信息。', 'description' => '错误信息。', 'type' => 'string', 'example' => 'success'], + ], + ], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\"\\n }\\n}","type":"json"}]', + 'title' => '更新热词词表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:UpdateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], ], ], 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'tingwu.cn-beijing.aliyuncs.com', 'endpoint' => 'tingwu.cn-beijing.aliyuncs.com', 'vpc' => 'tingwu-vpc.cn-beijing.aliyuncs.com'], + ], + 'errorCodes' => [ + ['code' => 'BRK.InvalidAppKey', 'message' => 'Invalid app key.', 'http_code' => 400, 'description' => '无效的项目AppKey参数'], + ['code' => 'BRK.InvalidAudioBitRate', 'message' => 'Invalid audio bit rate.', 'http_code' => 400, 'description' => '无效的音频采样位数参数'], + ['code' => 'BRK.InvalidAudioFormat', 'message' => 'Invalid audio format.', 'http_code' => 400, 'description' => '无效的音频编码格式参数'], + ['code' => 'BRK.InvalidAudioPackage', 'message' => 'Invalid audio package.', 'http_code' => 400, 'description' => '无效的音频打包方式参数'], + ['code' => 'BRK.InvalidAudioSampleRate', 'message' => 'Invalid audio sample rate.', 'http_code' => 400, 'description' => '无效的音频采样率参数'], + ['code' => 'BRK.InvalidLanguage', 'message' => 'Invalid language.', 'http_code' => 400, 'description' => '无效的语言模型参数'], + ['code' => 'BRK.InvalidOssBucket', 'message' => 'Invalid oss bucket.', 'http_code' => 400, 'description' => '无效的OSS Bucket参数'], + ['code' => 'BRK.InvalidOssPath', 'message' => 'Invalid oss path.', 'http_code' => 400, 'description' => '无效的OSS Path参数'], + ['code' => 'BRK.InvalidOutputEnabledSetting', 'message' => 'Invalid output enabled setting.', 'http_code' => 400, 'description' => '无效的结果返回开关参数'], + ['code' => 'BRK.InvalidResultLevelSetting', 'message' => 'Invalid result level setting.', 'http_code' => 400, 'description' => '无效的结果返回等级参数'], + ['code' => 'BRK.InvalidRoleSplitNum', 'message' => 'Invalid roleSplitNum.', 'http_code' => 400, 'description' => '无效的角色区分人数参数'], + ['code' => 'BRK.InvalidService', 'message' => 'Invalid service.', 'http_code' => 400, 'description' => '账号没有开通服务'], + ['code' => 'BRK.InvalidTenant', 'message' => 'Invalid tenant.', 'http_code' => 400, 'description' => '账号服务没有开通或者欠费'], + ['code' => 'BRK.OverdueService', 'message' => 'Overdue service.', 'http_code' => 400, 'description' => '账号服务已超配额'], + ['code' => 'BRK.OverdueTenant', 'message' => 'Overdue tenant.', 'http_code' => 400, 'description' => '账号已欠费'], + ['code' => 'BRK.ServiceLinkedRoleNotExist', 'message' => 'ServiceLinkedRole AliyunServiceRoleForTingwuPaaS not exist.', 'http_code' => 400, 'description' => '无效的角色授权'], + ['code' => 'ServerError', 'message' => 'Server error.', 'http_code' => 500, 'description' => '系统错误'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-11-22T03:15:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-09-10T04:56:38.000Z', + 'description' => '', + ], [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'tingwu.cn-beijing.aliyuncs.com', + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-08-15T07:34:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-07-29T07:00:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-06-21T05:43:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-06-14T05:07:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-21T11:35:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-20T08:44:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-17T07:14:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-15T03:05:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-04-12T03:48:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-04-10T09:30:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-18T08:42:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-18T05:50:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-15T07:24:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-12T01:36:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-02-23T03:11:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-01-08T06:20:46.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2023-12-25T03:37:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-12-19T10:53:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-12-18T13:17:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-12-11T06:35:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-11-20T08:13:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-11-16T03:05:26.000Z', + 'description' => '', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '-1', 'countWindow' => 1, 'regionId' => '*'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskInfo'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'], + ], + ], + 'ram' => [ + 'productCode' => 'NlsTingwu', + 'productName' => '智能语音交互', + 'ramCodes' => ['tingwu'], + 'ramLevel' => '操作级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListTranscriptionPhrases', + 'description' => '列举热词词表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:ListTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTranscriptionPhrases', + 'description' => '查询热词词表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:GetTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteTranscriptionPhrases', + 'description' => '删除热词词表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:DeleteTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateTranscriptionPhrases', + 'description' => '更新热词词表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:UpdateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTaskInfo', + 'description' => '查询任务状态和任务结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'tingwu:GetTaskInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTask', + 'description' => '创建听悟任务', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTranscriptionPhrases', + 'description' => '创建热词词表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
