tccli 3.0.1091.1__py2.py3-none-any.whl → 3.0.1092.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/cdb/v20170320/CheckMigrateCluster.md +18 -0
- tccli/examples/cdb/v20170320/DescribeClusterInfo.md +59 -0
- tccli/examples/domain/v20180808/BidPreDomains.md +21 -0
- tccli/examples/domain/v20180808/DescribeReservedBidInfo.md +43 -0
- tccli/examples/domain/v20180808/DescribeReservedPreDomainInfo.md +31 -0
- tccli/examples/es/v20180416/UpdateInstance.md +27 -27
- tccli/examples/es/v20180416/UpdatePlugins.md +6 -6
- tccli/examples/ess/v20201111/CreateBatchOrganizationRegistrationTasks.md +146 -0
- tccli/examples/ess/v20201111/CreateOrganizationAuthUrl.md +18 -0
- tccli/examples/ess/v20201111/CreateOrganizationBatchSignUrl.md +28 -0
- tccli/examples/hunyuan/v20230901/ChatPro.md +69 -31
- tccli/examples/hunyuan/v20230901/ChatStd.md +40 -1
- tccli/examples/lke/v20231130/CheckAttributeLabelExist.md +24 -0
- tccli/examples/lke/v20231130/CheckAttributeLabelRefer.md +23 -0
- tccli/examples/lke/v20231130/CreateApp.md +24 -0
- tccli/examples/lke/v20231130/CreateAttributeLabel.md +24 -0
- tccli/examples/lke/v20231130/CreateCorp.md +24 -0
- tccli/examples/lke/v20231130/CreateQA.md +24 -0
- tccli/examples/lke/v20231130/CreateQACate.md +26 -0
- tccli/examples/lke/v20231130/CreateRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/CreateRelease.md +21 -0
- tccli/examples/lke/v20231130/DeleteApp.md +21 -0
- tccli/examples/lke/v20231130/DeleteAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/DeleteDoc.md +21 -0
- tccli/examples/lke/v20231130/DeleteQA.md +21 -0
- tccli/examples/lke/v20231130/DeleteQACate.md +21 -0
- tccli/examples/lke/v20231130/DeleteRejectedQuestion.md +21 -0
- tccli/examples/lke/v20231130/DescribeApp.md +29 -0
- tccli/examples/lke/v20231130/DescribeAttributeLabel.md +28 -0
- tccli/examples/lke/v20231130/DescribeCorp.md +21 -0
- tccli/examples/lke/v20231130/DescribeDoc.md +44 -0
- tccli/examples/lke/v20231130/DescribeQA.md +42 -0
- tccli/examples/lke/v20231130/DescribeRefer.md +35 -0
- tccli/examples/lke/v20231130/DescribeRelease.md +25 -0
- tccli/examples/lke/v20231130/DescribeReleaseInfo.md +24 -0
- tccli/examples/lke/v20231130/DescribeRobotBizIDByAppKey.md +21 -0
- tccli/examples/lke/v20231130/DescribeStorageCredential.md +32 -0
- tccli/examples/lke/v20231130/DescribeUnsatisfiedReplyContext.md +121 -0
- tccli/examples/lke/v20231130/ExportAttributeLabel.md +21 -0
- tccli/examples/lke/v20231130/ExportQAList.md +21 -0
- tccli/examples/lke/v20231130/ExportUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/GenerateQA.md +21 -0
- tccli/examples/lke/v20231130/GetAppKnowledgeCount.md +22 -0
- tccli/examples/lke/v20231130/GetAppSecret.md +24 -0
- tccli/examples/lke/v20231130/GetDocPreview.md +26 -0
- tccli/examples/lke/v20231130/GetEmbedding.md +29 -0
- tccli/examples/lke/v20231130/GetMsgRecord.md +51 -0
- tccli/examples/lke/v20231130/GetTaskStatus.md +0 -0
- tccli/examples/lke/v20231130/GetWsToken.md +44 -0
- tccli/examples/lke/v20231130/GroupQA.md +44 -0
- tccli/examples/lke/v20231130/IgnoreUnsatisfiedReply.md +21 -0
- tccli/examples/lke/v20231130/IsTransferIntent.md +22 -0
- tccli/examples/lke/v20231130/ListApp.md +36 -0
- tccli/examples/lke/v20231130/ListAppCategory.md +25 -0
- tccli/examples/lke/v20231130/ListAttributeLabel.md +33 -0
- tccli/examples/lke/v20231130/ListDoc.md +52 -0
- tccli/examples/lke/v20231130/ListModel.md +31 -0
- tccli/examples/lke/v20231130/ListQA.md +66 -0
- tccli/examples/lke/v20231130/ListQACate.md +41 -0
- tccli/examples/lke/v20231130/ListRejectedQuestion.md +52 -0
- tccli/examples/lke/v20231130/ListRejectedQuestionPreview.md +37 -0
- tccli/examples/lke/v20231130/ListRelease.md +36 -0
- tccli/examples/lke/v20231130/ListReleaseConfigPreview.md +129 -0
- tccli/examples/lke/v20231130/ListReleaseDocPreview.md +38 -0
- tccli/examples/lke/v20231130/ListReleaseQAPreview.md +107 -0
- tccli/examples/lke/v20231130/ListSelectDoc.md +27 -0
- tccli/examples/lke/v20231130/ListUnsatisfiedReply.md +24 -0
- tccli/examples/lke/v20231130/ModifyApp.md +25 -0
- tccli/examples/lke/v20231130/ModifyAttributeLabel.md +23 -0
- tccli/examples/lke/v20231130/ModifyDoc.md +25 -0
- tccli/examples/lke/v20231130/ModifyDocAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQA.md +24 -0
- tccli/examples/lke/v20231130/ModifyQAAttrRange.md +25 -0
- tccli/examples/lke/v20231130/ModifyQACate.md +22 -0
- tccli/examples/lke/v20231130/ModifyRejectedQuestion.md +22 -0
- tccli/examples/lke/v20231130/ParseDoc.md +25 -0
- tccli/examples/lke/v20231130/QueryParseDocResult.md +24 -0
- tccli/examples/lke/v20231130/QueryRewrite.md +25 -0
- tccli/examples/lke/v20231130/RateMsgRecord.md +22 -0
- tccli/examples/lke/v20231130/ResetSession.md +20 -0
- tccli/examples/lke/v20231130/RetryDocAudit.md +21 -0
- tccli/examples/lke/v20231130/RetryDocParse.md +21 -0
- tccli/examples/lke/v20231130/RetryRelease.md +21 -0
- tccli/examples/lke/v20231130/SaveDoc.md +34 -0
- tccli/examples/lke/v20231130/StopDocParse.md +21 -0
- tccli/examples/lke/v20231130/UploadAttributeLabel.md +27 -0
- tccli/examples/lke/v20231130/VerifyQA.md +27 -0
- tccli/examples/mna/v20210119/GetFlowPackages.md +3 -1
- tccli/examples/mna/v20210119/GetFlowStatistic.md +42 -0
- tccli/examples/ocr/v20181119/GeneralBasicOCR.md +0 -1
- tccli/examples/sqlserver/v20180328/DescribeRestoreTimeRange.md +23 -0
- tccli/services/__init__.py +3 -0
- tccli/services/aiart/v20221229/api.json +6 -6
- tccli/services/antiddos/v20200309/api.json +10 -0
- tccli/services/cdb/cdb_client.py +106 -0
- tccli/services/cdb/v20170320/api.json +255 -0
- tccli/services/cdb/v20170320/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +4 -4
- tccli/services/ckafka/v20190819/api.json +29 -24
- tccli/services/domain/domain_client.py +114 -8
- tccli/services/domain/v20180808/api.json +174 -1
- tccli/services/domain/v20180808/examples.json +22 -0
- tccli/services/es/v20180416/api.json +12 -12
- tccli/services/es/v20180416/examples.json +21 -21
- tccli/services/ess/ess_client.py +149 -43
- tccli/services/ess/v20201111/api.json +214 -4
- tccli/services/ess/v20201111/examples.json +34 -0
- tccli/services/essbasic/v20210526/api.json +2 -2
- tccli/services/faceid/v20180301/api.json +10 -1
- tccli/services/hunyuan/v20230901/api.json +67 -21
- tccli/services/hunyuan/v20230901/examples.json +17 -5
- tccli/services/iai/v20180301/api.json +19 -19
- tccli/services/lke/__init__.py +4 -0
- tccli/services/lke/lke_client.py +4117 -0
- tccli/services/lke/v20231130/api.json +9010 -0
- tccli/services/lke/v20231130/examples.json +617 -0
- tccli/services/mna/v20210119/api.json +249 -29
- tccli/services/mna/v20210119/examples.json +7 -1
- tccli/services/monitor/v20180724/api.json +30 -10
- tccli/services/ocr/v20181119/api.json +5 -0
- tccli/services/ocr/v20181119/examples.json +1 -1
- tccli/services/redis/v20180412/api.json +1 -1
- tccli/services/scf/v20180416/api.json +18 -9
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/sqlserver/sqlserver_client.py +110 -57
- tccli/services/sqlserver/v20180328/api.json +63 -0
- tccli/services/sqlserver/v20180328/examples.json +8 -0
- tccli/services/tione/v20211111/api.json +25 -1
- tccli/services/trtc/v20190722/api.json +46 -4
- tccli/services/wedata/v20210820/api.json +295 -1437
- tccli/services/wedata/v20210820/examples.json +0 -88
- tccli/services/wedata/wedata_client.py +33 -616
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1092.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1092.1.dist-info}/RECORD +138 -52
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1092.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1092.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1091.1.dist-info → tccli-3.0.1092.1.dist-info}/license_files/LICENSE +0 -0
@@ -16,28 +16,28 @@ tccli hunyuan ChatPro --cli-unfold-argument \
|
|
16
16
|
|
17
17
|
Output:
|
18
18
|
```
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
19
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"很好"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":1,"TotalTokens":37}}
|
20
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":2,"TotalTokens":38}}
|
21
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"nice"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":3,"TotalTokens":39}}
|
22
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"\n"}}],"Created":1705634813,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":4,"TotalTokens":40}}
|
23
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"英文"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":5,"TotalTokens":41}}
|
24
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"释义"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":6,"TotalTokens":42}}
|
25
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":7,"TotalTokens":43}}
|
26
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"ple"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":8,"TotalTokens":44}}
|
27
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"asing"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":9,"TotalTokens":45}}
|
28
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" or"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":10,"TotalTokens":46}}
|
29
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" acceptable"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":11,"TotalTokens":47}}
|
30
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"\n"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":12,"TotalTokens":48}}
|
31
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"例"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":13,"TotalTokens":49}}
|
32
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"句"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":14,"TotalTokens":50}}
|
33
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":":"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":15,"TotalTokens":51}}
|
34
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"She"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":16,"TotalTokens":52}}
|
35
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" had"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":17,"TotalTokens":53}}
|
36
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" a"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":18,"TotalTokens":54}}
|
37
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" nice"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":19,"TotalTokens":55}}
|
38
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":" smile"}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":20,"TotalTokens":56}}
|
39
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"."}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":21,"TotalTokens":57}}
|
40
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634814,"Id":"681ef57e-9f1e-4faa-a2d3-07b655a1fa1f","Usage":{"PromptTokens":36,"CompletionTokens":21,"TotalTokens":57}}
|
41
41
|
```
|
42
42
|
|
43
43
|
**Example 2: 多轮对话示例**
|
@@ -64,14 +64,14 @@ tccli hunyuan ChatPro --cli-unfold-argument \
|
|
64
64
|
|
65
65
|
Output:
|
66
66
|
```
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
67
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"青蛙"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":1,"TotalTokens":86}}
|
68
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"跳"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":2,"TotalTokens":87}}
|
69
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"高"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":3,"TotalTokens":88}}
|
70
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":","}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":4,"TotalTokens":89}}
|
71
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"比"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":5,"TotalTokens":90}}
|
72
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"下马"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":6,"TotalTokens":91}}
|
73
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"","Delta":{"Role":"assistant","Content":"。"}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
|
74
|
+
{"Note":"以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记","Choices":[{"FinishReason":"stop","Delta":{"Role":"assistant","Content":""}}],"Created":1705634032,"Id":"9c772634-8824-43e8-bc24-8bc4c19b9151","Usage":{"PromptTokens":85,"CompletionTokens":7,"TotalTokens":92}}
|
75
75
|
```
|
76
76
|
|
77
77
|
**Example 3: 请求失败示例**
|
@@ -101,7 +101,7 @@ Output:
|
|
101
101
|
}
|
102
102
|
```
|
103
103
|
|
104
|
-
**Example 4:
|
104
|
+
**Example 4: 流式请求成功示例**
|
105
105
|
|
106
106
|
|
107
107
|
|
@@ -138,3 +138,41 @@ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除
|
|
138
138
|
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}}
|
139
139
|
```
|
140
140
|
|
141
|
+
**Example 5: 非流式请求成功示例**
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
Input:
|
146
|
+
|
147
|
+
```
|
148
|
+
tccli hunyuan ChatPro --cli-unfold-argument \
|
149
|
+
--TopP 0 \
|
150
|
+
--Stream False \
|
151
|
+
--Temperature 0 \
|
152
|
+
--Messages.0.Role user \
|
153
|
+
--Messages.0.Content 你好呀!
|
154
|
+
```
|
155
|
+
|
156
|
+
Output:
|
157
|
+
```
|
158
|
+
{
|
159
|
+
"Note": "以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记",
|
160
|
+
"Choices": [
|
161
|
+
{
|
162
|
+
"FinishReason": "stop",
|
163
|
+
"Message": {
|
164
|
+
"Role": "assistant",
|
165
|
+
"Content": "你好!很高兴为您提供帮助。请问有什么问题我可以帮助您解决?"
|
166
|
+
}
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"Created": 1710902312,
|
170
|
+
"Id": "e4657570-94a5-45f1-896c-a00ac3471d51",
|
171
|
+
"Usage": {
|
172
|
+
"PromptTokens": 3,
|
173
|
+
"CompletionTokens": 14,
|
174
|
+
"TotalTokens": 17
|
175
|
+
}
|
176
|
+
}
|
177
|
+
```
|
178
|
+
|
@@ -62,7 +62,7 @@ Output:
|
|
62
62
|
}
|
63
63
|
```
|
64
64
|
|
65
|
-
**Example 3:
|
65
|
+
**Example 3: 流式请求成功示例**
|
66
66
|
|
67
67
|
|
68
68
|
|
@@ -71,6 +71,7 @@ Input:
|
|
71
71
|
```
|
72
72
|
tccli hunyuan ChatStd --cli-unfold-argument \
|
73
73
|
--TopP 0 \
|
74
|
+
--Stream True \
|
74
75
|
--Temperature 0 \
|
75
76
|
--Messages.0.Role user \
|
76
77
|
--Messages.0.Content 计算1+1
|
@@ -99,3 +100,41 @@ data: {"Note":"以上内容为AI生成,不代表开发者立场,请勿删除
|
|
99
100
|
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}}
|
100
101
|
```
|
101
102
|
|
103
|
+
**Example 4: 非流式请求成功示例**
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
Input:
|
108
|
+
|
109
|
+
```
|
110
|
+
tccli hunyuan ChatStd --cli-unfold-argument \
|
111
|
+
--TopP 0 \
|
112
|
+
--Stream False \
|
113
|
+
--Temperature 0 \
|
114
|
+
--Messages.0.Role user \
|
115
|
+
--Messages.0.Content 你好呀!
|
116
|
+
```
|
117
|
+
|
118
|
+
Output:
|
119
|
+
```
|
120
|
+
{
|
121
|
+
"Note": "以上内容为AI生成,不代表开发者立场,请勿删除或修改本标记",
|
122
|
+
"Choices": [
|
123
|
+
{
|
124
|
+
"FinishReason": "stop",
|
125
|
+
"Message": {
|
126
|
+
"Role": "assistant",
|
127
|
+
"Content": "你好!很高兴为您提供帮助。请问有什么问题我可以帮助您解决?"
|
128
|
+
}
|
129
|
+
}
|
130
|
+
],
|
131
|
+
"Created": 1710902312,
|
132
|
+
"Id": "e4657570-94a5-45f1-896c-a00ac3471d51",
|
133
|
+
"Usage": {
|
134
|
+
"PromptTokens": 3,
|
135
|
+
"CompletionTokens": 14,
|
136
|
+
"TotalTokens": 17
|
137
|
+
}
|
138
|
+
}
|
139
|
+
```
|
140
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 检查知识标签是否存在**
|
2
|
+
|
3
|
+
检查知识标签是否存在
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CheckAttributeLabelExist --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--LabelName 属性修改 \
|
11
|
+
--AttributeBizId 208 \
|
12
|
+
--LastLabelBizId 204
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"IsExist": false,
|
20
|
+
"RequestId": "7e2305f5-b348-46e2-a90a-79ebae135103"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,23 @@
|
|
1
|
+
**Example 1: 检查知识标签是否被引用**
|
2
|
+
|
3
|
+
检查知识标签是否被引用
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CheckAttributeLabelRefer --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--LabelBizId 1734549420823662593 \
|
11
|
+
--AttributeBizId 1734549420823662592
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"IsRefer": false,
|
19
|
+
"RequestId": "2bf7f1f1-9346-4919-9561-e85805017676"
|
20
|
+
}
|
21
|
+
}
|
22
|
+
```
|
23
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 创建应用**
|
2
|
+
|
3
|
+
创建应用
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CreateApp --cli-unfold-argument \
|
9
|
+
--AppType knowledge_qa \
|
10
|
+
--BaseConfig.Name 知识问答 \
|
11
|
+
--BaseConfig.Avatar 头像 \
|
12
|
+
--BaseConfig.Desc xxx
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"AppBizId": "198848848484848",
|
20
|
+
"RequestId": "dwec-adsdsdsd-sfsfdsfsf"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 创建知识标签**
|
2
|
+
|
3
|
+
创建知识标签
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CreateAttributeLabel --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--AttrKey test \
|
11
|
+
--AttrName 诶皮爱标签 \
|
12
|
+
--Labels.0.LabelName 你好 \
|
13
|
+
--Labels.0.SimilarLabels 车型a
|
14
|
+
```
|
15
|
+
|
16
|
+
Output:
|
17
|
+
```
|
18
|
+
{
|
19
|
+
"Response": {
|
20
|
+
"RequestId": "802c3847-9781-4818-959a-aff3035d22fc"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 集成商创建企业**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CreateCorp --cli-unfold-argument \
|
9
|
+
--FullName 测试企业 \
|
10
|
+
--ContactName 王先生 \
|
11
|
+
--Email \
|
12
|
+
--Telephone
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"CorpBizId": "1744209203680903168",
|
20
|
+
"RequestId": "1bab38dd-f17d-4c48-88b6-608ed51edf74"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 创建问答**
|
2
|
+
|
3
|
+
创建问答
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CreateQA --cli-unfold-argument \
|
9
|
+
--BotBizId 1727231073371148288 \
|
10
|
+
--Question q \
|
11
|
+
--Answer a \
|
12
|
+
--AttrRange 1
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"QaBizId": "17272310733712383",
|
20
|
+
"RequestId": "eefbbf48-673a-4fe3-bc0f-5b45693b8962"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,26 @@
|
|
1
|
+
**Example 1: 新建QA分类**
|
2
|
+
|
3
|
+
新建QA分类
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CreateQACate --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--ParentBizId 1733053612030808064 \
|
11
|
+
--Name 哈哈哈哈
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"CanAdd": true,
|
19
|
+
"CanDelete": true,
|
20
|
+
"CanEdit": true,
|
21
|
+
"CateBizId": "1734144647474577408",
|
22
|
+
"RequestId": "39db6689-ceab-4ae7-87a9-f926774255d7"
|
23
|
+
}
|
24
|
+
}
|
25
|
+
```
|
26
|
+
|
@@ -0,0 +1,22 @@
|
|
1
|
+
**Example 1: 创建新的拒答问题**
|
2
|
+
|
3
|
+
创建新的拒答问题
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CreateRejectedQuestion --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--Question 吃饭了吗哥哥 \
|
11
|
+
--BusinessSource 2
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"RequestId": "52a3bc37-f211-4e15-97cf-00eb36f3e17a"
|
19
|
+
}
|
20
|
+
}
|
21
|
+
```
|
22
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 创建发布**
|
2
|
+
|
3
|
+
创建发布
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke CreateRelease --cli-unfold-argument \
|
9
|
+
--BotBizId 1727231073371148288
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"ReleaseBizId": "1730526803028463616",
|
17
|
+
"RequestId": "e54a496a-2bff-4017-a1ae-0ce790681779"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: DeleteApp**
|
2
|
+
|
3
|
+
删除应用
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DeleteApp --cli-unfold-argument \
|
9
|
+
--AppBizId 45454545464646 \
|
10
|
+
--AppType knowledge_qa
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "dwec-adsdsdsd-sfsfdsfsf"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 删除知识标签**
|
2
|
+
|
3
|
+
删除知识标签
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DeleteAttributeLabel --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--AttributeBizIds 110
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "1fd0a090-c087-42a8-9689-9fe2153432be"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 删除文档**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DeleteDoc --cli-unfold-argument \
|
9
|
+
--DocBizIds 1727266196004143104 \
|
10
|
+
--BotBizId 1714970520775950336
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "7e0e00a7-1505-4d4e-9fc2-e88e9c700aa4"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 删除问答**
|
2
|
+
|
3
|
+
删除问答
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DeleteQA --cli-unfold-argument \
|
9
|
+
--BotBizId 1727231073371148288 \
|
10
|
+
--QaBizIds 1728997020814671872
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "ed65bc68-964a-421b-84c6-9b59745a0620"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: QA分类删除**
|
2
|
+
|
3
|
+
QA分类删除
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DeleteQACate --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--CateBizId 1734144647474577408
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "4478d155-4b10-40d8-a1dd-5ea045259966"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: DeleteRejectedQuestion**
|
2
|
+
|
3
|
+
DeleteRejectedQuestion
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DeleteRejectedQuestion --cli-unfold-argument \
|
9
|
+
--BotBizId 1714970520775950336 \
|
10
|
+
--RejectedBizIds 1732953678087585792
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"RequestId": "930abc66-d4d4-4028-ac0a-162851ce955d"
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: DescribeApp**
|
2
|
+
|
3
|
+
获取企业下应用详情
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DescribeApp --cli-unfold-argument \
|
9
|
+
--AppBizId 45454545464646 \
|
10
|
+
--AppType knowledge_qa
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"AppBizId": "45454545464646",
|
18
|
+
"AppType": "knowledge_qa",
|
19
|
+
"BaseConfig": {
|
20
|
+
"Name": "应用",
|
21
|
+
"Avatar": "头像",
|
22
|
+
"Desc": "应用描述"
|
23
|
+
},
|
24
|
+
"AppKey": "app_key",
|
25
|
+
"RequestId": "dwec-adsdsdsd-sfsfdsfsf"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
**Example 1: 查询知识标签**
|
2
|
+
|
3
|
+
查询知识标签
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DescribeAttributeLabel --cli-unfold-argument \
|
9
|
+
--BotBizId 1696822786072117248 \
|
10
|
+
--AttributeBizId 1734549420823662592 \
|
11
|
+
--LastLabelBizId 1734549420823662593 \
|
12
|
+
--Limit 1
|
13
|
+
```
|
14
|
+
|
15
|
+
Output:
|
16
|
+
```
|
17
|
+
{
|
18
|
+
"Response": {
|
19
|
+
"AttrKey": "test",
|
20
|
+
"AttrName": "诶皮爱标签",
|
21
|
+
"AttributeBizId": "1734549420823662592",
|
22
|
+
"LabelNumber": "1",
|
23
|
+
"Labels": [],
|
24
|
+
"RequestId": "99ff53c2-120a-4d0a-b54d-760a65852cd6"
|
25
|
+
}
|
26
|
+
}
|
27
|
+
```
|
28
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
**Example 1: 获取企业信息**
|
2
|
+
|
3
|
+
获取企业信息
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli lke DescribeCorp --cli-unfold-argument ```
|
9
|
+
|
10
|
+
Output:
|
11
|
+
```
|
12
|
+
{
|
13
|
+
"Response": {
|
14
|
+
"CorpBizId": "18485034430310",
|
15
|
+
"FullName": "我的企业",
|
16
|
+
"RequestId": "669edde9-e9ec-40c6-bf31-5e9402fb26fb",
|
17
|
+
"RobotQuota": 10
|
18
|
+
}
|
19
|
+
}
|
20
|
+
```
|
21
|
+
|