summaryrefslogtreecommitdiff
path: root/data/en_us/tingwu/2023-09-30/api-docs.php
blob: cae2855db312e8a3211e54d6f907362668490cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
<?php return [
    'version' => '1.0',
    'info' => ['style' => 'ROA', 'product' => 'tingwu', 'version' => '2023-09-30'],
    'directories' => [
        'GetTaskInfo',
        [
            'children' => ['CreateTranscriptionPhrases', 'GetTranscriptionPhrases', 'UpdateTranscriptionPhrases', 'DeleteTranscriptionPhrases', 'ListTranscriptionPhrases'],
            'type' => 'directory',
            'title' => 'Hotwords',
        ],
        [
            'children' => ['CreateTask'],
            'title' => 'Others',
            'type' => 'directory',
        ],
    ],
    'components' => [
        'schemas' => [],
    ],
    'apis' => [
        'CreateTask' => [
            'path' => '/openapi/tingwu/v2/tasks',
            'methods' => ['put'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'high',
                'chargeType' => 'paid',
                'abilityTreeCode' => '196631',
                'abilityTreeNodes' => ['FEATUREnls24C81K', 'FEATUREnlsO1I14I'],
            ],
            'parameters' => [
                [
                    'name' => 'type',
                    'in' => 'query',
                    'schema' => [
                        '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,
                        'example' => 'offline',
                        'title' => '',
                    ],
                ],
                [
                    'name' => 'operation',
                    'in' => 'query',
                    'schema' => [
                        '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',
                        'example' => 'stop',
                        'required' => false,
                        'title' => '',
                    ],
                ],
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => [
                        'title' => '',
                        'description' => 'The request body parameters.',
                        'type' => 'object',
                        'properties' => [
                            'AppKey' => ['description' => 'The AppKey of the project that you created in the console.', 'type' => 'string', 'required' => false, 'example' => 'JV1sRTisRMi****', 'title' => ''],
                            'Input' => [
                                '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' => [
                                        '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,
                                        'title' => '',
                                        'example' => 'cn',
                                    ],
                                    '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' => [
                                        '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,
                                        'title' => '',
                                        'example' => 'pcm',
                                    ],
                                    'SampleRate' => [
                                        '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',
                                    ],
                                    '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' => [
                                        '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', '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' => 'Algorithm-related parameters for customizing task processing.',
                                'type' => 'object',
                                'properties' => [
                                    'Transcoding' => [
                                        'description' => 'Parameters for transcoding source audio/video files or audio streams.',
                                        'type' => 'object',
                                        'properties' => [
                                            'TargetAudioFormat' => [
                                                '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'],
                                                'title' => '',
                                            ],
                                            'TargetVideoFormat' => [
                                                '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'],
                                                'title' => '',
                                            ],
                                            'VideoThumbnailEnabled' => [
                                                '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' => [],
                                                'type' => 'boolean',
                                                'required' => 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' => 'Parameters to control the speech transcription process.',
                                        'type' => 'object',
                                        'properties' => [
                                            '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' => 'Parameters for the speaker diarization feature.',
                                                'type' => 'object',
                                                'properties' => [
                                                    'SpeakerCount' => [
                                                        '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' => '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' => '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' => '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' => 'Parameters to control the translation feature.',
                                        'type' => 'object',
                                        'properties' => [
                                            'TargetLanguages' => [
                                                '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' => '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' => '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' => ['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' => [
                                        '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' => [
                                                '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,
                                                'example' => '',
                                            ],
                                        ],
                                        'required' => 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' => 'Parameters for the summarization feature.',
                                        'type' => 'object',
                                        'properties' => [
                                            'Types' => [
                                                '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' => 'speaker summary', 'QuestionsAnswering' => 'Q\\&A summary', 'Paragraph' => 'full-text summary'],
                                                'example' => 'Paragraph',
                                                'items' => [
                                                    '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' => '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' => [
                                        'description' => 'Service quality inspection parameters.',
                                        'title' => 'Service inspection parameter object.  ',
                                        'type' => 'object',
                                        'properties' => [
                                            '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' => [
                                                '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' => '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', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
                                        ],
                                        'required' => false,
                                        'example' => '',
                                    ],
                                    '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' => [
                                        'description' => 'Parameters to control the custom prompt feature.',
                                        'title' => 'Main parameters of the Custom Prompt.  ',
                                        'type' => 'object',
                                        'properties' => [
                                            'Contents' => [
                                                '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' => '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' => [
                                        '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' => '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', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
                                    'ContentExtraction' => [
                                        'description' => 'Conversation content extraction parameters.',
                                        'title' => 'An object containing parameters for dialogue content extraction.',
                                        'type' => 'object',
                                        'properties' => [
                                            'SceneIntroduction' => ['title' => 'Scenario description for dialog content extraction.  ', 'description' => 'Description of the conversation scenario for content extraction.', 'type' => 'string', 'required' => false, 'example' => ''],
                                            'ExtractionContents' => [
                                                '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' => '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', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
                                        ],
                                        'required' => false,
                                        'example' => '',
                                    ],
                                    'IdentityRecognitionEnabled' => ['title' => 'Toggle for identity recognition.', 'description' => 'Enable identity recognition.', 'type' => 'boolean', 'required' => false, 'example' => ''],
                                    'IdentityRecognition' => [
                                        'description' => 'Identity recognition parameters.',
                                        'title' => 'The parameter object for identity recognition.  ',
                                        'type' => 'object',
                                        'properties' => [
                                            'SceneIntroduction' => ['title' => 'Scenario Description for Identity Recognition', 'description' => 'Description of the scenario for identity recognition.', 'type' => 'string', 'required' => false, 'example' => ''],
                                            'IdentityContents' => [
                                                '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' => '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', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
                                        ],
                                        'required' => false,
                                        'title' => '',
                                        'example' => '',
                                    ],
                                    'Model' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
                                    'LlmOutputLanguage' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
                                ],
                                'required' => false,
                                'title' => '',
                                'example' => '',
                            ],
                        ],
                        'required' => false,
                        'example' => '',
                    ],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'The response schema.',
                        'type' => 'object',
                        'properties' => [
                            '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' => 'The response data.',
                                'type' => 'object',
                                'properties' => [
                                    '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'],
            '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'],
            ],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTask'],
                ],
            ],
            'ramActions' => [
                [
                    'operationType' => 'none',
                    'ramAction' => [
                        'action' => 'tingwu:CreateTask',
                        '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    \\"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' => 'Creates a custom vocabulary of transcription phrases.',
            'path' => '/openapi/tingwu/v2/resources/phrases',
            'methods' => ['post'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'write',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'none'],
            'parameters' => [
                [
                    'name' => 'body',
                    'in' => 'body',
                    'style' => 'json',
                    'schema' => [
                        'title' => '',
                        'description' => 'The request body.',
                        'type' => 'object',
                        'properties' => [
                            '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' => '',
                    ],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '35124E1C-AE99-5D6C-A52E-BD689D8D****'],
                            'Code' => ['description' => 'The status code.', 'type' => 'string', 'example' => '0', 'title' => ''],
                            'Message' => ['description' => 'A description of the status.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'Data' => [
                                'title' => '',
                                'description' => 'The returned object.',
                                'type' => 'object',
                                'properties' => [
                                    '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'],
            'responseDemo' => '[{"errorExample":"","example":"{\\n  \\"RequestId\\": \\"35124E1C-AE99-5D6C-A52E-BD689D8D****\\",\\n  \\"Code\\": \\"0\\",\\n  \\"Message\\": \\"success\\",\\n  \\"Data\\": {\\n    \\"Status\\": \\"SUCCEEDED\\",\\n    \\"PhraseId\\": \\"a93b91141c0f422fa114af203f8b****\\",\\n    \\"ErrorCode\\": \\"0\\",\\n    \\"ErrorMessage\\": \\"success\\"\\n  }\\n}","type":"json"}]',
            'title' => 'Create a hotword vocabulary',
            'changeSet' => [],
            'flowControl' => [
                'flowControlList' => [],
            ],
            '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' => 'write',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'none',
                'riskType' => 'high',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREnls24C81K', 'FEATUREnlsO1I14I'],
            ],
            'parameters' => [
                [
                    'name' => 'PhraseId',
                    'in' => 'path',
                    'schema' => ['description' => 'Phrase table ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            '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' => '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'],
            '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'],
            ],
            'flowControl' => [
                'flowControlList' => [],
            ],
            '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' => [],
                ],
            ],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => [
                'operationType' => 'get',
                'riskType' => 'none',
                'chargeType' => 'free',
                'abilityTreeNodes' => ['FEATUREnls24C81K', 'FEATUREnlsO1I14I'],
            ],
            'parameters' => [
                [
                    'name' => 'TaskId',
                    'in' => 'path',
                    'schema' => ['description' => 'The TaskId returned when the job was created.', 'type' => 'string', 'required' => true, 'example' => 'c5394c6ee0fb474899d42215a3925c7e', 'title' => ''],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Schema of Response',
                        'type' => 'object',
                        'properties' => [
                            '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' => 'Returned object.  ',
                                'type' => 'object',
                                'properties' => [
                                    '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'],
            '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'],
            ],
            'flowControl' => [
                'flowControlList' => [
                    ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTaskInfo'],
                ],
            ],
            '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' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'none'],
            'parameters' => [
                [
                    'name' => 'PhraseId',
                    'in' => 'path',
                    'schema' => ['description' => 'Hotword list ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'a93b91141c0f422fa114af203f8b****'],
                ],
            ],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => 'Schema of Response',
                        'description' => 'Response schema.',
                        'type' => 'object',
                        'properties' => [
                            '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' => ['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' => '*'],
                        ],
                    ],
                ],
            ],
            'flowControl' => [
                'flowControlList' => [],
            ],
        ],
        'ListTranscriptionPhrases' => [
            'summary' => 'Lists all of a user\'s hot phrase lists.',
            'path' => '/openapi/tingwu/v2/resources/phrases',
            'methods' => ['get'],
            'schemes' => ['https'],
            'security' => [
                [
                    'AK' => [],
                ],
            ],
            'consumes' => ['application/json'],
            'produces' => ['application/json'],
            'operationType' => 'read',
            'deprecated' => false,
            'systemTags' => ['operationType' => 'none'],
            'parameters' => [],
            'responses' => [
                200 => [
                    'schema' => [
                        'title' => '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' => 'status code.', 'type' => 'string', 'example' => '0', 'title' => ''],
                            'Message' => ['description' => 'status description.', 'type' => 'string', 'example' => 'success', 'title' => ''],
                            'Data' => [
                                'description' => 'Response object.',
                                'type' => 'object',
                                'properties' => [
                                    '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' => 'Phrase objects.',
                                        'type' => 'array',
                                        'items' => [
                                            'type' => 'object',
                                            'properties' => [
                                                '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'],
            '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' => '',
        ],
        [
            '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' => [],
    ],
];