tccli 3.0.1300.3__py2.py3-none-any.whl → 3.0.1302.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 (187) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +2 -1
  3. tccli/services/asr/v20190614/api.json +18 -18
  4. tccli/services/batch/v20170312/api.json +14 -14
  5. tccli/services/bh/bh_client.py +623 -93
  6. tccli/services/bh/v20230418/api.json +1054 -32
  7. tccli/services/bh/v20230418/examples.json +93 -1
  8. tccli/services/billing/billing_client.py +4 -57
  9. tccli/services/billing/v20180709/api.json +3 -305
  10. tccli/services/billing/v20180709/examples.json +2 -10
  11. tccli/services/bpaas/v20181217/api.json +56 -56
  12. tccli/services/cat/cat_client.py +61 -8
  13. tccli/services/cat/v20180409/api.json +115 -0
  14. tccli/services/cat/v20180409/examples.json +20 -0
  15. tccli/services/cbs/v20170312/api.json +9 -7
  16. tccli/services/cbs/v20170312/examples.json +2 -2
  17. tccli/services/ccc/ccc_client.py +216 -4
  18. tccli/services/ccc/v20200210/api.json +364 -6
  19. tccli/services/ccc/v20200210/examples.json +32 -0
  20. tccli/services/cdb/v20170320/api.json +23 -14
  21. tccli/services/cdb/v20170320/examples.json +3 -3
  22. tccli/services/cdc/cdc_client.py +173 -67
  23. tccli/services/cdc/v20201214/api.json +96 -0
  24. tccli/services/cdc/v20201214/examples.json +16 -0
  25. tccli/services/cdn/v20180606/api.json +365 -279
  26. tccli/services/cdwch/v20200915/api.json +21 -21
  27. tccli/services/cdwdoris/v20211228/api.json +21 -1
  28. tccli/services/cdwdoris/v20211228/examples.json +4 -4
  29. tccli/services/cdwpg/v20201230/api.json +375 -360
  30. tccli/services/cdwpg/v20201230/examples.json +1 -1
  31. tccli/services/cfw/cfw_client.py +53 -0
  32. tccli/services/cfw/v20190904/api.json +201 -5
  33. tccli/services/cfw/v20190904/examples.json +8 -0
  34. tccli/services/chc/chc_client.py +57 -4
  35. tccli/services/chc/v20230418/api.json +108 -1
  36. tccli/services/chc/v20230418/examples.json +8 -0
  37. tccli/services/ckafka/ckafka_client.py +408 -302
  38. tccli/services/ckafka/v20190819/api.json +197 -2
  39. tccli/services/ckafka/v20190819/examples.json +16 -0
  40. tccli/services/clb/v20180317/api.json +439 -379
  41. tccli/services/clb/v20180317/examples.json +7 -7
  42. tccli/services/cls/cls_client.py +53 -0
  43. tccli/services/cls/v20201016/api.json +86 -3
  44. tccli/services/cls/v20201016/examples.json +11 -3
  45. tccli/services/cvm/v20170312/api.json +165 -147
  46. tccli/services/cvm/v20170312/examples.json +6 -6
  47. tccli/services/cwp/v20180228/api.json +93 -14
  48. tccli/services/cwp/v20180228/examples.json +7 -7
  49. tccli/services/cynosdb/cynosdb_client.py +171 -12
  50. tccli/services/cynosdb/v20190107/api.json +252 -3
  51. tccli/services/cynosdb/v20190107/examples.json +24 -0
  52. tccli/services/dbbrain/dbbrain_client.py +57 -4
  53. tccli/services/dbbrain/v20210527/api.json +62 -0
  54. tccli/services/dbbrain/v20210527/examples.json +8 -0
  55. tccli/services/dc/v20180410/api.json +1 -1
  56. tccli/services/dlc/dlc_client.py +53 -0
  57. tccli/services/dlc/v20210125/api.json +816 -655
  58. tccli/services/dlc/v20210125/examples.json +73 -59
  59. tccli/services/dsgc/v20190723/api.json +18 -0
  60. tccli/services/dts/v20211206/api.json +4 -4
  61. tccli/services/dts/v20211206/examples.json +6 -0
  62. tccli/services/emr/emr_client.py +53 -0
  63. tccli/services/emr/v20190103/api.json +127 -0
  64. tccli/services/emr/v20190103/examples.json +8 -0
  65. tccli/services/es/es_client.py +686 -151
  66. tccli/services/es/v20180416/api.json +509 -436
  67. tccli/services/es/v20180416/examples.json +43 -49
  68. tccli/services/es/v20250101/api.json +1391 -0
  69. tccli/services/es/v20250101/examples.json +85 -0
  70. tccli/services/ess/ess_client.py +53 -0
  71. tccli/services/ess/v20201111/api.json +142 -21
  72. tccli/services/ess/v20201111/examples.json +14 -0
  73. tccli/services/essbasic/essbasic_client.py +53 -0
  74. tccli/services/essbasic/v20210526/api.json +112 -9
  75. tccli/services/essbasic/v20210526/examples.json +8 -0
  76. tccli/services/gaap/v20180529/api.json +321 -312
  77. tccli/services/gaap/v20180529/examples.json +2 -2
  78. tccli/services/gs/gs_client.py +538 -8
  79. tccli/services/gs/v20191118/api.json +947 -44
  80. tccli/services/gs/v20191118/examples.json +87 -1
  81. tccli/services/gwlb/v20240906/api.json +56 -37
  82. tccli/services/gwlb/v20240906/examples.json +11 -5
  83. tccli/services/hunyuan/hunyuan_client.py +175 -69
  84. tccli/services/hunyuan/v20230901/api.json +191 -1
  85. tccli/services/hunyuan/v20230901/examples.json +17 -1
  86. tccli/services/ioa/ioa_client.py +227 -15
  87. tccli/services/ioa/v20220601/api.json +479 -0
  88. tccli/services/ioa/v20220601/examples.json +44 -0
  89. tccli/services/iotexplorer/iotexplorer_client.py +322 -4
  90. tccli/services/iotexplorer/v20190423/api.json +865 -52
  91. tccli/services/iotexplorer/v20190423/examples.json +64 -16
  92. tccli/services/iotvideo/iotvideo_client.py +57 -4
  93. tccli/services/iotvideo/v20211125/api.json +146 -0
  94. tccli/services/iotvideo/v20211125/examples.json +8 -0
  95. tccli/services/iotvideoindustry/v20201201/api.json +1 -1
  96. tccli/services/kms/v20190118/api.json +38 -2
  97. tccli/services/lcic/v20220817/api.json +66 -1
  98. tccli/services/lcic/v20220817/examples.json +1 -1
  99. tccli/services/lighthouse/lighthouse_client.py +0 -106
  100. tccli/services/lighthouse/v20200324/api.json +11 -98
  101. tccli/services/lighthouse/v20200324/examples.json +0 -16
  102. tccli/services/live/v20180801/api.json +1 -1
  103. tccli/services/lke/v20231130/api.json +208 -10
  104. tccli/services/lke/v20231130/examples.json +10 -10
  105. tccli/services/lkeap/lkeap_client.py +53 -0
  106. tccli/services/lkeap/v20240522/api.json +48 -4
  107. tccli/services/lkeap/v20240522/examples.json +8 -0
  108. tccli/services/mna/mna_client.py +4 -163
  109. tccli/services/mna/v20210119/api.json +0 -524
  110. tccli/services/mna/v20210119/examples.json +0 -24
  111. tccli/services/monitor/monitor_client.py +114 -8
  112. tccli/services/monitor/v20180724/api.json +129 -18
  113. tccli/services/monitor/v20180724/examples.json +17 -1
  114. tccli/services/mps/v20190612/api.json +1223 -1031
  115. tccli/services/mps/v20190612/examples.json +1 -1
  116. tccli/services/nlp/v20190408/examples.json +1 -1
  117. tccli/services/oceanus/v20190422/api.json +12 -12
  118. tccli/services/oceanus/v20190422/examples.json +15 -3
  119. tccli/services/ocr/v20181119/api.json +13 -3
  120. tccli/services/postgres/v20170312/api.json +2 -2
  121. tccli/services/privatedns/v20201028/api.json +30 -11
  122. tccli/services/privatedns/v20201028/examples.json +10 -10
  123. tccli/services/rce/v20201103/api.json +3 -3
  124. tccli/services/ses/v20201002/api.json +10 -1
  125. tccli/services/smop/v20201203/api.json +2 -2
  126. tccli/services/sqlserver/v20180328/api.json +1 -1
  127. tccli/services/ssm/v20190923/api.json +27 -0
  128. tccli/services/sts/sts_client.py +53 -0
  129. tccli/services/sts/v20180813/api.json +101 -1
  130. tccli/services/sts/v20180813/examples.json +8 -0
  131. tccli/services/taf/taf_client.py +0 -53
  132. tccli/services/taf/v20200210/api.json +0 -138
  133. tccli/services/taf/v20200210/examples.json +0 -8
  134. tccli/services/tan/v20220420/api.json +2 -2
  135. tccli/services/tat/v20201028/api.json +2 -2
  136. tccli/services/tcb/v20180608/api.json +29 -1
  137. tccli/services/tcbr/v20220217/api.json +32 -0
  138. tccli/services/tccatalog/v20241024/api.json +1 -1
  139. tccli/services/tccatalog/v20241024/examples.json +1 -1
  140. tccli/services/tcr/v20190924/api.json +5 -5
  141. tccli/services/tcr/v20190924/examples.json +2 -2
  142. tccli/services/tcss/v20201101/api.json +84 -34
  143. tccli/services/tcss/v20201101/examples.json +2809 -0
  144. tccli/services/tdmq/v20200217/api.json +40 -0
  145. tccli/services/tdmq/v20200217/examples.json +1 -1
  146. tccli/services/tds/tds_client.py +53 -0
  147. tccli/services/tds/v20220801/api.json +265 -0
  148. tccli/services/tds/v20220801/examples.json +8 -0
  149. tccli/services/tem/v20210701/api.json +664 -575
  150. tccli/services/tem/v20210701/examples.json +2 -2
  151. tccli/services/teo/v20220901/api.json +236 -208
  152. tccli/services/teo/v20220901/examples.json +13 -13
  153. tccli/services/tione/tione_client.py +53 -0
  154. tccli/services/tione/v20211111/api.json +256 -0
  155. tccli/services/tione/v20211111/examples.json +8 -0
  156. tccli/services/tke/v20180525/api.json +1 -1
  157. tccli/services/trocket/trocket_client.py +489 -12
  158. tccli/services/trocket/v20230308/api.json +925 -146
  159. tccli/services/trocket/v20230308/examples.json +72 -0
  160. tccli/services/trtc/v20190722/api.json +13 -19
  161. tccli/services/trtc/v20190722/examples.json +8 -8
  162. tccli/services/tse/v20201207/api.json +1016 -995
  163. tccli/services/tse/v20201207/examples.json +2 -2
  164. tccli/services/tsf/v20180326/api.json +510 -465
  165. tccli/services/tsf/v20180326/examples.json +4 -4
  166. tccli/services/tts/v20190823/api.json +10 -10
  167. tccli/services/vclm/v20240523/api.json +2 -2
  168. tccli/services/vcube/v20220410/api.json +10 -0
  169. tccli/services/vdb/v20230616/api.json +10 -0
  170. tccli/services/vdb/v20230616/examples.json +1 -1
  171. tccli/services/vpc/v20170312/api.json +824 -254
  172. tccli/services/vpc/v20170312/examples.json +66 -10
  173. tccli/services/vpc/vpc_client.py +383 -12
  174. tccli/services/vrs/v20200824/api.json +9 -0
  175. tccli/services/waf/v20180125/api.json +8113 -5814
  176. tccli/services/waf/v20180125/examples.json +90 -0
  177. tccli/services/waf/waf_client.py +559 -82
  178. tccli/services/wedata/v20210820/api.json +1379 -24
  179. tccli/services/wedata/v20210820/examples.json +25 -1
  180. tccli/services/wedata/wedata_client.py +171 -12
  181. tccli/services/weilingwith/v20230427/api.json +1 -1
  182. tccli/services/weilingwith/v20230427/examples.json +3 -3
  183. {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/METADATA +2 -2
  184. {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/RECORD +187 -184
  185. {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/WHEEL +0 -0
  186. {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/entry_points.txt +0 -0
  187. {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/license_files/LICENSE +0 -0
@@ -337,7 +337,7 @@
337
337
  "status": "online"
338
338
  },
339
339
  "GetEmbedding": {
340
- "document": "本接口(GetEmbedding)调用文本表示模型,将文本转化为用数值表示的向量形式,可用于文本检索、信息推荐、知识挖掘等场景。\n本接口(GetEmbedding)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
340
+ "document": "本接口(GetEmbedding)调用文本表示模型,将文本转化为用数值表示的向量形式,可用于文本检索、信息推荐、知识挖掘等场景。\n开通[产品体验](https://lke.cloud.tencent.com/lke/#/trialProduct)后可获得50wtoken体验额度。\n本接口(GetEmbedding)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
341
341
  "input": "GetEmbeddingRequest",
342
342
  "name": "获取特征向量",
343
343
  "output": "GetEmbeddingResponse",
@@ -351,9 +351,9 @@
351
351
  "status": "online"
352
352
  },
353
353
  "GetMsgRecord": {
354
- "document": "获取聊天历史请求",
354
+ "document": "获取聊天历史\n根据会话session id获取聊天历史(仅保留180天内的历史对话数据)",
355
355
  "input": "GetMsgRecordRequest",
356
- "name": "获取聊天历史请求",
356
+ "name": "获取聊天历史",
357
357
  "output": "GetMsgRecordResponse",
358
358
  "status": "online"
359
359
  },
@@ -603,7 +603,7 @@
603
603
  "status": "online"
604
604
  },
605
605
  "QueryRewrite": {
606
- "document": "多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。\n本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
606
+ "document": "多轮改写(QueryRewrite)主要用于多轮对话中,进行指代消解和省略补全。使用本接口,无需输入prompt描述,根据对话历史即可生成更精确的用户查询。在应用场景上,本接口可应用于智能问答、对话式搜索等多种场景。\n开通[产品体验](https://lke.cloud.tencent.com/lke/#/trialProduct)后可获得50wtoken体验额度。本接口(QueryRewrite)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
607
607
  "input": "QueryRewriteRequest",
608
608
  "name": "多轮改写",
609
609
  "output": "QueryRewriteResponse",
@@ -661,7 +661,7 @@
661
661
  "SaveDoc": {
662
662
  "document": "知识库文档问答保存。\n将文件存储到应用的知识库内需要三步:\n1.获取临时密钥,参考[接口文档](https://cloud.tencent.com/document/product/1759/105050)。获取临时密钥不同参数组合权限不一样,可参考 [知识引擎操作 cos 指南](https://cloud.tencent.com/document/product/1759/116238)\n2.调用腾讯云提供的 cos 存储接口,将文件存储到知识引擎 cos 中:具体可参考[ COS SDK 概览](https://cloud.tencent.com/document/product/436/6474), 注意使用的是临时密钥的方式操作 COS \n3.调用本接口,将文件的基础信息存储到知识引擎中。\n以上步骤可参考[文档](https://cloud.tencent.com/document/product/1759/108903),文档最后有[代码demo](https://cloud.tencent.com/document/product/1759/108903#demo),可作为参考。",
663
663
  "input": "SaveDocRequest",
664
- "name": "知识库文档问答保存",
664
+ "name": "知识库文档录入",
665
665
  "output": "SaveDocResponse",
666
666
  "status": "online"
667
667
  },
@@ -694,6 +694,34 @@
694
694
  "serviceShortName": "lke"
695
695
  },
696
696
  "objects": {
697
+ "AgentDebugInfo": {
698
+ "document": "Agent调试信息",
699
+ "members": [
700
+ {
701
+ "disabled": false,
702
+ "document": "工具、大模型的输入信息,json\n注意:此字段可能返回 null,表示取不到有效值。",
703
+ "example": "无",
704
+ "member": "string",
705
+ "name": "Input",
706
+ "output_required": false,
707
+ "required": false,
708
+ "type": "string",
709
+ "value_allowed_null": true
710
+ },
711
+ {
712
+ "disabled": false,
713
+ "document": "工具、大模型的输出信息,json\n注意:此字段可能返回 null,表示取不到有效值。",
714
+ "example": "无",
715
+ "member": "string",
716
+ "name": "Output",
717
+ "output_required": false,
718
+ "required": false,
719
+ "type": "string",
720
+ "value_allowed_null": true
721
+ }
722
+ ],
723
+ "usage": "both"
724
+ },
697
725
  "AgentProcedure": {
698
726
  "document": "思考事件过程信息",
699
727
  "members": [
@@ -2976,7 +3004,7 @@
2976
3004
  "members": [
2977
3005
  {
2978
3006
  "disabled": false,
2979
- "document": "机器人ID",
3007
+ "document": "应用ID",
2980
3008
  "example": "无",
2981
3009
  "member": "string",
2982
3010
  "name": "BotBizId",
@@ -5688,6 +5716,30 @@
5688
5716
  ],
5689
5717
  "type": "object"
5690
5718
  },
5719
+ "DocFilterFlag": {
5720
+ "document": "文档列表筛选标识位",
5721
+ "members": [
5722
+ {
5723
+ "disabled": false,
5724
+ "document": "标识位",
5725
+ "example": "is_created_qa",
5726
+ "member": "string",
5727
+ "name": "Flag",
5728
+ "required": false,
5729
+ "type": "string"
5730
+ },
5731
+ {
5732
+ "disabled": false,
5733
+ "document": "标识值",
5734
+ "example": "true",
5735
+ "member": "bool",
5736
+ "name": "Value",
5737
+ "required": false,
5738
+ "type": "bool"
5739
+ }
5740
+ ],
5741
+ "usage": "in"
5742
+ },
5691
5743
  "DocSegment": {
5692
5744
  "document": "文档片段",
5693
5745
  "members": [
@@ -6154,6 +6206,23 @@
6154
6206
  ],
6155
6207
  "type": "object"
6156
6208
  },
6209
+ "ExtraInfo": {
6210
+ "document": "扩展信息",
6211
+ "members": [
6212
+ {
6213
+ "disabled": false,
6214
+ "document": "ECharts信息\n注意:此字段可能返回 null,表示取不到有效值。",
6215
+ "example": "无",
6216
+ "member": "string",
6217
+ "name": "EChartsInfo",
6218
+ "output_required": false,
6219
+ "required": false,
6220
+ "type": "list",
6221
+ "value_allowed_null": true
6222
+ }
6223
+ ],
6224
+ "usage": "both"
6225
+ },
6157
6226
  "FileInfo": {
6158
6227
  "document": "实时上传的文件信息",
6159
6228
  "members": [
@@ -6669,6 +6738,16 @@
6669
6738
  "type": "string",
6670
6739
  "value_allowed_null": false
6671
6740
  },
6741
+ {
6742
+ "disabled": false,
6743
+ "document": "文件md结果cos临时地址",
6744
+ "example": "无",
6745
+ "member": "string",
6746
+ "name": "ParseResultCosUrl",
6747
+ "output_required": false,
6748
+ "type": "string",
6749
+ "value_allowed_null": false
6750
+ },
6672
6751
  {
6673
6752
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6674
6753
  "member": "string",
@@ -6891,7 +6970,7 @@
6891
6970
  {
6892
6971
  "disabled": false,
6893
6972
  "document": "类型",
6894
- "example": "1: 坐席 2: 访客 5: API访客",
6973
+ "example": "5: API访客",
6895
6974
  "member": "uint64",
6896
6975
  "name": "Type",
6897
6976
  "required": true,
@@ -6941,6 +7020,15 @@
6941
7020
  "name": "Scene",
6942
7021
  "required": false,
6943
7022
  "type": "int"
7023
+ },
7024
+ {
7025
+ "disabled": false,
7026
+ "document": "传该值,代表拉取该记录id的前后总共count条消息记录",
7027
+ "example": "无",
7028
+ "member": "string",
7029
+ "name": "MidRecordId",
7030
+ "required": false,
7031
+ "type": "string"
6944
7032
  }
6945
7033
  ],
6946
7034
  "type": "object"
@@ -7560,6 +7648,34 @@
7560
7648
  ],
7561
7649
  "type": "object"
7562
7650
  },
7651
+ "IntentAchievement": {
7652
+ "document": "意图达成方式",
7653
+ "members": [
7654
+ {
7655
+ "disabled": false,
7656
+ "document": "意图达成方式,qa:问答回复、doc:文档回复、workflow:工作流回复,llm:大模型回复",
7657
+ "example": "qa",
7658
+ "member": "string",
7659
+ "name": "Name",
7660
+ "output_required": false,
7661
+ "required": false,
7662
+ "type": "string",
7663
+ "value_allowed_null": false
7664
+ },
7665
+ {
7666
+ "disabled": false,
7667
+ "document": "意图达成方式描述",
7668
+ "example": "问答回复",
7669
+ "member": "string",
7670
+ "name": "Desc",
7671
+ "output_required": false,
7672
+ "required": false,
7673
+ "type": "string",
7674
+ "value_allowed_null": false
7675
+ }
7676
+ ],
7677
+ "usage": "both"
7678
+ },
7563
7679
  "InvokeAPI": {
7564
7680
  "document": "请求的API信息",
7565
7681
  "members": [
@@ -7802,7 +7918,7 @@
7802
7918
  },
7803
7919
  {
7804
7920
  "disabled": false,
7805
- "document": "角色描述,300字符以内\n注意:此字段可能返回 null,表示取不到有效值。",
7921
+ "document": "角色描述,4000字符以内。通过填写描述,设定应用的 #角色名称、 #风格特点 及可达成的#意图。建议按照下面的模板填写,且自定义意图建议不超过5个。\n\n#角色名称:\n#风格特点:\n#输出要求:\n#能力限制:\n\n能够达成以下用户意图\n##意图名称:\n##意图描述:\n##意图示例:\n##意图实现:\n\n注意:此字段可能返回 null,表示取不到有效值。",
7806
7922
  "example": "无",
7807
7923
  "member": "string",
7808
7924
  "name": "RoleDescription",
@@ -7920,6 +8036,28 @@
7920
8036
  "required": false,
7921
8037
  "type": "object",
7922
8038
  "value_allowed_null": true
8039
+ },
8040
+ {
8041
+ "disabled": false,
8042
+ "document": "意图达成方式优先级\n注意:此字段可能返回 null,表示取不到有效值。",
8043
+ "example": "无",
8044
+ "member": "IntentAchievement",
8045
+ "name": "IntentAchievements",
8046
+ "output_required": false,
8047
+ "required": false,
8048
+ "type": "list",
8049
+ "value_allowed_null": true
8050
+ },
8051
+ {
8052
+ "disabled": false,
8053
+ "document": "是否开启图文检索\n注意:此字段可能返回 null,表示取不到有效值。",
8054
+ "example": "无",
8055
+ "member": "bool",
8056
+ "name": "ImageTextRetrieval",
8057
+ "output_required": false,
8058
+ "required": false,
8059
+ "type": "bool",
8060
+ "value_allowed_null": true
7923
8061
  }
7924
8062
  ],
7925
8063
  "usage": "both"
@@ -9001,6 +9139,16 @@
9001
9139
  "output_required": false,
9002
9140
  "type": "string",
9003
9141
  "value_allowed_null": true
9142
+ },
9143
+ {
9144
+ "disabled": false,
9145
+ "document": "文档所属分类ID",
9146
+ "example": "无",
9147
+ "member": "string",
9148
+ "name": "CateBizId",
9149
+ "output_required": false,
9150
+ "type": "string",
9151
+ "value_allowed_null": false
9004
9152
  }
9005
9153
  ],
9006
9154
  "usage": "out"
@@ -9070,6 +9218,24 @@
9070
9218
  "name": "CateBizId",
9071
9219
  "required": false,
9072
9220
  "type": "string"
9221
+ },
9222
+ {
9223
+ "disabled": false,
9224
+ "document": "文件类型分类筛选",
9225
+ "example": "[\"txt\",\"jpg\"]",
9226
+ "member": "string",
9227
+ "name": "FileTypes",
9228
+ "required": false,
9229
+ "type": "list"
9230
+ },
9231
+ {
9232
+ "disabled": false,
9233
+ "document": "文档列表筛选标识位",
9234
+ "example": "无",
9235
+ "member": "DocFilterFlag",
9236
+ "name": "FilterFlag",
9237
+ "required": false,
9238
+ "type": "list"
9073
9239
  }
9074
9240
  ],
9075
9241
  "type": "object"
@@ -9817,7 +9983,7 @@
9817
9983
  "members": [
9818
9984
  {
9819
9985
  "disabled": false,
9820
- "document": "机器人ID",
9986
+ "document": "应用ID",
9821
9987
  "example": "无",
9822
9988
  "member": "string",
9823
9989
  "name": "BotBizId",
@@ -11808,6 +11974,16 @@
11808
11974
  "output_required": false,
11809
11975
  "type": "object",
11810
11976
  "value_allowed_null": true
11977
+ },
11978
+ {
11979
+ "disabled": false,
11980
+ "document": "扩展信息\n注意:此字段可能返回 null,表示取不到有效值。",
11981
+ "example": "无",
11982
+ "member": "ExtraInfo",
11983
+ "name": "ExtraInfo",
11984
+ "output_required": false,
11985
+ "type": "object",
11986
+ "value_allowed_null": true
11811
11987
  }
11812
11988
  ],
11813
11989
  "usage": "out"
@@ -11986,6 +12162,17 @@
11986
12162
  "required": false,
11987
12163
  "type": "list",
11988
12164
  "value_allowed_null": false
12165
+ },
12166
+ {
12167
+ "disabled": false,
12168
+ "document": "插件参数配置是否隐藏不可见,true-隐藏不可见,false-可见",
12169
+ "example": "false",
12170
+ "member": "bool",
12171
+ "name": "GlobalHidden",
12172
+ "output_required": false,
12173
+ "required": false,
12174
+ "type": "bool",
12175
+ "value_allowed_null": false
11989
12176
  }
11990
12177
  ],
11991
12178
  "usage": "both"
@@ -12176,6 +12363,17 @@
12176
12363
  "required": false,
12177
12364
  "type": "object",
12178
12365
  "value_allowed_null": true
12366
+ },
12367
+ {
12368
+ "disabled": false,
12369
+ "document": "Agent调试信息\n注意:此字段可能返回 null,表示取不到有效值。",
12370
+ "example": "无",
12371
+ "member": "AgentDebugInfo",
12372
+ "name": "Agent",
12373
+ "output_required": false,
12374
+ "required": false,
12375
+ "type": "object",
12376
+ "value_allowed_null": true
12179
12377
  }
12180
12378
  ],
12181
12379
  "usage": "both"
@@ -12435,7 +12633,7 @@
12435
12633
  },
12436
12634
  {
12437
12635
  "disabled": false,
12438
- "document": "需要改写的多轮历史会话",
12636
+ "document": "需要改写的多轮历史会话,每轮历史对话需要包含user(问)和assistant(答)成对输入,由于模型字符限制,最多提供4轮对话。",
12439
12637
  "example": "[{\"Role\":\"user\",\"Content\":\"你家在哪里\"},{\"Role\":\"assistant\",\"Content\":“我家在国内”}]",
12440
12638
  "member": "Message",
12441
12639
  "name": "Messages",
@@ -27,7 +27,7 @@
27
27
  "CreateApp": [
28
28
  {
29
29
  "document": "创建应用",
30
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApp\n<公共请求参数>\n\n{\n \"AppType\": \"knowledge_qa\",\n \"BaseConfig\": {\n \"Name\": \"知识问答\",\n \"Avatar\": \"头像\",\n \"Desc\": \"xxx\"\n }\n}",
30
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateApp\n<公共请求参数>\n\n{\n \"AppType\": \"knowledge_qa\",\n \"BaseConfig\": {\n \"Name\": \"知识问答\",\n \"Avatar\": \"头像\",\n \"Desc\": \"第一个应用\"\n }\n}",
31
31
  "output": "{\n \"Response\": {\n \"AppBizId\": \"198848848484848\",\n \"RequestId\": \"dwec-adsdsdsd-sfsfdsfsf\"\n }\n}",
32
32
  "title": "创建应用"
33
33
  }
@@ -59,7 +59,7 @@
59
59
  "CreateQA": [
60
60
  {
61
61
  "document": "创建问答",
62
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\",\n \"Question\": \"q\",\n \"Answer\": \"a\",\n \"AttrRange\": 1\n}",
62
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQA\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\",\n \"Question\": \"q\",\n \"Answer\": \"答案\",\n \"AttrRange\": 1\n}",
63
63
  "output": "{\n \"Response\": {\n \"QaBizId\": \"17272310733712383\",\n \"RequestId\": \"eefbbf48-673a-4fe3-bc0f-5b45693b8962\"\n }\n}",
64
64
  "title": "创建问答"
65
65
  }
@@ -283,7 +283,7 @@
283
283
  "DescribeSegments": [
284
284
  {
285
285
  "document": "片段请求",
286
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSegments\n<公共请求参数>\n\n{\n \"BotBizId\": \"1771107658358063104\",\n \"SegBizId\": [\n \"1111\",\n \"2222\"\n ]\n}",
286
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSegments\n<公共请求参数>\n\n{\n \"BotBizId\": \"1771107658358063104\",\n \"SegBizId\": [\n \"17711076583580631041\",\n \"17711076583580631042\"\n ]\n}",
287
287
  "output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"83500528-9870-4c63-ad21-de5dc6d4a059\"\n }\n}",
288
288
  "title": "片段请求"
289
289
  }
@@ -322,7 +322,7 @@
322
322
  {
323
323
  "document": "查看不满意回复上下文",
324
324
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUnsatisfiedReplyContext\n<公共请求参数>\n\n{\n \"BotBizId\": \"1696822786072117248\",\n \"ReplyBizId\": \"29\"\n}",
325
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"ea896164-fd4a-4020-9fd0-cc86faaa6f1d\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"3f913f9e-8efb-473a-aea4-2e97268360f9\"\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"48cb5e24-88e6-46f0-8d2d-75f517686de4\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"2f007448-7af6-420c-a14c-2de23f28f8d2\"\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"354bac2d-2b27-4dbd-b6bb-c53de9808a4d\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"594c875a-6332-4042-b4a6-3ffeaac6ccde\"\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"aa86aee5-ee06-4cb1-91f3-33a967b7f437\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"83095ab9-61b5-4392-980b-d76fdf4bcdd8\"\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"4b152507-04da-44ae-9e39-b8f170a7c58d\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"4158c9a9-724e-447d-9973-f35bfc6af38d\"\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"265b25a2-95d0-4775-86e3-a9dd3278c747\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"34366c2d-065c-498e-a9f7-c7e06ac82bc5\"\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"996d7eff-8345-4858-a290-fe0b8b2b5c87\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"04171ac2-46b0-4371-9983-176ecda6ffc0\"\n }\n ],\n \"RequestId\": \"72e31a2d-59cf-42f6-9fc2-c6b3676971cd\"\n }\n}",
325
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"FileInfos\": [],\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"ea896164-fd4a-4020-9fd0-cc86faaa6f1d\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"FileInfos\": [],\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"3f913f9e-8efb-473a-aea4-2e97268360f9\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"FileInfos\": [],\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"48cb5e24-88e6-46f0-8d2d-75f517686de4\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"FileInfos\": [],\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"2f007448-7af6-420c-a14c-2de23f28f8d2\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"FileInfos\": [],\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"354bac2d-2b27-4dbd-b6bb-c53de9808a4d\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"FileInfos\": [],\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"594c875a-6332-4042-b4a6-3ffeaac6ccde\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"FileInfos\": [],\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"aa86aee5-ee06-4cb1-91f3-33a967b7f437\"\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"FileInfos\": [],\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"83095ab9-61b5-4392-980b-d76fdf4bcdd8\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"FileInfos\": [],\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"4b152507-04da-44ae-9e39-b8f170a7c58d\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"FileInfos\": [],\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"4158c9a9-724e-447d-9973-f35bfc6af38d\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"FileInfos\": [],\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"265b25a2-95d0-4775-86e3-a9dd3278c747\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"FileInfos\": [],\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"34366c2d-065c-498e-a9f7-c7e06ac82bc5\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/avatar_penguin01.png\",\n \"Content\": \"你好\",\n \"FileInfos\": [],\n \"IsVisitor\": true,\n \"NickName\": \"131****1632\",\n \"RecordBizId\": \"996d7eff-8345-4858-a290-fe0b8b2b5c87\",\n \"ReplyMethod\": 0\n },\n {\n \"Avatar\": \"https://qbot-1251316161.cos.ap-nanjing.myqcloud.com/avatar.png\",\n \"Content\": \"您好!有什么我可以帮助您的吗?\",\n \"FileInfos\": [],\n \"IsVisitor\": false,\n \"NickName\": \"企点智能客服02\",\n \"RecordBizId\": \"04171ac2-46b0-4371-9983-176ecda6ffc0\",\n \"ReplyMethod\": 0\n }\n ],\n \"RequestId\": \"72e31a2d-59cf-42f6-9fc2-c6b3676971cd\"\n }\n}",
326
326
  "title": "查看不满意回复上下文"
327
327
  }
328
328
  ],
@@ -568,7 +568,7 @@
568
568
  {
569
569
  "document": "",
570
570
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListRejectedQuestionPreview\n<公共请求参数>\n\n{\n \"BotBizId\": \"1798610639288008723\",\n \"PageNumber\": 1,\n \"PageSize\": 1,\n \"Query\": \"\",\n \"ReleaseBizId\": \"1\",\n \"Actions\": [\n 1\n ],\n \"StartTime\": \"1701566284\",\n \"EndTime\": \"1701766284\"\n}",
571
- "output": "{\n \"Response\": {\n \"Total\": \"1\",\n \"List\": [\n {\n \"Question\": \"abc\",\n \"UpdateTime\": \"1701766284\",\n \"Action\": 1,\n \"ActionDesc\": \"新增\",\n \"Message\": \"\"\n }\n ],\n \"RequestId\": \"2314bdbe-d34e-401e-95c4-3e861d5298ee\"\n }\n}",
571
+ "output": "{\n \"Response\": {\n \"Total\": \"1\",\n \"List\": [\n {\n \"Question\": \"问题1\",\n \"UpdateTime\": \"1701766284\",\n \"Action\": 1,\n \"ActionDesc\": \"新增\",\n \"Message\": \"\"\n }\n ],\n \"RequestId\": \"2314bdbe-d34e-401e-95c4-3e861d5298ee\"\n }\n}",
572
572
  "title": "发布拒答问题预览"
573
573
  }
574
574
  ],
@@ -600,7 +600,7 @@
600
600
  {
601
601
  "document": "",
602
602
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListReleaseQAPreview\n<公共请求参数>\n\n{\n \"BotBizId\": \"1694921462777761792\",\n \"PageNumber\": 1,\n \"PageSize\": 10,\n \"Query\": \"\",\n \"ReleaseBizId\": \"1694923462777761792\",\n \"StartTime\": \"1735056000\",\n \"EndTime\": \"1735142399\",\n \"Actions\": [],\n \"ReleaseStatus\": []\n}",
603
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161612\",\n \"Question\": \"aaaa\",\n \"ReleaseStatus\": 0,\n \"Source\": 3,\n \"SourceDesc\": \"手动录入\",\n \"UpdateTime\": \"1701264450\"\n },\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161738\",\n \"Question\": \"问题1\",\n \"ReleaseStatus\": 0,\n \"Source\": 2,\n \"SourceDesc\": \"批量导入\",\n \"UpdateTime\": \"1701422596\"\n },\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161739\",\n \"Question\": \"问题2\",\n \"ReleaseStatus\": 0,\n \"Source\": 2,\n \"SourceDesc\": \"批量导入\",\n \"UpdateTime\": \"1701427533\"\n },\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161740\",\n \"Question\": \"qq\",\n \"ReleaseStatus\": 0,\n \"Source\": 2,\n \"SourceDesc\": \"批量导入\",\n \"UpdateTime\": \"1701670093\"\n },\n {\n \"Action\": 1,\n \"ActionDesc\": \"新增\",\n \"FileName\": \"深圳市最低生活保障办法.docx\",\n \"FileType\": \"docx\",\n \"Message\": \"\",\n \"QaBizId\": \"162463\",\n \"Question\": \"深圳市最低生活保障办法何时开始施行?\",\n \"ReleaseStatus\": 0,\n \"Source\": 1,\n \"SourceDesc\": \"深圳市最低生活保障办法.docx\",\n \"UpdateTime\": \"1700550874\"\n },\n {\n \"Action\": 1,\n \"ActionDesc\": \"新增\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"1731558661913706496\",\n \"Question\": \"a\",\n \"ReleaseStatus\": 0,\n \"Source\": 3,\n \"SourceDesc\": \"手动录入\",\n \"UpdateTime\": \"1701670760\"\n }\n ],\n \"RequestId\": \"0260ac98-913d-4aab-9276-8a045f627e4e\",\n \"Total\": \"6\"\n }\n}",
603
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161612\",\n \"Question\": \"aaaa\",\n \"ReleaseStatus\": 0,\n \"Source\": 3,\n \"SourceDesc\": \"手动录入\",\n \"UpdateTime\": \"1701264450\"\n },\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161738\",\n \"Question\": \"问题1\",\n \"ReleaseStatus\": 0,\n \"Source\": 2,\n \"SourceDesc\": \"批量导入\",\n \"UpdateTime\": \"1701422596\"\n },\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161739\",\n \"Question\": \"问题2\",\n \"ReleaseStatus\": 0,\n \"Source\": 2,\n \"SourceDesc\": \"批量导入\",\n \"UpdateTime\": \"1701427533\"\n },\n {\n \"Action\": 3,\n \"ActionDesc\": \"删除\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"161740\",\n \"Question\": \"qq\",\n \"ReleaseStatus\": 0,\n \"Source\": 2,\n \"SourceDesc\": \"批量导入\",\n \"UpdateTime\": \"1701670093\"\n },\n {\n \"Action\": 1,\n \"ActionDesc\": \"新增\",\n \"FileName\": \"深圳市最低生活保障办法.docx\",\n \"FileType\": \"docx\",\n \"Message\": \"\",\n \"QaBizId\": \"162463\",\n \"Question\": \"深圳市最低生活保障办法何时开始施行?\",\n \"ReleaseStatus\": 0,\n \"Source\": 1,\n \"SourceDesc\": \"深圳市最低生活保障办法.docx\",\n \"UpdateTime\": \"1700550874\"\n },\n {\n \"Action\": 1,\n \"ActionDesc\": \"新增\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Message\": \"\",\n \"QaBizId\": \"1731558661913706496\",\n \"Question\": \"问题a\",\n \"ReleaseStatus\": 0,\n \"Source\": 3,\n \"SourceDesc\": \"手动录入\",\n \"UpdateTime\": \"1701670760\"\n }\n ],\n \"RequestId\": \"0260ac98-913d-4aab-9276-8a045f627e4e\",\n \"Total\": \"6\"\n }\n}",
604
604
  "title": "发布问答预览"
605
605
  }
606
606
  ],
@@ -615,8 +615,8 @@
615
615
  "ListUnsatisfiedReply": [
616
616
  {
617
617
  "document": "查询不满意回复列表",
618
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListUnsatisfiedReply\n<公共请求参数>\n\n{\n \"BotBizId\": \"1696822786072117248\",\n \"PageNumber\": 1,\n \"PageSize\": 15\n}",
619
- "output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"b60ba14e-982f-4d51-a3c0-6d17383f42dc\",\n \"Total\": \"0\"\n }\n}",
618
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListUnsatisfiedReply\n<公共请求参数>\n\n{\n \"BotBizId\": \"1696822786072117248\",\n \"PageNumber\": 1,\n \"PageSize\": 15,\n \"Query\": \"你好\",\n \"Reasons\": [\n \"其他价值观问题\"\n ]\n}",
619
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"Answer\": \"对话主题:无\",\n \"Question\": \"你好吗\",\n \"Reasons\": [\n \"存在逻辑问题\",\n \"存在偏见与歧视\"\n ],\n \"RecordBizId\": \"YWm_20241206_155222_578_Xg6FvVzX\",\n \"ReplyBizId\": \"1864940953108241344\"\n }\n ],\n \"RequestId\": \"a94afdd8-decb-487a-a37a-4c053654385b\",\n \"Total\": \"1\"\n }\n}",
620
620
  "title": "查询不满意回复列表"
621
621
  }
622
622
  ],
@@ -671,7 +671,7 @@
671
671
  "ModifyQA": [
672
672
  {
673
673
  "document": "修改问答",
674
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\",\n \"QaBizId\": \"1728997020814671872\",\n \"Question\": \"q1\",\n \"Answer\": \"a\",\n \"AttrRange\": 1\n}",
674
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\",\n \"QaBizId\": \"1728997020814671872\",\n \"Question\": \"q1\",\n \"Answer\": \"答案\",\n \"AttrRange\": 1\n}",
675
675
  "output": "{\n \"Response\": {\n \"RequestId\": \"59f31ba4-688b-4765-91eb-b47d41895036\"\n }\n}",
676
676
  "title": "修改问答"
677
677
  }
@@ -769,7 +769,7 @@
769
769
  "document": "",
770
770
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SaveDoc\n<公共请求参数>\n\n{\n \"BotBizId\": \"1727231073371148288\",\n \"FileName\": \"测试.docx\",\n \"FileType\": \"docx\",\n \"CosUrl\": \"/corp/23432432/233432/doc/zeSOHIBjwcWoEmlMMXOp-1796022574489010176.docx\",\n \"ETag\": \"\\\"58e88ad7665f11c4f66eba0eada383a5\\\"\",\n \"CosHash\": \"xxxxxxxxx\",\n \"Size\": \"643000\",\n \"Source\": 1,\n \"WebUrl\": \"\",\n \"AttrRange\": 1,\n \"AttrLabels\": [],\n \"ReferUrlType\": 0\n}",
771
771
  "output": "{\n \"Response\": {\n \"DocBizId\": \"1694921462777761792\",\n \"ErrorMsg\": \"\",\n \"ErrorLink\": \"\",\n \"ErrorLinkText\": \"\",\n \"RequestId\": \"e3338103-3165-49c0-b218-245be865cca5\"\n }\n}",
772
- "title": "知识库文档问答保存"
772
+ "title": "知识库文档录入"
773
773
  }
774
774
  ],
775
775
  "StopDocParse": [
@@ -1213,6 +1213,58 @@ def doCreateSplitDocumentFlow(args, parsed_globals):
1213
1213
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1214
1214
 
1215
1215
 
1216
+ def doGetCharacterUsage(args, parsed_globals):
1217
+ g_param = parse_global_arg(parsed_globals)
1218
+
1219
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1220
+ cred = credential.CVMRoleCredential()
1221
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1222
+ cred = credential.STSAssumeRoleCredential(
1223
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1224
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1225
+ )
1226
+ elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
1227
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1228
+ else:
1229
+ cred = credential.Credential(
1230
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1231
+ )
1232
+ http_profile = HttpProfile(
1233
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1234
+ reqMethod="POST",
1235
+ endpoint=g_param[OptionsDefine.Endpoint],
1236
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1237
+ )
1238
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1239
+ if g_param[OptionsDefine.Language]:
1240
+ profile.language = g_param[OptionsDefine.Language]
1241
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1242
+ client = mod.LkeapClient(cred, g_param[OptionsDefine.Region], profile)
1243
+ client._sdkVersion += ("_CLI_" + __version__)
1244
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1245
+ model = models.GetCharacterUsageRequest()
1246
+ model.from_json_string(json.dumps(args))
1247
+ start_time = time.time()
1248
+ while True:
1249
+ rsp = client.GetCharacterUsage(model)
1250
+ result = rsp.to_json_string()
1251
+ try:
1252
+ json_obj = json.loads(result)
1253
+ except TypeError as e:
1254
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1255
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1256
+ break
1257
+ cur_time = time.time()
1258
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1259
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1260
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1261
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1262
+ else:
1263
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1264
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1265
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1266
+
1267
+
1216
1268
  def doUploadDocRealtime(args, parsed_globals):
1217
1269
  g_param = parse_global_arg(parsed_globals)
1218
1270
 
@@ -1403,6 +1455,7 @@ ACTION_MAP = {
1403
1455
  "CreateQA": doCreateQA,
1404
1456
  "DeleteKnowledgeBase": doDeleteKnowledgeBase,
1405
1457
  "CreateSplitDocumentFlow": doCreateSplitDocumentFlow,
1458
+ "GetCharacterUsage": doGetCharacterUsage,
1406
1459
  "UploadDocRealtime": doUploadDocRealtime,
1407
1460
  "UploadDoc": doUploadDoc,
1408
1461
  "ChatCompletions": doChatCompletions,