tccli 3.0.1348.1__py2.py3-none-any.whl → 3.0.1349.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +0 -76
  3. tccli/services/ai3d/v20250513/api.json +1 -1
  4. tccli/services/aiart/v20221229/api.json +3 -3
  5. tccli/services/autoscaling/v20180419/api.json +11 -0
  6. tccli/services/batch/v20170312/api.json +44 -0
  7. tccli/services/cdb/v20170320/api.json +8 -8
  8. tccli/services/cdb/v20170320/examples.json +1 -1
  9. tccli/services/cdn/v20180606/api.json +5 -5
  10. tccli/services/cdwdoris/v20211228/api.json +145 -7
  11. tccli/services/cfg/v20210820/api.json +20 -0
  12. tccli/services/cfs/v20190719/api.json +10 -10
  13. tccli/services/cfw/cfw_client.py +53 -0
  14. tccli/services/cfw/v20190904/api.json +272 -0
  15. tccli/services/cfw/v20190904/examples.json +8 -0
  16. tccli/services/csip/csip_client.py +833 -144
  17. tccli/services/csip/v20221121/api.json +3304 -1436
  18. tccli/services/csip/v20221121/examples.json +104 -0
  19. tccli/services/cvm/v20170312/api.json +1 -1
  20. tccli/services/cwp/v20180228/api.json +9 -0
  21. tccli/services/cwp/v20180228/examples.json +6 -0
  22. tccli/services/emr/v20190103/api.json +217 -2
  23. tccli/services/es/v20250101/api.json +22 -0
  24. tccli/services/ess/v20201111/api.json +10 -1
  25. tccli/services/essbasic/v20210526/api.json +3 -3
  26. tccli/services/gs/v20191118/api.json +38 -0
  27. tccli/services/igtm/igtm_client.py +159 -0
  28. tccli/services/igtm/v20231024/api.json +577 -0
  29. tccli/services/igtm/v20231024/examples.json +24 -0
  30. tccli/services/iotexplorer/v20190423/api.json +3 -3
  31. tccli/services/lcic/lcic_client.py +53 -0
  32. tccli/services/lcic/v20220817/api.json +53 -0
  33. tccli/services/lcic/v20220817/examples.json +8 -0
  34. tccli/services/live/v20180801/api.json +203 -1
  35. tccli/services/live/v20180801/examples.json +1 -1
  36. tccli/services/lke/v20231130/api.json +248 -2
  37. tccli/services/lke/v20231130/examples.json +1 -1
  38. tccli/services/lkeap/v20240522/api.json +1 -1
  39. tccli/services/mrs/v20200910/api.json +10 -0
  40. tccli/services/nlp/nlp_client.py +4 -322
  41. tccli/services/nlp/v20190408/api.json +0 -459
  42. tccli/services/nlp/v20190408/examples.json +0 -48
  43. tccli/services/ocr/v20181119/api.json +60 -5
  44. tccli/services/omics/v20221128/api.json +38 -0
  45. tccli/services/redis/v20180412/api.json +6 -6
  46. tccli/services/redis/v20180412/examples.json +1 -1
  47. tccli/services/ses/v20201002/api.json +100 -5
  48. tccli/services/tcb/v20180608/api.json +1 -1
  49. tccli/services/tcb/v20180608/examples.json +1 -1
  50. tccli/services/tdmq/v20200217/api.json +19 -0
  51. tccli/services/teo/teo_client.py +281 -16
  52. tccli/services/teo/v20220901/api.json +611 -6
  53. tccli/services/teo/v20220901/examples.json +48 -2
  54. tccli/services/tione/v20211111/api.json +16 -0
  55. tccli/services/tke/tke_client.py +57 -4
  56. tccli/services/tke/v20180525/api.json +24 -24
  57. tccli/services/tke/v20220501/api.json +52 -0
  58. tccli/services/tke/v20220501/examples.json +8 -0
  59. tccli/services/tmt/v20180321/api.json +4 -4
  60. tccli/services/tsf/v20180326/api.json +4 -4
  61. tccli/services/vclm/v20240523/api.json +3 -3
  62. tccli/services/vod/v20180717/api.json +5 -5
  63. tccli/services/vod/v20180717/examples.json +9 -9
  64. tccli/services/vpc/v20170312/api.json +1 -1
  65. tccli/services/vrs/v20200824/api.json +1 -1
  66. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/METADATA +2 -2
  67. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/RECORD +70 -172
  68. tccli/services/cis/__init__.py +0 -4
  69. tccli/services/cis/cis_client.py +0 -525
  70. tccli/services/cis/v20180408/api.json +0 -737
  71. tccli/services/cis/v20180408/examples.json +0 -93
  72. tccli/services/dataintegration/__init__.py +0 -4
  73. tccli/services/dataintegration/dataintegration_client.py +0 -207
  74. tccli/services/dataintegration/v20220613/api.json +0 -87
  75. tccli/services/dataintegration/v20220613/examples.json +0 -13
  76. tccli/services/dtf/__init__.py +0 -4
  77. tccli/services/dtf/dtf_client.py +0 -207
  78. tccli/services/dtf/v20200506/api.json +0 -274
  79. tccli/services/dtf/v20200506/examples.json +0 -13
  80. tccli/services/gpm/__init__.py +0 -4
  81. tccli/services/gpm/gpm_client.py +0 -1108
  82. tccli/services/gpm/v20200820/api.json +0 -1959
  83. tccli/services/gpm/v20200820/examples.json +0 -149
  84. tccli/services/gse/__init__.py +0 -4
  85. tccli/services/gse/gse_client.py +0 -4076
  86. tccli/services/gse/v20191112/api.json +0 -7095
  87. tccli/services/gse/v20191112/examples.json +0 -615
  88. tccli/services/iecp/__init__.py +0 -4
  89. tccli/services/iecp/iecp_client.py +0 -4500
  90. tccli/services/iecp/v20210914/api.json +0 -9770
  91. tccli/services/iecp/v20210914/examples.json +0 -691
  92. tccli/services/iir/__init__.py +0 -4
  93. tccli/services/iir/iir_client.py +0 -207
  94. tccli/services/iir/v20200417/api.json +0 -204
  95. tccli/services/iir/v20200417/examples.json +0 -13
  96. tccli/services/iottid/__init__.py +0 -4
  97. tccli/services/iottid/iottid_client.py +0 -631
  98. tccli/services/iottid/v20190411/api.json +0 -553
  99. tccli/services/iottid/v20190411/examples.json +0 -95
  100. tccli/services/mgobe/__init__.py +0 -4
  101. tccli/services/mgobe/mgobe_client.py +0 -530
  102. tccli/services/mgobe/v20190929/api.json +0 -52
  103. tccli/services/mgobe/v20190929/examples.json +0 -13
  104. tccli/services/mgobe/v20201014/api.json +0 -671
  105. tccli/services/mgobe/v20201014/examples.json +0 -61
  106. tccli/services/mvj/__init__.py +0 -4
  107. tccli/services/mvj/mvj_client.py +0 -207
  108. tccli/services/mvj/v20190926/api.json +0 -123
  109. tccli/services/mvj/v20190926/examples.json +0 -19
  110. tccli/services/pds/__init__.py +0 -4
  111. tccli/services/pds/pds_client.py +0 -260
  112. tccli/services/pds/v20210701/api.json +0 -193
  113. tccli/services/pds/v20210701/examples.json +0 -21
  114. tccli/services/smpn/__init__.py +0 -4
  115. tccli/services/smpn/smpn_client.py +0 -260
  116. tccli/services/smpn/v20190822/api.json +0 -191
  117. tccli/services/smpn/v20190822/examples.json +0 -21
  118. tccli/services/solar/__init__.py +0 -4
  119. tccli/services/solar/solar_client.py +0 -1055
  120. tccli/services/solar/v20181011/api.json +0 -1760
  121. tccli/services/solar/v20181011/examples.json +0 -125
  122. tccli/services/tan/__init__.py +0 -4
  123. tccli/services/tan/tan_client.py +0 -207
  124. tccli/services/tan/v20220420/api.json +0 -65
  125. tccli/services/tan/v20220420/examples.json +0 -19
  126. tccli/services/tav/__init__.py +0 -4
  127. tccli/services/tav/tav_client.py +0 -366
  128. tccli/services/tav/v20190118/api.json +0 -262
  129. tccli/services/tav/v20190118/examples.json +0 -37
  130. tccli/services/tbm/__init__.py +0 -4
  131. tccli/services/tbm/tbm_client.py +0 -631
  132. tccli/services/tbm/v20180129/api.json +0 -1037
  133. tccli/services/tbm/v20180129/examples.json +0 -77
  134. tccli/services/tcex/__init__.py +0 -4
  135. tccli/services/tcex/tcex_client.py +0 -260
  136. tccli/services/tcex/v20200727/api.json +0 -158
  137. tccli/services/tcex/v20200727/examples.json +0 -21
  138. tccli/services/tci/__init__.py +0 -4
  139. tccli/services/tci/tci_client.py +0 -2327
  140. tccli/services/tci/v20190318/api.json +0 -4958
  141. tccli/services/tci/v20190318/examples.json +0 -333
  142. tccli/services/tic/__init__.py +0 -4
  143. tccli/services/tic/tic_client.py +0 -843
  144. tccli/services/tic/v20201117/api.json +0 -1067
  145. tccli/services/tic/v20201117/examples.json +0 -121
  146. tccli/services/ticm/__init__.py +0 -4
  147. tccli/services/ticm/ticm_client.py +0 -313
  148. tccli/services/ticm/v20181127/api.json +0 -1391
  149. tccli/services/ticm/v20181127/examples.json +0 -53
  150. tccli/services/tics/__init__.py +0 -4
  151. tccli/services/tics/tics_client.py +0 -366
  152. tccli/services/tics/v20181115/api.json +0 -694
  153. tccli/services/tics/v20181115/examples.json +0 -37
  154. tccli/services/tiems/__init__.py +0 -4
  155. tccli/services/tiems/tiems_client.py +0 -1479
  156. tccli/services/tiems/v20190416/api.json +0 -3144
  157. tccli/services/tiems/v20190416/examples.json +0 -217
  158. tccli/services/trdp/__init__.py +0 -4
  159. tccli/services/trdp/trdp_client.py +0 -207
  160. tccli/services/trdp/v20220726/api.json +0 -843
  161. tccli/services/trdp/v20220726/examples.json +0 -13
  162. tccli/services/ump/__init__.py +0 -4
  163. tccli/services/ump/ump_client.py +0 -1055
  164. tccli/services/ump/v20200918/api.json +0 -2168
  165. tccli/services/ump/v20200918/examples.json +0 -141
  166. tccli/services/youmall/__init__.py +0 -4
  167. tccli/services/youmall/v20180228/api.json +0 -3572
  168. tccli/services/youmall/v20180228/examples.json +0 -313
  169. tccli/services/youmall/youmall_client.py +0 -1797
  170. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/WHEEL +0 -0
  171. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/entry_points.txt +0 -0
  172. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/license_files/LICENSE +0 -0
@@ -21,13 +21,6 @@
21
21
  "output": "ComposeCoupletResponse",
22
22
  "status": "online"
23
23
  },
24
- "ComposePoetry": {
25
- "document": "诗词生成接口利用现代的自然语言处理和深度学习技术,模仿了古代著名诗人的风格,为用户产生独特的诗词。用户只需输入的命题关键词,接口就能自动生成一首七言律诗或五言律诗。",
26
- "input": "ComposePoetryRequest",
27
- "name": "诗词生成",
28
- "output": "ComposePoetryResponse",
29
- "status": "online"
30
- },
31
24
  "EvaluateSentenceSimilarity": {
32
25
  "document": "通过计算句子间的语义相似性,帮助您快速找到文本中重复或相似的句子,用于文本聚类、相似问题检索等应用场景。",
33
26
  "input": "EvaluateSentenceSimilarityRequest",
@@ -35,20 +28,6 @@
35
28
  "output": "EvaluateSentenceSimilarityResponse",
36
29
  "status": "online"
37
30
  },
38
- "EvaluateWordSimilarity": {
39
- "document": "评估两个词语在语义空间的相似程度,为您的场景应用提供有力支持,如关键词过滤、热门话题挖掘等。(目前仅支持中文)",
40
- "input": "EvaluateWordSimilarityRequest",
41
- "name": "词相似度V2",
42
- "output": "EvaluateWordSimilarityResponse",
43
- "status": "online"
44
- },
45
- "GenerateKeywordSentence": {
46
- "document": "根据提供的关键词,生成简洁明了的关键句子,便于用户快速获取核心观点。",
47
- "input": "GenerateKeywordSentenceRequest",
48
- "name": "句子生成",
49
- "output": "GenerateKeywordSentenceResponse",
50
- "status": "online"
51
- },
52
31
  "ParseWords": {
53
32
  "document": "通过精准地对文本进行分词、词性标注、命名实体识别等功能,助您更好地理解文本内容,挖掘出潜在的价值信息。",
54
33
  "input": "ParseWordsRequest",
@@ -56,33 +35,12 @@
56
35
  "output": "ParseWordsResponse",
57
36
  "status": "online"
58
37
  },
59
- "RetrieveSimilarWords": {
60
- "document": "基于大数据和深度学习技术,可以快速地找到与给定词语高度相似的其他词语,有助于提高搜索和推荐的准确性。(目前仅支持中文)",
61
- "input": "RetrieveSimilarWordsRequest",
62
- "name": "相似词召回",
63
- "output": "RetrieveSimilarWordsResponse",
64
- "status": "online"
65
- },
66
38
  "SentenceCorrection": {
67
39
  "document": "智能识别并纠正句子中的语法、拼写、用词等错误,确保文本的准确性和可读性。",
68
40
  "input": "SentenceCorrectionRequest",
69
41
  "name": "句子纠错",
70
42
  "output": "SentenceCorrectionResponse",
71
43
  "status": "online"
72
- },
73
- "TextEmbellish": {
74
- "document": "运用先进的自然语言处理技术,对原始文本进行优化润色,提升文本的通顺性、表达力和语言质量。",
75
- "input": "TextEmbellishRequest",
76
- "name": "文本润色",
77
- "output": "TextEmbellishResponse",
78
- "status": "online"
79
- },
80
- "TextWriting": {
81
- "document": "通过自动补全文本片段,帮助用户快速生成高质量、连贯的完整文本,提高创作效率。",
82
- "input": "TextWritingRequest",
83
- "name": "文本补全",
84
- "output": "TextWritingResponse",
85
- "status": "online"
86
44
  }
87
45
  },
88
46
  "metadata": {
@@ -383,71 +341,6 @@
383
341
  ],
384
342
  "type": "object"
385
343
  },
386
- "ComposePoetryRequest": {
387
- "document": "ComposePoetry请求参数结构体",
388
- "members": [
389
- {
390
- "disabled": false,
391
- "document": "生成诗词的关键词。",
392
- "example": "阳光",
393
- "member": "string",
394
- "name": "Text",
395
- "required": true,
396
- "type": "string"
397
- },
398
- {
399
- "disabled": false,
400
- "document": "生成诗词的类型。0:藏头或藏身;1:藏头;2:藏身。默认为0。",
401
- "example": "0",
402
- "member": "int64",
403
- "name": "PoetryType",
404
- "required": false,
405
- "type": "int"
406
- },
407
- {
408
- "disabled": false,
409
- "document": "诗的体裁。0:五言律诗或七言律诗;5:五言律诗;7:七言律诗。默认为0。",
410
- "example": "7",
411
- "member": "int64",
412
- "name": "Genre",
413
- "required": false,
414
- "type": "int"
415
- }
416
- ],
417
- "type": "object"
418
- },
419
- "ComposePoetryResponse": {
420
- "document": "ComposePoetry返回参数结构体",
421
- "members": [
422
- {
423
- "disabled": false,
424
- "document": "诗题,即输入的生成诗词的关键词。",
425
- "example": "阳光",
426
- "member": "string",
427
- "name": "Title",
428
- "output_required": true,
429
- "type": "string",
430
- "value_allowed_null": false
431
- },
432
- {
433
- "disabled": false,
434
- "document": "诗的内容。",
435
- "example": "无",
436
- "member": "string",
437
- "name": "Content",
438
- "output_required": true,
439
- "type": "list",
440
- "value_allowed_null": false
441
- },
442
- {
443
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
444
- "member": "string",
445
- "name": "RequestId",
446
- "type": "string"
447
- }
448
- ],
449
- "type": "object"
450
- },
451
344
  "CompoundParticiple": {
452
345
  "document": "复合粒度分词和词性标注的结果。",
453
346
  "members": [
@@ -590,32 +483,6 @@
590
483
  ],
591
484
  "usage": "out"
592
485
  },
593
- "Embellish": {
594
- "document": "文本润色结果",
595
- "members": [
596
- {
597
- "disabled": false,
598
- "document": "润色后的文本。\n注意:此字段可能返回 null,表示取不到有效值。",
599
- "example": "而这一次的中国奥运健儿击败强敌,毫无悬念地勇夺了中国代表团的冬奥会首金和总分第三的金",
600
- "member": "string",
601
- "name": "Text",
602
- "required": false,
603
- "type": "string",
604
- "value_allowed_null": true
605
- },
606
- {
607
- "disabled": false,
608
- "document": "润色类型。类型如下:\nexpansion:扩写\nrewriting:改写\ntranslation_m2a:从现代文改写为古文\ntranslation_a2m:从古文改写为现代文\n\n\n注意:此字段可能返回 null,表示取不到有效值。",
609
- "example": "expansion",
610
- "member": "string",
611
- "name": "EmbellishType",
612
- "required": false,
613
- "type": "string",
614
- "value_allowed_null": true
615
- }
616
- ],
617
- "usage": "out"
618
- },
619
486
  "Entity": {
620
487
  "document": "实体识别结果。",
621
488
  "members": [
@@ -709,123 +576,6 @@
709
576
  ],
710
577
  "type": "object"
711
578
  },
712
- "EvaluateWordSimilarityRequest": {
713
- "document": "EvaluateWordSimilarity请求参数结构体",
714
- "members": [
715
- {
716
- "disabled": false,
717
- "document": "计算相似度的源词。(仅支持UTF-8格式,不超过10字符)\n",
718
- "example": "无",
719
- "member": "string",
720
- "name": "SourceWord",
721
- "required": true,
722
- "type": "string"
723
- },
724
- {
725
- "disabled": false,
726
- "document": "计算相似度的目标词。(仅支持UTF-8格式,不超过10字符)\n",
727
- "example": "无",
728
- "member": "string",
729
- "name": "TargetWord",
730
- "required": true,
731
- "type": "string"
732
- }
733
- ],
734
- "type": "object"
735
- },
736
- "EvaluateWordSimilarityResponse": {
737
- "document": "EvaluateWordSimilarity返回参数结构体",
738
- "members": [
739
- {
740
- "disabled": false,
741
- "document": "词相似度分值。",
742
- "example": "无",
743
- "member": "float",
744
- "name": "Similarity",
745
- "output_required": true,
746
- "type": "float",
747
- "value_allowed_null": false
748
- },
749
- {
750
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
751
- "member": "string",
752
- "name": "RequestId",
753
- "type": "string"
754
- }
755
- ],
756
- "type": "object"
757
- },
758
- "GenerateKeywordSentenceRequest": {
759
- "document": "GenerateKeywordSentence请求参数结构体",
760
- "members": [
761
- {
762
- "disabled": false,
763
- "document": "生成句子的关键词,关键词个数需不超过4个,中文关键词长度应不超过10字符,英文关键词长度不超过3个单词。关键词中不可包含标点符号。",
764
- "example": "无",
765
- "member": "string",
766
- "name": "WordList",
767
- "required": true,
768
- "type": "list"
769
- },
770
- {
771
- "disabled": false,
772
- "document": "返回生成句子的个数。数量需>=1且<=5。\n(注意实际结果可能小于指定个数)",
773
- "example": "无",
774
- "member": "int64",
775
- "name": "Number",
776
- "required": true,
777
- "type": "int"
778
- },
779
- {
780
- "disabled": false,
781
- "document": "指定生成句子的领域,支持领域如下:\ngeneral:通用领域,支持中英文\nacademic:学术领域,仅支持英文\n默认为general(通用领域)。",
782
- "example": "无",
783
- "member": "string",
784
- "name": "Domain",
785
- "required": false,
786
- "type": "string"
787
- }
788
- ],
789
- "type": "object"
790
- },
791
- "GenerateKeywordSentenceResponse": {
792
- "document": "GenerateKeywordSentence返回参数结构体",
793
- "members": [
794
- {
795
- "disabled": false,
796
- "document": "生成的句子列表。",
797
- "example": "无",
798
- "member": "KeywordSentence",
799
- "name": "KeywordSentenceList",
800
- "output_required": true,
801
- "type": "list",
802
- "value_allowed_null": false
803
- },
804
- {
805
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
806
- "member": "string",
807
- "name": "RequestId",
808
- "type": "string"
809
- }
810
- ],
811
- "type": "object"
812
- },
813
- "KeywordSentence": {
814
- "document": "通过关键词生成的句子信息",
815
- "members": [
816
- {
817
- "disabled": false,
818
- "document": "通过关键词生成的句子。",
819
- "example": "无",
820
- "member": "string",
821
- "name": "TargetText",
822
- "required": false,
823
- "type": "string",
824
- "value_allowed_null": false
825
- }
826
- ],
827
- "usage": "out"
828
- },
829
579
  "ParseWordsRequest": {
830
580
  "document": "ParseWords请求参数结构体",
831
581
  "members": [
@@ -893,52 +643,6 @@
893
643
  ],
894
644
  "type": "object"
895
645
  },
896
- "RetrieveSimilarWordsRequest": {
897
- "document": "RetrieveSimilarWords请求参数结构体",
898
- "members": [
899
- {
900
- "disabled": false,
901
- "document": "输入的词语。(仅支持UTF-8格式,不超过10字符)",
902
- "example": "无",
903
- "member": "string",
904
- "name": "Text",
905
- "required": true,
906
- "type": "string"
907
- },
908
- {
909
- "disabled": false,
910
- "document": "召回的相似词个数,取值范围为1-20。",
911
- "example": "无",
912
- "member": "int64",
913
- "name": "Number",
914
- "required": true,
915
- "type": "int"
916
- }
917
- ],
918
- "type": "object"
919
- },
920
- "RetrieveSimilarWordsResponse": {
921
- "document": "RetrieveSimilarWords返回参数结构体",
922
- "members": [
923
- {
924
- "disabled": false,
925
- "document": "召回的相似词数组。",
926
- "example": "无",
927
- "member": "string",
928
- "name": "WordList",
929
- "output_required": true,
930
- "type": "list",
931
- "value_allowed_null": false
932
- },
933
- {
934
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
935
- "member": "string",
936
- "name": "RequestId",
937
- "type": "string"
938
- }
939
- ],
940
- "type": "object"
941
- },
942
646
  "SentenceCorrectionRequest": {
943
647
  "document": "SentenceCorrection请求参数结构体",
944
648
  "members": [
@@ -1001,169 +705,6 @@
1001
705
  }
1002
706
  ],
1003
707
  "usage": "in"
1004
- },
1005
- "TextEmbellishRequest": {
1006
- "document": "TextEmbellish请求参数结构体",
1007
- "members": [
1008
- {
1009
- "disabled": false,
1010
- "document": "待润色的文本。中文文本长度需<=50字符;英文文本长度需<=30个单词。",
1011
- "example": "中国奥运健儿击败强敌,勇夺冬奥会首金",
1012
- "member": "string",
1013
- "name": "Text",
1014
- "required": true,
1015
- "type": "string"
1016
- },
1017
- {
1018
- "disabled": false,
1019
- "document": "待润色文本的语言类型,支持语言如下:\nzh:中文\nen:英文",
1020
- "example": "zh",
1021
- "member": "string",
1022
- "name": "SourceLang",
1023
- "required": true,
1024
- "type": "string"
1025
- },
1026
- {
1027
- "disabled": false,
1028
- "document": "返回润色结果的个数。数量需>=1且<=5。\n(注意实际结果可能小于指定个数)",
1029
- "example": "1",
1030
- "member": "int64",
1031
- "name": "Number",
1032
- "required": true,
1033
- "type": "int"
1034
- },
1035
- {
1036
- "disabled": false,
1037
- "document": "控制润色类型,类型如下:\nboth:同时返回改写和扩写\nexpansion:扩写\nrewriting:改写\nm2a:从现代文改写为古文\na2m:从古文改写为现代文\n默认为both。",
1038
- "example": "both",
1039
- "member": "string",
1040
- "name": "Style",
1041
- "required": false,
1042
- "type": "string"
1043
- }
1044
- ],
1045
- "type": "object"
1046
- },
1047
- "TextEmbellishResponse": {
1048
- "document": "TextEmbellish返回参数结构体",
1049
- "members": [
1050
- {
1051
- "disabled": false,
1052
- "document": "润色结果列表。",
1053
- "example": "无",
1054
- "member": "Embellish",
1055
- "name": "EmbellishList",
1056
- "output_required": true,
1057
- "type": "list",
1058
- "value_allowed_null": false
1059
- },
1060
- {
1061
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1062
- "member": "string",
1063
- "name": "RequestId",
1064
- "type": "string"
1065
- }
1066
- ],
1067
- "type": "object"
1068
- },
1069
- "TextWritingRequest": {
1070
- "document": "TextWriting请求参数结构体",
1071
- "members": [
1072
- {
1073
- "disabled": false,
1074
- "document": "待续写的句子,文本统一使用utf-8格式编码,长度不超过200字符。",
1075
- "example": "今天天气不错",
1076
- "member": "string",
1077
- "name": "Text",
1078
- "required": true,
1079
- "type": "string"
1080
- },
1081
- {
1082
- "disabled": false,
1083
- "document": "待续写文本的语言类型,支持语言如下:\nzh:中文\nen:英文",
1084
- "example": "zh",
1085
- "member": "string",
1086
- "name": "SourceLang",
1087
- "required": true,
1088
- "type": "string"
1089
- },
1090
- {
1091
- "disabled": false,
1092
- "document": "返回续写结果的个数。数量需>=1且<=5。\n(注意实际结果可能小于指定个数)",
1093
- "example": "2",
1094
- "member": "int64",
1095
- "name": "Number",
1096
- "required": true,
1097
- "type": "int"
1098
- },
1099
- {
1100
- "disabled": false,
1101
- "document": "指定续写领域,支持领域如下:\ngeneral:通用领域,支持中英文补全\nacademic:学术领域,仅支持英文补全\n默认为general(通用领域)。",
1102
- "example": "general",
1103
- "member": "string",
1104
- "name": "Domain",
1105
- "required": false,
1106
- "type": "string"
1107
- },
1108
- {
1109
- "disabled": false,
1110
- "document": "指定续写风格,支持风格如下:\nscience_fiction:科幻\nmilitary_history:军事\nxuanhuan_wuxia:武侠\nurban_officialdom:职场\n默认为xuanhuan_wuxia(武侠)。",
1111
- "example": "xuanhuan_wuxia",
1112
- "member": "string",
1113
- "name": "Style",
1114
- "required": false,
1115
- "type": "string"
1116
- }
1117
- ],
1118
- "type": "object"
1119
- },
1120
- "TextWritingResponse": {
1121
- "document": "TextWriting返回参数结构体",
1122
- "members": [
1123
- {
1124
- "disabled": false,
1125
- "document": "续写结果列表。",
1126
- "example": "无",
1127
- "member": "Writing",
1128
- "name": "WritingList",
1129
- "output_required": true,
1130
- "type": "list",
1131
- "value_allowed_null": false
1132
- },
1133
- {
1134
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1135
- "member": "string",
1136
- "name": "RequestId",
1137
- "type": "string"
1138
- }
1139
- ],
1140
- "type": "object"
1141
- },
1142
- "Writing": {
1143
- "document": "文本续写结果",
1144
- "members": [
1145
- {
1146
- "disabled": false,
1147
- "document": "续写的文本。",
1148
- "example": "无",
1149
- "member": "string",
1150
- "name": "TargetText",
1151
- "required": false,
1152
- "type": "string",
1153
- "value_allowed_null": false
1154
- },
1155
- {
1156
- "disabled": false,
1157
- "document": "续写的前缀。",
1158
- "example": "无",
1159
- "member": "string",
1160
- "name": "PrefixText",
1161
- "required": false,
1162
- "type": "string",
1163
- "value_allowed_null": false
1164
- }
1165
- ],
1166
- "usage": "out"
1167
708
  }
1168
709
  },
1169
710
  "version": "1.0"
@@ -24,14 +24,6 @@
24
24
  "title": "对联生成调用示例"
25
25
  }
26
26
  ],
27
- "ComposePoetry": [
28
- {
29
- "document": "诗词生成。",
30
- "input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ComposePoetry\n<公共请求参数>\n\n{\n \"Text\": \"阳光\",\n \"PoetryType\": 2,\n \"Genre\": 5\n}",
31
- "output": "{\n \"Response\": {\n \"Content\": [\n \"洛阳无人见\",\n \"江城日光流\",\n \"月明山上路\",\n \"柳暗水中洲\"\n ],\n \"RequestId\": \"a4878a27-7a5c-4cd4-b17d-6a1ff403f626\",\n \"Title\": \"阳光\"\n }\n}",
32
- "title": "诗词生成调用示例"
33
- }
34
- ],
35
27
  "EvaluateSentenceSimilarity": [
36
28
  {
37
29
  "document": "分析句子相似度",
@@ -40,22 +32,6 @@
40
32
  "title": "句子相似度调用示例"
41
33
  }
42
34
  ],
43
- "EvaluateWordSimilarity": [
44
- {
45
- "document": "分析词相似度",
46
- "input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:EvaluateWordSimilarity\n<公共请求参数>\n\n{\n \"SourceWord\": \"香港\",\n \"TargetWord\": \"北京\"\n}",
47
- "output": "{\n \"Response\": {\n \"RequestId\": \"02bd6796-515a-452e-a455-23523fd6cfd9\",\n \"Similarity\": 0.5935152769088745\n }\n}",
48
- "title": "词相似度调用示例"
49
- }
50
- ],
51
- "GenerateKeywordSentence": [
52
- {
53
- "document": "通过输入两个中文关键词生成句子。",
54
- "input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:GenerateKeywordSentence\n<公共请求参数>\n\n{\n \"WordList\": [\n \"老鼠\",\n \"月光\"\n ],\n \"Number\": 2,\n \"Domain\": \"general\"\n}",
55
- "output": "{\n \"Response\": {\n \"KeywordSentenceList\": [\n {\n \"TargetText\": \"12月下旬,老鼠渐渐苏醒,月光温柔,生肖鼠喜从天降。\"\n },\n {\n \"TargetText\": \"在这里,老鼠看到了月亮,这就是月光。\"\n }\n ],\n \"RequestId\": \"033daa29-dd1a-4f18-aa3b-b7a6b4d4dada\"\n }\n}",
56
- "title": "关键词句子生成调用示例"
57
- }
58
- ],
59
35
  "ParseWords": [
60
36
  {
61
37
  "document": "词法分析",
@@ -64,14 +40,6 @@
64
40
  "title": "词法分析调用示例"
65
41
  }
66
42
  ],
67
- "RetrieveSimilarWords": [
68
- {
69
- "document": "相似词召回",
70
- "input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:RetrieveSimilarWords\n<公共请求参数>\n\n{\n \"Text\": \"林丹\",\n \"Number\": 10\n}",
71
- "output": "{\n \"Response\": {\n \"RequestId\": \"e246e84f-de88-46d0-b5dd-68ff94db40ad\",\n \"WordList\": [\n \"李宗伟\",\n \"桃田贤斗\",\n \"马龙\",\n \"纳达尔\",\n \"刘翔\",\n \"张本智和\",\n \"费德勒\",\n \"孙杨\",\n \"宁泽涛\",\n \"朱婷\"\n ]\n }\n}",
72
- "title": "相似词召回调用示例"
73
- }
74
- ],
75
43
  "SentenceCorrection": [
76
44
  {
77
45
  "document": "对包含错别字的中文句子以及包含语法错误的英文句子进行纠错。",
@@ -79,22 +47,6 @@
79
47
  "output": "{\n \"Response\": {\n \"CorrectionList\": [\n {\n \"BeginOffset\": 16,\n \"Confidence\": 0,\n \"CorrectWord\": [\n \"国家\"\n ],\n \"CorrectionType\": 0,\n \"DescriptionEn\": null,\n \"DescriptionZh\": null,\n \"Len\": 2,\n \"Order\": 1,\n \"Word\": \"锅加\"\n },\n {\n \"BeginOffset\": 30,\n \"Confidence\": 0,\n \"CorrectWord\": [\n \"怕\"\n ],\n \"CorrectionType\": 0,\n \"DescriptionEn\": null,\n \"DescriptionZh\": null,\n \"Len\": 1,\n \"Order\": 1,\n \"Word\": \"啪\"\n },\n {\n \"BeginOffset\": 24,\n \"Confidence\": 0,\n \"CorrectWord\": [\n \"cottage\"\n ],\n \"CorrectionType\": 0,\n \"DescriptionEn\": \"It appears that the noun \\\"cottage\\\" doesn't agree with \\\"a little\\\".\",\n \"DescriptionZh\": \"在当前语境下,“cottages”作为名词和量词“a little”没有保持单复数一致,建议使用“cottage”以保持名词一致性。\",\n \"Len\": 8,\n \"Order\": 2,\n \"Word\": \"cottages\"\n }\n ],\n \"RequestId\": \"b183f9d5-b35a-4880-8a36-86883b9eea11\"\n }\n}",
80
48
  "title": "句子纠错调用示例"
81
49
  }
82
- ],
83
- "TextEmbellish": [
84
- {
85
- "document": "对中文文本进行扩写。",
86
- "input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:TextEmbellish\n<公共请求参数>\n\n{\n \"Text\": \"中国奥运健儿击败强敌,勇夺冬奥会首金\",\n \"SourceLang\": \"zh\",\n \"Number\": 2,\n \"Style\": \"expansion\"\n}",
87
- "output": "{\n \"Response\": {\n \"EmbellishList\": [\n {\n \"EmbellishType\": \"expansion\",\n \"Text\": \"现在的中国跳水奥运健儿一路高歌猛进击败强敌,不负众望的勇夺温哥华冬奥会单板滑雪首金\"\n },\n {\n \"EmbellishType\": \"expansion\",\n \"Text\": \"年轻的中国冰雪奥运健儿一次次击败强敌,历史性的勇夺温哥华冬奥会史无前例的首金\"\n }\n ],\n \"RequestId\": \"fd345650-b62b-4949-bdd7-d774152dba9a\"\n }\n}",
88
- "title": "文本润色调用示例"
89
- }
90
- ],
91
- "TextWriting": [
92
- {
93
- "document": "对中文文本进行续写。",
94
- "input": "POST / HTTP/1.1\nHost: nlp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action:TextWriting\n<公共请求参数>\n\n{\n \"Text\": \"此事还得从这说起,\",\n \"SourceLang\": \"zh\",\n \"Number\": 2,\n \"Domain\": \"general\",\n \"Style\": \"xuanhuan_wuxia\"\n}",
95
- "output": "{\n \"Response\": {\n \"RequestId\": \"40abc589-8603-458b-82a7-fe174e799085\",\n \"WritingList\": [\n {\n \"PrefixText\": \"此事还得从这说起,\",\n \"TargetText\": \"此事还得从这说起,他一路行来,不知不觉已到了洛阳城,这一日,他来到一处客栈,打听一下萧月生的消息。“师父,他来了!”江南云忽然开口,声音清脆悦耳,仿\"\n },\n {\n \"PrefixText\": \"此事还得从这说起,\",\n \"TargetText\": \"此事还得从这说起,那日在山东大会上,萧月生一眼看出,这个赵小四是武林中人,心中不由一动,觉得此人极有可能是华山派的弟子。“师父,他的轻功如何?”江南\"\n }\n ]\n }\n}",
96
- "title": "文本续写调用示例"
97
- }
98
50
  ]
99
51
  },
100
52
  "version": "1.0"