diff options
Diffstat (limited to 'data/en_us/tingwu')
| -rw-r--r-- | data/en_us/tingwu/2022-09-30/api-docs.php | 1215 | ||||
| -rw-r--r-- | data/en_us/tingwu/2023-09-30/api-docs.php | 1991 |
2 files changed, 1534 insertions, 1672 deletions
diff --git a/data/en_us/tingwu/2022-09-30/api-docs.php b/data/en_us/tingwu/2022-09-30/api-docs.php index ede4249..51ab44a 100644 --- a/data/en_us/tingwu/2022-09-30/api-docs.php +++ b/data/en_us/tingwu/2022-09-30/api-docs.php @@ -1,56 +1,34 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'tingwu', - 'version' => '2022-09-30', - ], + 'info' => ['style' => 'ROA', 'product' => 'tingwu', 'version' => '2022-09-30'], 'directories' => [ [ - 'id' => 172030, - 'title' => null, + 'children' => ['CreateMeetingTrans', 'GetMeetingTrans', 'StopMeetingTrans'], 'type' => 'directory', - 'children' => [ - 'CreateMeetingTrans', - 'GetMeetingTrans', - 'StopMeetingTrans', - ], + 'title' => 'Real-time meeting transcription', ], [ - 'id' => 172031, - 'title' => null, + 'children' => ['CreateFileTrans', 'GetFileTrans'], 'type' => 'directory', - 'children' => [ - 'CreateFileTrans', - 'GetFileTrans', - ], + 'title' => 'Meeting audio and video file transcription', ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateMeetingTrans' => [ - 'summary' => '创建实时会议', - 'path' => '/openapi/meeting-trans', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateFileTrans' => [ + 'summary' => 'Create an audio or video transcription task.', + 'path' => '/openapi/file-trans', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], @@ -60,42 +38,143 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => '请求body。', - 'description' => '', + 'title' => '', + 'description' => 'Request body.', 'type' => 'object', 'properties' => [ - 'AppKey' => [ - 'title' => '管控台创建的项目AppKey。', - 'description' => '', + 'AppKey' => ['description' => 'AppKey of the project created in the console.', 'type' => 'string', 'required' => true, 'example' => 'JV1sRTisRMi****', 'title' => ''], + 'TransKey' => ['description' => 'Custom task identifier. This value is returned unchanged in task queries or task completion callbacks.', 'type' => 'string', 'example' => 'trans_123', 'title' => '', 'required' => false], + 'AudioOssBucket' => ['description' => 'OSS bucket where the audio file to be transcribed is stored.', 'type' => 'string', 'required' => false, 'example' => 'bucket', 'title' => ''], + 'AudioOssPath' => ['description' => 'OSS file path of the audio to be transcribed, or a custom downloadable URL (http|https). If AudioOssBucket is not empty, provide the OSS file path (...../*.mp3). If AudioOssBucket is empty, provide a custom downloadable URL (http\\://……/*.mp3).', 'type' => 'string', 'required' => true, 'example' => 'dir1/dir2/filename'."\n" + .'http://……/*.mp3', 'title' => ''], + 'AudioLanguage' => [ + 'description' => 'Language model used for audio transcription.'."\n" + .'cn: Chinese.'."\n" + .'en: English.'."\n" + .'yue: Cantonese.'."\n" + .'fspk: Mixed Chinese and English.', 'type' => 'string', 'required' => true, - 'example' => 'JV1sRTisRMi****', - ], - 'MeetingKey' => [ - 'title' => '用户设置的会议标识,在会中查询或会后结束回调时会原样返回。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'meeting_123', + 'example' => 'cn', + 'enum' => [], + 'title' => '', + ], + 'AudioRoleNum' => ['description' => 'Enable speaker diarization. Note: Only effective for audio with a sample rate of 16 kHz or higher.'."\n" + .'Not set: Speaker diarization is disabled.'."\n" + .'0: Speaker diarization with an unspecified number of speakers.'."\n" + .'2: Speaker diarization for exactly 2 speakers.', 'type' => 'string', 'example' => '2', 'title' => '', 'required' => false], + 'AudioOutputEnabled' => ['description' => 'Enable MP3 audio transcoding. Default is false.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'], + 'AudioOutputOssBucket' => ['description' => 'OSS bucket where transcoded audio is stored when audio transcoding is enabled. Must match the OSS bucket configured for the project in the console.', 'type' => 'string', 'example' => 'bucket', 'title' => '', 'required' => false], + 'AudioOutputOssPath' => ['description' => 'OSS file path where transcoded audio is stored when audio transcoding is enabled. The path must start with "tingwu/".', 'type' => 'string', 'example' => 'tingwu/dir/filename', 'title' => '', 'required' => false], + 'VideoOutputEnabled' => ['title' => 'Indicates whether MP4 format video conversion is enabled to transform non-MP4 videos into MP4 format. Default value: false.', 'description' => 'Enable video transcoding. Default is false.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'], + 'VideoOutputOssBucket' => ['title' => 'The OSS Bucket to which the converted video is written when MP4 video conversion is enabled.', 'description' => 'OSS bucket where transcoded video is stored when video transcoding is enabled. Must match the OSS bucket configured for the project in the console.', 'type' => 'string', 'example' => 'bucket', 'required' => false], + 'VideoOutputOssPath' => ['title' => 'When MP4 video transcoding is enabled, this specifies the OSS path to which the transcoded video is written. ', 'description' => 'OSS file path where transcoded video is stored when video transcoding is enabled. The path must start with "tingwu/".', 'type' => 'string', 'example' => 'tingwu/dir/filename'."\n", 'required' => false], + 'TransResultOssBucket' => ['description' => 'OSS bucket where transcription and intelligent extraction results are stored. Must match the OSS bucket configured for the project in the console.', 'type' => 'string', 'required' => true, 'example' => 'bucket', 'title' => ''], + 'TransResultOssPath' => ['description' => 'OSS file path where transcription and intelligent extraction results are stored. The path must start with "tingwu/".', 'type' => 'string', 'required' => true, 'example' => 'tingwu/dir/filename', 'title' => ''], + 'AudioSegmentsEnabled' => ['description' => 'Enable writing detected valid audio segments to output. Default is false.', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'], + 'Tags' => ['description' => 'System extension: tags', 'type' => 'object', 'required' => false, 'title' => '', 'example' => ''], + 'AsrParams' => ['description' => 'Additional ASR transcription parameters, such as hotword vocabulary\\_id.', 'type' => 'object', 'required' => false, 'example' => '{'."\n" + .' "vocabulary_id": "e2a9a9be3128417fb4d181ebfbe8****"'."\n" + .'}', 'title' => ''], + 'LabParams' => ['description' => 'System extension: experimental transcription parameters', 'type' => 'object', 'required' => false, 'title' => '', 'example' => ''], + 'AbilityParams' => ['description' => 'Capability extension', 'type' => 'object', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'Request ID, for debugging only.', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', 'title' => ''], + 'Code' => ['description' => 'Status code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Message' => ['description' => 'Status message.', 'type' => 'string', 'example' => 'Success.', 'title' => ''], + 'Data' => [ + 'title' => '', + 'description' => 'Response object.', + 'type' => 'object', + 'properties' => [ + 'TransId' => ['description' => 'Task ID.', 'type' => 'string', 'example' => 'f7de74778d94422283534102dfc0****', 'title' => ''], + 'TransKey' => ['description' => 'Task identifier set by the user when creating the task.', 'type' => 'string', 'example' => 'trans_123', 'title' => ''], + ], + 'example' => '', ], + ], + 'example' => '', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TransId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"TransKey\\": \\"trans_123\\"\\n }\\n}","type":"json"}]', + 'title' => 'Create a file transcription job ', + 'changeSet' => [ + ['createdAt' => '2023-08-03T14:00:40.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-05-16T15:41:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-04-21T03:07:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-12-16T02:17:53.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-11-07T03:01:39.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-10-20T11:18:30.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-10-08T22:47:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-22T07:26:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-21T02:44:37.000Z', 'description' => 'OpenAPI offline'], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'tingwu:CreateFileTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'CreateMeetingTrans' => [ + 'summary' => 'Create a real-time meeting. ', + 'path' => '/openapi/meeting-trans', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [], + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'Request body. ', + 'type' => 'object', + 'properties' => [ + 'AppKey' => ['title' => '', 'description' => 'The AppKey of the project created in the console.', 'type' => 'string', 'required' => true, 'example' => 'JV1sRTisRMi****'], + 'MeetingKey' => ['title' => '', 'description' => 'The meeting identity set by the User, which will be returned unchanged in queries during the meeting or in the End callback after the meeting.', 'type' => 'string', 'required' => false, 'example' => 'meeting_123'], 'AudioFormat' => [ - 'title' => '音频编码格式,PCM(无压缩的PCM文件或WAV文件)或OPUS(压缩的OPUS文件)。', - 'description' => '', + 'title' => '', + 'description' => 'Audio encoding format: PCM (uncompressed PCM or WAV file) or OPUS (compressed OPUS file). ', 'type' => 'string', 'required' => true, 'example' => 'pcm', 'enum' => [], ], - 'AudioPackage' => [ - 'title' => '音频打包方式,基于听悟约定的Protobuf格式封装多路音频流时设置为multi。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'multi', - ], + 'AudioPackage' => ['title' => '', 'description' => 'Audio packaging method. Set to "multi" when encapsulating multiple audio streams using the Protobuf format based on the Tingwu convention.', 'type' => 'string', 'required' => false, 'example' => 'multi'], 'AudioSampleRate' => [ - 'title' => '音频采样率,当前支持:16000。', - 'description' => '', + 'title' => '', + 'description' => 'Audio sampling rate. Currently supported values are 16000 and 8000 (8000 supports only single-channel Chinese audio). ', 'type' => 'integer', 'format' => 'int32', 'required' => true, @@ -103,8 +182,8 @@ 'enum' => [], ], 'AudioBitRate' => [ - 'title' => '会议上传音频采样位数,当前支持:16。', - 'description' => '', + 'title' => '', + 'description' => 'Audio bit depth for meeting uploads. Currently supported value is 16. ', 'type' => 'integer', 'format' => 'int32', 'required' => true, @@ -112,32 +191,24 @@ 'enum' => [], ], 'AudioLanguage' => [ - 'title' => '音频转写使用的语言模型。'."\n" - .'cn:中文。'."\n" - .'en:英文。'."\n" - .'yue:粤语。'."\n" - .'fspk:中英文自由说。'."\n" - .'multi:动态语言切换。', - 'description' => '', + 'title' => '', + 'description' => 'The language model used for Audio transcription. '."\n" + .'cn: Chinese. '."\n" + .'en: English. '."\n" + .'yue: Cantonese. '."\n" + .'fspk: Free switching between Chinese and English.', 'type' => 'string', 'required' => true, 'example' => 'cn', 'enum' => [], ], - 'RealtimeResultEnabled' => [ - 'title' => '是否开启会中实时结果返回,默认是true。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], + 'RealtimeResultEnabled' => ['title' => '', 'description' => 'Specifies whether to enable real-time result return during the meeting. The default value is true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'], 'RealtimeResultLevel' => [ - 'title' => '开启会中实时结果返回时,设置识别结果返回等级,默认是1。'."\n" - .'0:不返回识别结果。'."\n" - .'1:识别出完整句子时返回识别结果。'."\n" - .'2:识别出中间结果及完整句子时返回识别结果。', - 'description' => '', + 'title' => '', + 'description' => 'When real-time result return during a meeting is enabled, this parameter sets the level of recognition result returned. The default value is 1. '."\n" + .'0: Do not return recognition results. '."\n" + .'1: Return recognition results when complete sentences are detected. '."\n" + .'2: Return recognition results for both intermediate and complete sentences.', 'type' => 'integer', 'format' => 'int32', 'required' => false, @@ -146,11 +217,11 @@ 'enum' => [], ], 'RealtimeActiveResultLevel' => [ - 'title' => '开启会中实时结果返回且音频打包方式为multi时,设置发言人识别结果返回等级,默认是1。'."\n" - .'0:不返回识别结果。'."\n" - .'1:识别出完整句子时返回识别结果。'."\n" - .'2:识别出中间结果及完整句子时返回识别结果。', - 'description' => '', + 'title' => '', + 'description' => 'When real-time result return during the meeting is enabled and the audio packaging method is set to multi, this parameter specifies the level of speaker identification result return. The default value is 1. '."\n" + .'0: Do not return Classification Result. '."\n" + .'1: Return Classification Result when a complete sentence is detected. '."\n" + .'2: Return Classification Result for both intermediate results and complete sentences.', 'type' => 'integer', 'format' => 'int32', 'required' => false, @@ -158,133 +229,32 @@ 'default' => '1', 'enum' => [], ], - 'AudioOutputEnabled' => [ - 'title' => '是否开启mp3格式音频同步转码,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'AudioOutputOssBucket' => [ - 'title' => '开启音频同步转码时,转码音频写入到的OSS Bucket,需要与管控台项目配置的OSS Bucket一致。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bucket', - ], - 'AudioOutputOssPath' => [ - 'title' => '开启音频同步转码时,转码音频写入到的OSS文件路径,需要以"tingwu/"为前缀。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tingwu/dir/filename', - ], - 'MeetingResultEnabled' => [ - 'title' => '是否开启会后智能提取,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'MeetingResultOssBucket' => [ - 'title' => '开启会后智能提取时,提取结果写入到的OSS Bucket,需要与管控台项目配置的OSS Bucket一致。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bucket', - ], - 'MeetingResultOssPath' => [ - 'title' => '开启会后智能提取时,提取结果写入到的OSS文件路径,需要以"tingwu/"为前缀。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tingwu/dir/filename', - ], - 'DocResultEnabled' => [ - 'title' => '开启会后智能提取时,是否会中识别结果写入,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'AudioSegmentsEnabled' => [ - 'title' => '开启会后智能提取时,是否开启有效音频片断检测结果写入,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'TranslateResultEnabled' => [ - 'title' => '是否开启会中翻译,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'TranslateLanguages' => [ - 'title' => '翻译目标语言集合,多个语言间用英文逗号","分隔,当前支持cn、en。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn,en', - ], - 'TranslateResultLevel' => [ - 'title' => '单通道识别或多通道mix流识别结果翻译等级。0:不返回翻译结果。 1:识别出完整句子时返回翻译结果。 2:识别出中间结果及完整句子时返回翻译结果。默认是1。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - 'default' => '1', - ], - 'TranslateActiveResultLevel' => [ - 'title' => '多通道Active流识别结果翻译等级。0:不返回翻译结果。 1:识别出完整句子时返回翻译结果。 2:识别出中间结果及完整句子时返回翻译结果。默认是1。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '2', - 'default' => '1', - ], - 'RealtimeResultWordsEnabled' => [ - 'title' => '会中识别消息是否包含words信息,默认是true。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'true', - ], - 'RealtimeResultMeetingInfoEnabled' => [ - 'title' => '会中识别消息结果header中是否包含MeetingKey、MeetingId,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - 'default' => 'false', - ], - 'Tags' => [ - 'type' => 'object', - 'required' => false, - ], - 'AsrParams' => [ - 'type' => 'object', - 'required' => false, - ], - 'LabParams' => [ - 'type' => 'object', - 'required' => false, - ], - 'AbilityParams' => [ - 'type' => 'object', - 'required' => false, - ], + 'AudioOutputEnabled' => ['title' => '', 'description' => 'Specifies whether to enable real-time transcoding to MP3 format. Default is false. ', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'AudioOutputOssBucket' => ['title' => '', 'description' => 'When audio synchronization and transcoding are enabled, the OSS Bucket to which the transcoded audio is written. This must match the OSS Bucket configured in the project settings in the console. ', 'type' => 'string', 'required' => false, 'example' => 'bucket'], + 'AudioOutputOssPath' => ['title' => '', 'description' => 'When audio synchronization transcoding is enabled, this parameter specifies the OSS file path to which the transcoded audio is written. The path must have the prefix "tingwu/".', 'type' => 'string', 'required' => false, 'example' => 'tingwu/dir/filename'], + 'MeetingResultEnabled' => ['title' => '', 'description' => 'Whether to enable Intelligent post-meeting extraction. The default value is false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'MeetingResultOssBucket' => ['title' => '', 'description' => 'The OSS Bucket to which the extraction results are written when Intelligent post-meeting extraction is enabled. It must match the OSS Bucket configured for the project in the console.', 'type' => 'string', 'required' => false, 'example' => 'bucket'], + 'MeetingResultOssPath' => ['title' => '', 'description' => 'The OSS File Path to which the extraction results are written when Intelligent post-meeting extraction is enabled. It must have the prefix "tingwu/".', 'type' => 'string', 'required' => false, 'example' => 'tingwu/dir/filename'], + 'DocResultEnabled' => ['title' => '', 'description' => 'When Intelligent Post-meeting Extraction is enabled, specifies whether in-meeting recognition results are written. Default is false. ', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'AudioSegmentsEnabled' => ['title' => '', 'description' => 'When post-meeting intelligent fetch is enabled, this parameter specifies whether to enable writing detection results of valid audio segments. The default value is false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'TranslateResultEnabled' => ['title' => '是否开启会中翻译,默认是false。', 'description' => 'Specifies whether to enable in-meeting translation. Default is false. ', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], + 'TranslateLanguages' => ['title' => '翻译目标语言集合,多个语言间用英文逗号","分隔,当前支持cn、en。', 'description' => 'Collection of target languages for translation. Separate multiple languages with a comma (","). Currently supported languages are cn and en. ', 'type' => 'string', 'required' => false, 'example' => 'cn,en'], + 'TranslateResultLevel' => ['title' => '单通道识别或多通道mix流识别结果翻译等级。0:不返回翻译结果。 1:识别出完整句子时返回翻译结果。 2:识别出中间结果及完整句子时返回翻译结果。默认是1。', 'description' => 'Translation Level for single-channel detection or multi-channel mixed stream detection results. '."\n" + .'0: Do not return translation results. '."\n" + .'1: Return translation results when a complete sentence is detected. '."\n" + .'2: Return translation results for both intermediate results and complete sentences. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'default' => '1'], + 'TranslateActiveResultLevel' => ['title' => '多通道Active流识别结果翻译等级。0:不返回翻译结果。 1:识别出完整句子时返回翻译结果。 2:识别出中间结果及完整句子时返回翻译结果。默认是1。', 'description' => 'Translation Level for multi-channel Active stream recognition results. 0: Do not return translation results. 1: Return translation results when a complete sentence is recognized. 2: Return translation results for both intermediate and complete sentences. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'default' => '1'], + 'RealtimeResultWordsEnabled' => ['title' => '会中识别消息是否包含words信息,默认是true。', 'description' => 'Whether the in-meeting recognition message includes words information. The default value is true.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'true'], + 'RealtimeResultMeetingInfoEnabled' => ['title' => '会中识别消息结果header中是否包含MeetingKey、MeetingId,默认是false。', 'description' => 'Specifies whether MeetingKey and MeetingId are included in the header of real-time recognition message results during the meeting. The default value is false.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'], + 'Tags' => ['type' => 'object', 'required' => false, 'description' => 'System extension: tag ', 'title' => '', 'example' => ''], + 'AsrParams' => ['type' => 'object', 'required' => false, 'description' => 'Additional parameters for ASR transcription, such as vocabulary_id for hotwords. ', 'example' => '{'."\n" + .' "vocabulary_id": "e2a9a9be3128417fb4d181ebfbe8****"'."\n" + .'}', 'title' => ''], + 'LabParams' => ['type' => 'object', 'required' => false, 'description' => 'System extension: experiment transcription parameters', 'title' => '', 'example' => ''], + 'AbilityParams' => ['type' => 'object', 'required' => false, 'description' => 'Capability extension', 'title' => '', 'example' => ''], ], 'required' => false, + 'example' => '', ], ], ], @@ -295,606 +265,473 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID,仅用于联调。', - 'description' => '', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'title' => '状态码。', - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'title' => '状态说明。', - 'description' => '', - 'type' => 'string', - 'example' => 'Success.', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID, for joint debugging only. ', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['title' => '', 'description' => 'Status code. ', 'type' => 'string', 'example' => '0'], + 'Message' => ['title' => '', 'description' => 'Status description. ', 'type' => 'string', 'example' => 'Success.'], 'Data' => [ - 'title' => '返回对象。', - 'description' => '', + 'title' => '', + 'description' => 'Returned object. ', 'type' => 'object', 'properties' => [ - 'MeetingId' => [ - 'title' => '会议ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'f7de74778d94422283534102dfc0****', - ], - 'MeetingJoinUrl' => [ - 'title' => '会议语音推流地址。', - 'description' => '', - 'type' => 'string', - 'example' => 'wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****', - ], - 'MeetingKey' => [ - 'title' => '用户创建会议时设置的会议标识。', - 'description' => '', - 'type' => 'string', - 'example' => 'meeting_123', - ], + 'MeetingId' => ['title' => '', 'description' => 'Meeting ID. ', 'type' => 'string', 'example' => 'f7de74778d94422283534102dfc0****'], + 'MeetingJoinUrl' => ['title' => '', 'description' => 'Audio ingest URL for the meeting. ', 'type' => 'string', 'example' => 'wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****'], + 'MeetingKey' => ['title' => '', 'description' => 'Meeting identity set by the User when creating the meeting. ', 'type' => 'string', 'example' => 'meeting_123'], ], + 'example' => '', ], ], + 'example' => '', ], ], ], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"MeetingId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"MeetingJoinUrl\\": \\"wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****\\",\\n \\"MeetingKey\\": \\"meeting_123\\"\\n }\\n}","type":"json"}]', - ], - 'GetMeetingTrans' => [ - 'summary' => '查询实时会议信息', - 'path' => '/openapi/meeting-trans/{MeetingId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'Create a real-time meeting ', + 'changeSet' => [ + ['createdAt' => '2023-05-16T15:41:27.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-11-07T03:01:39.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-10-20T11:18:30.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-10-08T22:47:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-09-22T07:26:27.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2022-09-21T02:44:37.000Z', 'description' => 'OpenAPI offline'], + ], + 'ramActions' => [ + [ + 'operationType' => '', + 'ramAction' => [ + 'action' => 'tingwu:CreateMeetingTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFileTrans' => [ + 'summary' => 'Query audio and video transcription job information.', + 'path' => '/openapi/file-trans/{TransId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [], - 'produces' => [ - 'application/json', - ], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'MeetingId', + 'name' => 'TransId', 'in' => 'path', - 'schema' => [ - 'title' => '会议ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'meeting_123', - ], + 'schema' => ['title' => '', 'description' => 'Job ID.', 'type' => 'string', 'required' => true, 'example' => 'trans_123'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID,仅用于联调。', - 'description' => '', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'title' => '状态码。', - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'title' => '状态说明。', - 'description' => '', - 'type' => 'string', - 'example' => 'Success.', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID, used only for joint debugging.', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['title' => '', 'description' => 'Status code.', 'type' => 'string', 'example' => '0'], + 'Message' => ['title' => '', 'description' => 'Status description.', 'type' => 'string', 'example' => 'Success.'], 'Data' => [ - 'title' => '返回对象。', - 'description' => '', + 'title' => '', + 'description' => 'Returned object.', 'type' => 'object', 'properties' => [ - 'MeetingId' => [ - 'title' => '会议ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'f7de74778d94422283534102dfc0****', - ], - 'MeetingStatus' => [ - 'title' => '会议状态。'."\n" - .'NEW:新会议。'."\n" - .'ONGOING:会议转写中。'."\n" - .'PAUSED:会议转写暂停。'."\n" - .'PRE_COMPLETE:会议转写结束后,进行会后智能提取。'."\n" - .'COMPLETED:会议完成。'."\n" - .'FAILED:会议转写结束后,会后智能提取失败。'."\n" - .'INVALID:无效会议。', - 'description' => '', - 'type' => 'string', - 'example' => 'COMPLETED', - ], - 'MeetingKey' => [ - 'title' => '用户创建会议时设置的会议标识。', - 'description' => '', - 'type' => 'string', - 'example' => 'meeting_123', - ], + 'TransId' => ['title' => '', 'description' => 'Job ID.', 'type' => 'string', 'example' => 'f7de74778d94422283534102dfc0****'], + 'TransStatus' => ['title' => '', 'description' => 'Job Status. '."\n" + .'ONGOING: The job is in progress. '."\n" + .'COMPLETED: The job is completed. '."\n" + .'FAILED: The job failed. '."\n" + .'INVALID: Invalid job.', 'type' => 'string', 'example' => 'ONGOING'], + 'TransKey' => ['title' => '', 'description' => 'The task identifier set by the User when creating the Job.', 'type' => 'string', 'example' => 'trans_123'], ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"MeetingId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"MeetingStatus\\": \\"COMPLETED\\",\\n \\"MeetingKey\\": \\"meeting_123\\"\\n }\\n}","type":"json"}]', - ], - 'StopMeetingTrans' => [ - 'summary' => '结束实时会议', - 'path' => '/openapi/meeting-trans/{MeetingId}/stop', - 'methods' => [ - 'post', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TransId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"TransStatus\\": \\"ONGOING\\",\\n \\"TransKey\\": \\"trans_123\\"\\n }\\n}","type":"json"}]', + 'title' => 'Query file transcription job status', + 'changeSet' => [ + ['createdAt' => '2022-10-20T11:18:30.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-10-08T22:47:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-21T02:44:37.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'tingwu:GetFileTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetMeetingTrans' => [ + 'summary' => 'Query real-time meeting information.', + 'path' => '/openapi/meeting-trans/{MeetingId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => [], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'MeetingId', 'in' => 'path', - 'schema' => [ - 'title' => '会议ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'meeting_123', - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'MeetingRoleNum' => [ - 'title' => '会后进行识别结果角色区分人数,在AudioOutputEnabled=true、MeetingResultEnabled=true且DocResultEnabled=true 时生效,默认是1。'."\n" - .'0:按多人进行角色区分。'."\n" - .'1:按1人进行角色区分,即不区分。'."\n" - .'2:按2人进行角色区分。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], - 'OnlyRoleSplitResult' => [ - 'title' => '会后结果中docResult字段是否只存储角色时间戳映射信息,即不带转写文字结果,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - ], - 'required' => false, - ], + 'schema' => ['title' => '', 'description' => 'Meeting ID.', 'type' => 'string', 'required' => true, 'example' => 'f7de74778d94422283534102dfc0****'], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID,仅用于联调。', - 'description' => '', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'title' => '状态码。', - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'title' => '状态说明。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Success.', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID, used only for joint debugging.', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['title' => '', 'description' => 'Status code.', 'type' => 'string', 'example' => '0'], + 'Message' => ['title' => '', 'description' => 'Status description.', 'type' => 'string', 'example' => 'Success.'], 'Data' => [ - 'title' => '返回对象。', - 'description' => '', + 'title' => '', + 'description' => 'Returned object.', 'type' => 'object', 'properties' => [ - 'MeetingId' => [ - 'title' => '会议ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'f7de74778d94422283534102dfc0****', - ], - 'MeetingStatus' => [ - 'title' => '会议状态。'."\n" - .'NEW:新会议。'."\n" - .'ONGOING:会议转写中。'."\n" - .'PAUSED:会议转写暂停。'."\n" - .'PRE_COMPLETE:会议转写结束后,进行会后智能提取。'."\n" - .'COMPLETED:会议完成。'."\n" - .'FAILED:会议转写结束后,会后智能提取失败。'."\n" - .'INVALID:无效会议。', - 'description' => '', - 'type' => 'string', - 'example' => 'PRE_COMPLETE', - ], - 'MeetingKey' => [ - 'title' => '用户创建会议时设置的会议标识。', - 'description' => '', - 'type' => 'string', - 'example' => 'meeting_123', - ], + 'MeetingId' => ['title' => '', 'description' => 'Meeting ID.', 'type' => 'string', 'example' => 'f7de74778d94422283534102dfc0****'], + 'MeetingStatus' => ['title' => '', 'description' => 'Meeting status. '."\n" + .'NEW: New meeting. '."\n" + .'ONGOING: Meeting transcription in progress. '."\n" + .'PAUSED: Meeting transcription paused. '."\n" + .'PRE_COMPLETE: Post-meeting intelligent extraction in progress after transcription ends. '."\n" + .'COMPLETED: Meeting completed. '."\n" + .'FAILED: Post-meeting intelligent extraction failed after transcription ends. '."\n" + .'INVALID: Invalid meeting.', 'type' => 'string', 'example' => 'COMPLETED'], + 'MeetingKey' => ['title' => '', 'description' => 'Meeting identity set by the User when creating the meeting.', 'type' => 'string', 'example' => 'meeting_123'], ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"MeetingId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"MeetingStatus\\": \\"PRE_COMPLETE\\",\\n \\"MeetingKey\\": \\"meeting_123\\"\\n }\\n}","type":"json"}]', - ], - 'CreateFileTrans' => [ - 'summary' => '创建音视频转写任务', - 'path' => '/openapi/file-trans', - 'methods' => [ - 'put', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"MeetingId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"MeetingStatus\\": \\"COMPLETED\\",\\n \\"MeetingKey\\": \\"meeting_123\\"\\n }\\n}","type":"json"}]', + 'title' => 'Query real-time meeting status', + 'changeSet' => [ + ['createdAt' => '2022-10-20T11:18:30.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-10-08T22:47:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-21T02:44:37.000Z', 'description' => 'OpenAPI offline'], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'tingwu:GetMeetingTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'StopMeetingTrans' => [ + 'summary' => 'End a real-time meeting.', + 'path' => '/openapi/meeting-trans/{MeetingId}/stop', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [], 'parameters' => [ [ + 'name' => 'MeetingId', + 'in' => 'path', + 'schema' => ['title' => '', 'description' => 'Meeting ID.', 'type' => 'string', 'required' => true, 'example' => 'meeting_123'], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => '请求body。', - 'description' => '', + 'description' => 'Request body.', 'type' => 'object', 'properties' => [ - 'AppKey' => [ - 'title' => '管控台创建的项目AppKey。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'JV1sRTisRMi****', - ], - 'TransKey' => [ - 'title' => '用户设置的任务标识,在任务查询或任务结束回调时会原样返回。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'trans_123', - ], - 'AudioOssBucket' => [ - 'title' => '需要转写音频所在的OSS Bucket。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bucket', - ], - 'AudioOssPath' => [ - 'title' => '需要转写音频所在的OSS文件路径或者自定义可下载文件地址(http|https)。如果AudioOssBucket非空,则需要赋值OSS文件路径(/...../*.mp3);如果AudioOssBucket为空,则需要赋值自定义可下载文件地址(http://……/*.mp3)。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'dir1/dir2/filename', - ], - 'AudioLanguage' => [ - 'title' => '音频转写使用的语言模型。'."\n" - .'cn:中文。'."\n" - .'en:英文。'."\n" - .'yue:粤语。'."\n" - .'fspk:中英文自由说。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'cn', - 'enum' => [], - ], - 'AudioRoleNum' => [ - 'title' => '是否开启说话人角色区分。注,只对16K及以上采样率生效'."\n" - .'不设置:不使用说话人角色区分。'."\n" - .'0:说话人角色区分结果为不定人数。'."\n" - .'2:说话人角色区分结果为2人。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], - 'AudioOutputEnabled' => [ - 'title' => '是否开启mp3格式音频转码,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'AudioOutputOssBucket' => [ - 'title' => '开启音频转码时,转码音频写入到的OSS Bucket。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'bucket', - ], - 'AudioOutputOssPath' => [ - 'title' => '开启音频转码时,转码音频写入到的OSS文件路径。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tingwu/dir/filename', - ], - 'VideoOutputEnabled' => [ - 'title' => '是否开启mp4格式视频转换,用以将非mp4视频转成mp4格式,默认是false。', - 'type' => 'boolean', - 'default' => 'false', - ], - 'VideoOutputOssBucket' => [ - 'title' => '开启mp4视频转换时,转换后视频写入到的OSS Bucket。', - 'type' => 'string', - 'example' => 'bucket', - ], - 'VideoOutputOssPath' => [ - 'title' => '开启mp4视频转换时,转换后视频写入到的OSS 路径。', - 'type' => 'string', - 'example' => 'tingwu/dir/filename', - ], - 'TransResultOssBucket' => [ - 'title' => '识别及智能提取结果写入到的OSS Bucket。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'bucket', - ], - 'TransResultOssPath' => [ - 'title' => '识别及智能提取结果写入到的OSS文件路径。'."\n" - .'示例:目录/文件名', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'tingwu/dir/filename', - ], - 'AudioSegmentsEnabled' => [ - 'title' => '是否开启有效音频片断检测结果写入,默认是false。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'Tags' => [ - 'type' => 'object', - 'required' => false, - ], - 'AsrParams' => [ - 'type' => 'object', - 'required' => false, - ], - 'LabParams' => [ - 'type' => 'object', - 'required' => false, - ], - 'AbilityParams' => [ - 'type' => 'object', - 'required' => false, - ], + 'MeetingRoleNum' => ['title' => '会后进行识别结果角色区分人数,在AudioOutputEnabled=true、MeetingResultEnabled=true且DocResultEnabled=true 时生效,默认是1。'."\n" + .'0:按多人进行角色区分。'."\n" + .'1:按1人进行角色区分,即不区分。'."\n" + .'2:按2人进行角色区分。', 'description' => 'The number of distinct roles used to differentiate speakers in the post-meeting Classification Result. This parameter takes effect only when AudioOutputEnabled=true, MeetingResultEnabled=true, and DocResultEnabled=true. The default value is 1. '."\n" + .'0: Differentiate roles for multiple speakers. '."\n" + .'1: Treat all speech as from a single speaker (no role differentiation). '."\n" + .'2: Differentiate roles for two speakers.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'], + 'OnlyRoleSplitResult' => ['title' => '会后结果中docResult字段是否只存储角色时间戳映射信息,即不带转写文字结果,默认是false。', 'description' => 'Specifies whether the docResult field in the post-meeting result stores only the role-to-UNIX timestamp mapping information, without transcription text. The default value is false.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'default' => 'false'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'title' => 'Schema of Response', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID,仅用于联调。', - 'description' => '', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'title' => '状态码。', - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'title' => '状态说明。', - 'description' => '', - 'type' => 'string', - 'example' => 'Success.', - ], + 'RequestId' => ['title' => '', 'description' => 'Request ID, used only for joint debugging.', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['title' => '', 'description' => 'Status code.', 'type' => 'string', 'example' => '0'], + 'Message' => ['title' => '', 'description' => 'Status description.', 'type' => 'string', 'required' => false, 'example' => 'Success.'], 'Data' => [ - 'title' => '返回对象。', - 'description' => '', + 'title' => '', + 'description' => 'Returned object.', 'type' => 'object', 'properties' => [ - 'TransId' => [ - 'title' => '任务ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'f7de74778d94422283534102dfc0****', - ], - 'TransKey' => [ - 'title' => '用户创建任务时设置的任务标识。', - 'description' => '', - 'type' => 'string', - 'example' => 'trans_123', - ], + 'MeetingId' => ['title' => '', 'description' => 'Meeting ID.', 'type' => 'string', 'example' => 'f7de74778d94422283534102dfc0****'], + 'MeetingStatus' => ['title' => '', 'description' => 'Meeting status. '."\n" + .'NEW: New meeting. '."\n" + .'ONGOING: Meeting transcription in progress. '."\n" + .'PAUSED: Meeting transcription paused. '."\n" + .'PRE_COMPLETE: Post-meeting intelligent extraction in progress after transcription ends. '."\n" + .'COMPLETED: Meeting completed. '."\n" + .'FAILED: Post-meeting intelligent extraction failed after transcription ends. '."\n" + .'INVALID: Invalid meeting.', 'type' => 'string', 'example' => 'PRE_COMPLETE'], + 'MeetingKey' => ['title' => '', 'description' => 'Meeting identity set by the user when creating the meeting.', 'type' => 'string', 'example' => 'meeting_123'], ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TransId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"TransKey\\": \\"trans_123\\"\\n }\\n}","type":"json"}]', - ], - 'GetFileTrans' => [ - 'summary' => '查询音视频转写任务信息', - 'path' => '/openapi/file-trans/{TransId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"MeetingId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"MeetingStatus\\": \\"PRE_COMPLETE\\",\\n \\"MeetingKey\\": \\"meeting_123\\"\\n }\\n}","type":"json"}]', + 'title' => 'End Real-Time Meeting', + 'changeSet' => [ + ['createdAt' => '2022-10-20T11:18:30.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2022-10-08T22:47:31.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2022-09-21T02:44:37.000Z', 'description' => 'OpenAPI offline'], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => '', + 'ramAction' => [ + 'action' => 'tingwu:StopMeetingTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], - 'produces' => [ - 'application/json', + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Invalid project app key.'], + ['code' => 'BRK.InvalidAudioBitRate', 'message' => 'Invalid audio bit rate.', 'http_code' => 400, 'description' => 'Invalid audio sample bit depth.'], + ['code' => 'BRK.InvalidAudioFormat', 'message' => 'Invalid audio format.', 'http_code' => 400, 'description' => 'Invalid audio encoding format.'], + ['code' => 'BRK.InvalidAudioPackage', 'message' => 'Invalid audio package.', 'http_code' => 400, 'description' => 'Invalid audio packaging mode.'], + ['code' => 'BRK.InvalidAudioSampleRate', 'message' => 'Invalid audio sample rate.', 'http_code' => 400, 'description' => 'Invalid audio sample rate.'], + ['code' => 'BRK.InvalidLanguage', 'message' => 'Invalid language.', 'http_code' => 400, 'description' => 'Invalid language model.'], + ['code' => 'BRK.InvalidOssBucket', 'message' => 'Invalid oss bucket.', 'http_code' => 400, 'description' => 'Invalid OSS bucket.'], + ['code' => 'BRK.InvalidOssPath', 'message' => 'Invalid oss path.', 'http_code' => 400, 'description' => 'Invalid OSS path.'], + ['code' => 'BRK.InvalidOutputEnabledSetting', 'message' => 'Invalid output enabled setting.', 'http_code' => 400, 'description' => 'Invalid result return switch settings.'], + ['code' => 'BRK.InvalidResultLevelSetting', 'message' => 'Invalid result level setting.', 'http_code' => 400, 'description' => 'Invalid result return level settings.'], + ['code' => 'BRK.InvalidRoleSplitNum', 'message' => 'Invalid roleSplitNum.', 'http_code' => 400, 'description' => 'Invalid roleSplitNum value.'], + ['code' => 'BRK.InvalidService', 'message' => 'Invalid service.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account.'], + ['code' => 'BRK.InvalidTenant', 'message' => 'Invalid tenant.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account, or an overdue payment exists.'], + ['code' => 'BRK.OverdueService', 'message' => 'Overdue service.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account, or an overdue payment exists.'], + ['code' => 'BRK.OverdueTenant', 'message' => 'Overdue tenant.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account, or an overdue payment exists.'], + ['code' => 'BRK.ServiceLinkedRoleNotExist', 'message' => 'ServiceLinkedRole AliyunServiceRoleForTingwuPaaS not exist.', 'http_code' => 400, 'description' => 'The service-linked role has not been created.'], + ['code' => 'ServerError', 'message' => 'Server error.', 'http_code' => 500, 'description' => 'A system error occurred.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFileTrans'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + 'createdAt' => '2023-08-03T14:00:45.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFileTrans'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateMeetingTrans'], + ], + 'createdAt' => '2023-05-16T15:41:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFileTrans'], + ], + 'createdAt' => '2023-04-21T03:07:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFileTrans'], + ], + 'createdAt' => '2022-12-16T02:19:33.000Z', + 'description' => '修改创建音视频文件转写参数AudioRoleNum的参数说明', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFileTrans'], + ['description' => 'Request parameters changed', 'api' => 'CreateMeetingTrans'], + ], + 'createdAt' => '2022-11-07T03:03:19.000Z', + 'description' => '单用户接口QPS限流100。', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateFileTrans'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateMeetingTrans'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetFileTrans'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'GetMeetingTrans'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'StopMeetingTrans'], + ], + 'createdAt' => '2022-10-20T11:18:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFileTrans'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateMeetingTrans'], + ['description' => 'Response parameters changed', 'api' => 'GetFileTrans'], + ['description' => 'Response parameters changed', 'api' => 'GetMeetingTrans'], + ['description' => 'Response parameters changed', 'api' => 'StopMeetingTrans'], + ], + 'createdAt' => '2022-10-08T22:47:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFileTrans'], + ['description' => 'Request parameters changed', 'api' => 'CreateMeetingTrans'], + ], + 'createdAt' => '2022-09-22T07:26:36.000Z', + 'description' => 'init', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI offline', 'api' => 'CreateFileTrans'], + ['description' => 'OpenAPI offline', 'api' => 'CreateMeetingTrans'], + ['description' => 'OpenAPI offline', 'api' => 'GetFileTrans'], + ['description' => 'OpenAPI offline', 'api' => 'GetMeetingTrans'], + ['description' => 'OpenAPI offline', 'api' => 'StopMeetingTrans'], + ], + 'createdAt' => '2022-09-21T07:55:29.000Z', + 'description' => 'init', + ], + ], + 'ram' => [ + 'productCode' => 'NlsTingwu', + 'productName' => 'Intelligent Speech Interaction', + 'ramCodes' => ['tingwu'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'CreateMeetingTrans', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'tingwu:CreateMeetingTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetFileTrans', + 'description' => '', 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'tingwu:GetFileTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'parameters' => [ - [ - 'name' => 'TransId', - 'in' => 'path', - 'schema' => [ - 'title' => '任务ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'trans_123', + [ + 'apiName' => 'CreateFileTrans', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'tingwu:CreateFileTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'headers' => [], - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '请求ID,仅用于联调。', - 'description' => '', - 'type' => 'string', - 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****', - ], - 'Code' => [ - 'title' => '状态码。', - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'Message' => [ - 'title' => '状态说明。', - 'description' => '', - 'type' => 'string', - 'example' => 'Success.', - ], - 'Data' => [ - 'title' => '返回对象。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'TransId' => [ - 'title' => '任务ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'f7de74778d94422283534102dfc0****', - ], - 'TransStatus' => [ - 'title' => '任务状态。'."\n" - .'ONGOING:任务进行中。'."\n" - .'COMPLETED:任务完成。'."\n" - .'FAILED:任务失败'."\n" - .'INVALID:无效任务。', - 'description' => '', - 'type' => 'string', - 'example' => 'ONGOING', - ], - 'TransKey' => [ - 'title' => '用户创建任务时设置的任务标识。', - 'description' => '', - 'type' => 'string', - 'example' => 'trans_123', - ], - ], - ], - ], + [ + 'apiName' => 'StopMeetingTrans', + 'description' => '', + 'operationType' => '', + 'ramAction' => [ + 'action' => 'tingwu:StopMeetingTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetMeetingTrans', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'tingwu:GetMeetingTrans', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n \\"Code\\": \\"0\\",\\n \\"Message\\": \\"Success.\\",\\n \\"Data\\": {\\n \\"TransId\\": \\"f7de74778d94422283534102dfc0****\\",\\n \\"TransStatus\\": \\"ONGOING\\",\\n \\"TransKey\\": \\"trans_123\\"\\n }\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'tingwu.cn-beijing.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; diff --git a/data/en_us/tingwu/2023-09-30/api-docs.php b/data/en_us/tingwu/2023-09-30/api-docs.php index 75bb6f2..cae2855 100644 --- a/data/en_us/tingwu/2023-09-30/api-docs.php +++ b/data/en_us/tingwu/2023-09-30/api-docs.php @@ -1,24 +1,17 @@ <?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' => null, + 'children' => ['CreateTranscriptionPhrases', 'GetTranscriptionPhrases', 'UpdateTranscriptionPhrases', 'DeleteTranscriptionPhrases', 'ListTranscriptionPhrases'], + 'type' => 'directory', + 'title' => 'Hotwords', + ], + [ + 'children' => ['CreateTask'], + 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'CreateTranscriptionPhrases', - 'GetTranscriptionPhrases', - 'UpdateTranscriptionPhrases', - 'DeleteTranscriptionPhrases', - 'ListTranscriptionPhrases', - ], ], ], 'components' => [ @@ -26,25 +19,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,38 +36,39 @@ 'riskType' => 'high', 'chargeType' => 'paid', 'abilityTreeCode' => '196631', - 'abilityTreeNodes' => [ - 'FEATUREnls24C81K', - 'FEATUREnlsO1I14I', - ], + 'abilityTreeNodes' => ['FEATUREnls24C81K', 'FEATUREnlsO1I14I'], ], 'parameters' => [ [ 'name' => 'type', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The type of the task. Valid values:'."\n" + ."\n" + .'- **offline**: An offline task, such as an offline transcription.'."\n" + ."\n" + .'- **realtime**: A real-time task, such as a real-time recording.', + 'enumValueTitles' => ['offline' => 'offline', 'realtime' => 'realtime'], 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'offline' => 'offline', - 'realtime' => 'realtime', - ], 'example' => 'offline', + 'title' => '', ], ], [ 'name' => 'operation', 'in' => 'query', 'schema' => [ - 'description' => '', + 'description' => 'The operation to perform. Valid values:'."\n" + ."\n" + .'- **start**: Creates a task. This is the default value and does not typically need to be set.'."\n" + ."\n" + .'- **stop**: Stops a real-time recording task. This value is used only for real-time tasks. To end the recording, set this parameter to `stop`.', + 'enumValueTitles' => ['stop' => 'stop', 'start' => 'start'], 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'stop' => 'stop', - 'start' => 'start', - ], 'example' => 'stop', + 'required' => false, + 'title' => '', ], ], [ @@ -91,530 +76,491 @@ 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => '请求参数body', - 'description' => '', + 'title' => '', + 'description' => 'The request body parameters.', 'type' => 'object', 'properties' => [ - 'AppKey' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'JV1sRTisRMi****', - ], + 'AppKey' => ['description' => 'The AppKey of the project that you created in the console.', 'type' => 'string', 'required' => false, 'example' => 'JV1sRTisRMi****', 'title' => ''], 'Input' => [ - 'description' => '', + 'description' => 'The basic input parameters for creating a task. The required parameters vary based on the task type.'."\n" + ."\n" + .'- For an offline task (`type="offline"`), you must specify the `SourceLanguage` and `FileUrl` parameters.'."\n" + ."\n" + .'- For a real-time task (`type="realtime"`), you must also specify the `SourceLanguage`, `Format`, and `SampleRate` parameters.', 'type' => 'object', 'properties' => [ 'SourceLanguage' => [ - 'title' => '离线转写/实时会议使用的语言模型。'."\n" - .'cn:中文。'."\n" - .'en:英文。'."\n" - .'yue:粤语。'."\n" - .'fspk:中英文自由说。', - 'description' => '', + 'description' => 'The language model for speech transcription. The following values are supported:'."\n" + ."\n" + .'- **cn**: Chinese'."\n" + ."\n" + .'- **en**: English'."\n" + ."\n" + .'- **fspk**: Chinese-English code-switching'."\n" + ."\n" + .'- **ja**: Japanese'."\n" + ."\n" + .'- **yue**: Cantonese', + 'enumValueTitles' => ['yue' => 'Cantonese', 'fspk' => 'Chinese-English code-switching', 'en' => 'English', 'cn' => 'Chinese'], 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'yue' => 'yue', - 'fspk' => 'fspk', - 'en' => 'en', - 'cn' => 'cn', - ], + 'title' => '', 'example' => 'cn', ], - 'FileUrl' => [ - 'title' => '创建离线转写任务时,必须填写的原始音频链接,当前支持http或https形式的链接。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'http://xxx.com/zzz/1.wav', - ], - 'TaskKey' => [ - 'title' => '任务级别的自定义标识,用以区分不同任务,可选。如设置,建议为每一个任务设置不同的标识', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'task_tingwu_123', - ], + 'FileUrl' => ['description' => 'The HTTP or HTTPS URL of the source audio or video file. This parameter is required when you create an offline transcription task.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'http://xxx.com/zzz/1.wav'], + 'TaskKey' => ['description' => 'A custom identifier that you can set for the task.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => 'task_tingwu_123'], 'Format' => [ - 'title' => '音频流编码格式,支持PCM(无压缩的PCM文件或WAV文件)或OPUS(压缩的OPUS文件)。仅在创建实时会议时必选。', - 'description' => '', + 'description' => 'The encoding format of the audio stream data. This parameter is required when you create a real-time recording task. The following values are supported:'."\n" + ."\n" + .'- **pcm**'."\n" + ."\n" + .'- **opus**'."\n" + ."\n" + .'- **aac**'."\n" + ."\n" + .'- **speex**'."\n" + ."\n" + .'- **mp3**', + 'enumValueTitles' => ['pcm' => 'pcm', 'opus' => 'opus'], 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'pcm' => 'pcm', - 'opus' => 'opus', - ], + 'title' => '', 'example' => 'pcm', ], 'SampleRate' => [ - 'title' => '音频流采样率,当前支持:16000/8000两种。仅在创建实时会议时必选。', - 'description' => '', + 'description' => 'The sample rate of the audio stream data. This parameter is required when you create a real-time recording task. The supported values are 8000 and 16000.'."\n" + ."\n" + .'- **8000**: Suitable for telephony and customer service scenarios.'."\n" + ."\n" + .'- **16000**: Suitable for real-time meeting audio capture scenarios.', + 'enumValueTitles' => [8000 => '8000', 16000 => '16000'], 'type' => 'integer', 'format' => 'int32', 'required' => false, + 'enum' => ['16000', '8000'], + 'title' => '', 'example' => '16000', - 'enum' => [ - '16000', - '8000', - ], - ], - 'ProgressiveCallbacksEnabled' => [ - 'title' => '是否开启回调功能。当需要开启回调功能时,您需要在控制台配置好回调类型和地址,并在创建任务时将该参数置为true。', - 'type' => 'boolean', - 'required' => false, - 'default' => 'false', - ], - 'MultipleStreamsEnabled' => [ - 'title' => '是否开启多通道音频流识别。当且仅当在实时记录场景下才需考虑设置,默认为false', - 'type' => 'boolean', - 'required' => false, - 'default' => 'false', - ], - 'TaskId' => [ - 'title' => '您创建实时记录时返回的TaskId,通过此Id,您可以结束实时记录。该参数仅在结束实时记录时设置,其他时候请不要设置。', - 'type' => 'string', - ], - 'OutputPath' => [ - 'title' => '在控制台配置oss信息后,可以通过配置oss写入地址,将结果直接保存到自定义oss内。', - 'type' => 'string', ], + 'ProgressiveCallbacksEnabled' => ['title' => 'Specifies whether to enable the callback feature. To enable this feature, you must configure the callback type and URL in the console and set this parameter to true when creating the job.', 'description' => 'Specifies whether to enable callbacks. To receive callbacks, you must configure the callback type and URL in the console and set this parameter to `true`.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false'], + 'MultipleStreamsEnabled' => ['title' => 'Specifies whether to enable multi-channel audio stream recognition. This setting is only relevant in real-time recording scenarios and defaults to false.', 'description' => 'Specifies whether to enable multi-channel audio stream recognition. This parameter applies only to real-time recording scenarios. The default value is `false`.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false'], + 'TaskId' => ['title' => 'The TaskId returned when you create a real-time record. You can use this ID to end the real-time recording. Set this parameter only when ending a real-time record; do not set it at other times.', 'description' => 'The task ID that is returned when you create a real-time recording. This ID is required to stop the recording. Specify this parameter only when stopping a real-time recording.', 'type' => 'string', 'required' => false, 'example' => '9922c84c087044eda18659c128b56c84'], + 'OutputPath' => ['title' => 'After configuring OSS information in the console, you can specify an OSS write path to directly save results to your custom OSS bucket.', 'description' => 'After you configure OSS settings in the console, specify an OSS path to save results directly to your OSS bucket.', 'type' => 'string', 'required' => false, 'example' => ''], 'LanguageHints' => [ - 'title' => '偏好语种,仅当SourceLanguage="multilingual"时生效,限制模型的输出语种。', + 'description' => 'Preferred languages. This applies only when SourceLanguage is multilingual. It restricts the output language of the model.', + 'title' => 'Preferred languages. Takes effect only when SourceLanguage="multilingual" and restricts the output languages of the model.', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'AudioChannelMode' => [ - 'title' => '多通道音视频处理模式。', - 'type' => 'string', + 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'example' => '', ], + 'AudioChannelMode' => ['title' => 'Multi-channel audio and video processing pattern.', 'description' => 'Multi-channel audio or video processing mode.', 'type' => 'string', 'required' => false, 'example' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Parameters' => [ - 'description' => '', + 'description' => 'Algorithm-related parameters for customizing task processing.', 'type' => 'object', 'properties' => [ 'Transcoding' => [ - 'description' => '', + 'description' => 'Parameters for transcoding source audio/video files or audio streams.', 'type' => 'object', 'properties' => [ 'TargetAudioFormat' => [ - 'title' => '是否将原始音视频文件或音频流转成mp3格式保存,目前仅支持设置为mp3格式。在创建离线文件转写或实时会议时可选。', - 'description' => '', + 'description' => 'Specifies the target format for the transcoded audio. Set to `mp3` to transcode the source audio into MP3 format for storage. This parameter is optional for offline transcription and real-time recording tasks.', 'type' => 'string', 'required' => false, 'example' => 'mp3', - 'enum' => [ - 'mp3', - ], + 'enum' => ['mp3'], + 'title' => '', ], 'TargetVideoFormat' => [ - 'title' => '是否将原始视频文件转成mp4格式保存,目前仅支持设置为mp4格式。仅在创建离线文件转写且原始文件为视频格式时设置此参数有意义,通常无须设置。', - 'description' => '', + 'description' => 'Specifies the target format for the transcoded video. Set to `mp4` to transcode the source video into MP4 format for storage. This parameter applies only to offline transcription tasks with a video source file.', 'type' => 'string', 'required' => false, 'example' => 'mp4', - 'enum' => [ - 'mp4', - ], + 'enum' => ['mp4'], + 'title' => '', ], 'VideoThumbnailEnabled' => [ - 'title' => '是否将原始视频文件抽取视频缩略图并保存。仅在创建离线文件转写且原始文件为视频格式时设置此参数有意义,通常无须设置。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, + 'description' => 'Specifies whether to extract and save video thumbnails from the source video file. This parameter applies only to offline transcription tasks with a video source file.', 'enumValueTitles' => [], - 'example' => 'false', - 'default' => 'false', - ], - 'SpectrumEnabled' => [ - 'title' => '是否将原始音视频文件或音频流生成音频波形图并保存,目前仅支持设置为mp3格式。在创建离线文件转写或实时会议时可选。', - 'description' => '', 'type' => 'boolean', 'required' => false, - 'example' => 'false', 'default' => 'false', + 'title' => '', + 'example' => 'false', ], + 'SpectrumEnabled' => ['description' => 'Specifies whether to generate and save an audio waveform from the source audio/video file or audio stream. This parameter is optional for offline transcription and real-time recording tasks.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'false'], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'Transcription' => [ - 'title' => '语音识别功能控制参数', - 'description' => '', + 'title' => '', + 'description' => 'Parameters to control the speech transcription process.', 'type' => 'object', 'properties' => [ - 'AudioEventDetectionEnabled' => [ - 'title' => '是否在语音转写过程中开启声音事件检测,开启后,会生成声音事件检测的结果,比如Music事件等。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], - 'DiarizationEnabled' => [ - 'title' => '是否在语音转写过程中开启说话人分离功能', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'false', - 'default' => 'false', - ], + 'AudioEventDetectionEnabled' => ['description' => 'Specifies whether to enable sound event detection, which identifies non-speech events in the audio, such as music.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'false'], + 'DiarizationEnabled' => ['description' => 'Specifies whether to enable speaker diarization.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'false'], 'Diarization' => [ - 'description' => '', + 'description' => 'Parameters for the speaker diarization feature.', 'type' => 'object', 'properties' => [ 'SpeakerCount' => [ - 'title' => '是否开启说话人角色区分。注:只对16K及以上采样率生效。'."\n" - .'不设置:不使用说话人角色区分。'."\n" - .'0:说话人角色区分结果为不定人数。'."\n" - .'2:说话人角色区分结果为2人。', - 'description' => '', + 'description' => 'Specifies the number of speakers to identify.'."\n" + ."\n" + .'If this parameter is not set, speakers are not differentiated in the transcript.'."\n" + ."\n" + .'Set the value to `0` to identify an unknown number of speakers.'."\n" + ."\n" + .'Set the value to `2` to identify two speakers.', + 'enumValueTitles' => ['0', 2 => '2'], 'type' => 'integer', 'format' => 'int32', + 'title' => '', 'required' => false, 'example' => '2', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], 'OutputLevel' => [ - 'title' => '设置语音识别结果返回等级。1:识别出完整句子时返回识别结果;2:识别出中间结果及完整句子时返回识别结果', + 'title' => 'Set the speech recognition result return level. 1: Return the recognition result when a complete sentence is detected; 2: Return the recognition result when intermediate results and complete sentences are detected', + 'description' => 'Specifies the level of detail for the speech transcription results. Default value: `1`.'."\n" + ."\n" + .'- **1**: Returns results only when a complete sentence is recognized.'."\n" + ."\n" + .'- **2**: Returns both intermediate and final results as they are recognized.', + 'enumValueTitles' => [1 => 'Returns results only when a complete sentence is recognized.', 'Returns both intermediate and final results as they are recognized.'], 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', + 'example' => '2', ], 'AdditionalStreamOutputLevel' => [ - 'title' => '设置实时记录场景下活跃说话人对应的语音识别结果返回等级。1:识别出完整句子时返回识别结果;2:识别出中间结果及完整句子时返回识别结果(仅在实时记录场景下且MultipleStreamsEnabled=true时按需设置,离线转写场景无须设置)。', + 'title' => 'Set the Level at which speech recognition Results for active speakers are returned in real-time recording scenarios. 1: Return the Result when a complete sentence is detected; 2: Return the Result when intermediate results or a complete sentence are detected (applicable only in real-time recording scenarios when MultipleStreamsEnabled=true; not required for offline transcription scenarios). ', + 'description' => 'Specifies the level of detail for speech transcription results for the active speaker in a real-time recording scenario.'."\n" + ."\n" + .'- **1**: Returns results only when a complete sentence is recognized.'."\n" + ."\n" + .'- **2**: Returns both intermediate and final results as they are recognized.'."\n" + ."\n" + .'This parameter applies only to real-time recordings when `MultipleStreamsEnabled` is set to `true`.', + 'enumValueTitles' => [1 => 'Returns results only when a complete sentence is recognized.', 'Returns both intermediate and final results as they are recognized.'], 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', + 'example' => '1', ], - 'PhraseId' => [ - 'title' => '热词ID', - 'type' => 'string', - ], - 'Model' => [ - 'title' => '设置语音转写模型,提升特定领域转写效果。', - 'type' => 'string', - ], - 'RealtimeDiarizationEnabled' => [ - 'type' => 'boolean', - ], - 'ProfanityFilterEnabled' => [ - 'title' => '是否启用语音转写过程中的敏感词过滤功能,默认开启', - 'type' => 'boolean', - ], + 'PhraseId' => ['title' => 'Hotword ID', 'description' => 'The ID of the hotword list.', 'type' => 'string', 'required' => false, 'example' => 'ce9c2a34b6d847bf92a77d0a196f****'], + 'Model' => ['title' => 'Set the speech transcription model to improve transcription accuracy in specific domains. ', 'description' => 'Set the speech transcription model to improve accuracy for specific domains.', 'type' => 'string', 'required' => false, 'example' => ''], + 'RealtimeDiarizationEnabled' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'ProfanityFilterEnabled' => ['title' => 'Whether to enable the sensitive word filtering feature during speech transcription. Enabled by default.', 'description' => 'Enable sensitive word filtering during speech transcription. Enabled by default.', 'type' => 'boolean', 'required' => false, 'example' => ''], ], 'required' => false, + 'example' => '', ], 'Translation' => [ - 'title' => '语言翻译功能控制参数', - 'description' => '', + 'title' => '', + 'description' => 'Parameters to control the translation feature.', 'type' => 'object', 'properties' => [ 'TargetLanguages' => [ - 'title' => '添加待设置的目标翻译语言。 支持中文(cn)、英文(en)、日文(ja)。', - 'description' => '', + 'title' => '', + 'description' => 'The target languages for translation. This parameter is required if translation is enabled. Supported languages include Chinese, English, and Japanese.', 'type' => 'array', 'required' => false, 'items' => [ + 'description' => 'The target language for the translation. Valid values:'."\n" + ."\n" + .'- **cn**: Chinese'."\n" + ."\n" + .'- **en**: English'."\n" + ."\n" + .'- **ja**: Japanese', + 'enumValueTitles' => ['ja' => 'Japanese', 'en' => 'English', 'cn' => 'Chinese'], 'type' => 'string', + 'required' => false, + 'example' => 'en', + 'title' => '', ], + 'example' => '', ], 'OutputLevel' => [ - 'title' => '设置实时语言翻译识别结果返回等级。1:识别出完整句子时返回识别结果;2:识别出中间结果及完整句子时返回识别结果(仅在实时记录场景下按需设置,离线转写场景无须设置)。', + 'title' => 'Set the level of real-time language translation result output. 1: Return the classification result when a complete sentence is detected; 2: Return the classification result when intermediate results or a complete sentence are detected (set only as needed in real-time recording scenarios; not required for offline transcription scenarios).', + 'description' => 'Specifies the level of detail for real-time translation results. Default value: `1`.'."\n" + ."\n" + .'- **1**: Returns results only for complete sentences.'."\n" + ."\n" + .'- **2**: Returns both intermediate and final results.'."\n" + ."\n" + .'This parameter applies only to real-time recordings.', + 'enumValueTitles' => [1 => '1', '2'], 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', + 'example' => '2', ], 'AdditionalStreamOutputLevel' => [ - 'title' => '设置实时记录场景下活跃说话人对应的语言翻译识别结果返回等级。1:识别出完整句子时返回识别结果;2:识别出中间结果及完整句子时返回识别结果(仅在实时记录场景下且MultipleStreamsEnabled=true时按需设置,离线转写场景无须设置)。', + 'title' => 'Set the level for returning language translation recognition results corresponding to the active speaker in real-time recording scenarios. 1: Return the classification result when a complete sentence is detected; 2: Return the classification result when intermediate results and complete sentences are detected (only applicable in real-time recording scenarios when MultipleStreamsEnabled=true; not required in offline transcription scenarios).', + 'description' => 'Specifies the level of detail for real-time translation results for the active speaker.'."\n" + ."\n" + .'- **1**: Returns results only for complete sentences.'."\n" + ."\n" + .'- **2**: Returns both intermediate and final results.'."\n" + ."\n" + .'This parameter applies only to real-time recordings when `MultipleStreamsEnabled` is set to `true`.', + 'enumValueTitles' => [1 => 'Returns results only for complete sentences.', 'Returns both intermediate and final results.'], 'type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '1', + 'example' => '1', ], ], 'required' => false, + 'example' => '', ], - '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' => ['description' => 'Specifies whether to enable the translation feature.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'false'], + 'AutoChaptersEnabled' => ['description' => 'Specifies whether to generate a chapter summary, which includes chapter titles and summaries for each chapter.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'true'], + 'MeetingAssistanceEnabled' => ['description' => 'Specifies whether to generate intelligent minutes, which include keywords, key points, and action items.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'false'], 'MeetingAssistance' => [ - 'title' => '智能纪要功能控制参数,支持待办事项、关键词、重点内容的算法处理。 若您启用MeetingAssistanceEnabled但未通过MeetingAssistance设置算法类型,则默认都进行调用和返回。', + 'description' => 'Parameters for the intelligent minutes feature, which supports processing for action items, keywords, and key points. If `MeetingAssistanceEnabled` is set to `true` but you do not specify this object, all analysis types are enabled by default.', + 'title' => 'Control parameters for the Intelligent Meeting Summary feature, which supports algorithmic processing of to-do items, keywords, and key content. If you enable MeetingAssistanceEnabled but do not specify algorithm types via MeetingAssistance, all types will be invoked and returned by default.', 'type' => 'object', 'properties' => [ 'Types' => [ - 'title' => '开启智能纪要功能时,需传入期望的功能参数类型,支持待办(Actions)、关键信息(KeyInformation)。其中关键信息包含关键词和重点内容(关键句)', + 'minItems' => 1, + 'description' => 'The types of analysis to perform when the intelligent minutes feature is enabled. Supported values: `Actions` (action items) and `KeyInformation` (key information, including keywords and key points).', + 'title' => 'When the Intelligent Meeting Summary feature is enabled, you must specify the desired parameter types. Supported types include Actions and KeyInformation. KeyInformation includes keywords and key content (key sentences).', 'type' => 'array', 'items' => [ + 'description' => 'The type of analysis for intelligent minutes. Valid values:'."\n" + ."\n" + .'- **Actions**: Extracts action items.'."\n" + ."\n" + .'- **KeyInformation**: Extracts key information, including keywords and key points.', + 'enumValueTitles' => ['Actions' => 'action item', 'KeyInformation' => 'Key information (including keywords and key points)'], 'type' => 'string', 'required' => false, + 'example' => 'Actions', + 'title' => '', ], 'required' => false, - 'minItems' => 1, + 'example' => '', ], ], - ], - 'SummarizationEnabled' => [ - 'title' => '是否启用摘要功能,开启后会可以生成全文摘要、发言人总结等结果(依赖传入的摘要类型)。', - 'description' => '', - 'type' => 'boolean', 'required' => false, - 'example' => 'false', - 'default' => 'false', + 'example' => '', ], + 'SummarizationEnabled' => ['description' => 'Specifies whether to enable the summarization feature, which can generate results such as a full-text summary and a speaker summary.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'title' => '', 'example' => 'false'], 'Summarization' => [ - 'title' => '摘要功能控制参数', - 'description' => '', + 'title' => '', + 'description' => 'Parameters for the summarization feature.', 'type' => 'object', 'properties' => [ 'Types' => [ - 'title' => '添加待设置的大模型摘要参数,支持全文摘要(Paragraph)、发言人总结摘要(Conversational)。', - 'description' => '', + 'title' => '', + 'description' => 'The types of summaries to generate. This parameter is required when summarization is enabled. Supported types include `Paragraph` (full-text summary), `Conversational` (speaker summary), and `QuestionsAnswering` (Q\\&A summary).', 'type' => 'array', 'required' => false, - 'enumValueTitles' => [ - 'Conversational' => '', - 'QuestionsAnswering' => '', - 'Paragraph' => '', - ], + 'enumValueTitles' => ['Conversational' => 'speaker summary', 'QuestionsAnswering' => 'Q\\&A summary', 'Paragraph' => 'full-text summary'], 'example' => 'Paragraph', 'items' => [ - 'title' => '', + 'description' => 'The type of summary to generate. Valid values:'."\n" + ."\n" + .'- **Paragraph**: A full-text summary.'."\n" + ."\n" + .'- **Conversational**: A speaker summary.'."\n" + ."\n" + .'- **QuestionsAnswering**: A Q\\&A summary.', + 'enumValueTitles' => ['Conversational' => 'speaker summary', 'QuestionsAnswering' => 'Q\\&A summary', 'Paragraph' => 'full-text summary'], 'type' => 'string', + 'title' => '', + 'required' => false, + 'example' => 'Paragraph', ], ], ], 'required' => false, + 'example' => '', ], - 'PptExtractionEnabled' => [ - 'title' => '是否启用PPT抽取和PPT总结功能,开启后会对视频文件中的PPT进行画面抽取,并形成对应的总结', - 'type' => 'boolean', - 'required' => false, - 'default' => 'false', - ], - 'TextPolishEnabled' => [ - 'title' => '是否启用口语书面化,开启后会对音频转写结果进行润色,输出更为规范的文本结果', - 'type' => 'boolean', - 'default' => 'false', - ], - 'ServiceInspectionEnabled' => [ - 'title' => '服务质检功能开关,默认为false。', - 'type' => 'boolean', - ], + 'PptExtractionEnabled' => ['title' => 'Whether to enable PPT extraction and PPT summarization. When enabled, it extracts PPT frames from video files and generates corresponding summaries.', 'description' => 'Specifies whether to enable PPT extraction. If enabled, the service extracts slides from the video file and generates corresponding summaries. This feature applies only to offline transcription tasks with a video source file and has no effect on other task types.', 'type' => 'boolean', 'required' => false, 'default' => 'false', 'example' => 'false'], + 'TextPolishEnabled' => ['title' => 'Whether to enable Spoken-to-Written Text Polishing. When enabled, the audio transcription results are refined to produce more standardized text output.', 'description' => 'Specifies whether to enable the spoken-to-written conversion feature.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'false'], + 'ServiceInspectionEnabled' => ['title' => 'Toggle for the service quality inspection feature. The default value is false.', 'description' => 'Enable service quality inspection. Default is false.', 'type' => 'boolean', 'required' => false, 'example' => ''], 'ServiceInspection' => [ - 'title' => '服务质检参数对象。', + 'description' => 'Service quality inspection parameters.', + 'title' => 'Service inspection parameter object. ', 'type' => 'object', 'properties' => [ - 'SceneIntroduction' => [ - 'title' => '服务质检的对话场景描述。', - 'type' => 'string', - ], - 'InspectionIntroduction' => [ - 'title' => '服务质检的检测目标和侧重点描述。', - 'type' => 'string', - ], + 'SceneIntroduction' => ['title' => 'Description of the dialogue scenario for service quality inspection. ', 'description' => 'Description of the conversation scenario for service quality inspection.', 'type' => 'string', 'required' => false, 'example' => ''], + 'InspectionIntroduction' => ['title' => 'Description of the detection target and focus of service quality inspection. ', 'description' => 'Description of the inspection goals and focus areas for service quality inspection.', 'type' => 'string', 'required' => false, 'example' => ''], 'InspectionContents' => [ - 'title' => '服务质检的质检维度列表,包含质检维度名称和定义,即需要大模型以什么样的标准判断该维度是否命中。', + 'description' => 'List of inspection dimensions for service quality inspection. Each dimension includes a name and definition, which tells the Large Language Model how to evaluate whether the dimension is met.', + 'title' => 'List of service inspection dimensions, including the name and definition of each dimension. This defines the criteria the LLM uses to determine whether a dimension is hit. ', 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Title' => [ - 'title' => '服务质检的质检维度名称。', - 'type' => 'string', - ], - 'Content' => [ - 'title' => '服务质检的质检维度定义。', - 'type' => 'string', - ], + 'Title' => ['title' => 'The name of the dimension for service quality inspection. ', 'description' => 'Name of the inspection dimension.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Content' => ['title' => 'Definition of a service inspection dimension.', 'description' => 'Definition of the inspection dimension.', 'type' => 'string', 'required' => false, 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], - 'SpeakerMap' => [ - 'type' => 'object', - ], + 'SpeakerMap' => ['type' => 'object', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'example' => '', ], - 'CustomPromptEnabled' => [ - 'title' => '是否启用自定义Prompt,开启后可以输入个性化定制Prompt。', - 'type' => 'boolean', - ], + 'CustomPromptEnabled' => ['title' => 'Whether to enable Custom Prompt. When enabled, you can input a personalized custom prompt.', 'description' => 'Specifies whether to enable the custom prompt feature.', 'type' => 'boolean', 'required' => false, 'example' => 'false'], 'CustomPrompt' => [ - 'title' => '自定义Prompt的主要参数。', + 'description' => 'Parameters to control the custom prompt feature.', + 'title' => 'Main parameters of the Custom Prompt. ', 'type' => 'object', 'properties' => [ 'Contents' => [ - 'title' => '自定义Prompt的参数列表。', + 'description' => 'A list of custom prompt parameters.', + 'title' => 'List of parameters for the Custom Prompt. ', 'type' => 'array', 'items' => [ + 'description' => 'An object that defines a single custom prompt.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => 'Prompt的自定义名称,用于匹配输出结果。', - 'type' => 'string', - 'required' => true, - ], - 'Prompt' => [ - 'title' => 'Prompt的自定义内容。', - 'type' => 'string', - 'required' => true, - ], - 'Model' => [ - 'title' => '指定Prompt的模型。', - 'type' => 'string', - ], - 'TransType' => [ - 'title' => '指定{Transcription}标签格式。', - 'type' => 'string', - ], + 'Name' => ['title' => 'The custom name of the prompt, used to match output results.', 'description' => 'A custom name for the prompt, used to identify the corresponding output.', 'type' => 'string', 'required' => true, 'example' => 'summary-demo'], + 'Prompt' => ['title' => 'Custom content of the Prompt. ', 'description' => 'The content of the custom prompt.', 'type' => 'string', 'required' => true, 'example' => '总结一下下面的对话内容:{Transcription}'], + 'Model' => ['title' => 'The model for the Prompt. ', 'description' => 'The model to use for the prompt.', 'type' => 'string', 'required' => false, 'example' => 'tingwu-turbo'], + 'TransType' => ['title' => 'Specifies the {Transcription} tag format.', 'description' => 'Specifies the format for the `{Transcription}` tag.', 'type' => 'string', 'required' => false, 'example' => 'default'], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], ], + 'required' => false, + 'example' => '', ], 'ExtraParams' => [ - 'title' => '用以设置某些特殊场景或特殊配置参数,通常情况无须设置。', + 'description' => 'Extended parameters for advanced use cases. You do not typically need to configure these parameters.', + 'title' => 'Used to configure special scenarios or special configuration parameters. Typically, no configuration is needed.', 'type' => 'object', 'properties' => [ - 'NfixEnabled' => [ - 'title' => '是否启用Nfix。通常情况无须设置。', - 'type' => 'boolean', - ], - 'MaxKeywords' => [ - 'title' => '指定关键词的数量。', - 'type' => 'integer', - 'format' => 'int32', - ], - 'DomainEducationEnabled' => [ - 'type' => 'boolean', - ], - 'OcrAuxiliaryEnabled' => [ - 'type' => 'boolean', - ], - 'TranslateLlmSceneEnabled' => [ - 'type' => 'boolean', - ], - 'FullTextSummaryFormat' => [ - 'title' => '全文摘要返回格式', - 'type' => 'string', + 'NfixEnabled' => ['title' => 'Whether to enable Nfix. Typically, no configuration is needed.', 'description' => 'Specifies whether to enable nfix. You do not typically need to configure this parameter.', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + 'MaxKeywords' => ['title' => 'The quantity of keywords to specify.', 'description' => 'Maximum number of keywords.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => ''], + 'DomainEducationEnabled' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'OcrAuxiliaryEnabled' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'TranslateLlmSceneEnabled' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'FullTextSummaryFormat' => ['title' => 'The return format of the full-text summary.', 'description' => 'Full-text summary format.', 'type' => 'string', 'required' => false, 'example' => ''], + 'TranslationHotwordMap' => [ + 'type' => 'object', + 'properties' => [ + 'bizUserId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + 'bizType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], + 'required' => false, + 'example' => '', ], - 'ContentExtractionEnabled' => [ - 'type' => 'boolean', - ], + 'ContentExtractionEnabled' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], 'ContentExtraction' => [ - 'title' => '对话内容提取参数对象。', + 'description' => 'Conversation content extraction parameters.', + 'title' => 'An object containing parameters for dialogue content extraction.', 'type' => 'object', 'properties' => [ - 'SceneIntroduction' => [ - 'title' => '对话内容提取的场景描述。', - 'type' => 'string', - ], + 'SceneIntroduction' => ['title' => 'Scenario description for dialog content extraction. ', 'description' => 'Description of the conversation scenario for content extraction.', 'type' => 'string', 'required' => false, 'example' => ''], 'ExtractionContents' => [ - 'title' => '对话内容提取的提取维度列表,包含提取项的名称和定义。', + 'description' => 'List of content extraction dimensions. Each dimension includes a name and definition.', + 'title' => 'List of extraction dimensions for dialog content extraction, including the name and definition of each extraction item. ', 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Title' => [ - 'title' => '对话内容提取的提取维度名称。', - 'type' => 'string', - ], - 'Content' => [ - 'title' => '对话内容提取的维度定义。', - 'type' => 'string', - ], - 'Identity' => [ - 'type' => 'string', - ], + 'Title' => ['title' => 'Name of the extraction dimension for dialog content extraction. ', 'description' => 'Name of the content extraction dimension.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Content' => ['title' => 'Definition of the dimension for dialog content extraction. ', 'description' => 'Definition of the content extraction dimension.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Identity' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], - 'SpeakerMap' => [ - 'type' => 'object', - ], + 'SpeakerMap' => ['type' => 'object', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'example' => '', ], - 'IdentityRecognitionEnabled' => [ - 'title' => '身份识别开关。', - 'type' => 'boolean', - ], + 'IdentityRecognitionEnabled' => ['title' => 'Toggle for identity recognition.', 'description' => 'Enable identity recognition.', 'type' => 'boolean', 'required' => false, 'example' => ''], 'IdentityRecognition' => [ - 'title' => '身份识别参数对象。', + 'description' => 'Identity recognition parameters.', + 'title' => 'The parameter object for identity recognition. ', 'type' => 'object', 'properties' => [ - 'SceneIntroduction' => [ - 'title' => '身份识别的场景描述。', - 'type' => 'string', - ], + 'SceneIntroduction' => ['title' => 'Scenario Description for Identity Recognition', 'description' => 'Description of the scenario for identity recognition.', 'type' => 'string', 'required' => false, 'example' => ''], 'IdentityContents' => [ - 'title' => '身份识别的内容列表,包含身份名称和描述。', + 'description' => 'List of identities, including identity name and description.', + 'title' => 'List of identity recognition content, including identity name and description.', 'type' => 'array', 'items' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '身份名称。', - 'type' => 'string', - ], - 'Description' => [ - 'title' => '身份描述。', - 'type' => 'string', - ], + 'Name' => ['title' => 'Identity Name', 'description' => 'Identity name.', 'type' => 'string', 'required' => false, 'example' => ''], + 'Description' => ['title' => 'Identity Description', 'description' => 'Identity description.', 'type' => 'string', 'required' => false, 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], + 'required' => false, + 'example' => '', ], ], + 'required' => false, + 'example' => '', ], 'AutoChapters' => [ + 'description' => '', 'type' => 'object', 'properties' => [ - 'ChapterGranularity' => [ - 'type' => 'string', - ], + 'ChapterGranularity' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'Model' => [ - 'type' => 'string', - ], - 'LlmOutputLanguage' => [ - 'type' => 'string', - ], + 'Model' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'LlmOutputLanguage' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], 'required' => false, + 'example' => '', ], ], ], @@ -622,288 +568,110 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - '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' => 'The request ID, used for troubleshooting only.', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Message' => ['description' => 'The status message.', 'type' => 'string', 'example' => 'Success.', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'c5394c6ee0fb474899d42215a3925c7e', - ], - 'TaskKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task_tingwu_123', - ], - 'MeetingJoinUrl' => [ - 'title' => '实时记录场景下生成的音频流推送地址,您可以在后续实时音频流识别时通过该地址进行', - 'type' => 'string', - ], - 'TaskStatus' => [ - 'title' => '任务状态', - 'type' => 'string', - ], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => 'c5394c6ee0fb474899d42215a3925c7e', 'title' => ''], + 'TaskKey' => ['description' => 'The custom identifier specified during task creation.', 'type' => 'string', 'example' => 'task_tingwu_123', 'title' => ''], + 'MeetingJoinUrl' => ['title' => 'Audio stream push URL generated in the real-time recording scenario. You can use this URL for subsequent real-time audio stream recognition. ', 'description' => 'The stream ingestion URL. Push audio streams to this URL for real-time transcription.', 'type' => 'string', 'example' => 'wss://tingwu-realtime-cn-beijing.aliyuncs.com/api/ws/v1?mc=****'], + 'TaskStatus' => ['title' => 'Job Status ', 'description' => 'The task status.', 'type' => 'string', 'example' => 'ONGOING'], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - '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"}]', - ], - 'GetTaskInfo' => [ - 'summary' => '查询听悟任务信息', - 'path' => '/openapi/tingwu/v2/tasks/{TaskId}', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a Listen and Understand Job ', + 'summary' => 'Create offline transcription and real-time meeting tasks in Tingwu.', + 'changeSet' => [ + ['createdAt' => '2025-09-12T05:20:21.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-09-12T04:07:33.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-04-02T03:52:47.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-03-31T09:57:32.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-27T08:59:22.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-02-05T03:00:34.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-11-22T03:15:40.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-10T04:56:31.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-29T07:00:18.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-21T05:43:51.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-06-14T05:07:11.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-21T11:33:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-20T08:44:15.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-17T07:13:56.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-05-15T03:05:45.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-18T08:42:15.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-18T05:49:57.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-15T07:24:48.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-12T01:36:52.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-08T06:20:39.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-19T10:53:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-18T13:17:42.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-12-11T06:35:36.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-20T08:13:44.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-16T03:05:21.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'], ], ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREnls24C81K', - 'FEATUREnlsO1I14I', - ], - ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'c5394c6ee0fb474899d42215a3925c7e', - 'title' => '创建任务时生成的TaskId', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - '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' => '', - 'type' => 'string', - 'example' => 'c5394c6ee0fb474899d42215a3925c7e', - ], - 'TaskKey' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'task_tingwu_123', - 'title' => '该任务由用户自定义的TaskKey, 此处原样返回。', - ], - 'TaskStatus' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'COMPLETE', - 'title' => '任务状态', - ], - 'OutputMp3Path' => [ - 'title' => 'mp3转换结果的url链接', - 'type' => 'string', - ], - 'OutputMp4Path' => [ - 'title' => 'mp4转换结果的url链接', - 'type' => 'string', - ], - 'OutputThumbnailPath' => [ - 'title' => '视频缩略图的url链接', - 'type' => 'string', - ], - 'OutputSpectrumPath' => [ - 'title' => '音频波形图的url链接', - 'type' => 'string', - ], - 'ErrorCode' => [ - 'title' => '错误码', - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'title' => '错误信息', - 'type' => 'string', - ], - 'Result' => [ - 'title' => '各类算法处理的结果集合。该结果以http链接的形式返回,用户可基于该链接解析原生结果。', - 'type' => 'object', - 'properties' => [ - 'Transcription' => [ - 'title' => '语音转写对应的结果url链接。', - 'type' => 'string', - ], - 'AutoChapters' => [ - 'title' => '章节速览功能对应的结果url链接。', - 'type' => 'string', - ], - 'MeetingAssistance' => [ - 'title' => '智能纪要对应的结果url链接', - 'type' => 'string', - ], - 'Summarization' => [ - 'title' => '大模型摘要对应的结果url链接。', - 'type' => 'string', - ], - 'Translation' => [ - 'title' => '文本翻译对应的结果url链接', - 'type' => 'string', - ], - 'PptExtraction' => [ - 'title' => '视频PPT抽取和总结对应的结果url链接', - 'type' => 'string', - ], - 'TextPolish' => [ - 'title' => '口语书面化对应的结果url链接', - 'type' => 'string', - ], - 'CustomPrompt' => [ - 'title' => '自定义prompt对应的结果url链接', - 'type' => 'string', - ], - 'ServiceInspection' => [ - 'title' => '服务质检对应的结果url链接', - 'type' => 'string', - ], - 'IdentityRecognition' => [ - 'type' => 'string', - ], - 'ContentExtraction' => [ - 'type' => 'string', - ], - ], - ], - ], - ], + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', '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"}]', + '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' => '创建热词词表', + 'summary' => 'Creates a custom vocabulary of transcription phrases.', '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', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'title' => '请求参数body', - 'description' => '', + 'title' => '', + 'description' => 'The request 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' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{"苹果":3,"西瓜":3}', - ], + 'Name' => ['description' => 'The name of the phrases list.', 'type' => 'string', 'required' => true, 'example' => 'fruit_phrase', 'maxLength' => 50, 'minLength' => 1, 'title' => ''], + 'Description' => ['description' => 'The description of the phrases list.', 'type' => 'string', 'example' => 'custom fruit phrases list', 'maxLength' => 250, 'minLength' => 1, 'title' => '', 'required' => false], + 'WordWeights' => ['description' => 'A JSON-formatted string that represents a map of words and their corresponding weights.', 'type' => 'string', 'required' => true, 'example' => '{"苹果":3,"西瓜":3}', 'title' => ''], ], 'required' => false, + 'example' => '', ], ], ], @@ -914,98 +682,72 @@ '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' => 'The status code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Message' => ['description' => 'A description of the status.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Data' => [ - 'title' => '返回对象。', - 'description' => '', + 'title' => '', + 'description' => 'The returned object.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。', - 'description' => '', - 'type' => 'string', - 'example' => 'SUCCEEDED', - ], - 'PhraseId' => [ - 'title' => '词表ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'description' => '', - 'type' => 'string', - 'example' => '0', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'description' => '', - 'type' => 'string', - 'example' => 'success', - ], + 'Status' => ['description' => 'Indicates whether the operation was successful.', 'type' => 'string', 'example' => 'SUCCEEDED', 'title' => ''], + 'PhraseId' => ['description' => 'The ID of the phrases list.', 'type' => 'string', 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'success'], ], + 'example' => '', ], ], + 'example' => '', ], ], ], - '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"}]', - ], - 'GetTranscriptionPhrases' => [ - 'summary' => '查询热词词表信息', - 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', - 'methods' => [ - 'get', + 'title' => 'Create a hotword vocabulary', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'DeleteTranscriptionPhrases' => [ + 'summary' => 'Deletes phrase tables.', + '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' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], + 'schema' => ['description' => 'Phrase table ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'], ], ], 'responses' => [ @@ -1015,162 +757,72 @@ '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' => ['description' => 'Is the operation successful?', 'type' => 'string', 'example' => 'SUCCEEDED', 'title' => ''], + 'ErrorCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'ErrorMessage' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', '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' => '', - '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' => '', - 'type' => 'string', - 'example' => '{"苹果":3,"西瓜":3}', - ], - ], - ], - ], + 'Status' => ['title' => 'Indicates whether the operation succeeded.', 'description' => 'Is the operation successful?', 'type' => 'string', 'example' => ''], + 'ErrorCode' => ['title' => 'Error code.', 'description' => 'Error code.', 'type' => 'string', 'example' => ''], + 'ErrorMessage' => ['title' => 'Error message.', 'description' => 'Error message.', 'type' => 'string', 'example' => ''], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - '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' => 'Delete a hotword phrase table', + 'changeSet' => [ + ['createdAt' => '2025-03-12T02:26:22.000Z', 'description' => 'Response parameters changed'], ], - '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"}]', - ], - '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' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetTaskInfo' => [ + 'summary' => 'Query the job status and job result. ', + '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' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'title' => '请求参数body', - 'description' => '', - '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' => '', - 'type' => 'string', - 'required' => true, - 'example' => '{"苹果":3,"西瓜":3}', - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The TaskId returned when the job was created.', 'type' => 'string', 'required' => true, 'example' => 'c5394c6ee0fb474899d42215a3925c7e', 'title' => ''], ], ], 'responses' => [ @@ -1180,264 +832,637 @@ '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' => 'Request ID, used only for joint debugging. ', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Message' => ['description' => 'Status description. ', 'type' => 'string', 'example' => 'Success.', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'Returned object. ', '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' => 'Job ID. ', 'type' => 'string', 'example' => 'c5394c6ee0fb474899d42215a3925c7e', 'title' => ''], + 'TaskKey' => ['description' => 'The custom ID set by the user when creating the job.', 'type' => 'string', 'example' => 'task_tingwu_123', 'title' => ''], + 'TaskStatus' => ['description' => 'Task Status.'."\n" + ."\n" + .'- ONGOING: The job is in progress.'."\n" + .'- COMPLETED: The job is completed.'."\n" + .'- FAILED: The job has failed.'."\n" + .'- INVALID: The job is invalid.', 'type' => 'string', 'example' => 'COMPLETED', 'title' => ''], + 'OutputMp3Path' => ['description' => 'URL link to the MP3 conversion result ', 'title' => 'URL link to the MP3 conversion result ', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp3?Expires=1706064016'], + 'OutputMp4Path' => ['description' => 'URL link to the MP4 conversion result ', 'title' => 'URL link to the MP4 conversion result ', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.mp4?Expires=1706064016'], + 'OutputThumbnailPath' => ['description' => 'URL link to the video thumbnail ', 'title' => 'URL link to the video thumbnail ', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.png?Expires=1706064016'], + 'OutputSpectrumPath' => ['description' => 'URL link to the audio waveform graph ', 'title' => 'URL link to the audio waveform graph ', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_20231222101008.spectrum?Expires=1706064016'], + 'ErrorCode' => ['description' => 'Error code ', 'title' => 'Error code ', 'type' => 'string', 'example' => 'TSC.AudioFormat'], + 'ErrorMessage' => ['description' => 'Error message', 'title' => 'Error message', 'type' => 'string', 'example' => 'Audio format invalid.'], + 'Result' => [ + 'description' => 'A collection of results from various algorithm processing tasks. The result is returned as an HTTP link, which the user can use to parse the native result.', + 'title' => 'A collection of results from various algorithm processing tasks. The result is returned as an HTTP link, which the user can use to parse the native result.', + 'type' => 'object', + 'properties' => [ + 'Transcription' => ['description' => 'Link to the result of speech transcription.', 'title' => 'Link to the result of speech transcription.', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Transcription_20231222101008.json?Expires=1706064016'], + 'AutoChapters' => ['description' => 'Link to the result of the Auto Chapters feature.', 'title' => 'Link to the result of the Auto Chapters feature.', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_AutoChapters_20231222101215.json?Expires=1706064016'], + 'MeetingAssistance' => ['description' => 'URL link to the result of Intelligent Meeting Summary', 'title' => 'URL link to the result of Intelligent Meeting Summary', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_MeetingAssistance_20231222101112.json?Expires=1706064016'], + 'Summarization' => ['description' => 'Link to the result of LLM-based summarization.', 'title' => 'Link to the result of LLM-based summarization.', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Summarization_20231222101215.json?Expires=1706064016'], + 'Translation' => ['description' => 'URL link to the result of text translation', 'title' => 'URL link to the result of text translation', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_Translation_20231222101215.json?Expires=1706064016'], + 'PptExtraction' => ['description' => 'URL link to the result of video PPT extraction and summarization', 'title' => 'Link to the result of Video PPT extraction and summary', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_PptExtraction_20231222101215.json?Expires=1706064016'], + 'TextPolish' => ['description' => 'Link to the result of spoken-to-written text conversion', 'title' => 'Link to the result of spoken-to-written text conversion', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_TextPolish_20231222101215.json?Expires=1706064016'], + 'CustomPrompt' => ['description' => 'Link to the result of the Custom prompt', 'title' => 'Link to the result of the Custom prompt', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ CustomPrompt_20231222101215.json?Expires=1706064016'], + 'ServiceInspection' => ['description' => 'Link to the result of service inspection', 'title' => 'Link to the result of service inspection', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ServiceInspection_20231222101215.json?Expires=1706064016'], + 'IdentityRecognition' => ['description' => 'The URL link to the identity recognition result.', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ IdentityRecognition_20231222101215.json?Expires=1706064016', 'title' => ''], + 'ContentExtraction' => ['description' => 'URL link to the result of conversation content extraction', 'type' => 'string', 'example' => 'http://xxxx.com/tingwu/output/1738248324/094e964bf0e04e39/094e964bf0e04e39_ ContentExtraction_20231222101215.json?Expires=1706064016', 'title' => ''], + ], + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - '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 \\"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' => 'Query Job Status and Job Result', + 'changeSet' => [ + ['createdAt' => '2025-03-31T11:45:07.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-08-15T07:34:12.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-12T03:48:09.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-04-10T09:30:27.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-23T03:11:30.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-12-25T03:37:16.000Z', 'description' => 'Response parameters changed'], ], - '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"}]', - ], - 'DeleteTranscriptionPhrases' => [ - 'summary' => '删除词表', - 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskInfo'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'tingwu:GetTaskInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetTranscriptionPhrases' => [ + 'summary' => 'Queries information about hotword lists.', + 'path' => '/openapi/tingwu/v2/resources/phrases/{PhraseId}', + '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' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], + 'schema' => ['description' => 'Hotword list ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema.', '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' => 'Request ID.', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => 'Status code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Message' => ['description' => 'Status message.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Data' => [ + 'description' => 'Response object.', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'title' => '操作是否成功。', - 'type' => 'string', - ], - 'ErrorCode' => [ - 'title' => '错误码。', - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'title' => '错误信息。', - 'type' => 'string', + 'Status' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'string', 'example' => 'SUCCEEDED', 'title' => ''], + 'ErrorCode' => ['description' => 'Error code.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'ErrorMessage' => ['description' => 'Error message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + 'Phrases' => [ + 'description' => 'Hotword objects.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PhraseId' => ['description' => 'ID of the phrase list.', 'type' => 'string', 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'], + 'Name' => ['description' => 'Hotword list name.', 'type' => 'string', 'example' => 'fruit_phrase', 'title' => ''], + 'Description' => ['description' => 'Hotword list description.', 'type' => 'string', 'example' => 'custom fruit phrases list', 'title' => ''], + 'WordWeights' => ['description' => 'Words and their weights in the hotword list, formatted as a JSON map string.', 'type' => 'string', 'example' => '{"苹果":3,"西瓜":3}', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', + ], + ], + ], + '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' => 'Query hot word category ', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:GetTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Status\\": \\"SUCCEEDED\\",\\n \\"ErrorCode\\": \\"0\\",\\n \\"ErrorMessage\\": \\"success\\",\\n \\"Data\\": {\\n \\"Status\\": \\"\\",\\n \\"ErrorCode\\": \\"\\",\\n \\"ErrorMessage\\": \\"\\"\\n }\\n}","type":"json"}]', ], 'ListTranscriptionPhrases' => [ - 'summary' => '列举用户所有热词词表信息', + 'summary' => 'Lists all of a user\'s hot phrase lists.', '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 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', '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' => 'status code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Message' => ['description' => 'status description.', 'type' => 'string', 'example' => 'success', 'title' => ''], 'Data' => [ - 'description' => '', + 'description' => 'Response object.', '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' => ['description' => 'Indicates whether the operation was successful.', 'type' => 'string', 'example' => 'SUCCEEDED', 'title' => ''], + 'ErrorCode' => ['description' => 'error code.', 'type' => 'string', 'title' => '', 'example' => 'PHS.Exceed'], + 'ErrorMessage' => ['description' => 'error message.', 'type' => 'string', 'title' => '', 'example' => 'The num of the phrase exceeds the upper limit.'], 'Phrases' => [ - 'description' => '', + 'description' => 'Phrase objects.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'PhraseId' => [ - 'title' => '词表ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'a93b91141c0f422fa114af203f8b****', - ], - 'Name' => [ - 'title' => '词表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'fruit_phrase', - ], - 'Description' => [ - 'title' => '词表描述信息。', - 'description' => '', - 'type' => 'string', - 'example' => 'custom fruit phrases list', - ], + 'PhraseId' => ['description' => 'Phrase list ID.', 'type' => 'string', 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'], + 'Name' => ['description' => 'Phrase list name.', 'type' => 'string', 'example' => 'fruit_phrase', 'title' => ''], + 'Description' => ['description' => 'Phrase list description.', 'type' => 'string', 'example' => 'custom fruit phrases list', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - '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' => 'List hot word dictionaries', + 'changeSet' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:ListTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'flowControl' => [ + 'flowControlList' => [], + ], + ], + 'UpdateTranscriptionPhrases' => [ + 'summary' => 'Update a hotword list.', + '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' => ['description' => 'The ID of the hotword list.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'title' => '', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the hotword list.', 'type' => 'string', 'required' => true, 'example' => 'fruit_phrase', 'maxLength' => 50, 'minLength' => 1, 'title' => ''], + 'Description' => ['description' => 'A description of the hotword list.', 'type' => 'string', 'example' => 'custom fruit phrases list', 'maxLength' => 250, 'minLength' => 1, 'title' => '', 'required' => false], + 'WordWeights' => ['description' => 'A JSON map string that defines hotwords and their weights.', 'type' => 'string', 'required' => true, 'example' => '{"苹果":3,"西瓜":3}', 'title' => ''], + ], + 'required' => false, + 'example' => '', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Response schema', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'], + 'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '0', 'title' => ''], + 'Message' => ['description' => 'The status message.', 'type' => 'string', 'example' => 'success', 'title' => ''], + 'Data' => [ + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'string', 'example' => 'SUCCEEDED', 'title' => ''], + 'ErrorCode' => ['description' => 'The error code.', 'type' => 'string', 'title' => '', 'example' => '0'], + 'ErrorMessage' => ['description' => 'The error message.', 'type' => 'string', 'title' => '', 'example' => 'success'], + ], + 'title' => '', + 'example' => '', + ], + ], + 'example' => '', + ], + ], + ], + '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' => 'Update the hotword vocabulary', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:UpdateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], ], ], 'endpoints' => [ + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', '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' => 'Invalid project app key.'], + ['code' => 'BRK.InvalidAudioBitRate', 'message' => 'Invalid audio bit rate.', 'http_code' => 400, 'description' => 'Invalid audio sample bit depth.'], + ['code' => 'BRK.InvalidAudioFormat', 'message' => 'Invalid audio format.', 'http_code' => 400, 'description' => 'Invalid audio encoding format.'], + ['code' => 'BRK.InvalidAudioPackage', 'message' => 'Invalid audio package.', 'http_code' => 400, 'description' => 'Invalid audio packaging mode.'], + ['code' => 'BRK.InvalidAudioSampleRate', 'message' => 'Invalid audio sample rate.', 'http_code' => 400, 'description' => 'Invalid audio sample rate.'], + ['code' => 'BRK.InvalidLanguage', 'message' => 'Invalid language.', 'http_code' => 400, 'description' => 'Invalid language model.'], + ['code' => 'BRK.InvalidOssBucket', 'message' => 'Invalid oss bucket.', 'http_code' => 400, 'description' => 'Invalid OSS bucket.'], + ['code' => 'BRK.InvalidOssPath', 'message' => 'Invalid oss path.', 'http_code' => 400, 'description' => 'Invalid OSS path.'], + ['code' => 'BRK.InvalidOutputEnabledSetting', 'message' => 'Invalid output enabled setting.', 'http_code' => 400, 'description' => 'Invalid result return switch settings.'], + ['code' => 'BRK.InvalidResultLevelSetting', 'message' => 'Invalid result level setting.', 'http_code' => 400, 'description' => 'Invalid result return level settings.'], + ['code' => 'BRK.InvalidRoleSplitNum', 'message' => 'Invalid roleSplitNum.', 'http_code' => 400, 'description' => 'Invalid roleSplitNum value.'], + ['code' => 'BRK.InvalidService', 'message' => 'Invalid service.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account.'], + ['code' => 'BRK.InvalidTenant', 'message' => 'Invalid tenant.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account, or an overdue payment exists.'], + ['code' => 'BRK.OverdueService', 'message' => 'Overdue service.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account, or an overdue payment exists.'], + ['code' => 'BRK.OverdueTenant', 'message' => 'Overdue tenant.', 'http_code' => 400, 'description' => 'The service has not been enabled under the account, or an overdue payment exists.'], + ['code' => 'BRK.ServiceLinkedRoleNotExist', 'message' => 'ServiceLinkedRole AliyunServiceRoleForTingwuPaaS not exist.', 'http_code' => 400, 'description' => 'The service-linked role has not been created.'], + ['code' => 'ServerError', 'message' => 'Server error.', 'http_code' => 500, 'description' => 'A system error occurred.'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-11-22T03:15:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-09-10T04:56:38.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-08-15T07:34:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-07-29T07:00:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-06-21T05:43:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-06-14T05:07:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-21T11:35:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-20T08:44:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-17T07:14:03.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-05-15T03:05:52.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-04-12T03:48:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-04-10T09:30:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-18T08:42:22.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-18T05:50:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-15T07:24:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-03-12T01:36:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2024-02-23T03:11:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2024-01-08T06:20:46.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetTaskInfo'], + ], + 'createdAt' => '2023-12-25T03:37:20.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-12-19T10:53:59.000Z', + 'description' => '', + ], [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'tingwu.cn-beijing.aliyuncs.com', + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-12-18T13:17:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-12-11T06:35:42.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateTask'], + ], + 'createdAt' => '2023-11-20T08:13:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', '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' => 'Intelligent Speech Interaction', + 'ramCodes' => ['tingwu'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListTranscriptionPhrases', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:ListTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTranscriptionPhrases', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:GetTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteTranscriptionPhrases', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:DeleteTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'UpdateTranscriptionPhrases', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:UpdateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'GetTaskInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'tingwu:GetTaskInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTask', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateTranscriptionPhrases', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'tingwu:CreateTranscriptionPhrases', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'NlsTingwu', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'resourceTypes' => [], ], ]; |
