tccli 3.0.1391.1__py2.py3-none-any.whl → 3.0.1414.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.

Potentially problematic release.


This version of tccli might be problematic. Click here for more details.

Files changed (226) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +2 -1
  3. tccli/services/ai3d/v20250513/api.json +22 -4
  4. tccli/services/aiart/aiart_client.py +173 -67
  5. tccli/services/aiart/v20221229/api.json +193 -0
  6. tccli/services/aiart/v20221229/examples.json +16 -0
  7. tccli/services/apm/apm_client.py +53 -0
  8. tccli/services/apm/v20210622/api.json +354 -0
  9. tccli/services/apm/v20210622/examples.json +8 -0
  10. tccli/services/asr/v20190614/api.json +3 -3
  11. tccli/services/autoscaling/v20180419/api.json +24 -2
  12. tccli/services/batch/v20170312/api.json +1 -1
  13. tccli/services/bda/bda_client.py +15 -704
  14. tccli/services/bda/v20200324/api.json +107 -1819
  15. tccli/services/bda/v20200324/examples.json +0 -176
  16. tccli/services/billing/billing_client.py +326 -8
  17. tccli/services/billing/v20180709/api.json +2200 -255
  18. tccli/services/billing/v20180709/examples.json +48 -0
  19. tccli/services/cam/v20190116/api.json +4 -4
  20. tccli/services/captcha/v20190722/api.json +3 -3
  21. tccli/services/cat/v20180409/api.json +7 -7
  22. tccli/services/ccc/ccc_client.py +235 -76
  23. tccli/services/ccc/v20200210/api.json +502 -18
  24. tccli/services/ccc/v20200210/examples.json +24 -0
  25. tccli/services/cdb/cdb_client.py +106 -0
  26. tccli/services/cdb/v20170320/api.json +257 -44
  27. tccli/services/cdb/v20170320/examples.json +22 -6
  28. tccli/services/cdn/cdn_client.py +4 -163
  29. tccli/services/cdn/v20180606/api.json +61 -310
  30. tccli/services/cdn/v20180606/examples.json +1 -25
  31. tccli/services/cdwdoris/v20211228/api.json +51 -12
  32. tccli/services/cdwpg/v20201230/api.json +11 -1
  33. tccli/services/cdwpg/v20201230/examples.json +1 -1
  34. tccli/services/cfg/v20210820/api.json +11 -1
  35. tccli/services/cfs/cfs_client.py +41 -94
  36. tccli/services/cfs/v20190719/api.json +171 -55
  37. tccli/services/cfs/v20190719/examples.json +1 -9
  38. tccli/services/cfw/v20190904/api.json +122 -10
  39. tccli/services/ckafka/ckafka_client.py +188 -29
  40. tccli/services/ckafka/v20190819/api.json +277 -4
  41. tccli/services/ckafka/v20190819/examples.json +25 -1
  42. tccli/services/clb/clb_client.py +0 -265
  43. tccli/services/clb/v20180317/api.json +130 -296
  44. tccli/services/clb/v20180317/examples.json +12 -40
  45. tccli/services/cloudapp/v20220530/api.json +55 -0
  46. tccli/services/cloudaudit/v20190319/api.json +11 -0
  47. tccli/services/cloudhsm/v20191112/api.json +10 -10
  48. tccli/services/cls/v20201016/api.json +63 -45
  49. tccli/services/cls/v20201016/examples.json +10 -4
  50. tccli/services/csip/v20221121/api.json +53 -3
  51. tccli/services/ctem/v20231128/api.json +320 -0
  52. tccli/services/ctem/v20231128/examples.json +3 -3
  53. tccli/services/cvm/cvm_client.py +0 -212
  54. tccli/services/cvm/v20170312/api.json +91 -843
  55. tccli/services/cvm/v20170312/examples.json +32 -58
  56. tccli/services/cynosdb/cynosdb_client.py +167 -8
  57. tccli/services/cynosdb/v20190107/api.json +1126 -148
  58. tccli/services/cynosdb/v20190107/examples.json +31 -7
  59. tccli/services/dbbrain/dbbrain_client.py +246 -87
  60. tccli/services/dbbrain/v20191016/api.json +74 -62
  61. tccli/services/dbbrain/v20191016/examples.json +1 -1
  62. tccli/services/dbbrain/v20210527/api.json +601 -177
  63. tccli/services/dbbrain/v20210527/examples.json +28 -4
  64. tccli/services/dc/v20180410/api.json +101 -3
  65. tccli/services/dcdb/v20180411/api.json +1 -1
  66. tccli/services/dlc/dlc_client.py +53 -0
  67. tccli/services/dlc/v20210125/api.json +237 -24
  68. tccli/services/dlc/v20210125/examples.json +12 -4
  69. tccli/services/dnspod/dnspod_client.py +106 -0
  70. tccli/services/dnspod/v20210323/api.json +126 -20
  71. tccli/services/dnspod/v20210323/examples.json +17 -7
  72. tccli/services/dsgc/v20190723/api.json +73 -15
  73. tccli/services/dts/v20180330/api.json +4 -4
  74. tccli/services/dts/v20211206/api.json +408 -127
  75. tccli/services/dts/v20211206/examples.json +15 -9
  76. tccli/services/eb/v20210416/api.json +41 -1
  77. tccli/services/eb/v20210416/examples.json +1 -1
  78. tccli/services/emr/v20190103/api.json +56 -9
  79. tccli/services/emr/v20190103/examples.json +5 -5
  80. tccli/services/es/es_client.py +273 -8
  81. tccli/services/es/v20180416/api.json +845 -33
  82. tccli/services/es/v20180416/examples.json +33 -1
  83. tccli/services/es/v20250101/api.json +135 -2
  84. tccli/services/es/v20250101/examples.json +8 -0
  85. tccli/services/ess/ess_client.py +509 -32
  86. tccli/services/ess/v20201111/api.json +1366 -113
  87. tccli/services/ess/v20201111/examples.json +94 -10
  88. tccli/services/essbasic/v20210526/api.json +265 -27
  89. tccli/services/essbasic/v20210526/examples.json +12 -12
  90. tccli/services/facefusion/v20220927/api.json +1 -1
  91. tccli/services/gaap/v20180529/api.json +18 -8
  92. tccli/services/gme/gme_client.py +53 -0
  93. tccli/services/gme/v20180711/api.json +241 -1
  94. tccli/services/gme/v20180711/examples.json +8 -0
  95. tccli/services/gs/gs_client.py +216 -4
  96. tccli/services/gs/v20191118/api.json +202 -1
  97. tccli/services/gs/v20191118/examples.json +32 -0
  98. tccli/services/gwlb/gwlb_client.py +53 -0
  99. tccli/services/gwlb/v20240906/api.json +150 -0
  100. tccli/services/gwlb/v20240906/examples.json +8 -0
  101. tccli/services/hai/v20230812/api.json +5 -5
  102. tccli/services/hunyuan/v20230901/api.json +3 -3
  103. tccli/services/hunyuan/v20230901/examples.json +1 -1
  104. tccli/services/iai/v20180301/api.json +227 -207
  105. tccli/services/iai/v20180301/examples.json +26 -26
  106. tccli/services/iai/v20200303/api.json +4 -4
  107. tccli/services/iai/v20200303/examples.json +1 -1
  108. tccli/services/ioa/ioa_client.py +265 -0
  109. tccli/services/ioa/v20220601/api.json +781 -85
  110. tccli/services/ioa/v20220601/examples.json +46 -0
  111. tccli/services/iotexplorer/iotexplorer_client.py +387 -16
  112. tccli/services/iotexplorer/v20190423/api.json +1183 -63
  113. tccli/services/iotexplorer/v20190423/examples.json +92 -0
  114. tccli/services/keewidb/v20220308/api.json +69 -17
  115. tccli/services/keewidb/v20220308/examples.json +5 -5
  116. tccli/services/lcic/v20220817/api.json +61 -15
  117. tccli/services/lighthouse/v20200324/api.json +193 -24
  118. tccli/services/lighthouse/v20200324/examples.json +9 -3
  119. tccli/services/live/v20180801/api.json +6 -6
  120. tccli/services/live/v20180801/examples.json +7 -1
  121. tccli/services/lke/lke_client.py +40 -93
  122. tccli/services/lke/v20231130/api.json +943 -390
  123. tccli/services/lke/v20231130/examples.json +38 -46
  124. tccli/services/lkeap/v20240522/api.json +39 -12
  125. tccli/services/lkeap/v20240522/examples.json +12 -0
  126. tccli/services/mariadb/v20170312/api.json +1 -1
  127. tccli/services/mna/v20210119/api.json +11 -2
  128. tccli/services/mna/v20210119/examples.json +1 -1
  129. tccli/services/mongodb/mongodb_client.py +334 -16
  130. tccli/services/mongodb/v20190725/api.json +1092 -383
  131. tccli/services/mongodb/v20190725/examples.json +69 -21
  132. tccli/services/monitor/monitor_client.py +106 -0
  133. tccli/services/monitor/v20180724/api.json +383 -12
  134. tccli/services/monitor/v20180724/examples.json +24 -2
  135. tccli/services/mps/mps_client.py +220 -8
  136. tccli/services/mps/v20190612/api.json +1999 -179
  137. tccli/services/mps/v20190612/examples.json +56 -6
  138. tccli/services/mqtt/v20240516/api.json +10 -0
  139. tccli/services/mqtt/v20240516/examples.json +3 -9
  140. tccli/services/nlp/v20190408/api.json +6 -6
  141. tccli/services/oceanus/oceanus_client.py +318 -0
  142. tccli/services/oceanus/v20190422/api.json +461 -26
  143. tccli/services/oceanus/v20190422/examples.json +50 -2
  144. tccli/services/ocr/ocr_client.py +41 -253
  145. tccli/services/ocr/v20181119/api.json +153 -659
  146. tccli/services/ocr/v20181119/examples.json +8 -40
  147. tccli/services/omics/v20221128/api.json +90 -7
  148. tccli/services/organization/v20210331/api.json +46 -7
  149. tccli/services/postgres/v20170312/api.json +333 -77
  150. tccli/services/postgres/v20170312/examples.json +37 -31
  151. tccli/services/privatedns/privatedns_client.py +641 -58
  152. tccli/services/privatedns/v20201028/api.json +930 -19
  153. tccli/services/privatedns/v20201028/examples.json +91 -3
  154. tccli/services/pts/v20210728/api.json +2 -2
  155. tccli/services/redis/v20180412/api.json +303 -109
  156. tccli/services/redis/v20180412/examples.json +12 -12
  157. tccli/services/region/v20220627/api.json +1 -1
  158. tccli/services/rum/v20210622/api.json +22 -4
  159. tccli/services/rum/v20210622/examples.json +2 -2
  160. tccli/services/sms/v20190711/api.json +12 -12
  161. tccli/services/sms/v20190711/examples.json +9 -3
  162. tccli/services/sms/v20210111/api.json +13 -13
  163. tccli/services/sms/v20210111/examples.json +8 -2
  164. tccli/services/sqlserver/v20180328/api.json +46 -7
  165. tccli/services/sqlserver/v20180328/examples.json +2 -2
  166. tccli/services/ssl/v20191205/api.json +28 -0
  167. tccli/services/svp/v20240125/api.json +14 -4
  168. tccli/services/tag/v20180813/api.json +3 -3
  169. tccli/services/tat/v20201028/api.json +22 -3
  170. tccli/services/tcb/v20180608/api.json +1 -1
  171. tccli/services/tcss/tcss_client.py +228 -69
  172. tccli/services/tcss/v20201101/api.json +273 -25
  173. tccli/services/tcss/v20201101/examples.json +26 -2
  174. tccli/services/teo/teo_client.py +317 -52
  175. tccli/services/teo/v20220901/api.json +1824 -242
  176. tccli/services/teo/v20220901/examples.json +109 -21
  177. tccli/services/thpc/thpc_client.py +57 -4
  178. tccli/services/thpc/v20230321/api.json +163 -21
  179. tccli/services/thpc/v20230321/examples.json +13 -5
  180. tccli/services/tione/tione_client.py +163 -4
  181. tccli/services/tione/v20211111/api.json +285 -21
  182. tccli/services/tione/v20211111/examples.json +27 -3
  183. tccli/services/tke/tke_client.py +8 -8
  184. tccli/services/tke/v20180525/api.json +168 -130
  185. tccli/services/tke/v20180525/examples.json +20 -20
  186. tccli/services/tke/v20220501/api.json +215 -3
  187. tccli/services/tke/v20220501/examples.json +8 -0
  188. tccli/services/tms/tms_client.py +106 -0
  189. tccli/services/tms/v20201229/api.json +249 -3
  190. tccli/services/tms/v20201229/examples.json +16 -0
  191. tccli/services/tmt/v20180321/api.json +78 -1
  192. tccli/services/trabbit/v20230418/api.json +271 -4
  193. tccli/services/trabbit/v20230418/examples.json +9 -3
  194. tccli/services/trocket/v20230308/api.json +4 -4
  195. tccli/services/trro/trro_client.py +106 -0
  196. tccli/services/trro/v20220325/api.json +456 -0
  197. tccli/services/trro/v20220325/examples.json +16 -0
  198. tccli/services/trtc/v20190722/api.json +197 -49
  199. tccli/services/trtc/v20190722/examples.json +4 -4
  200. tccli/services/tse/v20201207/api.json +69 -2
  201. tccli/services/tse/v20201207/examples.json +3 -3
  202. tccli/services/tsf/v20180326/api.json +70 -7
  203. tccli/services/tsf/v20180326/examples.json +2 -2
  204. tccli/services/vclm/v20240523/api.json +145 -0
  205. tccli/services/vclm/v20240523/examples.json +16 -0
  206. tccli/services/vclm/vclm_client.py +106 -0
  207. tccli/services/vcube/v20220410/api.json +1 -1
  208. tccli/services/vod/v20180717/api.json +7 -7
  209. tccli/services/vpc/v20170312/api.json +1216 -70
  210. tccli/services/vpc/v20170312/examples.json +139 -3
  211. tccli/services/vpc/vpc_client.py +1023 -122
  212. tccli/services/vrs/v20200824/api.json +11 -11
  213. tccli/services/vrs/v20200824/examples.json +1 -1
  214. tccli/services/vtc/v20240223/api.json +14 -14
  215. tccli/services/waf/v20180125/api.json +812 -143
  216. tccli/services/waf/v20180125/examples.json +2 -2
  217. tccli/services/wedata/v20210820/api.json +1281 -601
  218. tccli/services/wedata/v20210820/examples.json +127 -157
  219. tccli/services/wedata/v20250806/api.json +19335 -0
  220. tccli/services/wedata/v20250806/examples.json +999 -0
  221. tccli/services/wedata/wedata_client.py +7072 -1131
  222. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/METADATA +9 -7
  223. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/RECORD +226 -224
  224. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/WHEEL +1 -1
  225. {tccli-3.0.1391.1.dist-info → tccli-3.0.1414.1.dist-info}/entry_points.txt +0 -0
  226. {tccli-3.0.1391.1.dist-info/license_files → tccli-3.0.1414.1.dist-info/licenses}/LICENSE +0 -0
@@ -16,14 +16,6 @@
16
16
  "title": "检查知识标签是否被引用"
17
17
  }
18
18
  ],
19
- "CreateAgent": [
20
- {
21
- "document": "",
22
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"Name\": \"浏览器控制 agent\",\n \"Instructions\": \"根据用户需求进行浏览器的控制\",\n \"HandoffDescription\": \"涉及到实际浏览器控制和操作的需求都可以交给我\",\n \"Model\": {\n \"ModelName\": \"function-call-pro\"\n }\n }\n}",
23
- "output": "{\n \"Response\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"RequestId\": \"84ec404b-729e-47af-9f64-7a3f590c8c27\"\n }\n}",
24
- "title": "创建Agent"
25
- }
26
- ],
27
19
  "CreateApp": [
28
20
  {
29
21
  "document": "创建应用",
@@ -51,7 +43,7 @@
51
43
  "CreateQA": [
52
44
  {
53
45
  "document": "创建问答",
54
- "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}",
46
+ "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\": \"你是谁\",\n \"Answer\": \"我是AI小助手\",\n \"AttrRange\": 1\n}",
55
47
  "output": "{\n \"Response\": {\n \"QaBizId\": \"17272310733712383\",\n \"RequestId\": \"eefbbf48-673a-4fe3-bc0f-5b45693b8962\"\n }\n}",
56
48
  "title": "创建问答"
57
49
  }
@@ -204,16 +196,16 @@
204
196
  {
205
197
  "document": "查询知识标签",
206
198
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAttributeLabel\n<公共请求参数>\n\n{\n \"BotBizId\": \"1696822786072117248\",\n \"AttributeBizId\": \"1734549420823662592\",\n \"LastLabelBizId\": \"1734549420823662593\",\n \"Limit\": 1\n}",
207
- "output": "{\n \"Response\": {\n \"AttrKey\": \"test\",\n \"AttrName\": \"诶皮爱标签\",\n \"AttributeBizId\": \"1734549420823662592\",\n \"LabelNumber\": \"1\",\n \"Labels\": [],\n \"RequestId\": \"99ff53c2-120a-4d0a-b54d-760a65852cd6\"\n }\n}",
199
+ "output": "{\n \"Response\": {\n \"AttrKey\": \"attrkey\",\n \"AttrName\": \"诶皮爱标签\",\n \"AttributeBizId\": \"1734549420823662592\",\n \"LabelNumber\": \"1\",\n \"Labels\": [],\n \"RequestId\": \"99ff53c2-120a-4d0a-b54d-760a65852cd6\"\n }\n}",
208
200
  "title": "查询知识标签"
209
201
  }
210
202
  ],
211
203
  "DescribeCallStatsGraph": [
212
204
  {
213
- "document": "接口调用折线图",
214
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCallStatsGraph\n<公共请求参数>\n\n{\n \"ModelName\": \"cs-normal\",\n \"StartTime\": \"1726070400\",\n \"EndTime\": \"1726156799\"\n}",
215
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"X\": \"202411190930\",\n \"Y\": 12\n },\n {\n \"X\": \"202411190915\",\n \"Y\": 11\n }\n ],\n \"RequestId\": \"85e7259e-7810-4301-8f44-cf2d94ec0a0f\"\n }\n}",
216
- "title": "接口调用折线图"
205
+ "document": "接口调用折线图示例",
206
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCallStatsGraph\n<公共请求参数>\n\n{\n \"ModelName\": \"cs-normal-70b\",\n \"StartTime\": \"1758988800\",\n \"EndTime\": \"1759075199\",\n \"UinAccount\": [],\n \"AppBizIds\": [],\n \"SubScenes\": [],\n \"AppType\": \"knowledge_qa\",\n \"SpaceId\": \"default_space\",\n \"StatStartTime\": 1758988800,\n \"StatEndTime\": 1759075199\n}",
207
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"X\": \"202509281730\",\n \"Y\": 1078\n },\n {\n \"X\": \"202509281710\",\n \"Y\": 9\n },\n {\n \"X\": \"202509281310\",\n \"Y\": 1\n },\n {\n \"X\": \"202509281155\",\n \"Y\": 5\n },\n {\n \"X\": \"202509281140\",\n \"Y\": 5\n },\n {\n \"X\": \"202509281120\",\n \"Y\": 12\n },\n {\n \"X\": \"202509281110\",\n \"Y\": 8\n },\n {\n \"X\": \"202509280030\",\n \"Y\": 1\n },\n {\n \"X\": \"202509281840\",\n \"Y\": 16\n },\n {\n \"X\": \"202509281805\",\n \"Y\": 1\n },\n {\n \"X\": \"202509281725\",\n \"Y\": 1356\n },\n {\n \"X\": \"202509281430\",\n \"Y\": 4\n },\n {\n \"X\": \"202509281210\",\n \"Y\": 5\n },\n {\n \"X\": \"202509281145\",\n \"Y\": 9\n },\n {\n \"X\": \"202509281130\",\n \"Y\": 1\n },\n {\n \"X\": \"202509281055\",\n \"Y\": 5\n },\n {\n \"X\": \"202509281915\",\n \"Y\": 1\n },\n {\n \"X\": \"202509281905\",\n \"Y\": 3\n },\n {\n \"X\": \"202509281900\",\n \"Y\": 958\n },\n {\n \"X\": \"202509281845\",\n \"Y\": 827\n },\n {\n \"X\": \"202509281200\",\n \"Y\": 7\n },\n {\n \"X\": \"202509281150\",\n \"Y\": 5\n },\n {\n \"X\": \"202509281030\",\n \"Y\": 11\n }\n ],\n \"RequestId\": \"cee3d1f4-ee89-4e7b-9918-76a197ec53e0\"\n }\n}",
208
+ "title": "接口调用折线图示例"
217
209
  }
218
210
  ],
219
211
  "DescribeConcurrencyUsage": [
@@ -226,10 +218,10 @@
226
218
  ],
227
219
  "DescribeConcurrencyUsageGraph": [
228
220
  {
229
- "document": "并发折线图示例",
230
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConcurrencyUsageGraph\n<公共请求参数>\n\n{\n \"ModelName\": \"cs-normal-70b\",\n \"StartTime\": \"1724688000\",\n \"EndTime\": \"1724774400\",\n \"AppBizIds\": [\n \"1812732010083385344\"\n ]\n}",
231
- "output": "{\n \"Response\": {\n \"AvailableY\": [\n 5,\n 4,\n 3\n ],\n \"RequestId\": \"ad439868-ed56-44f5-a716-81cc7402e83e\",\n \"SuccessCallY\": [\n 1,\n 2,\n 3\n ],\n \"X\": [\n \"2024082700\",\n \"2024082701\",\n \"2024082702\"\n ]\n }\n}",
232
- "title": "并发折线图示例"
221
+ "document": "",
222
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeConcurrencyUsageGraph\n<公共请求参数>\n\n{\n \"ModelName\": \"lke-deepseek-r1-vip\",\n \"SpaceId\": \"default-space\",\n \"StatStartTime\": 1758988800,\n \"StatEndTime\": 1759075199\n}",
223
+ "output": "{\n \"Response\": {\n \"AvailableY\": [],\n \"SuccessCallY\": [],\n \"X\": [],\n \"RequestId\": \"3c427973-6a12-443b-aa63-ca3df61cd402\"\n }\n}",
224
+ "title": "DescribeConcurrencyUsageGraph"
233
225
  }
234
226
  ],
235
227
  "DescribeDoc": [
@@ -259,7 +251,7 @@
259
251
  "DescribeNodeRun": [
260
252
  {
261
253
  "document": "已经创建了工作流异步运行实例,通过DescribeWorkflowRun接口获取到节点的基本信息,再通过此接口可获取节点的运行详情",
262
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNodeRun\n<公共请求参数>\n\n{\n \"NodeRunId\": \"n223-4358-b8a0-b4d65712f44c\"\n}",
254
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeNodeRun\n<公共请求参数>\n\n{\n \"AppBizId\": \"1963140753734418240\",\n \"NodeRunId\": \"n223-4358-b8a0-b4d65712f44c\"\n}",
263
255
  "output": "{\n \"Response\": {\n \"NodeRun\": {\n \"NodeRunId\": \"nf5a21-6223-4358-b8a789\",\n \"NodeId\": \"e60de932-b050-65ce-261e-027760e93d81\",\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6\",\n \"NodeName\": \"大模型节点\",\n \"NodeType\": 3,\n \"State\": 1,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"CostMilliseconds\": 1000,\n \"TotalTokens\": 100,\n \"Input\": \"{\\\"Age\\\": 12}\",\n \"InputRef\": \"\",\n \"Output\": \"{\\\"Age\\\": 12}\",\n \"OutputRef\": \"\",\n \"TaskOutput\": \"{\\\"Age\\\": 12...\",\n \"TaskOutputRef\": \"https://lke-realtime-test-1251316161.cos.ap-guangzhou.myqcloud.com/xxxx/xxxx.json\",\n \"Log\": \"\",\n \"LogRef\": \"\",\n \"StartTime\": \"1672531200000\",\n \"EndTime\": \"1672531300000\",\n \"StatisticInfos\": [\n {\n \"ModelName\": \"workflow-pro\",\n \"FirstTokenCost\": 200,\n \"TotalCost\": 1000,\n \"InputTokens\": 20,\n \"OutputTokens\": 30,\n \"TotalTokens\": 50\n }\n ]\n },\n \"RequestId\": \"925208e7-46fa-43b3-a429-ddcbccad24f6\"\n }\n}",
264
256
  "title": "查看工作流异步运行实例的节点的运行详情"
265
257
  }
@@ -268,7 +260,7 @@
268
260
  {
269
261
  "document": "获取QA详情",
270
262
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeQA\n<公共请求参数>\n\n{\n \"BotBizId\": \"1887842680054218752\",\n \"QaBizId\": \"1903999940055016768\"\n}",
271
- "output": "{\n \"Response\": {\n \"Answer\": \"《**哪吒之魔童闹海**》(亦称《**哪吒贰之魔童闹海**》,简称《**哪吒2**》)。\",\n \"AttrLabels\": [],\n \"AttrRange\": 1,\n \"CateBizId\": \"1887842680872108032\",\n \"CustomParam\": \"\",\n \"DocBizId\": \"0\",\n \"ExpireEnd\": \"0\",\n \"ExpireStart\": \"1742783934\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Highlights\": [],\n \"IsAllowAccept\": false,\n \"IsAllowDelete\": true,\n \"IsAllowEdit\": true,\n \"OrgData\": \"\",\n \"PageContent\": \"\",\n \"PicAuditStatus\": 0,\n \"QaAuditStatus\": 0,\n \"QaBizId\": \"1903999940055016768\",\n \"Question\": \"哪吒2\",\n \"QuestionDesc\": \"\",\n \"RequestId\": \"7250f0e2-6d40-476a-aa15-0b5a51269a05\",\n \"SegmentBizId\": \"0\",\n \"SimilarQuestions\": [],\n \"Source\": 3,\n \"SourceDesc\": \"手动录入\",\n \"Status\": 2,\n \"StatusDesc\": \"待发布\",\n \"UpdateTime\": \"1742783970\",\n \"VideoAuditStatus\": 0\n }\n}",
263
+ "output": "{\n \"Response\": {\n \"Answer\": \"《**哪吒之魔童闹海**》亦称《**哪吒贰之魔童闹海**》,简称《**哪吒2**》)。\",\n \"AttrLabels\": [],\n \"AttrRange\": 1,\n \"CateBizId\": \"1887842680872108032\",\n \"CustomParam\": \"\",\n \"DocBizId\": \"0\",\n \"ExpireEnd\": \"0\",\n \"ExpireStart\": \"1742783934\",\n \"FileName\": \"\",\n \"FileType\": \"\",\n \"Highlights\": [],\n \"IsAllowAccept\": false,\n \"IsAllowDelete\": true,\n \"IsAllowEdit\": true,\n \"OrgData\": \"\",\n \"PageContent\": \"\",\n \"PicAuditStatus\": 0,\n \"QaAuditStatus\": 0,\n \"QaBizId\": \"1903999940055016768\",\n \"Question\": \"哪吒2\",\n \"QuestionDesc\": \"\",\n \"RequestId\": \"7250f0e2-6d40-476a-aa15-0b5a51269a05\",\n \"SegmentBizId\": \"0\",\n \"SimilarQuestions\": [],\n \"Source\": 3,\n \"SourceDesc\": \"手动录入\",\n \"Status\": 2,\n \"StatusDesc\": \"待发布\",\n \"UpdateTime\": \"1742783970\",\n \"VideoAuditStatus\": 0\n }\n}",
272
264
  "title": "获取QA详情"
273
265
  }
274
266
  ],
@@ -306,10 +298,10 @@
306
298
  ],
307
299
  "DescribeSearchStatsGraph": [
308
300
  {
309
- "document": "搜索服务折线图详情",
310
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSearchStatsGraph\n<公共请求参数>\n\n{\n \"ModelName\": \"cs-normal\",\n \"StartTime\": \"1726070400\",\n \"EndTime\": \"1726156799\"\n}",
311
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"X\": \"202411190930\",\n \"Y\": 23\n },\n {\n \"X\": \"202411190915\",\n \"Y\": 41\n }\n ],\n \"RequestId\": \"b547fd5a-4d82-4fcc-adb8-899e63c166fc\"\n }\n}",
312
- "title": "搜索服务折线图详情"
301
+ "document": "查询搜索服务调用折线图示例",
302
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMinuteDosageUsageGraph\n<公共请求参数>\n\n{\n \"ModelName\": \"cs-normal-70b\",\n \"StartTime\": \"1758988800\",\n \"EndTime\": \"1759075199\",\n \"UinAccount\": [],\n \"AppBizIds\": [],\n \"SpaceId\": \"default_space\",\n \"StatStartTime\": 1758988800,\n \"StatEndTime\": 1759075199\n}",
303
+ "output": "{\n \"Response\": {\n \"List\": [],\n \"RequestId\": \"cef68b22-98ba-435a-be50-c57d936949f2\"\n }\n}",
304
+ "title": "查询搜索服务调用折线图示例"
313
305
  }
314
306
  ],
315
307
  "DescribeSegments": [
@@ -344,10 +336,10 @@
344
336
  ],
345
337
  "DescribeTokenUsage": [
346
338
  {
347
- "document": "获取调用统计",
348
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTokenUsage\n<公共请求参数>\n\n{\n \"UinAccount\": [\n \"700001187441\"\n ]\n}",
349
- "output": "{\n \"Response\": {\n \"ApiCallStats\": 10,\n \"InputTokenUsage\": 1120,\n \"OutputTokenUsage\": 101,\n \"RequestId\": \"716109cc-ee93-423a-85f0-a21fb7afcc4f\",\n \"SearchUsage\": 10,\n \"TotalTokenUsage\": 1221\n }\n}",
350
- "title": "获取调用统计"
339
+ "document": "接口调用token详情示例",
340
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTokenUsage\n<公共请求参数>\n\n{\n \"ModelName\": \"cs-normal-70b\",\n \"StartTime\": \"1758988800\",\n \"EndTime\": \"1759075199\",\n \"UinAccount\": [],\n \"AppBizIds\": [],\n \"SubScenes\": [],\n \"AppType\": \"knowledge_qa\",\n \"SpaceId\": \"default_space\",\n \"StatStartTime\": 1758988800,\n \"StatEndTime\": 1759075199\n}",
341
+ "output": "{\n \"Response\": {\n \"ApiCallStats\": 4909,\n \"DosageTypeCurr\": 0,\n \"DosageTypeLimit\": 0,\n \"InputTokenUsage\": 3178475,\n \"InternetSearchUsage\": 0,\n \"OutputTokenUsage\": 439374,\n \"PageUsage\": 0,\n \"RagSearchUsage\": 0,\n \"RequestId\": \"a35fa69b-118b-4b25-8f1d-e5478f2b7159\",\n \"SearchUsage\": 0,\n \"SplitTokenUsage\": 0,\n \"TotalTokenUsage\": 3617849\n }\n}",
342
+ "title": "接口调用token详情示例"
351
343
  }
352
344
  ],
353
345
  "DescribeTokenUsageGraph": [
@@ -369,8 +361,8 @@
369
361
  "DescribeWorkflowRun": [
370
362
  {
371
363
  "document": "查询工作流运行实例详情",
372
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkflowRun\n<公共请求参数>\n\n{\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6571\"\n}",
373
- "output": "{\n \"Response\": {\n \"WorkflowRun\": {\n \"RunEnv\": 1,\n \"AppBizId\": \"1854548189164339200\",\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6\",\n \"WorkflowId\": \"412f5a21-6223-4358-b8a0-b4d6\",\n \"Name\": \"订酒店\",\n \"State\": 1,\n \"FailMessage\": \"\",\n \"TotalTokens\": 100,\n \"StartTime\": \"1672531200000\",\n \"EndTime\": \"1672531300000\",\n \"CreateTime\": \"1672531100000\",\n \"DialogJson\": \"{\\\"Workflows\\\": {\\\"WorkflowID\\\":\\\"1dcf5a21-6223-4358-b8a0-b4d65712f44c\\\",\\\"WorkflowName\\\":\\\"异步\\\",\\\"WorkflowDesc\\\":\\\"异步\\\",\\\"Nodes\\\":[{\\\"NodeID\\\":\\\"a2b6549c-85b6-b404-a736-3d738591f297\\\",\\\"NodeName\\\":\\\"开始\\\",\\\"NodeType\\\":\\\"START\\\",\\\"NodeDesc\\\":\\\"\\\",\\\"StartNodeData\\\":{},\\\"NextNodeIDs\\\":[\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\"],\\\"Inputs\\\":[],\\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":false,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[]},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":400,\\\\\\\"y\\\\\\\":282},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84}}\\\"},{\\\"NodeID\\\":\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe\\\",\\\"NodeName\\\":\\\"结束\\\",\\\"NodeType\\\":\\\"END\\\",\\\"NodeDesc\\\":\\\"\\\",\\\"EndNodeData\\\":{},\\\"NextNodeIDs\\\":[],\\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\",\\\"Type\\\":\\\"OBJECT\\\",\\\"Required\\\":[],\\\"Properties\\\":[],\\\"Desc\\\":\\\"输出内容\\\"}],\\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":false,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"desc\\\\\\\":\\\\\\\"输出内容\\\\\\\",\\\\\\\"optionType\\\\\\\":\\\\\\\"REFERENCE_OUTPUT\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[]}]},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":1200,\\\\\\\"y\\\\\\\":282},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84}}\\\"},{\\\"NodeID\\\":\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\",\\\"NodeName\\\":\\\"代码1\\\",\\\"NodeType\\\":\\\"CODE_EXECUTOR\\\",\\\"NodeDesc\\\":\\\"\\\",\\\"CodeExecutorNodeData\\\":{\\\"Code\\\":\\\"CiMg6K+35L+d5a2Y5Ye95pWw5ZCN5Li6bWFpbizovpPlhaXovpPlh7rlnYfkuLpkaWN077yb5pyA57uI57uT5p6c5Lya5LulanNvbuWtl+espuS4suaWueW8j+i/lOWbnu+8jOivt+WLv+ebtOaOpei/lOWbnuS4jeaUr+aMgWpzb24uZHVtcHPnmoTlr7nosaEKZGVmIG1haW4ocGFyYW1zOiBkaWN0KSAtPiBkaWN0OgogICAgcmV0dXJuIHsKICAgICAgICAncmVzdWx0JzogcGFyYW1zLmdldCgnaW5wdXQnLCAwKQogICAgfQo=\\\",\\\"Language\\\":0},\\\"NextNodeIDs\\\":[\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe\\\"],\\\"Inputs\\\":[],\\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\",\\\"Type\\\":\\\"OBJECT\\\",\\\"Required\\\":[],\\\"Properties\\\":[{\\\"Title\\\":\\\"result\\\",\\\"Type\\\":\\\"STRING\\\",\\\"Required\\\":[],\\\"Properties\\\":[],\\\"Desc\\\":\\\"\\\"}],\\\"Desc\\\":\\\"输出内容\\\"}],\\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"outputs\\\\\\\":[\\\\\\\"Output\\\\\\\",\\\\\\\"Output.result\\\\\\\"],\\\\\\\"inputs\\\\\\\":[]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"b14d43a6-51ea-2df8-fcfc-759261cd5b1b\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"e8a0a1f1-8bb4-892a-34ba-e020e3f48c99\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]}]}]},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":700,\\\\\\\"y\\\\\\\":282},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":true,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":104}}\\\"}],\\\"Edge\\\":\\\"[{\\\\\\\"source\\\\\\\":\\\\\\\"a2b6549c-85b6-b404-a736-3d738591f297\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"a2b6549c-85b6-b404-a736-3d738591f297-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__a2b6549c-85b6-b404-a736-3d738591f297a2b6549c-85b6-b404-a736-3d738591f297-source-bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\\\\\"},{\\\\\\\"source\\\\\\\":\\\\\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"bb004f48-eabd-4104-6cb1-1fb9f154c24d-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"4710f3a1-fa47-d542-e3be-5b5ce38be1fe-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__bb004f48-eabd-4104-6cb1-1fb9f154c24dbb004f48-eabd-4104-6cb1-1fb9f154c24d-source-4710f3a1-fa47-d542-e3be-5b5ce38be1fe4710f3a1-fa47-d542-e3be-5b5ce38be1fe-target\\\\\\\"}]\\\"}}\",\n \"Query\": \"我想订酒店\",\n \"MainModelName\": \"workflow-pro\",\n \"CustomVariables\": []\n },\n \"NodeRuns\": [\n {\n \"NodeRunId\": \"nf5a21-6223-4358-b8a789\",\n \"NodeId\": \"e60de932-b050-65ce-261e-027760e93d81\",\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6\",\n \"NodeName\": \"大模型节点\",\n \"NodeType\": 3,\n \"State\": 1,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"CostMilliseconds\": 1000,\n \"TotalTokens\": 100\n }\n ],\n \"RequestId\": \"925208e7-46fa-43b3-a429-ddcbccad24f6\"\n }\n}",
364
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWorkflowRun\n<公共请求参数>\n\n{\n \"AppBizId\": \"1963140753734418240\",\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n}",
365
+ "output": "{\n \"Response\": {\n \"NodeRuns\": [\n {\n \"CostMilliseconds\": 0,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"11a76786-2578-8f2e-ab4e-96fbe393b750\",\n \"NodeName\": \"开始\",\n \"NodeRunId\": \"nr-e0eecd24-7b19-40c6-b730-77b6f3c0b1c0\",\n \"NodeType\": 1,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n },\n {\n \"CostMilliseconds\": 105,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"4bb28c02-c142-4885-958b-e700c88d05e1\",\n \"NodeName\": \"代码1\",\n \"NodeRunId\": \"nr-d1b55ca0-ca64-46af-8cd7-e59995abd7a4\",\n \"NodeType\": 7,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n },\n {\n \"CostMilliseconds\": 2971,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"578d6b2e-d334-1df1-c512-551c358fb790\",\n \"NodeName\": \"代码2\",\n \"NodeRunId\": \"nr-9fd4a172-eaff-4b97-8479-46a6bc445163\",\n \"NodeType\": 7,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n },\n {\n \"CostMilliseconds\": 0,\n \"FailCode\": \"\",\n \"FailMessage\": \"\",\n \"NodeId\": \"88753333-e45b-fdd4-2aa3-7660998fbb91\",\n \"NodeName\": \"结束\",\n \"NodeRunId\": \"nr-66a33273-e14a-4cc4-b6d2-a76fd3378242\",\n \"NodeType\": 16,\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n }\n ],\n \"RequestId\": \"8d785cd9-bf9e-465b-a311-0b765d328b31\",\n \"WorkflowRun\": {\n \"AppBizId\": \"1928404831808934976\",\n \"CreateTime\": \"1759142308976\",\n \"CustomVariables\": [\n {\n \"Name\": \"is_show_tips\",\n \"Value\": \"aaaa\"\n }\n ],\n \"DialogJson\": \"{\\\"ProtoVersion\\\":\\\"V2_6\\\", \\\"WorkflowID\\\":\\\"47d7c1f7-501b-465a-aa6a-73846c92ca44\\\", \\\"WorkflowName\\\":\\\"代码\\\", \\\"WorkflowDesc\\\":\\\"代码\\\", \\\"Nodes\\\":[{\\\"NodeID\\\":\\\"11a76786-2578-8f2e-ab4e-96fbe393b750\\\", \\\"NodeName\\\":\\\"开始\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"START\\\", \\\"StartNodeData\\\":{\\\"WorkflowParams\\\":[{\\\"Name\\\":\\\"obj\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[{\\\"Name\\\":\\\"aaa\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}, {\\\"Name\\\":\\\"bb\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}], \\\"DefaultValue\\\":\\\"{\\\\\\\"aaa\\\\\\\": \\\\\\\"AAA\\\\\\\", \\\\\\\"bb\\\\\\\": \\\\\\\"BBBB\\\\\\\"}\\\", \\\"DefaultFileName\\\":\\\"\\\"}, {\\\"Name\\\":\\\"arrarr\\\", \\\"Type\\\":\\\"ARRAY_ARRAY\\\", \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"[[1, 2,3]]\\\", \\\"DefaultFileName\\\":\\\"\\\"}]}, \\\"Inputs\\\":[], \\\"Outputs\\\":[], \\\"NextNodeIDs\\\":[\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\", \\\"578d6b2e-d334-1df1-c512-551c358fb790\\\"], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"inputs\\\\\\\":[]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":false,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":434,\\\\\\\"y\\\\\\\":482},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84},\\\\\\\"dragging\\\\\\\":false}\\\"}, {\\\"NodeID\\\":\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\", \\\"NodeName\\\":\\\"结束\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"END\\\", \\\"Inputs\\\":[], \\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"输出内容\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"NextNodeIDs\\\":[], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":false,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":1041,\\\\\\\"y\\\\\\\":441},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":84},\\\\\\\"dragging\\\\\\\":false}\\\"}, {\\\"NodeID\\\":\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\", \\\"NodeName\\\":\\\"代码1\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"CODE_EXECUTOR\\\", \\\"CodeExecutorNodeData\\\":{\\\"Code\\\":\\\"\\\\nfrom jinja2 import Template\\\\nimport json\\\\n\\\\ndef main(params: dict) -> dict:\\\\n input = params.get('input', '{}') # 获取用户输入的JSON字符串\\\\n template = Template(\\\\\\\"\\\\\\\"\\\\\\\"\\\\n{{ input.name }}\\\\n{{ input.age }}\\\\n{{ input.occupation }}\\\\n \\\\\\\"\\\\\\\"\\\\\\\") # 解析JSON字符串,分别输出字段\\\\n result = template.render(input=json.loads(input)) # 解析JSON字符串\\\\n return {'result': result.splitlines()} # 返回每个字段为单独的元素\\\\n\\\", \\\"Language\\\":\\\"PYTHON3\\\"}, \\\"Inputs\\\":[{\\\"Name\\\":\\\"input\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Input\\\":{\\\"InputType\\\":\\\"USER_INPUT\\\", \\\"UserInputValue\\\":{\\\"Values\\\":[\\\"{\\\\\\\"name\\\\\\\": 3, \\\\\\\"age\\\\\\\": 3, \\\\\\\"occupation\\\\\\\": 1 }\\\"]}}, \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}], \\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[{\\\"Title\\\":\\\"result\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"Desc\\\":\\\"输出内容\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"NextNodeIDs\\\":[\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\"], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"outputs\\\\\\\":[\\\\\\\"Output\\\\\\\",\\\\\\\"Output.result\\\\\\\"],\\\\\\\"inputs\\\\\\\":[\\\\\\\"input\\\\\\\"]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"21e93433-c30d-1fdc-b470-36275c437521\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"baedb05d-0daf-9968-5947-e7bb0d878714\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"da7598f7-4bea-bb2c-36db-8ea0908099f7\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"b3f535b9-f76d-5bd4-849d-94d5b7aa9f20\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]}]}],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":725,\\\\\\\"y\\\\\\\":333},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":true,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":104},\\\\\\\"dragging\\\\\\\":false}\\\", \\\"ExceptionHandling\\\":{\\\"Switch\\\":\\\"OFF\\\", \\\"MaxRetries\\\":\\\"3\\\", \\\"RetryInterval\\\":\\\"1\\\", \\\"AbnormalOutputResult\\\":\\\"\\\", \\\"HandleMethod\\\":\\\"EXCEPTION_OUTPUT\\\", \\\"NextNodeIDs\\\":[]}}, {\\\"NodeID\\\":\\\"578d6b2e-d334-1df1-c512-551c358fb790\\\", \\\"NodeName\\\":\\\"代码2\\\", \\\"NodeDesc\\\":\\\"\\\", \\\"NodeType\\\":\\\"CODE_EXECUTOR\\\", \\\"CodeExecutorNodeData\\\":{\\\"Code\\\":\\\"\\\\n// 请保存函数名为main,输入输出均为object;最终结果会以json字符串方式返回\\\\nfunction main(params) {\\\\n console.log(\\\\\\\"XXXXXXXXXXX\\\\\\\")\\\\n return {\\\\n 'result': params.input || 0,\\\\n 'result2': 333,\\\\n 'arrarr': params.arrarr\\\\n };\\\\n}\\\\n\\\", \\\"Language\\\":\\\"JS\\\"}, \\\"Inputs\\\":[{\\\"Name\\\":\\\"input\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Input\\\":{\\\"InputType\\\":\\\"WORKFLOW_VARIABLE\\\", \\\"WorkflowParam\\\":{\\\"VarBizID\\\":\\\"\\\", \\\"JsonPath\\\":\\\"obj\\\"}}, \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}, {\\\"Name\\\":\\\"arrarr\\\", \\\"Type\\\":\\\"ARRAY_ARRAY\\\", \\\"Input\\\":{\\\"InputType\\\":\\\"WORKFLOW_VARIABLE\\\", \\\"WorkflowParam\\\":{\\\"VarBizID\\\":\\\"\\\", \\\"JsonPath\\\":\\\"arrarr\\\"}}, \\\"Desc\\\":\\\"\\\", \\\"IsRequired\\\":false, \\\"SubInputs\\\":[], \\\"DefaultValue\\\":\\\"\\\", \\\"DefaultFileName\\\":\\\"\\\"}], \\\"Outputs\\\":[{\\\"Title\\\":\\\"Output\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[{\\\"Title\\\":\\\"result\\\", \\\"Type\\\":\\\"OBJECT\\\", \\\"Required\\\":[], \\\"Properties\\\":[{\\\"Title\\\":\\\"aaa\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}, {\\\"Title\\\":\\\"bb\\\", \\\"Type\\\":\\\"STRING\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}, {\\\"Title\\\":\\\"result2\\\", \\\"Type\\\":\\\"INT\\\", \\\"Required\\\":[], \\\"Properties\\\":[], \\\"Desc\\\":\\\"\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"Desc\\\":\\\"输出内容\\\", \\\"AnalysisMethod\\\":\\\"COVER\\\"}], \\\"NextNodeIDs\\\":[\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\"], \\\"NodeUI\\\":\\\"{\\\\\\\"data\\\\\\\":{\\\\\\\"content\\\\\\\":{\\\\\\\"outputs\\\\\\\":[\\\\\\\"Output\\\\\\\",\\\\\\\"Output.result\\\\\\\",\\\\\\\"Output.result.aaa\\\\\\\",\\\\\\\"Output.result.bb\\\\\\\",\\\\\\\"Output.result2\\\\\\\"],\\\\\\\"inputs\\\\\\\":[\\\\\\\"input\\\\\\\",\\\\\\\"arrarr\\\\\\\"]},\\\\\\\"isHovering\\\\\\\":false,\\\\\\\"isParallel\\\\\\\":false,\\\\\\\"source\\\\\\\":true,\\\\\\\"target\\\\\\\":true,\\\\\\\"debug\\\\\\\":null,\\\\\\\"error\\\\\\\":false,\\\\\\\"output\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"3e79d81d-78e5-aeb0-5a85-567954684b11\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"Output\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"a12efcf2-18fe-98a4-fdd8-063f429de5d3\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"c3e020aa-f147-27cc-64b9-ee795c5632fb\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"09208fe5-368e-a02d-fd19-db6f6f764fbf\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"OBJECT\\\\\\\",\\\\\\\"children\\\\\\\":[{\\\\\\\"id\\\\\\\":\\\\\\\"4cba8343-a4ea-839a-de60-e043920351ec\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"aaa\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"aaa\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"806dd385-0fdb-acbf-3844-f2567d46953d\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]},{\\\\\\\"id\\\\\\\":\\\\\\\"38ac6193-6b23-e50a-760e-cf64831c0b67\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"bb\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"bb\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"0a8908cb-f21f-8904-df90-32c7fcd51aff\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"STRING\\\\\\\",\\\\\\\"children\\\\\\\":[]}]},{\\\\\\\"id\\\\\\\":\\\\\\\"c00d6733-c70d-5fa6-7121-e77f857256ed\\\\\\\",\\\\\\\"value\\\\\\\":\\\\\\\"result2\\\\\\\",\\\\\\\"label\\\\\\\":\\\\\\\"result2\\\\\\\",\\\\\\\"_uiId\\\\\\\":\\\\\\\"a111c802-bd28-5f6f-cefa-25e2fa198311\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"INT\\\\\\\",\\\\\\\"children\\\\\\\":[]}]}],\\\\\\\"schema\\\\\\\":null,\\\\\\\"checkDataError\\\\\\\":0},\\\\\\\"position\\\\\\\":{\\\\\\\"x\\\\\\\":776,\\\\\\\"y\\\\\\\":563},\\\\\\\"targetPosition\\\\\\\":\\\\\\\"left\\\\\\\",\\\\\\\"sourcePosition\\\\\\\":\\\\\\\"right\\\\\\\",\\\\\\\"selected\\\\\\\":false,\\\\\\\"measured\\\\\\\":{\\\\\\\"width\\\\\\\":250,\\\\\\\"height\\\\\\\":124},\\\\\\\"dragging\\\\\\\":false}\\\", \\\"ExceptionHandling\\\":{\\\"Switch\\\":\\\"OFF\\\", \\\"MaxRetries\\\":\\\"3\\\", \\\"RetryInterval\\\":\\\"1\\\", \\\"AbnormalOutputResult\\\":\\\"\\\", \\\"HandleMethod\\\":\\\"EXCEPTION_OUTPUT\\\", \\\"NextNodeIDs\\\":[]}}], \\\"Edge\\\":\\\"[{\\\\\\\"source\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750-source\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__11a76786-2578-8f2e-ab4e-96fbe393b75011a76786-2578-8f2e-ab4e-96fbe393b750-source-4bb28c02-c142-4885-958b-e700c88d05e1\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false},{\\\\\\\"source\\\\\\\":\\\\\\\"4bb28c02-c142-4885-958b-e700c88d05e1\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"4bb28c02-c142-4885-958b-e700c88d05e1-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__4bb28c02-c142-4885-958b-e700c88d05e14bb28c02-c142-4885-958b-e700c88d05e1-source-88753333-e45b-fdd4-2aa3-7660998fbb9188753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false},{\\\\\\\"source\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"11a76786-2578-8f2e-ab4e-96fbe393b750-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__11a76786-2578-8f2e-ab4e-96fbe393b75011a76786-2578-8f2e-ab4e-96fbe393b750-source-578d6b2e-d334-1df1-c512-551c358fb790578d6b2e-d334-1df1-c512-551c358fb790-target\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false},{\\\\\\\"source\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790\\\\\\\",\\\\\\\"sourceHandle\\\\\\\":\\\\\\\"578d6b2e-d334-1df1-c512-551c358fb790-source\\\\\\\",\\\\\\\"target\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91\\\\\\\",\\\\\\\"targetHandle\\\\\\\":\\\\\\\"88753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"type\\\\\\\":\\\\\\\"custom\\\\\\\",\\\\\\\"data\\\\\\\":{\\\\\\\"connectedNodeIsHovering\\\\\\\":false,\\\\\\\"error\\\\\\\":false,\\\\\\\"isHovering\\\\\\\":false},\\\\\\\"id\\\\\\\":\\\\\\\"xy-edge__578d6b2e-d334-1df1-c512-551c358fb790578d6b2e-d334-1df1-c512-551c358fb790-source-88753333-e45b-fdd4-2aa3-7660998fbb9188753333-e45b-fdd4-2aa3-7660998fbb91-target\\\\\\\",\\\\\\\"animated\\\\\\\":false,\\\\\\\"selected\\\\\\\":false}]\\\", \\\"Mode\\\":\\\"NORMAL\\\", \\\"ReleaseTime\\\":\\\"\\\"}\",\n \"EndTime\": \"1759142312152\",\n \"FailMessage\": \"\",\n \"MainModelName\": \"cs-normal-70b\",\n \"Name\": \"代码\",\n \"Output\": \"{\\\"output\\\": 22}\",\n \"Query\": \"22\",\n \"RunEnv\": 0,\n \"StartTime\": \"1759142309058\",\n \"State\": 2,\n \"TotalTokens\": 0,\n \"WorkflowId\": \"47d7c1f7-501b-465a-aa6a-73846c92ca44\",\n \"WorkflowRunId\": \"wfr-asaodefdu7pc\"\n }\n }\n}",
374
366
  "title": "查询工作流运行实例详情"
375
367
  }
376
368
  ],
@@ -536,10 +528,18 @@
536
528
  {
537
529
  "document": "知识标签列表",
538
530
  "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListAttributeLabel\n<公共请求参数>\n\n{\n \"BotBizId\": \"1696822786072117248\",\n \"PageNumber\": 1,\n \"PageSize\": 15\n}",
539
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttrKey\": \"test\",\n \"AttrName\": \"诶皮爱标签\",\n \"IsUpdating\": false,\n \"AttrBizId\": \"1734549420823662592\",\n \"LabelNames\": [\n \"你好\"\n ]\n }\n ],\n \"RequestId\": \"f949f7b3-c7f1-4e46-8049-db0c872dc174\",\n \"Total\": \"1\"\n }\n}",
531
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"AttrKey\": \"AttrKey\",\n \"AttrName\": \"诶皮爱标签\",\n \"IsUpdating\": false,\n \"AttrBizId\": \"1734549420823662592\",\n \"LabelNames\": [\n \"你好\"\n ]\n }\n ],\n \"RequestId\": \"f949f7b3-c7f1-4e46-8049-db0c872dc174\",\n \"Total\": \"1\"\n }\n}",
540
532
  "title": "知识标签列表"
541
533
  }
542
534
  ],
535
+ "ListChannel": [
536
+ {
537
+ "document": "",
538
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListChannel\n<公共请求参数>\n\n{\n \"AppBizId\": \"1927296561029113536\",\n \"PageNumber\": 1,\n \"PageSize\": 20\n}",
539
+ "output": "{\n \"Response\": {\n \"ListChannel\": [\n {\n \"ChannelId\": \"1932046222365083648\",\n \"ChannelName\": \"微信服务号\",\n \"ChannelStatus\": 2,\n \"ChannelType\": 10000,\n \"Comment\": \"\",\n \"CreateTime\": \"1749470703\",\n \"UpdateTime\": \"1749470703\",\n \"UpdatedUser\": \"channel@qq.com\",\n \"YuanQiInfo\": {\n \"VisibleRange\": \"share\"\n }\n }\n ],\n \"RequestId\": \"bf251d0d-0409-4849-98e7-81fd7dbcc994\",\n \"Total\": 1\n }\n}",
540
+ "title": "获取发布渠道列表"
541
+ }
542
+ ],
543
543
  "ListDoc": [
544
544
  {
545
545
  "document": "",
@@ -662,10 +662,10 @@
662
662
  ],
663
663
  "ListUsageCallDetail": [
664
664
  {
665
- "document": "列表查询单次调用明细",
666
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListUsageCallDetail\n<公共请求参数>\n\n{\n \"CallType\": \"AllCallType\",\n \"ModelName\": \"cs-normal-70b\",\n \"StartTime\": \"1723564800\",\n \"EndTime\": \"1726156799\",\n \"PageNumber\": 1,\n \"PageSize\": 10\n}",
667
- "output": "{\n \"Response\": {\n \"List\": [\n {\n \"AppName\": \"\",\n \"CallTime\": \"1724946200\",\n \"CallType\": \"对话调用\",\n \"Id\": \"e8h_20240701_194330_474_XRMUA92T\",\n \"InputTokenUsage\": 471,\n \"ModelName\": \"精调知识大模型高级版\",\n \"OutputTokenUsage\": 886,\n \"SearchUsage\": 0,\n \"TotalTokenUsage\": 1357,\n \"UinAccount\": \"600000562455\"\n }\n ],\n \"RequestId\": \"9332ab9b-dec8-481e-87a8-af6983ac9fe7\",\n \"Total\": 1\n }\n}",
668
- "title": "列表查询单次调用明细"
665
+ "document": "列表查询单次调用明细示例",
666
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListUsageCallDetail\n<公共请求参数>\n\n{\n \"AppBizIds\": [],\n \"ModelName\": \"cs-normal-70b\",\n \"StartTime\": \"1758988800\",\n \"EndTime\": \"1759075199\",\n \"CallType\": \"AllCallType\",\n \"PageNumber\": 1,\n \"PageSize\": 10,\n \"SubScenes\": [],\n \"AppType\": \"knowledge_qa\",\n \"SpaceId\": \"default_space\",\n \"StatStartTime\": 1758988800,\n \"StatEndTime\": 1759075199\n}",
667
+ "output": "{\n \"Response\": {\n \"List\": [\n {\n \"AppName\": \"jacobs-0926\",\n \"BillingTag\": \"null\",\n \"CallTime\": \"1759057890\",\n \"CallType\": \"对话调用-分享用户端对话\",\n \"Id\": \"Bd4_20250928_191127_831_tlwHTOyB\",\n \"InputTokenUsage\": 168,\n \"ModelName\": \"youtu-mrc-pro\",\n \"OutputTokenUsage\": 15,\n \"PageUsage\": 183,\n \"SearchUsage\": 0,\n \"SubScene\": \"\",\n \"TotalTokenUsage\": 183,\n \"UinAccount\": \"700000963993\"\n },\n {\n \"AppName\": \"jacobs-0926\",\n \"BillingTag\": \"null\",\n \"CallTime\": \"1759057441\",\n \"CallType\": \"对话调用-分享用户端对话\",\n \"Id\": \"M2B_20250928_190357_441_Uyk4R1tn\",\n \"InputTokenUsage\": 145,\n \"ModelName\": \"youtu-mrc-pro\",\n \"OutputTokenUsage\": 15,\n \"PageUsage\": 160,\n \"SearchUsage\": 0,\n \"SubScene\": \"\",\n \"TotalTokenUsage\": 160,\n \"UinAccount\": \"700000963993\"\n }\n ],\n \"RequestId\": \"e8d2fc9c-0cbd-4ca6-87cf-01fa5d8bd6bf\",\n \"Total\": 2\n }\n}",
668
+ "title": "列表查询单次调用明细示例"
669
669
  }
670
670
  ],
671
671
  "ListWorkflowRuns": [
@@ -676,14 +676,6 @@
676
676
  "title": "查询工作流异步运行实例的列表"
677
677
  }
678
678
  ],
679
- "ModifyAgent": [
680
- {
681
- "document": "",
682
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyAgent\n<公共请求参数>\n\n{\n \"AppBizId\": \"1906600044720291840\",\n \"Agent\": {\n \"AgentId\": \"845c1ef7-5103-4e95-9e59-3d46fbeabe63\",\n \"Name\": \"新闻搜索agent\",\n \"Instructions\": \"根据用户的输入,搜索相关新闻,提供相应的web访问地址\",\n \"HandoffDescription\": \"处理用户新闻搜索的需求\"\n }\n}",
683
- "output": "{\n \"Response\": {\n \"RequestId\": \"47a5a3be-b6ad-48bc-aced-7af35781b2be\"\n }\n}",
684
- "title": "修改Agent"
685
- }
686
- ],
687
679
  "ModifyApp": [
688
680
  {
689
681
  "document": "修改应用",
@@ -727,8 +719,8 @@
727
719
  "ModifyQA": [
728
720
  {
729
721
  "document": "修改问答",
730
- "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}",
731
- "output": "{\n \"Response\": {\n \"RequestId\": \"59f31ba4-688b-4765-91eb-b47d41895036\"\n }\n}",
722
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQA\n<公共请求参数>\n\n{\n \"BotBizId\": \"1952993275700732800\",\n \"QaBizId\": \"1967437359001866880\",\n \"Question\": \"你是谁\",\n \"Answer\": \"我是AI小助手\",\n \"AttrRange\": 2,\n \"CateBizId\": \"1952993275713315712\",\n \"ExpireStart\": \"1757908592\"\n}",
723
+ "output": "{\n \"Response\": {\n \"RequestId\": \"2144eb35-0966-4a42-9f23-154881867b0a\"\n }\n}",
732
724
  "title": "修改问答"
733
725
  }
734
726
  ],
@@ -823,7 +815,7 @@
823
815
  "StopWorkflowRun": [
824
816
  {
825
817
  "document": "停止工作流异步运行实例",
826
- "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopWorkflowRun\n<公共请求参数>\n\n{\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6571\"\n}",
818
+ "input": "POST / HTTP/1.1\nHost: lke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopWorkflowRun\n<公共请求参数>\n\n{\n \"AppBizId\": \"1963140753734418240\",\n \"WorkflowRunId\": \"1dcf5a21-6223-4358-b8a0-b4d6571\"\n}",
827
819
  "output": "{\n \"Response\": {\n \"RequestId\": \"925208e7-46fa-43b3-a429-ddcbccad24f6\"\n }\n}",
828
820
  "title": "停止工作流异步运行实例"
829
821
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "actions": {
3
3
  "ChatCompletions": {
4
- "document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云智能体开发平台](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)\n - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。\n - 支持128K上下文长度,最大输入长度96k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.1(model 参数值为 deepseek-v3.1)\n - DeepSeek-V3.1 为685B 参数 MoE 模型,支持混合推理架构,有更高的思考效率和更强的 Agent 能力。\n\n\n\n\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://console.cloud.tencent.com/lkeap/settings)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-R1-0528 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3.1 模型 | 输入:0.004元/千token | 输出:0.012元/千token\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
4
+ "document": "### 接口功能\n\n调用接口,发起一次对话请求。默认该接口下的单账号QPM上限为15000 ,TPM上限为1200000\n如需使用OpenAI兼容接口, 请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)\n\n#### 在线体验\n如您希望在网页内直接体验 DeepSeek 模型对话,推荐您前往[腾讯云智能体开发平台](https://cloud.tencent.com/product/lke),使用[ DeepSeek 联网助手](https://lke.cloud.tencent.com/webim_exp/#/chat/wQrAwR)。\n\n#### 已支持的模型\n- DeepSeek-V3-0324(model 参数值为**deepseek-v3-0324**)\n - DeepSeek-V3-0324为671B参数MoE模型,在编程与技术能力、上下文理解与长文本处理等方面优势突出。\n - 支持128K上下文长度,最大输出16k(不含思维链)。\n - 注意:相比于DeepSeek-V3,DeepSeek-V3-0324仅更新了模型权重,未增加参数量。总模型大小为685B,其中包括671B的主模型权重和 14B 的多令牌预测(MTP)模块权重,后续均描述主模型参数量。\n- DeepSeek-V3(model 参数值为**deepseek-v3**)\n - DeepSeek-V3为671B参数MoE模型,在百科知识、数学推理等多项任务上优势突出,评测成绩在主流榜单中位列开源模型榜首。\n - 支持64K上下文长度,最大输出16k。\n- DeepSeek-R1(model 参数值为**deepseek-r1**)\n - DeepSeek-R1为671B模型,使用强化学习训练,推理过程包含大量反思和验证,思维链长度可达数万字。 该系列模型在数学、代码以及各种复杂逻辑推理任务上推理效果优异,并为用户展现了完整的思考过程。\n - 支持96K上下文长度,最大输入长度64k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-R1-0528(model 参数值为**deepseek-r1-0528**)\n - DeepSeek-R1-0528为671B 模型,架构优化与训练策略升级后,相比上一版本在代码生成、长文本处理和复杂推理领域提升明显。\n - 支持128K上下文长度,最大输入长度96k,最大输出16k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.1(model 参数值为 deepseek-v3.1)\n - DeepSeek-V3.1 为685B 参数 MoE 模型,支持混合推理架构,有更高的思考效率和更强的 Agent 能力。\n - 支持128K上下文长度,最大输入长度96k,最大输出32k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.1-Terminus(model 参数值为 deepseek-v3.1-terminus)\n - DeepSeek-V3.1-Terminus 为685B 参数 MoE 模型,在保持模型原有能力的基础上,优化了语言一致性,Agent 能力等问题,输出效果相比前一版本更加稳定。\n - 支持128K上下文长度,最大输入长度96k,最大输出32k(默认4k),最大思维链输出长度32k。\n- DeepSeek-V3.2-Exp(model 参数值为 deepseek-v3.2-exp)\n - DeepSeek-V3.2-Exp 为685B 参数 MoE 模型,在 V3.1-Terminus 的基础上引入了 DeepSeek Sparse Attention(一种稀疏注意力机制),针对长文本的训练和推理效率进行了探索性的优化和验证。\n - 支持128K上下文长度,最大输入长度96k,非思考模式最大输出8k(默认4k),思考模式最大输出64k(默认32k),最大思维链输出长度32k。\n - 该模型目前处于试运营阶段,仅支持少量接入,如需申请开通请联系您的商务经理。\n### 计费说明\n\n- 标准计费(2025年2月26日起生效),计费模式为后付费小时结,为保证您账户资源的正常使用,请提前[开通后付费](https://console.cloud.tencent.com/lkeap/settings)并及时[充值](https://console.cloud.tencent.com/expense/recharge)。\n\n - DeepSeek-R1 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-R1-0528 模型 | 输入:0.004元/千token | 输出(含思维链):0.016元/千token\n\n - DeepSeek-V3 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3-0324 模型 | 输入:0.002元/千token | 输出:0.008元/千token\n\n - DeepSeek-V3.1 模型 | 输入:0.004元/千token | 输出:0.012元/千token\n\n - DeepSeek-V3.1-Terminus 模型 | 输入:0.004元/千token | 输出:0.012元/千token\n\n - DeepSeek-V3.2-Exp 模型 | 输入:0.002元/千token | 输出:0.003元/千token\n\n\n### Openai兼容协议接口\n知识引擎原子能力大模型对话 API 兼容了 OpenAI 的接口规范,这意味着您可以直接使用 OpenAI 官方提供的 SDK 来调用大模型对话接口。您仅需要将 base_url 和 [api_key](https://cloud.tencent.com/document/product/1772/115970) 替换成相关配置,不需要对应用做额外修改,即可无缝将您的应用切换到相应的大模型。请参考文档:[Deepseek OpenAI对话接口](https://cloud.tencent.com/document/product/1772/115969)。\n> base_url: https://api.lkeap.cloud.tencent.com/v1\n\n> api_key的获取请参考[API KEY管理](https://cloud.tencent.com/document/product/1772/115970)\n\n\n### 快速接入\n1. 完成[实名认证](https://console.cloud.tencent.com/developer/auth)。\n2. 主账户前往[控制台](https://console.cloud.tencent.com/lkeap)开通服务。若为子账户,需由主账号在[权限管理](https://console.cloud.tencent.com/cam)中为子账号授权,关联预设策略,策略名称:QcloudLKEAPFullAccess。\n3. 通过API Explorer[在线调试](https://console.cloud.tencent.com/api/explorer?Product=lkeap&Version=2024-05-22&Action=ChatCompletions)。\n4. 使用[官方 SDK ](https://cloud.tencent.com/document/product/1772/115963#SDK)调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言)。\n\n-----------\n\n### SDK调用示例\n通过本地代码调用本接口(支持Python/Java/PHP/Go/Node.js/.NET等语言):下面的代码以 Python 语言为例,展示如何访问腾讯云上的DeepSeek模型API的样例。\n(1)安装环境\n```\npython3 -m pip install --upgrade tencentcloud-sdk-python-common\npython3 -m pip install --upgrade tencentcloud-sdk-python-lkeap\n```\n\n(2)示例代码\n\n- 其中SecretKey和SecretID需要从腾讯云控制台获取\n\n- 参数params中模型Model字段可以选择“deepseek-r1“和“deepseek-v3”\n\n```\n# -*- coding: utf-8 -*-\nimport json\n\nfrom tencentcloud.common.common_client import CommonClient\nfrom tencentcloud.common import credential\nfrom tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException\nfrom tencentcloud.common.profile.client_profile import ClientProfile\nfrom tencentcloud.common.profile.http_profile import HttpProfile\n\nclass NonStreamResponse(object):\n def __init__(self):\n self.response = \"\"\n\n def _deserialize(self, obj):\n self.response = json.dumps(obj)\n\ntry:\n # 实例化一个认证对象,入参需要传入腾讯云账户 SecretId 和 SecretKey,此处还需注意密钥对的保密\n # 代码泄露可能会导致 SecretId 和 SecretKey 泄露,并威胁账号下所有资源的安全性。以下代码示例仅供参考,建议采用更安全的方式来使用密钥,请参见:https://cloud.tencent.com/document/product/1278/85305\n # 密钥可前往官网控制台 https://console.cloud.tencent.com/cam/capi 进行获取\n cred = credential.Credential(\"\", \"\")\n\n httpProfile = HttpProfile()\n httpProfile.endpoint = \"lkeap.tencentcloudapi.com\"\n httpProfile.reqTimeout = 40000 # 流式接口可能耗时较长\n clientProfile = ClientProfile()\n clientProfile.httpProfile = httpProfile\n\n params = \"{\\\"Model\\\":\\\"deepseek-r1\\\",\\\"Messages\\\":[{\\\"Role\\\":\\\"user\\\",\\\"Content\\\":\\\"你好\\\"}],\\\"Stream\\\":true}\";\n common_client = CommonClient(\"lkeap\", \"2024-05-22\", cred, \"ap-guangzhou\", profile=clientProfile)\n resp = common_client._call_and_deserialize(\"ChatCompletions\", json.loads(params), NonStreamResponse)\n if isinstance(resp, NonStreamResponse): # 非流式响应\n print(resp.response)\n else: # 流式响应\n for event in resp:\n print(event)\nexcept TencentCloudSDKException as err:\n print(err)\n\n```\n\n**DeepSeek-R1使用建议**\n\n1. 将温度设置在 0.5-0.7 范围内(建议为0.6),以防止无休止的重复或不连贯的输出。\n2. 避免添加system prompt,所有说明都应包含在user prompt中。",
5
5
  "input": "ChatCompletionsRequest",
6
6
  "name": "DeepSeek API 接口",
7
7
  "output": "ChatCompletionsResponse",
@@ -337,7 +337,7 @@
337
337
  },
338
338
  {
339
339
  "disabled": false,
340
- "document": "最大生成的token数量,默认为4096,最大可设置为16384",
340
+ "document": "模型最大输出长度(单位 token),不包含思维链内容。\n默认为4096,取值范围:各个模型不同,参考各个模型最大输出长度(示例:4k,即4096)。\n输出 token 的总长度受模型的上下文长度限制。",
341
341
  "example": "8192",
342
342
  "member": "int64",
343
343
  "name": "MaxTokens",
@@ -668,7 +668,7 @@
668
668
  },
669
669
  {
670
670
  "disabled": false,
671
- "document": "智能文档解析返回结果的格式\n0:只返回全文MD;\n1:只返回每一页的OCR原始Json;\n2:只返回每一页的MD,\n3:返回全文MD + 每一页的OCR原始Json;\n4:返回全文MD + 每一页的MD,\n默认值为0",
671
+ "document": "智能文档解析返回结果的格式\n0:只返回全文MD;\n1:只返回每一页的OCR原始Json;\n2:只返回每一页的MD,\n3:返回全文MD + 每一页的OCR原始Json;\n4:返回全文MD + 每一页的MD\n5: 返回全文md,每一页ocr原始json,每一页md\n默认值为0\n",
672
672
  "example": "3",
673
673
  "member": "string",
674
674
  "name": "ResultType",
@@ -783,7 +783,7 @@
783
783
  },
784
784
  {
785
785
  "disabled": true,
786
- "document": "智能文档解析返回结果的格式\n0:只返回全文MD;\n1:只返回每一页的OCR原始Json;\n2:只返回每一页的MD,\n3:返回全文MD + 每一页的OCR原始Json;\n4:返回全文MD + 每一页的MD,\n默认值为3(返回全文MD + 每一页的OCR原始Json)\n\n",
786
+ "document": "智能文档解析返回结果的格式\n0:只返回全文MD;\n1:只返回每一页的OCR原始Json;\n2:只返回每一页的MD;\n3:返回全文MD + 每一页的OCR原始Json;\n4:返回全文MD + 每一页的MD;\n5:返回全文md,每一页ocr原始json,每一页md。\n\n",
787
787
  "example": "3",
788
788
  "member": "string",
789
789
  "name": "ResultType",
@@ -816,6 +816,24 @@
816
816
  "name": "IgnoreFailedPage",
817
817
  "required": false,
818
818
  "type": "bool"
819
+ },
820
+ {
821
+ "disabled": false,
822
+ "document": "智能文档解析返回结果的格式\n0:只返回全文MD;\n1:只返回每一页的OCR原始Json;\n2:只返回每一页的MD;\n3:返回全文MD + 每一页的OCR原始Json;\n4:返回全文MD + 每一页的MD;\n5:返回全文md,每一页ocr原始json,每一页md。\n\n",
823
+ "example": "0",
824
+ "member": "string",
825
+ "name": "SplitResultType",
826
+ "required": false,
827
+ "type": "string"
828
+ },
829
+ {
830
+ "disabled": false,
831
+ "document": "Markdown文件中表格返回的形式\n0,表格以MD形式返回\n1,表格以HTML形式返回\n默认为",
832
+ "example": "0",
833
+ "member": "string",
834
+ "name": "SplitTableResultType",
835
+ "required": false,
836
+ "type": "string"
819
837
  }
820
838
  ],
821
839
  "usage": "in"
@@ -1400,7 +1418,7 @@
1400
1418
  "members": [
1401
1419
  {
1402
1420
  "disabled": false,
1403
- "document": "说明:选择生成向量的模型\n备注:仅一个模型可选",
1421
+ "document": "说明:选择生成向量的模型备注:可选[lke-text-embedding-v1,lke-text-embedding-v2,youtu-embedding-llm-v1]",
1404
1422
  "example": "lke-text-embedding-v1",
1405
1423
  "member": "string",
1406
1424
  "name": "Model",
@@ -1427,7 +1445,7 @@
1427
1445
  },
1428
1446
  {
1429
1447
  "disabled": false,
1430
- "document": "说明:自定义任务指令词,当且仅当TextType=query时,生效",
1448
+ "document": "说明:自定义任务指令词,当且仅当TextType=query且Model为youtu-embedding-llm-v1时,生效",
1431
1449
  "example": "问题:",
1432
1450
  "member": "string",
1433
1451
  "name": "Instruction",
@@ -1951,8 +1969,8 @@
1951
1969
  "members": [
1952
1970
  {
1953
1971
  "disabled": false,
1954
- "document": "知识库ID",
1955
- "example": "4901991032",
1972
+ "document": "说明:知识库ID\n备注:通过创建知识库接口(DeleteKnowledgeBase)得到知识库ID(KnowledgeBaseId)",
1973
+ "example": "34b46fe81750343723503",
1956
1974
  "member": "string",
1957
1975
  "name": "KnowledgeBaseId",
1958
1976
  "required": true,
@@ -1960,7 +1978,7 @@
1960
1978
  },
1961
1979
  {
1962
1980
  "disabled": false,
1963
- "document": "属性ID",
1981
+ "document": "说明:属性ID\n备注:通过CreateAttributeLabel接口创建属性时会生成AttributeId,通过ListAttributeLabels接口可查询得到AttributeId、AttributeKey、AttributeName以及LabelId、LabelName的对应关系",
1964
1982
  "example": "1830996257459865531",
1965
1983
  "member": "string",
1966
1984
  "name": "AttributeId",
@@ -1969,7 +1987,7 @@
1969
1987
  },
1970
1988
  {
1971
1989
  "disabled": false,
1972
- "document": "属性标识,最大40个英文字符,如style",
1990
+ "document": "说明:属性标识,\n备注:仅支持英文字符,不支持数字,支持下划线。最大支持40个英文字符,如style",
1973
1991
  "example": "stlye",
1974
1992
  "member": "string",
1975
1993
  "name": "AttributeKey",
@@ -1978,7 +1996,7 @@
1978
1996
  },
1979
1997
  {
1980
1998
  "disabled": false,
1981
- "document": "属性名称,最大80个英文字符,如风格",
1999
+ "document": "说明:属性名称\n备注:支持中英文字符。最大支持80个中英文字符,如风格",
1982
2000
  "example": "风格",
1983
2001
  "member": "string",
1984
2002
  "name": "AttributeName",
@@ -1987,12 +2005,21 @@
1987
2005
  },
1988
2006
  {
1989
2007
  "disabled": false,
1990
- "document": "属性标签",
2008
+ "document": "说明:标签ID(LabelId)以及标签名(LabelName)\n备注:\n- 不填写LabelId,默认在当前AttributeId下新增标签值(LabelName);\n- 若填写该AttributeId下的LabelId以及LabelName,则为修改该LabelId对应的标签值",
1991
2009
  "example": "无",
1992
2010
  "member": "AttributeLabelItem",
1993
2011
  "name": "Labels",
1994
2012
  "required": false,
1995
2013
  "type": "list"
2014
+ },
2015
+ {
2016
+ "disabled": false,
2017
+ "document": "说明:删除的标签id",
2018
+ "example": "[\"157622\"]",
2019
+ "member": "string",
2020
+ "name": "DeleteLabelIds",
2021
+ "required": false,
2022
+ "type": "list"
1996
2023
  }
1997
2024
  ],
1998
2025
  "type": "object"
@@ -114,6 +114,18 @@
114
114
  "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Model\": \"lke-text-embedding-v1\",\n \"Inputs\": [\n \"你好\"\n ]\n}",
115
115
  "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Embedding\": [\n 0\n ]\n }\n ],\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"Usage\": {\n \"TotalTokens\": 3\n }\n }\n}",
116
116
  "title": "获取特征向量"
117
+ },
118
+ {
119
+ "document": "",
120
+ "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Model\": \"lke-text-embedding-v2\",\n \"Inputs\": [\n \"1\"\n ],\n \"TextType\": \"document\"\n}",
121
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Embedding\": [\n 0.009212733\n ]\n }\n ],\n \"Usage\": {\n \"TotalTokens\": 3\n },\n \"RequestId\": \"d4b6b8fb-597c-43f3-860d-715916c787b8\"\n }\n}",
122
+ "title": "获取特征向量v2"
123
+ },
124
+ {
125
+ "document": "",
126
+ "input": "POST / HTTP/1.1\nHost: lkeap.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetEmbedding\n<公共请求参数>\n\n{\n \"Model\": \"youtu-embedding-llm-v1\",\n \"Inputs\": [\n \"1\"\n ],\n \"TextType\": \"query\",\n \"Instruction\": \"query:\"\n}",
127
+ "output": "{\n \"Response\": {\n \"Data\": [\n {\n \"Embedding\": [\n 0.009212733\n ]\n }\n ],\n \"Usage\": {\n \"TotalTokens\": 3\n },\n \"RequestId\": \"b69e784e-8807-440e-a8df-f970eca48f3c\"\n }\n}",
128
+ "title": "获取特征向量-自定义Instruction"
117
129
  }
118
130
  ],
119
131
  "GetReconstructDocumentResult": [
@@ -7300,7 +7300,7 @@
7300
7300
  {
7301
7301
  "disabled": false,
7302
7302
  "document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。<br>注意:该入参会全量替换存量已有安全组集合,并非增量更新。修改需传入全量的预期集合。",
7303
- "example": "[\"sg-ajr1jzgj\\n\"]",
7303
+ "example": "[\"sg-ajr1jzgj\"]",
7304
7304
  "member": "string",
7305
7305
  "name": "SecurityGroupIds",
7306
7306
  "required": true,
@@ -2022,6 +2022,15 @@
2022
2022
  "name": "GatewayType",
2023
2023
  "required": false,
2024
2024
  "type": "int"
2025
+ },
2026
+ {
2027
+ "disabled": false,
2028
+ "document": "应用ID, 查询分组流量时无需使用。 查询应用流量时该字段为应用ID,GroupId 填写 \"-1\"",
2029
+ "example": "mna-test1",
2030
+ "member": "string",
2031
+ "name": "MpApplicationId",
2032
+ "required": false,
2033
+ "type": "string"
2025
2034
  }
2026
2035
  ],
2027
2036
  "type": "object"
@@ -2032,7 +2041,7 @@
2032
2041
  {
2033
2042
  "disabled": false,
2034
2043
  "document": "流量详细信息",
2035
- "example": "",
2044
+ "example": "{ \"Current\": 305576473, \"Time\": \"1711555200\" }, { \"Current\": 3291852, \"Time\": \"1711641600\" }",
2036
2045
  "member": "NetDetails",
2037
2046
  "name": "NetDetails",
2038
2047
  "output_required": true,
@@ -3597,7 +3606,7 @@
3597
3606
  },
3598
3607
  {
3599
3608
  "disabled": false,
3600
- "document": "区域标识,0:国内,1:国外",
3609
+ "document": "区域标识,0:中国境内,1:中国境外",
3601
3610
  "example": "0",
3602
3611
  "member": "int64",
3603
3612
  "name": "PackageRegion",
@@ -145,7 +145,7 @@
145
145
  "GetFlowStatisticByGroup": [
146
146
  {
147
147
  "document": "",
148
- "input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFlowStatisticByGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"cliGrp-xf8rboasbh\",\n \"BeginTime\": 1711296000,\n \"EndTime\": 1711987200,\n \"Type\": 1,\n \"TimeGranularity\": 2,\n \"AccessRegion\": \"MC\",\n \"GatewayType\": 0\n}",
148
+ "input": "POST / HTTP/1.1\nHost: mna.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFlowStatisticByGroup\n<公共请求参数>\n\n{\n \"GroupId\": \"cliGrp-xf8rboasbh\",\n \"BeginTime\": 1711296000,\n \"EndTime\": 1711987200,\n \"Type\": 1,\n \"TimeGranularity\": 2,\n \"AccessRegion\": \"MC\",\n \"MpApplicationId\": \"mna-w795bzezug\",\n \"GatewayType\": 0\n}",
149
149
  "output": "{\n \"Response\": {\n \"AvgValue\": 154434162.5,\n \"MaxValue\": 305576473,\n \"NetDetails\": [\n {\n \"Current\": 305576473,\n \"Time\": \"1711555200\"\n },\n {\n \"Current\": 3291852,\n \"Time\": \"1711641600\"\n }\n ],\n \"RequestId\": \"e5b650a9-d994-439f-9132-3e5c56054903\",\n \"TotalValue\": 308868325\n }\n}",
150
150
  "title": "根据分组获取用量统计信息"
151
151
  }