tccli 3.0.1099.1__py2.py3-none-any.whl → 3.0.1100.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cls/v20201016/CreateCosRecharge.md +4 -4
  3. tccli/examples/cls/v20201016/CreateDashboardSubscribe.md +18 -0
  4. tccli/examples/cls/v20201016/DeleteDashboardSubscribe.md +18 -0
  5. tccli/examples/cls/v20201016/DescribeDashboardSubscribes.md +18 -0
  6. tccli/examples/cls/v20201016/ModifyCosRecharge.md +3 -3
  7. tccli/examples/cls/v20201016/ModifyDashboardSubscribe.md +18 -0
  8. tccli/examples/cls/v20201016/SearchDashboardSubscribe.md +35 -0
  9. tccli/examples/dlc/v20210125/CreateSparkSessionBatchSQL.md +1 -1
  10. tccli/examples/domain/v20180808/ModifyTemplate.md +73 -0
  11. tccli/examples/ess/v20201111/DescribeBatchOrganizationRegistrationUrls.md +27 -0
  12. tccli/examples/hunyuan/v20230901/ChatCompletions.md +141 -1
  13. tccli/examples/hunyuan/v20230901/ChatPro.md +2 -2
  14. tccli/examples/lke/v20231130/GetEmbedding.md +1 -1
  15. tccli/examples/lke/v20231130/GetMsgRecord.md +4 -1
  16. tccli/examples/ocr/v20181119/RecognizeGeneralTextImageWarn.md +83 -0
  17. tccli/examples/rum/v20210622/CreateWhitelist.md +2 -2
  18. tccli/examples/rum/v20210622/DescribeRumGroupLog.md +3 -3
  19. tccli/examples/rum/v20210622/DescribeRumLogExport.md +6 -6
  20. tccli/examples/rum/v20210622/DescribeRumStatsLogList.md +2 -2
  21. tccli/examples/teo/v20220901/CreatePlan.md +47 -0
  22. tccli/examples/teo/v20220901/DestroyPlan.md +20 -0
  23. tccli/examples/teo/v20220901/IncreasePlanQuota.md +46 -0
  24. tccli/examples/teo/v20220901/ModifyPlan.md +21 -0
  25. tccli/examples/teo/v20220901/RenewPlan.md +23 -0
  26. tccli/examples/teo/v20220901/UpgradePlan.md +23 -0
  27. tccli/examples/tione/v20191022/UpdateCodeRepository.md +1 -1
  28. tccli/examples/tke/v20180525/CheckInstancesUpgradeAble.md +15 -7
  29. tccli/examples/tke/v20180525/CreateCluster.md +58 -142
  30. tccli/examples/tke/v20180525/DescribeClusterNodePools.md +1 -0
  31. tccli/examples/tke/v20180525/GetUpgradeInstanceProgress.md +18 -19
  32. tccli/examples/tke/v20180525/ModifyClusterAuthenticationOptions.md +3 -0
  33. tccli/examples/tke/v20180525/ModifyNodePoolInstanceTypes.md +1 -1
  34. tccli/examples/tms/v20201229/AnswerQuestion.md +21 -0
  35. tccli/examples/vpc/v20170312/DescribeVpnGatewayRoutes.md +2 -1
  36. tccli/examples/vpc/v20170312/ModifyVpnGatewayRoutes.md +8 -4
  37. tccli/services/aiart/v20221229/api.json +5 -5
  38. tccli/services/cls/cls_client.py +337 -72
  39. tccli/services/cls/v20201016/api.json +433 -22
  40. tccli/services/cls/v20201016/examples.json +44 -4
  41. tccli/services/dlc/v20210125/api.json +14 -4
  42. tccli/services/dlc/v20210125/examples.json +1 -1
  43. tccli/services/domain/domain_client.py +53 -0
  44. tccli/services/domain/v20180808/api.json +62 -0
  45. tccli/services/domain/v20180808/examples.json +8 -0
  46. tccli/services/dts/v20211206/api.json +1 -1
  47. tccli/services/ess/ess_client.py +57 -4
  48. tccli/services/ess/v20201111/api.json +88 -0
  49. tccli/services/ess/v20201111/examples.json +8 -0
  50. tccli/services/essbasic/v20210526/api.json +1 -1
  51. tccli/services/hunyuan/v20230901/api.json +10 -10
  52. tccli/services/hunyuan/v20230901/examples.json +26 -2
  53. tccli/services/ims/v20201229/api.json +2 -1
  54. tccli/services/iotvideo/v20211125/api.json +15 -0
  55. tccli/services/lke/lke_client.py +114 -8
  56. tccli/services/lke/v20231130/api.json +492 -0
  57. tccli/services/lke/v20231130/examples.json +18 -2
  58. tccli/services/ocr/ocr_client.py +53 -0
  59. tccli/services/ocr/v20181119/api.json +156 -0
  60. tccli/services/ocr/v20181119/examples.json +8 -0
  61. tccli/services/rce/v20201103/api.json +9 -9
  62. tccli/services/rum/v20210622/api.json +35 -33
  63. tccli/services/rum/v20210622/examples.json +7 -7
  64. tccli/services/tdmq/v20200217/api.json +6 -6
  65. tccli/services/teo/teo_client.py +338 -20
  66. tccli/services/teo/v20220901/api.json +375 -1
  67. tccli/services/teo/v20220901/examples.json +60 -0
  68. tccli/services/tione/v20191022/api.json +6 -7
  69. tccli/services/tione/v20191022/examples.json +1 -1
  70. tccli/services/tione/v20211111/api.json +2 -0
  71. tccli/services/tke/v20180525/api.json +77 -93
  72. tccli/services/tke/v20180525/examples.json +7 -7
  73. tccli/services/tms/tms_client.py +53 -0
  74. tccli/services/tms/v20201229/api.json +44 -0
  75. tccli/services/tms/v20201229/examples.json +8 -0
  76. tccli/services/tse/v20201207/api.json +49 -1
  77. tccli/services/vpc/v20170312/api.json +3 -0
  78. tccli/services/vpc/v20170312/examples.json +3 -3
  79. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/METADATA +2 -2
  80. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/RECORD +83 -68
  81. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/WHEEL +0 -0
  82. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/entry_points.txt +0 -0
  83. {tccli-3.0.1099.1.dist-info → tccli-3.0.1100.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1099.1'
1
+ __version__ = '3.0.1100.1'
@@ -6,8 +6,8 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls CreateCosRecharge --cli-unfold-argument \
9
- --TopicId xxx-xxx-xxx-xxx \
10
- --LogsetId xxx-xxx-xxx-xxx \
9
+ --TopicId ae13f7db-00b5-41ac-916e-407802axxxxx \
10
+ --LogsetId 0af7e6bb-fc91-4ee8-ad24-1129e9cxxxxx \
11
11
  --Name test_name \
12
12
  --Bucket examplebucket-1250000000 \
13
13
  --BucketRegion ap-guangzhou \
@@ -31,8 +31,8 @@ Output:
31
31
  ```
32
32
  {
33
33
  "Response": {
34
- "Id": "abc-dec-ff-ee",
35
- "RequestId": "xxx-x-xx-xx"
34
+ "Id": "ca092608-98e8-4ad9-83c5-a6b3bbexxxxx",
35
+ "RequestId": "dc78ee34-237b-41c7-8fcd-601a99b271f6"
36
36
  }
37
37
  }
38
38
  ```
@@ -0,0 +1,18 @@
1
+ **Example 1: 创建仪表盘订阅**
2
+
3
+ 创建仪表盘订阅
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls CreateDashboardSubscribe --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
15
+ }
16
+ }
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ **Example 1: 创建仪表盘订阅**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls DeleteDashboardSubscribe --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
15
+ }
16
+ }
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ **Example 1: 获取仪表盘订阅列表**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls DescribeDashboardSubscribes --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "xx"
15
+ }
16
+ }
17
+ ```
18
+
@@ -6,8 +6,8 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cls ModifyCosRecharge --cli-unfold-argument \
9
- --Id 1 \
10
- --TopicId xxx-xxx-xxx-xxx \
9
+ --Id ca092608-98e8-4ad9-83c5-a6b3bbexxxxx \
10
+ --TopicId ae13f7db-00b5-41ac-916e-407802axxxxx \
11
11
  --Name test_name
12
12
  ```
13
13
 
@@ -15,7 +15,7 @@ Output:
15
15
  ```
16
16
  {
17
17
  "Response": {
18
- "RequestId": "6ef60xxx-0xxx-4xxx-bxxx-270359fb5xxx"
18
+ "RequestId": "dc78ee34-237b-41c7-8fcd-601a99bxxxxx"
19
19
  }
20
20
  }
21
21
  ```
@@ -0,0 +1,18 @@
1
+ **Example 1: 修改仪表盘订阅**
2
+
3
+ 修改仪表盘订阅
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls ModifyDashboardSubscribe --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
15
+ }
16
+ }
17
+ ```
18
+
@@ -0,0 +1,35 @@
1
+ **Example 1: 预览仪表盘订阅**
2
+
3
+ 预览仪表盘订阅
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cls SearchDashboardSubscribe --cli-unfold-argument \
9
+ --DashboardId xxx-xxxxxx-xxxxxx-xxxx \
10
+ --Name 仪表盘-CLS-日报 \
11
+ --SubscribeData.DashboardTime now-5m now \
12
+ --SubscribeData.TemplateVariables.0.Key name \
13
+ --SubscribeData.TemplateVariables.0.Values abc \
14
+ --SubscribeData.NoticeModes.0.ReceiverType Uin \
15
+ --SubscribeData.NoticeModes.0.Values 168053 \
16
+ --SubscribeData.NoticeModes.0.ReceiverChannels Sms \
17
+ --SubscribeData.NoticeModes.1.ReceiverType Group \
18
+ --SubscribeData.NoticeModes.1.Values 10721522 9553840 \
19
+ --SubscribeData.NoticeModes.1.ReceiverChannels Sms \
20
+ --SubscribeData.NoticeModes.2.ReceiverType Email \
21
+ --SubscribeData.NoticeModes.2.Values 3333@qq.com xxx@163.com \
22
+ --SubscribeData.Timezone Asia/Shanghai \
23
+ --SubscribeData.SubscribeLanguage zh \
24
+ --SubscribeData.JumpDomain https://console.cloud.tencent.com
25
+ ```
26
+
27
+ Output:
28
+ ```
29
+ {
30
+ "Response": {
31
+ "RequestId": "6ef60bec-0242-43af-bb20-270359fb54a7"
32
+ }
33
+ }
34
+ ```
35
+
@@ -7,7 +7,7 @@ Input:
7
7
  ```
8
8
  tccli dlc CreateSparkSessionBatchSQL --cli-unfold-argument \
9
9
  --DataEngineName data_engine_1 \
10
- --ExecuteSQL select 1 \
10
+ --ExecuteSQL c2VsZWN0IDE= \
11
11
  --DriverSize small \
12
12
  --ExecutorSize small \
13
13
  --ExecutorNumbers 1 \
@@ -0,0 +1,73 @@
1
+ **Example 1: 修改模板**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli domain ModifyTemplate --cli-unfold-argument \
9
+ --TemplateId 字符串 \
10
+ --CertificateInfo.CertificateCode 字符串 \
11
+ --CertificateInfo.CertificateType 字符串 \
12
+ --CertificateInfo.ImgUrl 字符串 \
13
+ --ContactInfo.OrganizationNameCN 字符串 \
14
+ --ContactInfo.OrganizationName 字符串 \
15
+ --ContactInfo.RegistrantNameCN 字符串 \
16
+ --ContactInfo.RegistrantName 字符串 \
17
+ --ContactInfo.ProvinceCN 字符串 \
18
+ --ContactInfo.Province 字符串 \
19
+ --ContactInfo.CityCN 字符串 \
20
+ --ContactInfo.City 字符串 \
21
+ --ContactInfo.StreetCN 字符串 \
22
+ --ContactInfo.Street 字符串 \
23
+ --ContactInfo.CountryCN 字符串 \
24
+ --ContactInfo.Country 字符串 \
25
+ --ContactInfo.Telephone 字符串 \
26
+ --ContactInfo.Email 字符串 \
27
+ --ContactInfo.ZipCode 字符串 \
28
+ --ContactInfo.RegistrantType 字符串
29
+ ```
30
+
31
+ Output:
32
+ ```
33
+ {
34
+ "Response": {
35
+ "RequestId": "c9308288-2016-4197-bba1-baf0a9ea0a6f",
36
+ "Template": {
37
+ "AuditReason": "",
38
+ "IsValidTemplate": 1,
39
+ "UpdatedOn": "2020-07-30 16:44:04",
40
+ "AuditStatus": "InAudit",
41
+ "CreatedOn": "2020-07-30 16:44:04",
42
+ "InvalidReason": "",
43
+ "CertificateInfo": {
44
+ "CertificateType": "YYZZ",
45
+ "CertificateCode": "441900000553075",
46
+ "ImgUrl": "https://wss-10039692.cos.ap-shanghai.myqcloudXj"
47
+ },
48
+ "TemplateId": "tmpl-3mm9fxug",
49
+ "UserUin": "1213059621",
50
+ "ContactInfo": {
51
+ "Province": "shen zhen shi",
52
+ "RegistrantType": "E",
53
+ "OrganizationName": "niubihonghong",
54
+ "OrganizationNameCN": "牛逼哄哄",
55
+ "Country": "CN",
56
+ "RegistrantName": "niubihonghong",
57
+ "ZipCode": "100011",
58
+ "Email": "1213059621@qq.com",
59
+ "City": "nan shan qu",
60
+ "RegistrantNameCN": "牛逼哄哄",
61
+ "StreetCN": "万利达大厦",
62
+ "Street": "wanlidadasha",
63
+ "ProvinceCN": "深圳市",
64
+ "CountryCN": "中国",
65
+ "CityCN": "南山区",
66
+ "Telephone": "13600147752"
67
+ },
68
+ "IsDefault": "no"
69
+ }
70
+ }
71
+ }
72
+ ```
73
+
@@ -0,0 +1,27 @@
1
+ **Example 1: 查询批量企业认证**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli ess DescribeBatchOrganizationRegistrationUrls --cli-unfold-argument \
9
+ --Operator.UserId yDSxSUUxxxxxxxx21JXBlJZsaj \
10
+ --TaskId yDSxSUUxxxxxxxx21JXBlJZsaj
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "OrganizationAuthUrls": [
18
+ {
19
+ "AuthUrl": "https://test.qian.tencent.cn/console/batch-register?token=yDxxxxxxxxxgENliu9LD&orgName=典子谦批量认证企业",
20
+ "ErrorMessage": ""
21
+ }
22
+ ],
23
+ "RequestId": "s1702447767875624775"
24
+ }
25
+ }
26
+ ```
27
+
@@ -8,7 +8,7 @@ Input:
8
8
  tccli hunyuan ChatCompletions --cli-unfold-argument \
9
9
  --TopP 1 \
10
10
  --Temperature 1 \
11
- --Model hunyuan-lite \
11
+ --Model hunyuan-pro \
12
12
  --Messages.0.Role system \
13
13
  --Messages.0.Content 将英文单词转换为包括中文翻译、英文释义和一个例句的完整解释。请检查所有信息是否准确,并在回答时保持简洁,不需要任何其他反馈。 \
14
14
  --Messages.1.Role user \
@@ -41,3 +41,143 @@ Output:
41
41
  {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":21,"TotalTokens":57}}
42
42
  ```
43
43
 
44
+ **Example 2: 多轮对话示例**
45
+
46
+ 多轮对话场景
47
+
48
+ Input:
49
+
50
+ ```
51
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
52
+ --TopP 1 \
53
+ --Temperature 1 \
54
+ --Model hunyuan-pro \
55
+ --Messages.0.Role user \
56
+ --Messages.0.Content 请介绍下自己 \
57
+ --Messages.1.Role assistant \
58
+ --Messages.1.Content 我的名字是腾讯混元大模型,是腾讯开发的一款大型语言模型。我能够理解人类语言,擅长提供问答服务、常识推理、文本创作、数学计算和互动问答等服务。如果您需要帮助或有任何问题,请随时向我提问。 \
59
+ --Messages.2.Role user \
60
+ --Messages.2.Content 请给我讲个字数小于10个字的搞笑笑话 \
61
+ --Messages.3.Role assistant \
62
+ --Messages.3.Content 猫头鹰遇见眯眯眼,看得眼睛都眯成线。” \
63
+ --Messages.4.Role user \
64
+ --Messages.4.Content 不好笑,换一个吧
65
+ ```
66
+
67
+ Output:
68
+ ```
69
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"青蛙"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":1,"TotalTokens":86}}
70
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"跳"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":2,"TotalTokens":87}}
71
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"高"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":3,"TotalTokens":88}}
72
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":","}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":4,"TotalTokens":89}}
73
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"比"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":5,"TotalTokens":90}}
74
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"下马"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":6,"TotalTokens":91}}
75
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"。"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
76
+ {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
77
+ ```
78
+
79
+ **Example 3: 请求失败示例**
80
+
81
+
82
+
83
+ Input:
84
+
85
+ ```
86
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
87
+ --TopP 0 \
88
+ --Temperature 4.8 \
89
+ --Model hunyuan-pro \
90
+ --Messages.0.Role user \
91
+ --Messages.0.Content 介绍下自己
92
+ ```
93
+
94
+ Output:
95
+ ```
96
+ {
97
+ "Response": {
98
+ "RequestId": "188cc996-ab09-49a7-aa9f-1df88f11c6b4",
99
+ "Error": {
100
+ "Code": "InvalidParameter",
101
+ "Message": "Temperature must be 2 or less"
102
+ }
103
+ }
104
+ }
105
+ ```
106
+
107
+ **Example 4: 流式请求成功示例**
108
+
109
+
110
+
111
+ Input:
112
+
113
+ ```
114
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
115
+ --TopP 1 \
116
+ --Temperature 1 \
117
+ --Model hunyuan-pro \
118
+ --Messages.0.Role user \
119
+ --Messages.0.Content 计算1+1
120
+ ```
121
+
122
+ Output:
123
+ ```
124
+ HTTP/1.1 200 OK
125
+ Cache-Control: no-cache
126
+ Connection: keep-alive
127
+ Content-Type: text/event-stream
128
+ Date: Tue, 21 Nov 2023 06:56:00 GMT
129
+ Transfer-Encoding: chunked
130
+ X-TC-RequestId: 61a8459b-27c8-4868-af8f-f374db0245f8
131
+
132
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"1"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":2,"TotalTokens":6}}
133
+
134
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"+"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":3,"TotalTokens":7}}
135
+
136
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"1"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":4,"TotalTokens":8}}
137
+
138
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"="}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":5,"TotalTokens":9}}
139
+
140
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"2"}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":5,"TotalTokens":9}}
141
+
142
+ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1700549760,"Id":"148b89ef-14e1-489f-8e70-b767e5b27d56","Usage":{"PromptTokens":4,"CompletionTokens":5,"TotalTokens":9}}
143
+ ```
144
+
145
+ **Example 5: 非流式请求成功示例**
146
+
147
+
148
+
149
+ Input:
150
+
151
+ ```
152
+ tccli hunyuan ChatCompletions --cli-unfold-argument \
153
+ --TopP 0 \
154
+ --Stream False \
155
+ --Temperature 0 \
156
+ --Model hunyuan-pro \
157
+ --Messages.0.Role user \
158
+ --Messages.0.Content 你好呀!
159
+ ```
160
+
161
+ Output:
162
+ ```
163
+ {
164
+ "Note": "以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记",
165
+ "Choices": [
166
+ {
167
+ "FinishReason": "stop",
168
+ "Message": {
169
+ "Role": "assistant",
170
+ "Content": "你好!很高兴为您提供帮助。请问有什么问题我可以帮助您解决?"
171
+ }
172
+ }
173
+ ],
174
+ "Created": 1710902312,
175
+ "Id": "e4657570-94a5-45f1-896c-a00ac3471d51",
176
+ "Usage": {
177
+ "PromptTokens": 3,
178
+ "CompletionTokens": 14,
179
+ "TotalTokens": 17
180
+ }
181
+ }
182
+ ```
183
+
@@ -92,10 +92,10 @@ Output:
92
92
  ```
93
93
  {
94
94
  "Response": {
95
- "RequestId": "655c67aad32b0f48f52b89b0",
95
+ "RequestId": "188cc996-ab09-49a7-aa9f-1df88f11c6b4",
96
96
  "Error": {
97
97
  "Code": "InvalidParameter",
98
- "Message": "The value of Temperature should be within the range [0.0, 2.0]: 4.800000 "
98
+ "Message": "Temperature must be 2 or less"
99
99
  }
100
100
  }
101
101
  }
@@ -6,7 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli lke GetEmbedding --cli-unfold-argument \
9
- --Model doc-normal-500-v5.8 \
9
+ --Model lke-text-embedding-v1 \
10
10
  --Inputs 你好 \
11
11
  --Online False
12
12
  ```
@@ -41,7 +41,10 @@ Output:
41
41
  "Reasons": [
42
42
  "abc"
43
43
  ],
44
- "IsLlmGenerated": true
44
+ "IsLlmGenerated": true,
45
+ "ImageUrls": [
46
+ ""
47
+ ]
45
48
  }
46
49
  ],
47
50
  "RequestId": "abc"
@@ -0,0 +1,83 @@
1
+ **Example 1: 通用文本图像告警示例代码**
2
+
3
+ 通用文本图像告警示例
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli ocr RecognizeGeneralTextImageWarn --cli-unfold-argument \
9
+ --ImageUrl https://xx/a.jpg
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "Blur": {
17
+ "IsWarn": false,
18
+ "Polygon": [],
19
+ "SpecificMatter": ""
20
+ },
21
+ "BorderIncomplete": {
22
+ "IsWarn": false,
23
+ "Polygon": [],
24
+ "SpecificMatter": ""
25
+ },
26
+ "Copy": {
27
+ "IsWarn": true,
28
+ "Polygon": [
29
+ {
30
+ "LeftBottom": {
31
+ "X": 0,
32
+ "Y": 0
33
+ },
34
+ "LeftTop": {
35
+ "X": 0,
36
+ "Y": 0
37
+ },
38
+ "RightBottom": {
39
+ "X": 0,
40
+ "Y": 0
41
+ },
42
+ "RightTop": {
43
+ "X": 0,
44
+ "Y": 0
45
+ }
46
+ }
47
+ ],
48
+ "SpecificMatter": ""
49
+ },
50
+ "Reflection": {
51
+ "IsWarn": false,
52
+ "Polygon": [],
53
+ "SpecificMatter": ""
54
+ },
55
+ "Reprint": {
56
+ "IsWarn": true,
57
+ "Polygon": [
58
+ {
59
+ "LeftBottom": {
60
+ "X": 0,
61
+ "Y": 0
62
+ },
63
+ "LeftTop": {
64
+ "X": 0,
65
+ "Y": 0
66
+ },
67
+ "RightBottom": {
68
+ "X": 0,
69
+ "Y": 0
70
+ },
71
+ "RightTop": {
72
+ "X": 0,
73
+ "Y": 0
74
+ }
75
+ }
76
+ ],
77
+ "SpecificMatter": ""
78
+ },
79
+ "RequestId": "d8b2bf40-091e-43f1-a075-d98a5c9b2e1e"
80
+ }
81
+ }
82
+ ```
83
+
@@ -41,9 +41,9 @@ Output:
41
41
  ```
42
42
  {
43
43
  "Response": {
44
- "Msg": "xx",
44
+ "Msg": "success",
45
45
  "ID": 1,
46
- "RequestId": "xx"
46
+ "RequestId": "d61a85dc-d9d6-431e-812d-095eb4e129db"
47
47
  }
48
48
  }
49
49
  ```
@@ -37,18 +37,18 @@ tccli rum DescribeRumGroupLog --cli-unfold-argument \
37
37
  --OrderBy "desc" \
38
38
  --StartTime "1" \
39
39
  --Limit 10 \
40
- --Query "xxx" \
40
+ --Query "*" \
41
41
  --EndTime "20" \
42
42
  --ID 10 \
43
43
  --Page 1 \
44
- --GroupField xx
44
+ --GroupField date
45
45
  ```
46
46
 
47
47
  Output:
48
48
  ```
49
49
  {
50
50
  "Response": {
51
- "Result": "xxxx",
51
+ "Result": "Traceback (most recent call last):\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 1763, in _execute\n result = self.prepare()\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 2538, in prepare\n raise HTTPError(self._status_code)\ntornado.web.HTTPError: HTTP 404: Not Found\n",
52
52
  "RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f"
53
53
  }
54
54
  }
@@ -31,11 +31,11 @@ Input:
31
31
 
32
32
  ```
33
33
  tccli rum DescribeRumLogExport --cli-unfold-argument \
34
- --Name xx \
35
- --Fields xx \
36
- --StartTime xx \
37
- --Query xx \
38
- --EndTime xx \
34
+ --Name logDemo \
35
+ --Fields date \
36
+ --StartTime 1714103013 \
37
+ --Query * \
38
+ --EndTime 1714103013 \
39
39
  --ID 0
40
40
  ```
41
41
 
@@ -43,7 +43,7 @@ Output:
43
43
  ```
44
44
  {
45
45
  "Response": {
46
- "Result": "xxxx",
46
+ "Result": "Traceback (most recent call last):\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 1763, in _execute\n result = self.prepare()\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 2538, in prepare\n raise HTTPError(self._status_code)\ntornado.web.HTTPError: HTTP 404: Not Found\n",
47
47
  "RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f"
48
48
  }
49
49
  }
@@ -33,7 +33,7 @@ Input:
33
33
  tccli rum DescribeRumStatsLogList --cli-unfold-argument \
34
34
  --StartTime "1" \
35
35
  --Limit 10 \
36
- --Query "xxx" \
36
+ --Query "*" \
37
37
  --EndTime "20" \
38
38
  --ID 10
39
39
  ```
@@ -42,7 +42,7 @@ Output:
42
42
  ```
43
43
  {
44
44
  "Response": {
45
- "Result": "xxxx",
45
+ "Result": "Traceback (most recent call last):\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 1763, in _execute\n result = self.prepare()\n File \"/opt/app-root/lib64/python3.8/site-packages/tornado/web.py\", line 2538, in prepare\n raise HTTPError(self._status_code)\ntornado.web.HTTPError: HTTP 404: Not Found\n",
46
46
  "RequestId": "65a8fec7-2b39-4b11-893f-3715279d235f"
47
47
  }
48
48
  }