tencentcloud-sdk-nodejs-intl-en 3.0.1194 → 3.0.1195
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.
|
@@ -18,179 +18,271 @@ const models = require("./models");
|
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const ModifyQAAttrRangeResponse = models.ModifyQAAttrRangeResponse;
|
|
20
20
|
const GetWsTokenResponse = models.GetWsTokenResponse;
|
|
21
|
-
const
|
|
22
|
-
const
|
|
21
|
+
const ListUsageCallDetailRequest = models.ListUsageCallDetailRequest;
|
|
22
|
+
const CheckAttributeLabelExistRequest = models.CheckAttributeLabelExistRequest;
|
|
23
|
+
const AttributeFilters = models.AttributeFilters;
|
|
24
|
+
const DescribeQAResponse = models.DescribeQAResponse;
|
|
25
|
+
const ExtraInfo = models.ExtraInfo;
|
|
26
|
+
const GetAppKnowledgeCountRequest = models.GetAppKnowledgeCountRequest;
|
|
23
27
|
const StopDocParseResponse = models.StopDocParseResponse;
|
|
24
28
|
const ListSelectDocResponse = models.ListSelectDocResponse;
|
|
29
|
+
const DescribeReleaseInfoRequest = models.DescribeReleaseInfoRequest;
|
|
25
30
|
const DeleteDocRequest = models.DeleteDocRequest;
|
|
31
|
+
const GetAnswerTypeDataCountRequest = models.GetAnswerTypeDataCountRequest;
|
|
26
32
|
const RunNodeInfo = models.RunNodeInfo;
|
|
27
|
-
const
|
|
33
|
+
const AgentDebugInfo = models.AgentDebugInfo;
|
|
28
34
|
const UploadAttributeLabelResponse = models.UploadAttributeLabelResponse;
|
|
29
35
|
const MsgRecord = models.MsgRecord;
|
|
30
|
-
const
|
|
36
|
+
const CreateDocCateResponse = models.CreateDocCateResponse;
|
|
37
|
+
const DeleteDocCateResponse = models.DeleteDocCateResponse;
|
|
38
|
+
const ExportAttributeLabelResponse = models.ExportAttributeLabelResponse;
|
|
31
39
|
const WorkflowInfo = models.WorkflowInfo;
|
|
32
40
|
const ExportQAListResponse = models.ExportQAListResponse;
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
41
|
+
const GetAppSecretResponse = models.GetAppSecretResponse;
|
|
42
|
+
const ListRejectedQuestionRequest = models.ListRejectedQuestionRequest;
|
|
43
|
+
const CreateQACateResponse = models.CreateQACateResponse;
|
|
44
|
+
const ModifyDocAttrRangeResponse = models.ModifyDocAttrRangeResponse;
|
|
45
|
+
const GetAnswerTypeDataCountResponse = models.GetAnswerTypeDataCountResponse;
|
|
46
|
+
const DescribeQARequest = models.DescribeQARequest;
|
|
36
47
|
const AttrLabelRefer = models.AttrLabelRefer;
|
|
37
48
|
const CreateReconstructDocumentFlowConfig = models.CreateReconstructDocumentFlowConfig;
|
|
38
49
|
const DescribeUnsatisfiedReplyContextRequest = models.DescribeUnsatisfiedReplyContextRequest;
|
|
50
|
+
const Procedure = models.Procedure;
|
|
51
|
+
const ListAppRequest = models.ListAppRequest;
|
|
39
52
|
const AttrLabel = models.AttrLabel;
|
|
40
53
|
const ModifyQAAttrRangeRequest = models.ModifyQAAttrRangeRequest;
|
|
41
|
-
const
|
|
54
|
+
const GetWsTokenReq_Label = models.GetWsTokenReq_Label;
|
|
42
55
|
const ModifyDocResponse = models.ModifyDocResponse;
|
|
56
|
+
const ReleaseDoc = models.ReleaseDoc;
|
|
43
57
|
const KnowledgeQaSearch = models.KnowledgeQaSearch;
|
|
44
58
|
const CreateCorpResponse = models.CreateCorpResponse;
|
|
59
|
+
const ListQARequest = models.ListQARequest;
|
|
45
60
|
const DescribeKnowledgeUsageResponse = models.DescribeKnowledgeUsageResponse;
|
|
61
|
+
const ReferDetail = models.ReferDetail;
|
|
46
62
|
const ListUnsatisfiedReplyRequest = models.ListUnsatisfiedReplyRequest;
|
|
47
63
|
const DeleteQARequest = models.DeleteQARequest;
|
|
48
|
-
const
|
|
49
|
-
const
|
|
64
|
+
const GetLikeDataCountResponse = models.GetLikeDataCountResponse;
|
|
65
|
+
const ListReleaseRequest = models.ListReleaseRequest;
|
|
66
|
+
const KnowledgeCapacityPieGraphDetail = models.KnowledgeCapacityPieGraphDetail;
|
|
67
|
+
const CreateDocCateRequest = models.CreateDocCateRequest;
|
|
50
68
|
const InvokeAPI = models.InvokeAPI;
|
|
51
69
|
const SummaryOutput = models.SummaryOutput;
|
|
52
70
|
const ModifyAppResponse = models.ModifyAppResponse;
|
|
71
|
+
const ListDocResponse = models.ListDocResponse;
|
|
53
72
|
const ModifyQARequest = models.ModifyQARequest;
|
|
54
73
|
const TaskFlowInfo = models.TaskFlowInfo;
|
|
74
|
+
const GetDocPreviewRequest = models.GetDocPreviewRequest;
|
|
75
|
+
const ListDocCateResponse = models.ListDocCateResponse;
|
|
76
|
+
const ListRejectedQuestionPreviewResponse = models.ListRejectedQuestionPreviewResponse;
|
|
77
|
+
const DescribeCorpRequest = models.DescribeCorpRequest;
|
|
78
|
+
const ListAppCategoryResponse = models.ListAppCategoryResponse;
|
|
79
|
+
const CreateAppResponse = models.CreateAppResponse;
|
|
55
80
|
const DescribeAttributeLabelRequest = models.DescribeAttributeLabelRequest;
|
|
81
|
+
const CreateQARequest = models.CreateQARequest;
|
|
56
82
|
const KnowledgeSummary = models.KnowledgeSummary;
|
|
83
|
+
const TaskFlowSummary = models.TaskFlowSummary;
|
|
57
84
|
const CreateCorpRequest = models.CreateCorpRequest;
|
|
58
85
|
const RetryDocParseRequest = models.RetryDocParseRequest;
|
|
86
|
+
const ListQaItem = models.ListQaItem;
|
|
87
|
+
const DeleteAttributeLabelRequest = models.DeleteAttributeLabelRequest;
|
|
59
88
|
const DescribeRobotBizIDByAppKeyResponse = models.DescribeRobotBizIDByAppKeyResponse;
|
|
89
|
+
const RenameDocResponse = models.RenameDocResponse;
|
|
90
|
+
const ListDocCateRequest = models.ListDocCateRequest;
|
|
60
91
|
const DescribeDocResponse = models.DescribeDocResponse;
|
|
61
92
|
const CreateReleaseRequest = models.CreateReleaseRequest;
|
|
62
93
|
const Label = models.Label;
|
|
63
94
|
const AgentProcedure = models.AgentProcedure;
|
|
64
95
|
const KnowledgeQaOutput = models.KnowledgeQaOutput;
|
|
96
|
+
const ModifyRejectedQuestionRequest = models.ModifyRejectedQuestionRequest;
|
|
65
97
|
const ApiVarAttrInfo = models.ApiVarAttrInfo;
|
|
66
98
|
const AgentThought = models.AgentThought;
|
|
67
|
-
const
|
|
99
|
+
const GroupDocRequest = models.GroupDocRequest;
|
|
100
|
+
const CheckAttributeLabelReferRequest = models.CheckAttributeLabelReferRequest;
|
|
68
101
|
const ModifyQACateRequest = models.ModifyQACateRequest;
|
|
69
102
|
const SearchStrategy = models.SearchStrategy;
|
|
70
103
|
const ModifyAttributeLabelRequest = models.ModifyAttributeLabelRequest;
|
|
71
104
|
const ProcedureDebugging = models.ProcedureDebugging;
|
|
72
105
|
const AttributeLabel = models.AttributeLabel;
|
|
73
106
|
const Option = models.Option;
|
|
74
|
-
const
|
|
75
|
-
const
|
|
107
|
+
const ListUnsatisfiedReplyResponse = models.ListUnsatisfiedReplyResponse;
|
|
108
|
+
const GetAppSecretRequest = models.GetAppSecretRequest;
|
|
109
|
+
const ModelParameter = models.ModelParameter;
|
|
76
110
|
const DeleteQACateResponse = models.DeleteQACateResponse;
|
|
111
|
+
const SaveDocResponse = models.SaveDocResponse;
|
|
112
|
+
const ListReleaseDocPreviewResponse = models.ListReleaseDocPreviewResponse;
|
|
113
|
+
const RenameDocRequest = models.RenameDocRequest;
|
|
77
114
|
const SummaryConfig = models.SummaryConfig;
|
|
78
115
|
const GenerateQAResponse = models.GenerateQAResponse;
|
|
79
116
|
const GetTaskStatusResponse = models.GetTaskStatusResponse;
|
|
80
|
-
const
|
|
117
|
+
const DescribeConcurrencyUsageGraphRequest = models.DescribeConcurrencyUsageGraphRequest;
|
|
81
118
|
const DescribeDocRequest = models.DescribeDocRequest;
|
|
82
119
|
const AgentProcedureDebugging = models.AgentProcedureDebugging;
|
|
83
120
|
const DescribeTokenUsageGraphRequest = models.DescribeTokenUsageGraphRequest;
|
|
84
121
|
const RetryDocAuditRequest = models.RetryDocAuditRequest;
|
|
122
|
+
const VoiceConfig = models.VoiceConfig;
|
|
85
123
|
const SaveDocRequest = models.SaveDocRequest;
|
|
86
|
-
const
|
|
124
|
+
const ReconstructDocumentFailedPage = models.ReconstructDocumentFailedPage;
|
|
125
|
+
const ListAppKnowledgeDetailResponse = models.ListAppKnowledgeDetailResponse;
|
|
126
|
+
const ModifyQACateResponse = models.ModifyQACateResponse;
|
|
127
|
+
const DescribeAttributeLabelResponse = models.DescribeAttributeLabelResponse;
|
|
87
128
|
const KnowledgeQaSingleWorkflow = models.KnowledgeQaSingleWorkflow;
|
|
129
|
+
const ListQACateResponse = models.ListQACateResponse;
|
|
88
130
|
const RetryDocParseResponse = models.RetryDocParseResponse;
|
|
89
|
-
const
|
|
131
|
+
const CreateRejectedQuestionResponse = models.CreateRejectedQuestionResponse;
|
|
132
|
+
const ListReleaseQAPreviewResponse = models.ListReleaseQAPreviewResponse;
|
|
90
133
|
const ExportUnsatisfiedReplyRequest = models.ExportUnsatisfiedReplyRequest;
|
|
134
|
+
const GroupQAResponse = models.GroupQAResponse;
|
|
91
135
|
const QuoteInfo = models.QuoteInfo;
|
|
136
|
+
const CreateAppRequest = models.CreateAppRequest;
|
|
92
137
|
const AppConfig = models.AppConfig;
|
|
93
138
|
const DescribeReleaseRequest = models.DescribeReleaseRequest;
|
|
94
|
-
const
|
|
139
|
+
const ReleaseQA = models.ReleaseQA;
|
|
140
|
+
const ListAppCategoryRequest = models.ListAppCategoryRequest;
|
|
95
141
|
const ListReleaseConfigPreviewRequest = models.ListReleaseConfigPreviewRequest;
|
|
96
142
|
const CallDetail = models.CallDetail;
|
|
97
|
-
const
|
|
143
|
+
const DocFilterFlag = models.DocFilterFlag;
|
|
144
|
+
const ListReleaseDocPreviewRequest = models.ListReleaseDocPreviewRequest;
|
|
98
145
|
const TokenStat = models.TokenStat;
|
|
146
|
+
const DocSegment = models.DocSegment;
|
|
147
|
+
const UnsatisfiedReply = models.UnsatisfiedReply;
|
|
99
148
|
const DescribeUnsatisfiedReplyContextResponse = models.DescribeUnsatisfiedReplyContextResponse;
|
|
100
149
|
const ModifyDocAttrRangeRequest = models.ModifyDocAttrRangeRequest;
|
|
101
150
|
const DigitalHumanConfig = models.DigitalHumanConfig;
|
|
102
|
-
const
|
|
151
|
+
const CreateRejectedQuestionRequest = models.CreateRejectedQuestionRequest;
|
|
103
152
|
const DescribeKnowledgeUsagePieGraphRequest = models.DescribeKnowledgeUsagePieGraphRequest;
|
|
104
153
|
const AttrLabelDetail = models.AttrLabelDetail;
|
|
105
|
-
const
|
|
106
|
-
const
|
|
154
|
+
const DescribeReferResponse = models.DescribeReferResponse;
|
|
155
|
+
const Context = models.Context;
|
|
156
|
+
const ListDocRequest = models.ListDocRequest;
|
|
107
157
|
const QAQuery = models.QAQuery;
|
|
108
|
-
const
|
|
109
|
-
const
|
|
158
|
+
const GroupQARequest = models.GroupQARequest;
|
|
159
|
+
const DescribeCallStatsGraphRequest = models.DescribeCallStatsGraphRequest;
|
|
160
|
+
const GetMsgRecordResponse = models.GetMsgRecordResponse;
|
|
161
|
+
const DescribeAppRequest = models.DescribeAppRequest;
|
|
162
|
+
const GetReconstructDocumentResultRequest = models.GetReconstructDocumentResultRequest;
|
|
110
163
|
const DescribeKnowledgeUsageRequest = models.DescribeKnowledgeUsageRequest;
|
|
164
|
+
const ListQAResponse = models.ListQAResponse;
|
|
111
165
|
const IgnoreUnsatisfiedReplyRequest = models.IgnoreUnsatisfiedReplyRequest;
|
|
112
166
|
const DescribeReleaseResponse = models.DescribeReleaseResponse;
|
|
113
167
|
const DescribeConcurrencyUsageGraphResponse = models.DescribeConcurrencyUsageGraphResponse;
|
|
168
|
+
const ListDocItem = models.ListDocItem;
|
|
169
|
+
const VerifyQARequest = models.VerifyQARequest;
|
|
114
170
|
const RateMsgRecordRequest = models.RateMsgRecordRequest;
|
|
115
171
|
const AppModel = models.AppModel;
|
|
116
172
|
const Stat = models.Stat;
|
|
117
173
|
const DescribeKnowledgeUsagePieGraphResponse = models.DescribeKnowledgeUsagePieGraphResponse;
|
|
174
|
+
const ListRejectedQuestionResponse = models.ListRejectedQuestionResponse;
|
|
118
175
|
const ClassifyLabel = models.ClassifyLabel;
|
|
119
176
|
const DescribeTokenUsageGraphResponse = models.DescribeTokenUsageGraphResponse;
|
|
120
177
|
const SimilarQuestionModify = models.SimilarQuestionModify;
|
|
121
178
|
const WorkflowRunNodeInfo = models.WorkflowRunNodeInfo;
|
|
122
179
|
const StatisticInfo = models.StatisticInfo;
|
|
123
180
|
const RetryDocAuditResponse = models.RetryDocAuditResponse;
|
|
181
|
+
const GetReconstructDocumentResultResponse = models.GetReconstructDocumentResultResponse;
|
|
124
182
|
const ModifyDocCateRequest = models.ModifyDocCateRequest;
|
|
125
183
|
const RetryReleaseResponse = models.RetryReleaseResponse;
|
|
184
|
+
const GetLikeDataCountRequest = models.GetLikeDataCountRequest;
|
|
126
185
|
const DeleteRejectedQuestionResponse = models.DeleteRejectedQuestionResponse;
|
|
127
|
-
const
|
|
186
|
+
const Credentials = models.Credentials;
|
|
128
187
|
const MsgFileInfo = models.MsgFileInfo;
|
|
188
|
+
const CreateAttributeLabelRequest = models.CreateAttributeLabelRequest;
|
|
129
189
|
const ListAppResponse = models.ListAppResponse;
|
|
130
190
|
const AppInfo = models.AppInfo;
|
|
191
|
+
const CateInfo = models.CateInfo;
|
|
131
192
|
const CreateReconstructDocumentFlowRequest = models.CreateReconstructDocumentFlowRequest;
|
|
132
193
|
const ValueInfo = models.ValueInfo;
|
|
133
194
|
const KnowledgeQaConfig = models.KnowledgeQaConfig;
|
|
134
195
|
const RejectedQuestion = models.RejectedQuestion;
|
|
135
196
|
const MsgRecordReference = models.MsgRecordReference;
|
|
136
197
|
const AICallConfig = models.AICallConfig;
|
|
198
|
+
const ListRejectedQuestionPreviewRequest = models.ListRejectedQuestionPreviewRequest;
|
|
137
199
|
const ListReleaseConfigPreviewResponse = models.ListReleaseConfigPreviewResponse;
|
|
200
|
+
const ModelInfo = models.ModelInfo;
|
|
138
201
|
const DeleteRejectedQuestionRequest = models.DeleteRejectedQuestionRequest;
|
|
202
|
+
const Highlight = models.Highlight;
|
|
139
203
|
const FileInfo = models.FileInfo;
|
|
140
204
|
const ExportQAListRequest = models.ExportQAListRequest;
|
|
141
|
-
const
|
|
205
|
+
const GetDocPreviewResponse = models.GetDocPreviewResponse;
|
|
142
206
|
const DescribeConcurrencyUsageResponse = models.DescribeConcurrencyUsageResponse;
|
|
143
207
|
const CreateReleaseResponse = models.CreateReleaseResponse;
|
|
144
208
|
const ModifyAppRequest = models.ModifyAppRequest;
|
|
209
|
+
const KnowledgeDetail = models.KnowledgeDetail;
|
|
210
|
+
const DeleteAttributeLabelResponse = models.DeleteAttributeLabelResponse;
|
|
145
211
|
const RetryReleaseRequest = models.RetryReleaseRequest;
|
|
212
|
+
const KnowledgeQaPlugin = models.KnowledgeQaPlugin;
|
|
146
213
|
const IntentAchievement = models.IntentAchievement;
|
|
147
214
|
const DeleteQACateRequest = models.DeleteQACateRequest;
|
|
148
215
|
const GenerateQARequest = models.GenerateQARequest;
|
|
149
216
|
const GetWsTokenRequest = models.GetWsTokenRequest;
|
|
150
|
-
const
|
|
217
|
+
const QACate = models.QACate;
|
|
151
218
|
const ModifyAttributeLabelResponse = models.ModifyAttributeLabelResponse;
|
|
152
219
|
const ModifyDocRequest = models.ModifyDocRequest;
|
|
153
220
|
const DescribeTokenUsageResponse = models.DescribeTokenUsageResponse;
|
|
154
221
|
const DeleteAppResponse = models.DeleteAppResponse;
|
|
155
222
|
const SearchRange = models.SearchRange;
|
|
156
223
|
const ListAttributeLabelRequest = models.ListAttributeLabelRequest;
|
|
224
|
+
const DeleteDocCateRequest = models.DeleteDocCateRequest;
|
|
157
225
|
const AgentReference = models.AgentReference;
|
|
158
226
|
const DeleteDocResponse = models.DeleteDocResponse;
|
|
159
227
|
const BaseConfig = models.BaseConfig;
|
|
228
|
+
const DescribeSegmentsResponse = models.DescribeSegmentsResponse;
|
|
229
|
+
const SimilarQuestion = models.SimilarQuestion;
|
|
160
230
|
const ClassifyConfig = models.ClassifyConfig;
|
|
161
231
|
const DescribeConcurrencyUsageRequest = models.DescribeConcurrencyUsageRequest;
|
|
232
|
+
const GroupDocResponse = models.GroupDocResponse;
|
|
162
233
|
const UploadAttributeLabelRequest = models.UploadAttributeLabelRequest;
|
|
163
234
|
const ListUsageCallDetailResponse = models.ListUsageCallDetailResponse;
|
|
235
|
+
const ExportAttributeLabelRequest = models.ExportAttributeLabelRequest;
|
|
164
236
|
const DescribeTokenUsageRequest = models.DescribeTokenUsageRequest;
|
|
165
|
-
const
|
|
237
|
+
const GetAppKnowledgeCountResponse = models.GetAppKnowledgeCountResponse;
|
|
238
|
+
const CreateAttributeLabelResponse = models.CreateAttributeLabelResponse;
|
|
239
|
+
const ListAppKnowledgeDetailRequest = models.ListAppKnowledgeDetailRequest;
|
|
240
|
+
const CreateQAResponse = models.CreateQAResponse;
|
|
166
241
|
const ListQACateRequest = models.ListQACateRequest;
|
|
167
|
-
const
|
|
242
|
+
const ListReleaseQAPreviewRequest = models.ListReleaseQAPreviewRequest;
|
|
243
|
+
const DescribeReleaseInfoResponse = models.DescribeReleaseInfoResponse;
|
|
244
|
+
const DescribeAppResponse = models.DescribeAppResponse;
|
|
168
245
|
const DeleteAppRequest = models.DeleteAppRequest;
|
|
246
|
+
const ModifyRejectedQuestionResponse = models.ModifyRejectedQuestionResponse;
|
|
169
247
|
const WorkFlowSummary = models.WorkFlowSummary;
|
|
170
248
|
const TaskParams = models.TaskParams;
|
|
171
|
-
const
|
|
249
|
+
const ListAppCategoryRspOption = models.ListAppCategoryRspOption;
|
|
250
|
+
const DescribeStorageCredentialRequest = models.DescribeStorageCredentialRequest;
|
|
172
251
|
const QAList = models.QAList;
|
|
252
|
+
const DescribeCorpResponse = models.DescribeCorpResponse;
|
|
173
253
|
const ModifyDocCateResponse = models.ModifyDocCateResponse;
|
|
174
|
-
const
|
|
254
|
+
const ListReleaseResponse = models.ListReleaseResponse;
|
|
255
|
+
const ListModelResponse = models.ListModelResponse;
|
|
256
|
+
const ListAttributeLabelResponse = models.ListAttributeLabelResponse;
|
|
257
|
+
const ListReleaseItem = models.ListReleaseItem;
|
|
175
258
|
const ModifyQAResponse = models.ModifyQAResponse;
|
|
176
259
|
const DeleteQAResponse = models.DeleteQAResponse;
|
|
177
260
|
const DescribeCallStatsGraphResponse = models.DescribeCallStatsGraphResponse;
|
|
178
261
|
const GetMsgRecordRequest = models.GetMsgRecordRequest;
|
|
179
|
-
const
|
|
262
|
+
const DescribeStorageCredentialResponse = models.DescribeStorageCredentialResponse;
|
|
263
|
+
const CheckAttributeLabelExistResponse = models.CheckAttributeLabelExistResponse;
|
|
264
|
+
const StrValue = models.StrValue;
|
|
180
265
|
const GetTaskStatusRequest = models.GetTaskStatusRequest;
|
|
266
|
+
const CheckAttributeLabelReferResponse = models.CheckAttributeLabelReferResponse;
|
|
181
267
|
const RateMsgRecordResponse = models.RateMsgRecordResponse;
|
|
182
268
|
const PluginToolReqParam = models.PluginToolReqParam;
|
|
269
|
+
const ReleaseRejectedQuestion = models.ReleaseRejectedQuestion;
|
|
270
|
+
const CreateQACateRequest = models.CreateQACateRequest;
|
|
183
271
|
const DescribeRobotBizIDByAppKeyRequest = models.DescribeRobotBizIDByAppKeyRequest;
|
|
184
|
-
const
|
|
272
|
+
const ExportUnsatisfiedReplyResponse = models.ExportUnsatisfiedReplyResponse;
|
|
185
273
|
const CreateReconstructDocumentFlowResponse = models.CreateReconstructDocumentFlowResponse;
|
|
186
274
|
const HistorySummary = models.HistorySummary;
|
|
187
275
|
const VerifyQAResponse = models.VerifyQAResponse;
|
|
188
276
|
const ReleaseConfigs = models.ReleaseConfigs;
|
|
277
|
+
const DescribeSegmentsRequest = models.DescribeSegmentsRequest;
|
|
189
278
|
const DescribeSearchStatsGraphRequest = models.DescribeSearchStatsGraphRequest;
|
|
190
279
|
const DescribeSearchStatsGraphResponse = models.DescribeSearchStatsGraphResponse;
|
|
191
280
|
const Filters = models.Filters;
|
|
281
|
+
const DescribeReferRequest = models.DescribeReferRequest;
|
|
192
282
|
const IgnoreUnsatisfiedReplyResponse = models.IgnoreUnsatisfiedReplyResponse;
|
|
283
|
+
const StopDocParseRequest = models.StopDocParseRequest;
|
|
193
284
|
const KnowledgeWorkflow = models.KnowledgeWorkflow;
|
|
285
|
+
const ListModelRequest = models.ListModelRequest;
|
|
194
286
|
const ListSelectDocRequest = models.ListSelectDocRequest;
|
|
195
287
|
|
|
196
288
|
|
|
@@ -204,17 +296,6 @@ class LkeClient extends AbstractClient {
|
|
|
204
296
|
super("lke.intl.tencentcloudapi.com", "2023-11-30", credential, region, profile);
|
|
205
297
|
}
|
|
206
298
|
|
|
207
|
-
/**
|
|
208
|
-
* This API is used to query the knowledge library usage.
|
|
209
|
-
* @param {DescribeKnowledgeUsageRequest} req
|
|
210
|
-
* @param {function(string, DescribeKnowledgeUsageResponse):void} cb
|
|
211
|
-
* @public
|
|
212
|
-
*/
|
|
213
|
-
DescribeKnowledgeUsage(req, cb) {
|
|
214
|
-
let resp = new DescribeKnowledgeUsageResponse();
|
|
215
|
-
this.request("DescribeKnowledgeUsage", req, resp, cb);
|
|
216
|
-
}
|
|
217
|
-
|
|
218
299
|
/**
|
|
219
300
|
* This API is used to query a list of dissatisfied responses.
|
|
220
301
|
* @param {ListUnsatisfiedReplyRequest} req
|
|
@@ -227,52 +308,14 @@ class LkeClient extends AbstractClient {
|
|
|
227
308
|
}
|
|
228
309
|
|
|
229
310
|
/**
|
|
230
|
-
* This API is used to delete
|
|
231
|
-
* @param {
|
|
232
|
-
* @param {function(string,
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
DeleteQA(req, cb) {
|
|
236
|
-
let resp = new DeleteQAResponse();
|
|
237
|
-
this.request("DeleteQA", req, resp, cb);
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
/**
|
|
241
|
-
* This API is used to save a knowledge base document Q&As.
|
|
242
|
-
Three steps to store a file in the knowledge library of the application:
|
|
243
|
-
1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/TCADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
|
|
244
|
-
2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of TCADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
|
|
245
|
-
3. Call this API to store the basic information of the file in TCADP.
|
|
246
|
-
For the above steps, see [Documentation](https://cloud.tencent.com/document/product/1759/108903). At the end of the documentation, there is a [code demo](https://cloud.tencent.com/document/product/1759/108903#demo), which can be used as a reference.
|
|
247
|
-
* @param {SaveDocRequest} req
|
|
248
|
-
* @param {function(string, SaveDocResponse):void} cb
|
|
249
|
-
* @public
|
|
250
|
-
*/
|
|
251
|
-
SaveDoc(req, cb) {
|
|
252
|
-
let resp = new SaveDocResponse();
|
|
253
|
-
this.request("SaveDoc", req, resp, cb);
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
/**
|
|
257
|
-
* This API is used to modify Doc categories.
|
|
258
|
-
* @param {ModifyDocCateRequest} req
|
|
259
|
-
* @param {function(string, ModifyDocCateResponse):void} cb
|
|
260
|
-
* @public
|
|
261
|
-
*/
|
|
262
|
-
ModifyDocCate(req, cb) {
|
|
263
|
-
let resp = new ModifyDocCateResponse();
|
|
264
|
-
this.request("ModifyDocCate", req, resp, cb);
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
/**
|
|
268
|
-
* This API is used to update Q&As.
|
|
269
|
-
* @param {ModifyQARequest} req
|
|
270
|
-
* @param {function(string, ModifyQAResponse):void} cb
|
|
311
|
+
* This API is used to delete attribute labels.
|
|
312
|
+
* @param {DeleteAttributeLabelRequest} req
|
|
313
|
+
* @param {function(string, DeleteAttributeLabelResponse):void} cb
|
|
271
314
|
* @public
|
|
272
315
|
*/
|
|
273
|
-
|
|
274
|
-
let resp = new
|
|
275
|
-
this.request("
|
|
316
|
+
DeleteAttributeLabel(req, cb) {
|
|
317
|
+
let resp = new DeleteAttributeLabelResponse();
|
|
318
|
+
this.request("DeleteAttributeLabel", req, resp, cb);
|
|
276
319
|
}
|
|
277
320
|
|
|
278
321
|
/**
|
|
@@ -287,25 +330,25 @@ For the above steps, see [Documentation](https://cloud.tencent.com/document/prod
|
|
|
287
330
|
}
|
|
288
331
|
|
|
289
332
|
/**
|
|
290
|
-
* This API is used to
|
|
291
|
-
* @param {
|
|
292
|
-
* @param {function(string,
|
|
333
|
+
* This API is used to modify Q&A applicable scope in batches.
|
|
334
|
+
* @param {ModifyQAAttrRangeRequest} req
|
|
335
|
+
* @param {function(string, ModifyQAAttrRangeResponse):void} cb
|
|
293
336
|
* @public
|
|
294
337
|
*/
|
|
295
|
-
|
|
296
|
-
let resp = new
|
|
297
|
-
this.request("
|
|
338
|
+
ModifyQAAttrRange(req, cb) {
|
|
339
|
+
let resp = new ModifyQAAttrRangeResponse();
|
|
340
|
+
this.request("ModifyQAAttrRange", req, resp, cb);
|
|
298
341
|
}
|
|
299
342
|
|
|
300
343
|
/**
|
|
301
|
-
* This
|
|
302
|
-
* @param {
|
|
303
|
-
* @param {function(string,
|
|
344
|
+
* This is an asynchronous APIs, used to get document parsing task results.
|
|
345
|
+
* @param {GetReconstructDocumentResultRequest} req
|
|
346
|
+
* @param {function(string, GetReconstructDocumentResultResponse):void} cb
|
|
304
347
|
* @public
|
|
305
348
|
*/
|
|
306
|
-
|
|
307
|
-
let resp = new
|
|
308
|
-
this.request("
|
|
349
|
+
GetReconstructDocumentResult(req, cb) {
|
|
350
|
+
let resp = new GetReconstructDocumentResultResponse();
|
|
351
|
+
this.request("GetReconstructDocumentResult", req, resp, cb);
|
|
309
352
|
}
|
|
310
353
|
|
|
311
354
|
/**
|
|
@@ -319,17 +362,6 @@ For the above steps, see [Documentation](https://cloud.tencent.com/document/prod
|
|
|
319
362
|
this.request("ListSelectDoc", req, resp, cb);
|
|
320
363
|
}
|
|
321
364
|
|
|
322
|
-
/**
|
|
323
|
-
* This API is used to get the context of dissatisfied responses.
|
|
324
|
-
* @param {DescribeUnsatisfiedReplyContextRequest} req
|
|
325
|
-
* @param {function(string, DescribeUnsatisfiedReplyContextResponse):void} cb
|
|
326
|
-
* @public
|
|
327
|
-
*/
|
|
328
|
-
DescribeUnsatisfiedReplyContext(req, cb) {
|
|
329
|
-
let resp = new DescribeUnsatisfiedReplyContextResponse();
|
|
330
|
-
this.request("DescribeUnsatisfiedReplyContext", req, resp, cb);
|
|
331
|
-
}
|
|
332
|
-
|
|
333
365
|
/**
|
|
334
366
|
* This API is used to modify applicable scope of the document in batches.
|
|
335
367
|
* @param {ModifyDocAttrRangeRequest} req
|
|
@@ -352,6 +384,28 @@ For the above steps, see [Documentation](https://cloud.tencent.com/document/prod
|
|
|
352
384
|
this.request("CreateRelease", req, resp, cb);
|
|
353
385
|
}
|
|
354
386
|
|
|
387
|
+
/**
|
|
388
|
+
* This API is used to delete Q&As.
|
|
389
|
+
* @param {DeleteQARequest} req
|
|
390
|
+
* @param {function(string, DeleteQAResponse):void} cb
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
DeleteQA(req, cb) {
|
|
394
|
+
let resp = new DeleteQAResponse();
|
|
395
|
+
this.request("DeleteQA", req, resp, cb);
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* This API is used to create attributes.
|
|
400
|
+
* @param {CreateAttributeLabelRequest} req
|
|
401
|
+
* @param {function(string, CreateAttributeLabelResponse):void} cb
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
CreateAttributeLabel(req, cb) {
|
|
405
|
+
let resp = new CreateAttributeLabelResponse();
|
|
406
|
+
this.request("CreateAttributeLabel", req, resp, cb);
|
|
407
|
+
}
|
|
408
|
+
|
|
355
409
|
/**
|
|
356
410
|
* This API is used to retry document parsing.
|
|
357
411
|
* @param {RetryDocAuditRequest} req
|
|
@@ -364,434 +418,879 @@ For the above steps, see [Documentation](https://cloud.tencent.com/document/prod
|
|
|
364
418
|
}
|
|
365
419
|
|
|
366
420
|
/**
|
|
367
|
-
* This API is used to
|
|
368
|
-
* @param {
|
|
369
|
-
* @param {function(string,
|
|
421
|
+
* This API is used to query attribute label details.
|
|
422
|
+
* @param {DescribeAttributeLabelRequest} req
|
|
423
|
+
* @param {function(string, DescribeAttributeLabelResponse):void} cb
|
|
370
424
|
* @public
|
|
371
425
|
*/
|
|
372
|
-
|
|
373
|
-
let resp = new
|
|
374
|
-
this.request("
|
|
426
|
+
DescribeAttributeLabel(req, cb) {
|
|
427
|
+
let resp = new DescribeAttributeLabelResponse();
|
|
428
|
+
this.request("DescribeAttributeLabel", req, resp, cb);
|
|
375
429
|
}
|
|
376
430
|
|
|
377
431
|
/**
|
|
378
|
-
* This API is used to
|
|
379
|
-
* @param {
|
|
380
|
-
* @param {function(string,
|
|
432
|
+
* This API is used to release a preview of rejected questions.
|
|
433
|
+
* @param {ListRejectedQuestionPreviewRequest} req
|
|
434
|
+
* @param {function(string, ListRejectedQuestionPreviewResponse):void} cb
|
|
381
435
|
* @public
|
|
382
436
|
*/
|
|
383
|
-
|
|
384
|
-
let resp = new
|
|
385
|
-
this.request("
|
|
437
|
+
ListRejectedQuestionPreview(req, cb) {
|
|
438
|
+
let resp = new ListRejectedQuestionPreviewResponse();
|
|
439
|
+
this.request("ListRejectedQuestionPreview", req, resp, cb);
|
|
386
440
|
}
|
|
387
441
|
|
|
388
442
|
/**
|
|
389
|
-
* This API is used to
|
|
390
|
-
* @param {
|
|
391
|
-
* @param {function(string,
|
|
443
|
+
* This API is used to retry document parsing.
|
|
444
|
+
* @param {RetryDocParseRequest} req
|
|
445
|
+
* @param {function(string, RetryDocParseResponse):void} cb
|
|
392
446
|
* @public
|
|
393
447
|
*/
|
|
394
|
-
|
|
395
|
-
let resp = new
|
|
396
|
-
this.request("
|
|
448
|
+
RetryDocParse(req, cb) {
|
|
449
|
+
let resp = new RetryDocParseResponse();
|
|
450
|
+
this.request("RetryDocParse", req, resp, cb);
|
|
397
451
|
}
|
|
398
452
|
|
|
399
453
|
/**
|
|
400
|
-
* This API is used to
|
|
401
|
-
* @param {
|
|
402
|
-
* @param {function(string,
|
|
454
|
+
* This API is used to enter Q&As.
|
|
455
|
+
* @param {CreateQARequest} req
|
|
456
|
+
* @param {function(string, CreateQAResponse):void} cb
|
|
403
457
|
* @public
|
|
404
458
|
*/
|
|
405
|
-
|
|
406
|
-
let resp = new
|
|
407
|
-
this.request("
|
|
459
|
+
CreateQA(req, cb) {
|
|
460
|
+
let resp = new CreateQAResponse();
|
|
461
|
+
this.request("CreateQA", req, resp, cb);
|
|
408
462
|
}
|
|
409
463
|
|
|
410
464
|
/**
|
|
411
|
-
* This API is used to
|
|
412
|
-
* @param {
|
|
413
|
-
* @param {function(string,
|
|
465
|
+
* This API is used to show API call token line chart.
|
|
466
|
+
* @param {DescribeTokenUsageGraphRequest} req
|
|
467
|
+
* @param {function(string, DescribeTokenUsageGraphResponse):void} cb
|
|
414
468
|
* @public
|
|
415
469
|
*/
|
|
416
|
-
|
|
417
|
-
let resp = new
|
|
418
|
-
this.request("
|
|
470
|
+
DescribeTokenUsageGraph(req, cb) {
|
|
471
|
+
let resp = new DescribeTokenUsageGraphResponse();
|
|
472
|
+
this.request("DescribeTokenUsageGraph", req, resp, cb);
|
|
419
473
|
}
|
|
420
474
|
|
|
421
475
|
/**
|
|
422
|
-
* This API is used to
|
|
423
|
-
* @param {
|
|
424
|
-
* @param {function(string,
|
|
476
|
+
* This API is used to generate Q%A from document.
|
|
477
|
+
* @param {GenerateQARequest} req
|
|
478
|
+
* @param {function(string, GenerateQAResponse):void} cb
|
|
425
479
|
* @public
|
|
426
480
|
*/
|
|
427
|
-
|
|
428
|
-
let resp = new
|
|
429
|
-
this.request("
|
|
481
|
+
GenerateQA(req, cb) {
|
|
482
|
+
let resp = new GenerateQAResponse();
|
|
483
|
+
this.request("GenerateQA", req, resp, cb);
|
|
430
484
|
}
|
|
431
485
|
|
|
432
486
|
/**
|
|
433
|
-
* This API is used to
|
|
434
|
-
* @param {
|
|
435
|
-
* @param {function(string,
|
|
487
|
+
* This API is used to obtain application details under the corporate.
|
|
488
|
+
* @param {DescribeAppRequest} req
|
|
489
|
+
* @param {function(string, DescribeAppResponse):void} cb
|
|
436
490
|
* @public
|
|
437
491
|
*/
|
|
438
|
-
|
|
439
|
-
let resp = new
|
|
440
|
-
this.request("
|
|
492
|
+
DescribeApp(req, cb) {
|
|
493
|
+
let resp = new DescribeAppResponse();
|
|
494
|
+
this.request("DescribeApp", req, resp, cb);
|
|
441
495
|
}
|
|
442
496
|
|
|
443
497
|
/**
|
|
444
|
-
* This API is used to
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
* @param {CreateReconstructDocumentFlowRequest} req
|
|
448
|
-
* @param {function(string, CreateReconstructDocumentFlowResponse):void} cb
|
|
498
|
+
* This API is used to get ws token.
|
|
499
|
+
* @param {GetWsTokenRequest} req
|
|
500
|
+
* @param {function(string, GetWsTokenResponse):void} cb
|
|
449
501
|
* @public
|
|
450
502
|
*/
|
|
451
|
-
|
|
452
|
-
let resp = new
|
|
453
|
-
this.request("
|
|
503
|
+
GetWsToken(req, cb) {
|
|
504
|
+
let resp = new GetWsTokenResponse();
|
|
505
|
+
this.request("GetWsToken", req, resp, cb);
|
|
454
506
|
}
|
|
455
507
|
|
|
456
508
|
/**
|
|
457
|
-
* This API is used to
|
|
458
|
-
* @param {
|
|
459
|
-
* @param {function(string,
|
|
509
|
+
* This API is used to query attribute label lists.
|
|
510
|
+
* @param {ListAttributeLabelRequest} req
|
|
511
|
+
* @param {function(string, ListAttributeLabelResponse):void} cb
|
|
460
512
|
* @public
|
|
461
513
|
*/
|
|
462
|
-
|
|
463
|
-
let resp = new
|
|
464
|
-
this.request("
|
|
514
|
+
ListAttributeLabel(req, cb) {
|
|
515
|
+
let resp = new ListAttributeLabelResponse();
|
|
516
|
+
this.request("ListAttributeLabel", req, resp, cb);
|
|
465
517
|
}
|
|
466
518
|
|
|
467
519
|
/**
|
|
468
|
-
* This API is used to
|
|
469
|
-
* @param {
|
|
470
|
-
* @param {function(string,
|
|
520
|
+
* This API is used to preview the release configuration items.
|
|
521
|
+
* @param {ListReleaseConfigPreviewRequest} req
|
|
522
|
+
* @param {function(string, ListReleaseConfigPreviewResponse):void} cb
|
|
471
523
|
* @public
|
|
472
524
|
*/
|
|
473
|
-
|
|
474
|
-
let resp = new
|
|
475
|
-
this.request("
|
|
525
|
+
ListReleaseConfigPreview(req, cb) {
|
|
526
|
+
let resp = new ListReleaseConfigPreviewResponse();
|
|
527
|
+
this.request("ListReleaseConfigPreview", req, resp, cb);
|
|
476
528
|
}
|
|
477
529
|
|
|
478
530
|
/**
|
|
479
|
-
* This API is used to query
|
|
480
|
-
* @param {
|
|
481
|
-
* @param {function(string,
|
|
531
|
+
* This API is used to query line chart of search service calls.
|
|
532
|
+
* @param {DescribeSearchStatsGraphRequest} req
|
|
533
|
+
* @param {function(string, DescribeSearchStatsGraphResponse):void} cb
|
|
482
534
|
* @public
|
|
483
535
|
*/
|
|
484
|
-
|
|
485
|
-
let resp = new
|
|
486
|
-
this.request("
|
|
536
|
+
DescribeSearchStatsGraph(req, cb) {
|
|
537
|
+
let resp = new DescribeSearchStatsGraphResponse();
|
|
538
|
+
this.request("DescribeSearchStatsGraph", req, resp, cb);
|
|
487
539
|
}
|
|
488
540
|
|
|
489
541
|
/**
|
|
490
|
-
* This API is used to
|
|
491
|
-
* @param {
|
|
492
|
-
* @param {function(string,
|
|
542
|
+
* This API is used to delete Doc categories.
|
|
543
|
+
* @param {DeleteDocCateRequest} req
|
|
544
|
+
* @param {function(string, DeleteDocCateResponse):void} cb
|
|
493
545
|
* @public
|
|
494
546
|
*/
|
|
495
|
-
|
|
496
|
-
let resp = new
|
|
497
|
-
this.request("
|
|
547
|
+
DeleteDocCate(req, cb) {
|
|
548
|
+
let resp = new DeleteDocCateResponse();
|
|
549
|
+
this.request("DeleteDocCate", req, resp, cb);
|
|
498
550
|
}
|
|
499
551
|
|
|
500
552
|
/**
|
|
501
|
-
* This API is used to
|
|
502
|
-
* @param {
|
|
503
|
-
* @param {function(string,
|
|
553
|
+
* This API is used to verify Q&A.
|
|
554
|
+
* @param {VerifyQARequest} req
|
|
555
|
+
* @param {function(string, VerifyQAResponse):void} cb
|
|
504
556
|
* @public
|
|
505
557
|
*/
|
|
506
|
-
|
|
507
|
-
let resp = new
|
|
508
|
-
this.request("
|
|
558
|
+
VerifyQA(req, cb) {
|
|
559
|
+
let resp = new VerifyQAResponse();
|
|
560
|
+
this.request("VerifyQA", req, resp, cb);
|
|
509
561
|
}
|
|
510
562
|
|
|
511
563
|
/**
|
|
512
|
-
* This API is used to
|
|
513
|
-
* @param {
|
|
514
|
-
* @param {function(string,
|
|
564
|
+
* This API is used to create doc categories.
|
|
565
|
+
* @param {CreateDocCateRequest} req
|
|
566
|
+
* @param {function(string, CreateDocCateResponse):void} cb
|
|
515
567
|
* @public
|
|
516
568
|
*/
|
|
517
|
-
|
|
518
|
-
let resp = new
|
|
519
|
-
this.request("
|
|
569
|
+
CreateDocCate(req, cb) {
|
|
570
|
+
let resp = new CreateDocCateResponse();
|
|
571
|
+
this.request("CreateDocCate", req, resp, cb);
|
|
520
572
|
}
|
|
521
573
|
|
|
522
574
|
/**
|
|
523
|
-
* This API is used to
|
|
524
|
-
* @param {
|
|
525
|
-
* @param {function(string,
|
|
575
|
+
* This API is used to check if the label name under an attribute exist.
|
|
576
|
+
* @param {CheckAttributeLabelExistRequest} req
|
|
577
|
+
* @param {function(string, CheckAttributeLabelExistResponse):void} cb
|
|
526
578
|
* @public
|
|
527
579
|
*/
|
|
528
|
-
|
|
529
|
-
let resp = new
|
|
530
|
-
this.request("
|
|
580
|
+
CheckAttributeLabelExist(req, cb) {
|
|
581
|
+
let resp = new CheckAttributeLabelExistResponse();
|
|
582
|
+
this.request("CheckAttributeLabelExist", req, resp, cb);
|
|
531
583
|
}
|
|
532
584
|
|
|
533
585
|
/**
|
|
534
|
-
* This API is used to
|
|
535
|
-
* @param {
|
|
536
|
-
* @param {function(string,
|
|
586
|
+
* This API is used to rename a document.
|
|
587
|
+
* @param {RenameDocRequest} req
|
|
588
|
+
* @param {function(string, RenameDocResponse):void} cb
|
|
537
589
|
* @public
|
|
538
590
|
*/
|
|
539
|
-
|
|
540
|
-
let resp = new
|
|
541
|
-
this.request("
|
|
591
|
+
RenameDoc(req, cb) {
|
|
592
|
+
let resp = new RenameDocResponse();
|
|
593
|
+
this.request("RenameDoc", req, resp, cb);
|
|
542
594
|
}
|
|
543
595
|
|
|
544
596
|
/**
|
|
545
|
-
* This API is used to
|
|
546
|
-
* @param {
|
|
547
|
-
* @param {function(string,
|
|
597
|
+
* This API is used to query document details.
|
|
598
|
+
* @param {DescribeDocRequest} req
|
|
599
|
+
* @param {function(string, DescribeDocResponse):void} cb
|
|
548
600
|
* @public
|
|
549
601
|
*/
|
|
550
|
-
|
|
551
|
-
let resp = new
|
|
552
|
-
this.request("
|
|
602
|
+
DescribeDoc(req, cb) {
|
|
603
|
+
let resp = new DescribeDocResponse();
|
|
604
|
+
this.request("DescribeDoc", req, resp, cb);
|
|
553
605
|
}
|
|
554
606
|
|
|
555
607
|
/**
|
|
556
|
-
* This API is used to
|
|
557
|
-
* @param {
|
|
558
|
-
* @param {function(string,
|
|
608
|
+
* This API is used to query single call details in a list.
|
|
609
|
+
* @param {ListUsageCallDetailRequest} req
|
|
610
|
+
* @param {function(string, ListUsageCallDetailResponse):void} cb
|
|
559
611
|
* @public
|
|
560
612
|
*/
|
|
561
|
-
|
|
562
|
-
let resp = new
|
|
563
|
-
this.request("
|
|
613
|
+
ListUsageCallDetail(req, cb) {
|
|
614
|
+
let resp = new ListUsageCallDetailResponse();
|
|
615
|
+
this.request("ListUsageCallDetail", req, resp, cb);
|
|
564
616
|
}
|
|
565
617
|
|
|
566
618
|
/**
|
|
567
|
-
* This API is used to
|
|
568
|
-
* @param {
|
|
569
|
-
* @param {function(string,
|
|
619
|
+
* This API is used to get the temporary key for file upload.
|
|
620
|
+
* @param {DescribeStorageCredentialRequest} req
|
|
621
|
+
* @param {function(string, DescribeStorageCredentialResponse):void} cb
|
|
570
622
|
* @public
|
|
571
623
|
*/
|
|
572
|
-
|
|
573
|
-
let resp = new
|
|
574
|
-
this.request("
|
|
624
|
+
DescribeStorageCredential(req, cb) {
|
|
625
|
+
let resp = new DescribeStorageCredentialResponse();
|
|
626
|
+
this.request("DescribeStorageCredential", req, resp, cb);
|
|
575
627
|
}
|
|
576
628
|
|
|
577
629
|
/**
|
|
578
|
-
* This API is used to
|
|
579
|
-
* @param {
|
|
580
|
-
* @param {function(string,
|
|
630
|
+
* This API is used to show messages for likes and dislikes.
|
|
631
|
+
* @param {RateMsgRecordRequest} req
|
|
632
|
+
* @param {function(string, RateMsgRecordResponse):void} cb
|
|
581
633
|
* @public
|
|
582
634
|
*/
|
|
583
|
-
|
|
584
|
-
let resp = new
|
|
585
|
-
this.request("
|
|
635
|
+
RateMsgRecord(req, cb) {
|
|
636
|
+
let resp = new RateMsgRecordResponse();
|
|
637
|
+
this.request("RateMsgRecord", req, resp, cb);
|
|
586
638
|
}
|
|
587
639
|
|
|
588
640
|
/**
|
|
589
|
-
*
|
|
590
|
-
* @param {
|
|
591
|
-
* @param {function(string,
|
|
641
|
+
* List of documents.
|
|
642
|
+
* @param {ListReleaseQAPreviewRequest} req
|
|
643
|
+
* @param {function(string, ListReleaseQAPreviewResponse):void} cb
|
|
592
644
|
* @public
|
|
593
645
|
*/
|
|
594
|
-
|
|
595
|
-
let resp = new
|
|
596
|
-
this.request("
|
|
646
|
+
ListReleaseQAPreview(req, cb) {
|
|
647
|
+
let resp = new ListReleaseQAPreviewResponse();
|
|
648
|
+
this.request("ListReleaseQAPreview", req, resp, cb);
|
|
597
649
|
}
|
|
598
650
|
|
|
599
651
|
/**
|
|
600
|
-
* This API is used to
|
|
601
|
-
* @param {
|
|
602
|
-
* @param {function(string,
|
|
652
|
+
* This API is used to modify Q&A categories.
|
|
653
|
+
* @param {ModifyQACateRequest} req
|
|
654
|
+
* @param {function(string, ModifyQACateResponse):void} cb
|
|
603
655
|
* @public
|
|
604
656
|
*/
|
|
605
|
-
|
|
606
|
-
let resp = new
|
|
607
|
-
this.request("
|
|
657
|
+
ModifyQACate(req, cb) {
|
|
658
|
+
let resp = new ModifyQACateResponse();
|
|
659
|
+
this.request("ModifyQACate", req, resp, cb);
|
|
608
660
|
}
|
|
609
661
|
|
|
610
662
|
/**
|
|
611
|
-
* This API is used to
|
|
612
|
-
* @param {
|
|
613
|
-
* @param {function(string,
|
|
663
|
+
* This API is used to delete applications.
|
|
664
|
+
* @param {DeleteAppRequest} req
|
|
665
|
+
* @param {function(string, DeleteAppResponse):void} cb
|
|
614
666
|
* @public
|
|
615
667
|
*/
|
|
616
|
-
|
|
617
|
-
let resp = new
|
|
618
|
-
this.request("
|
|
668
|
+
DeleteApp(req, cb) {
|
|
669
|
+
let resp = new DeleteAppResponse();
|
|
670
|
+
this.request("DeleteApp", req, resp, cb);
|
|
619
671
|
}
|
|
620
672
|
|
|
621
673
|
/**
|
|
622
|
-
* This API is used to
|
|
623
|
-
* @param {
|
|
624
|
-
* @param {function(string,
|
|
674
|
+
* This API is used to check attribute label references.
|
|
675
|
+
* @param {CheckAttributeLabelReferRequest} req
|
|
676
|
+
* @param {function(string, CheckAttributeLabelReferResponse):void} cb
|
|
625
677
|
* @public
|
|
626
678
|
*/
|
|
627
|
-
|
|
628
|
-
let resp = new
|
|
629
|
-
this.request("
|
|
679
|
+
CheckAttributeLabelRefer(req, cb) {
|
|
680
|
+
let resp = new CheckAttributeLabelReferResponse();
|
|
681
|
+
this.request("CheckAttributeLabelRefer", req, resp, cb);
|
|
630
682
|
}
|
|
631
683
|
|
|
632
684
|
/**
|
|
633
|
-
* This API is used to
|
|
634
|
-
* @param {
|
|
635
|
-
* @param {function(string,
|
|
685
|
+
* This API is used to query corporate details.
|
|
686
|
+
* @param {DescribeCorpRequest} req
|
|
687
|
+
* @param {function(string, DescribeCorpResponse):void} cb
|
|
636
688
|
* @public
|
|
637
689
|
*/
|
|
638
|
-
|
|
639
|
-
let resp = new
|
|
640
|
-
this.request("
|
|
690
|
+
DescribeCorp(req, cb) {
|
|
691
|
+
let resp = new DescribeCorpResponse();
|
|
692
|
+
this.request("DescribeCorp", req, resp, cb);
|
|
641
693
|
}
|
|
642
694
|
|
|
643
695
|
/**
|
|
644
|
-
* This API is used to get
|
|
645
|
-
* @param {
|
|
646
|
-
* @param {function(string,
|
|
696
|
+
* This API is used to get the context of dissatisfied responses.
|
|
697
|
+
* @param {DescribeUnsatisfiedReplyContextRequest} req
|
|
698
|
+
* @param {function(string, DescribeUnsatisfiedReplyContextResponse):void} cb
|
|
647
699
|
* @public
|
|
648
700
|
*/
|
|
649
|
-
|
|
650
|
-
let resp = new
|
|
651
|
-
this.request("
|
|
701
|
+
DescribeUnsatisfiedReplyContext(req, cb) {
|
|
702
|
+
let resp = new DescribeUnsatisfiedReplyContextResponse();
|
|
703
|
+
this.request("DescribeUnsatisfiedReplyContext", req, resp, cb);
|
|
652
704
|
}
|
|
653
705
|
|
|
654
706
|
/**
|
|
655
|
-
*
|
|
656
|
-
* @param {
|
|
657
|
-
* @param {function(string,
|
|
707
|
+
* DocGroup.
|
|
708
|
+
* @param {GroupDocRequest} req
|
|
709
|
+
* @param {function(string, GroupDocResponse):void} cb
|
|
658
710
|
* @public
|
|
659
711
|
*/
|
|
660
|
-
|
|
661
|
-
let resp = new
|
|
662
|
-
this.request("
|
|
712
|
+
GroupDoc(req, cb) {
|
|
713
|
+
let resp = new GroupDocResponse();
|
|
714
|
+
this.request("GroupDoc", req, resp, cb);
|
|
663
715
|
}
|
|
664
716
|
|
|
665
717
|
/**
|
|
666
|
-
* This API is used to
|
|
667
|
-
* @param {
|
|
668
|
-
* @param {function(string,
|
|
718
|
+
* This API is used to get the application list under the corporate.
|
|
719
|
+
* @param {ListAppRequest} req
|
|
720
|
+
* @param {function(string, ListAppResponse):void} cb
|
|
669
721
|
* @public
|
|
670
722
|
*/
|
|
671
|
-
|
|
672
|
-
let resp = new
|
|
673
|
-
this.request("
|
|
723
|
+
ListApp(req, cb) {
|
|
724
|
+
let resp = new ListAppResponse();
|
|
725
|
+
this.request("ListApp", req, resp, cb);
|
|
674
726
|
}
|
|
675
727
|
|
|
676
728
|
/**
|
|
677
|
-
* This API is used to
|
|
678
|
-
* @param {
|
|
679
|
-
* @param {function(string,
|
|
729
|
+
* This API is used to query API call token details.
|
|
730
|
+
* @param {DescribeTokenUsageRequest} req
|
|
731
|
+
* @param {function(string, DescribeTokenUsageResponse):void} cb
|
|
680
732
|
* @public
|
|
681
733
|
*/
|
|
682
|
-
|
|
683
|
-
let resp = new
|
|
684
|
-
this.request("
|
|
734
|
+
DescribeTokenUsage(req, cb) {
|
|
735
|
+
let resp = new DescribeTokenUsageResponse();
|
|
736
|
+
this.request("DescribeTokenUsage", req, resp, cb);
|
|
685
737
|
}
|
|
686
738
|
|
|
687
739
|
/**
|
|
688
|
-
* This API is used to
|
|
689
|
-
* @param {
|
|
690
|
-
* @param {function(string,
|
|
740
|
+
* This API is used to get Q&A categories.
|
|
741
|
+
* @param {ListQACateRequest} req
|
|
742
|
+
* @param {function(string, ListQACateResponse):void} cb
|
|
691
743
|
* @public
|
|
692
744
|
*/
|
|
693
|
-
|
|
694
|
-
let resp = new
|
|
695
|
-
this.request("
|
|
745
|
+
ListQACate(req, cb) {
|
|
746
|
+
let resp = new ListQACateResponse();
|
|
747
|
+
this.request("ListQACate", req, resp, cb);
|
|
696
748
|
}
|
|
697
749
|
|
|
698
750
|
/**
|
|
699
|
-
* This API is used to get
|
|
700
|
-
* @param {
|
|
701
|
-
* @param {function(string,
|
|
751
|
+
* This API is used to get list of application types.
|
|
752
|
+
* @param {ListAppCategoryRequest} req
|
|
753
|
+
* @param {function(string, ListAppCategoryResponse):void} cb
|
|
702
754
|
* @public
|
|
703
755
|
*/
|
|
704
|
-
|
|
705
|
-
let resp = new
|
|
706
|
-
this.request("
|
|
756
|
+
ListAppCategory(req, cb) {
|
|
757
|
+
let resp = new ListAppCategoryResponse();
|
|
758
|
+
this.request("ListAppCategory", req, resp, cb);
|
|
707
759
|
}
|
|
708
760
|
|
|
709
761
|
/**
|
|
710
|
-
* This API is used to
|
|
711
|
-
* @param {
|
|
712
|
-
* @param {function(string,
|
|
762
|
+
* This API is used to query Q&A details.
|
|
763
|
+
* @param {DescribeQARequest} req
|
|
764
|
+
* @param {function(string, DescribeQAResponse):void} cb
|
|
713
765
|
* @public
|
|
714
766
|
*/
|
|
715
|
-
|
|
716
|
-
let resp = new
|
|
717
|
-
this.request("
|
|
767
|
+
DescribeQA(req, cb) {
|
|
768
|
+
let resp = new DescribeQAResponse();
|
|
769
|
+
this.request("DescribeQA", req, resp, cb);
|
|
718
770
|
}
|
|
719
771
|
|
|
720
772
|
/**
|
|
721
|
-
* This API is used to
|
|
722
|
-
* @param {
|
|
723
|
-
* @param {function(string,
|
|
773
|
+
* This API is used to create knowledge engine applications.
|
|
774
|
+
* @param {CreateAppRequest} req
|
|
775
|
+
* @param {function(string, CreateAppResponse):void} cb
|
|
724
776
|
* @public
|
|
725
777
|
*/
|
|
726
|
-
|
|
727
|
-
let resp = new
|
|
728
|
-
this.request("
|
|
778
|
+
CreateApp(req, cb) {
|
|
779
|
+
let resp = new CreateAppResponse();
|
|
780
|
+
this.request("CreateApp", req, resp, cb);
|
|
729
781
|
}
|
|
730
782
|
|
|
731
783
|
/**
|
|
732
|
-
* This API is used to
|
|
733
|
-
* @param {
|
|
734
|
-
* @param {function(string,
|
|
784
|
+
* This API is used to modify documents.
|
|
785
|
+
* @param {ModifyDocRequest} req
|
|
786
|
+
* @param {function(string, ModifyDocResponse):void} cb
|
|
735
787
|
* @public
|
|
736
788
|
*/
|
|
737
|
-
|
|
738
|
-
let resp = new
|
|
739
|
-
this.request("
|
|
789
|
+
ModifyDoc(req, cb) {
|
|
790
|
+
let resp = new ModifyDocResponse();
|
|
791
|
+
this.request("ModifyDoc", req, resp, cb);
|
|
740
792
|
}
|
|
741
793
|
|
|
742
794
|
/**
|
|
743
|
-
* This API is used to
|
|
744
|
-
* @param {
|
|
745
|
-
* @param {function(string,
|
|
795
|
+
* This API is used to create Q&A categories.
|
|
796
|
+
* @param {CreateQACateRequest} req
|
|
797
|
+
* @param {function(string, CreateQACateResponse):void} cb
|
|
746
798
|
* @public
|
|
747
799
|
*/
|
|
748
|
-
|
|
749
|
-
let resp = new
|
|
750
|
-
this.request("
|
|
800
|
+
CreateQACate(req, cb) {
|
|
801
|
+
let resp = new CreateQACateResponse();
|
|
802
|
+
this.request("CreateQACate", req, resp, cb);
|
|
751
803
|
}
|
|
752
804
|
|
|
753
805
|
/**
|
|
754
|
-
* This API is used to export
|
|
755
|
-
* @param {
|
|
756
|
-
* @param {function(string,
|
|
806
|
+
* This API is used to export attribute labels.
|
|
807
|
+
* @param {ExportAttributeLabelRequest} req
|
|
808
|
+
* @param {function(string, ExportAttributeLabelResponse):void} cb
|
|
757
809
|
* @public
|
|
758
810
|
*/
|
|
759
|
-
|
|
760
|
-
let resp = new
|
|
761
|
-
this.request("
|
|
811
|
+
ExportAttributeLabel(req, cb) {
|
|
812
|
+
let resp = new ExportAttributeLabelResponse();
|
|
813
|
+
this.request("ExportAttributeLabel", req, resp, cb);
|
|
762
814
|
}
|
|
763
815
|
|
|
764
816
|
/**
|
|
765
|
-
* This API is used to
|
|
766
|
-
* @param {
|
|
767
|
-
* @param {function(string,
|
|
817
|
+
* This API is used to get the reference source details list.
|
|
818
|
+
* @param {DescribeReferRequest} req
|
|
819
|
+
* @param {function(string, DescribeReferResponse):void} cb
|
|
768
820
|
* @public
|
|
769
821
|
*/
|
|
770
|
-
|
|
771
|
-
let resp = new
|
|
772
|
-
this.request("
|
|
822
|
+
DescribeRefer(req, cb) {
|
|
823
|
+
let resp = new DescribeReferResponse();
|
|
824
|
+
this.request("DescribeRefer", req, resp, cb);
|
|
773
825
|
}
|
|
774
826
|
|
|
775
827
|
/**
|
|
776
|
-
* This API is used to
|
|
777
|
-
* @param {
|
|
778
|
-
* @param {function(string,
|
|
828
|
+
* This API is used to query the knowledge library usage.
|
|
829
|
+
* @param {DescribeKnowledgeUsageRequest} req
|
|
830
|
+
* @param {function(string, DescribeKnowledgeUsageResponse):void} cb
|
|
779
831
|
* @public
|
|
780
832
|
*/
|
|
781
|
-
|
|
782
|
-
let resp = new
|
|
783
|
-
this.request("
|
|
784
|
-
}
|
|
833
|
+
DescribeKnowledgeUsage(req, cb) {
|
|
834
|
+
let resp = new DescribeKnowledgeUsageResponse();
|
|
835
|
+
this.request("DescribeKnowledgeUsage", req, resp, cb);
|
|
836
|
+
}
|
|
785
837
|
|
|
786
838
|
/**
|
|
787
|
-
* This API is used to
|
|
788
|
-
* @param {
|
|
789
|
-
* @param {function(string,
|
|
839
|
+
* This API is used to get application business ID through appKey.
|
|
840
|
+
* @param {DescribeRobotBizIDByAppKeyRequest} req
|
|
841
|
+
* @param {function(string, DescribeRobotBizIDByAppKeyResponse):void} cb
|
|
790
842
|
* @public
|
|
791
843
|
*/
|
|
792
|
-
|
|
793
|
-
let resp = new
|
|
794
|
-
this.request("
|
|
844
|
+
DescribeRobotBizIDByAppKey(req, cb) {
|
|
845
|
+
let resp = new DescribeRobotBizIDByAppKeyResponse();
|
|
846
|
+
this.request("DescribeRobotBizIDByAppKey", req, resp, cb);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/**
|
|
850
|
+
* This API is used to get document list.
|
|
851
|
+
* @param {ListDocRequest} req
|
|
852
|
+
* @param {function(string, ListDocResponse):void} cb
|
|
853
|
+
* @public
|
|
854
|
+
*/
|
|
855
|
+
ListDoc(req, cb) {
|
|
856
|
+
let resp = new ListDocResponse();
|
|
857
|
+
this.request("ListDoc", req, resp, cb);
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
/**
|
|
861
|
+
* This API is used to query Q&A lists.
|
|
862
|
+
* @param {ListQARequest} req
|
|
863
|
+
* @param {function(string, ListQAResponse):void} cb
|
|
864
|
+
* @public
|
|
865
|
+
*/
|
|
866
|
+
ListQA(req, cb) {
|
|
867
|
+
let resp = new ListQAResponse();
|
|
868
|
+
this.request("ListQA", req, resp, cb);
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* This API is used to get likes and dislikes data statistics.
|
|
873
|
+
* @param {GetLikeDataCountRequest} req
|
|
874
|
+
* @param {function(string, GetLikeDataCountResponse):void} cb
|
|
875
|
+
* @public
|
|
876
|
+
*/
|
|
877
|
+
GetLikeDataCount(req, cb) {
|
|
878
|
+
let resp = new GetLikeDataCountResponse();
|
|
879
|
+
this.request("GetLikeDataCount", req, resp, cb);
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* This API is used to modify Doc categories.
|
|
884
|
+
* @param {ModifyDocCateRequest} req
|
|
885
|
+
* @param {function(string, ModifyDocCateResponse):void} cb
|
|
886
|
+
* @public
|
|
887
|
+
*/
|
|
888
|
+
ModifyDocCate(req, cb) {
|
|
889
|
+
let resp = new ModifyDocCateResponse();
|
|
890
|
+
this.request("ModifyDocCate", req, resp, cb);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* This API is used to export Q&A list.
|
|
895
|
+
* @param {ExportQAListRequest} req
|
|
896
|
+
* @param {function(string, ExportQAListResponse):void} cb
|
|
897
|
+
* @public
|
|
898
|
+
*/
|
|
899
|
+
ExportQAList(req, cb) {
|
|
900
|
+
let resp = new ExportQAListResponse();
|
|
901
|
+
this.request("ExportQAList", req, resp, cb);
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* This API is used to initiate requests for this asynchronous API, for initiating document parsing tasks.
|
|
906
|
+
Document parsing supports converting images or PDF files into Markdown format files, and can parse content elements including tables, formulas, images, headings, paragraphs, headers, and footers, and intelligently convert the content into reading order.
|
|
907
|
+
During the trial period, the QPS limit for a single account is only 1. If you need to access officially, please contact our R&D team.
|
|
908
|
+
* @param {CreateReconstructDocumentFlowRequest} req
|
|
909
|
+
* @param {function(string, CreateReconstructDocumentFlowResponse):void} cb
|
|
910
|
+
* @public
|
|
911
|
+
*/
|
|
912
|
+
CreateReconstructDocumentFlow(req, cb) {
|
|
913
|
+
let resp = new CreateReconstructDocumentFlowResponse();
|
|
914
|
+
this.request("CreateReconstructDocumentFlow", req, resp, cb);
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* This API is used to upload and import attribute labels.
|
|
919
|
+
* @param {UploadAttributeLabelRequest} req
|
|
920
|
+
* @param {function(string, UploadAttributeLabelResponse):void} cb
|
|
921
|
+
* @public
|
|
922
|
+
*/
|
|
923
|
+
UploadAttributeLabel(req, cb) {
|
|
924
|
+
let resp = new UploadAttributeLabelResponse();
|
|
925
|
+
this.request("UploadAttributeLabel", req, resp, cb);
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
/**
|
|
929
|
+
* This API is used to get document preview information.
|
|
930
|
+
* @param {GetDocPreviewRequest} req
|
|
931
|
+
* @param {function(string, GetDocPreviewResponse):void} cb
|
|
932
|
+
* @public
|
|
933
|
+
*/
|
|
934
|
+
GetDocPreview(req, cb) {
|
|
935
|
+
let resp = new GetDocPreviewResponse();
|
|
936
|
+
this.request("GetDocPreview", req, resp, cb);
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* This API is used to response to concurrent calls.
|
|
941
|
+
* @param {DescribeConcurrencyUsageRequest} req
|
|
942
|
+
* @param {function(string, DescribeConcurrencyUsageResponse):void} cb
|
|
943
|
+
* @public
|
|
944
|
+
*/
|
|
945
|
+
DescribeConcurrencyUsage(req, cb) {
|
|
946
|
+
let resp = new DescribeConcurrencyUsageResponse();
|
|
947
|
+
this.request("DescribeConcurrencyUsage", req, resp, cb);
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* This API is used to modify rejected questions.
|
|
952
|
+
* @param {ModifyRejectedQuestionRequest} req
|
|
953
|
+
* @param {function(string, ModifyRejectedQuestionResponse):void} cb
|
|
954
|
+
* @public
|
|
955
|
+
*/
|
|
956
|
+
ModifyRejectedQuestion(req, cb) {
|
|
957
|
+
let resp = new ModifyRejectedQuestionResponse();
|
|
958
|
+
this.request("ModifyRejectedQuestion", req, resp, cb);
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* This API is used to pull the release button status and last release time.
|
|
963
|
+
* @param {DescribeReleaseInfoRequest} req
|
|
964
|
+
* @param {function(string, DescribeReleaseInfoResponse):void} cb
|
|
965
|
+
* @public
|
|
966
|
+
*/
|
|
967
|
+
DescribeReleaseInfo(req, cb) {
|
|
968
|
+
let resp = new DescribeReleaseInfoResponse();
|
|
969
|
+
this.request("DescribeReleaseInfo", req, resp, cb);
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* This API is used to get the release list.
|
|
974
|
+
* @param {ListReleaseRequest} req
|
|
975
|
+
* @param {function(string, ListReleaseResponse):void} cb
|
|
976
|
+
* @public
|
|
977
|
+
*/
|
|
978
|
+
ListRelease(req, cb) {
|
|
979
|
+
let resp = new ListReleaseResponse();
|
|
980
|
+
this.request("ListRelease", req, resp, cb);
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* This API is used to get the model list.
|
|
985
|
+
* @param {ListModelRequest} req
|
|
986
|
+
* @param {function(string, ListModelResponse):void} cb
|
|
987
|
+
* @public
|
|
988
|
+
*/
|
|
989
|
+
ListModel(req, cb) {
|
|
990
|
+
let resp = new ListModelResponse();
|
|
991
|
+
this.request("ListModel", req, resp, cb);
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* This API is used to get rejected questions.
|
|
996
|
+
* @param {ListRejectedQuestionRequest} req
|
|
997
|
+
* @param {function(string, ListRejectedQuestionResponse):void} cb
|
|
998
|
+
* @public
|
|
999
|
+
*/
|
|
1000
|
+
ListRejectedQuestion(req, cb) {
|
|
1001
|
+
let resp = new ListRejectedQuestionResponse();
|
|
1002
|
+
this.request("ListRejectedQuestion", req, resp, cb);
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* This API is used to delete categories.
|
|
1007
|
+
* @param {DeleteQACateRequest} req
|
|
1008
|
+
* @param {function(string, DeleteQACateResponse):void} cb
|
|
1009
|
+
* @public
|
|
1010
|
+
*/
|
|
1011
|
+
DeleteQACate(req, cb) {
|
|
1012
|
+
let resp = new DeleteQACateResponse();
|
|
1013
|
+
this.request("DeleteQACate", req, resp, cb);
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* This API is used to export dissatisfied responses.
|
|
1018
|
+
* @param {ExportUnsatisfiedReplyRequest} req
|
|
1019
|
+
* @param {function(string, ExportUnsatisfiedReplyResponse):void} cb
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
ExportUnsatisfiedReply(req, cb) {
|
|
1023
|
+
let resp = new ExportUnsatisfiedReplyResponse();
|
|
1024
|
+
this.request("ExportUnsatisfiedReply", req, resp, cb);
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* This API is used to retry after release suspension.
|
|
1029
|
+
* @param {RetryReleaseRequest} req
|
|
1030
|
+
* @param {function(string, RetryReleaseResponse):void} cb
|
|
1031
|
+
* @public
|
|
1032
|
+
*/
|
|
1033
|
+
RetryRelease(req, cb) {
|
|
1034
|
+
let resp = new RetryReleaseResponse();
|
|
1035
|
+
this.request("RetryRelease", req, resp, cb);
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* This API is used to update Q&As.
|
|
1040
|
+
* @param {ModifyQARequest} req
|
|
1041
|
+
* @param {function(string, ModifyQAResponse):void} cb
|
|
1042
|
+
* @public
|
|
1043
|
+
*/
|
|
1044
|
+
ModifyQA(req, cb) {
|
|
1045
|
+
let resp = new ModifyQAResponse();
|
|
1046
|
+
this.request("ModifyQA", req, resp, cb);
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
/**
|
|
1050
|
+
* This API is used to save a knowledge base document Q&As.
|
|
1051
|
+
Three steps to store a file in the knowledge library of the application:
|
|
1052
|
+
1. Obtain a temporary key. For more information, see [API Documentation](https://cloud.tencent.com/document/product/1759/105050). Different parameter combinations of the temporary key have different permissions. For more information, see [Tencent Cloud Agent Development Platform/TCADP COS Guide](https://cloud.tencent.com/document/product/1759/116238).
|
|
1053
|
+
2. Call the COS storage API provided by Tencent Cloud to store the file in the COS of TCADP. For details, see [COS SDK Overview](https://cloud.tencent.com/document/product/436/6474). Note that the temporary key method is used to operate COS.
|
|
1054
|
+
3. Call this API to store the basic information of the file in TCADP.
|
|
1055
|
+
For the above steps, see [Documentation](https://cloud.tencent.com/document/product/1759/108903). At the end of the documentation, there is a [code demo](https://cloud.tencent.com/document/product/1759/108903#demo), which can be used as a reference.
|
|
1056
|
+
* @param {SaveDocRequest} req
|
|
1057
|
+
* @param {function(string, SaveDocResponse):void} cb
|
|
1058
|
+
* @public
|
|
1059
|
+
*/
|
|
1060
|
+
SaveDoc(req, cb) {
|
|
1061
|
+
let resp = new SaveDocResponse();
|
|
1062
|
+
this.request("SaveDoc", req, resp, cb);
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* This API is used to delete documents.
|
|
1067
|
+
* @param {DeleteDocRequest} req
|
|
1068
|
+
* @param {function(string, DeleteDocResponse):void} cb
|
|
1069
|
+
* @public
|
|
1070
|
+
*/
|
|
1071
|
+
DeleteDoc(req, cb) {
|
|
1072
|
+
let resp = new DeleteDocResponse();
|
|
1073
|
+
this.request("DeleteDoc", req, resp, cb);
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
/**
|
|
1077
|
+
* This API is used to delete rejected questions.
|
|
1078
|
+
* @param {DeleteRejectedQuestionRequest} req
|
|
1079
|
+
* @param {function(string, DeleteRejectedQuestionResponse):void} cb
|
|
1080
|
+
* @public
|
|
1081
|
+
*/
|
|
1082
|
+
DeleteRejectedQuestion(req, cb) {
|
|
1083
|
+
let resp = new DeleteRejectedQuestionResponse();
|
|
1084
|
+
this.request("DeleteRejectedQuestion", req, resp, cb);
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* This API is used to get document category.
|
|
1089
|
+
* @param {ListDocCateRequest} req
|
|
1090
|
+
* @param {function(string, ListDocCateResponse):void} cb
|
|
1091
|
+
* @public
|
|
1092
|
+
*/
|
|
1093
|
+
ListDocCate(req, cb) {
|
|
1094
|
+
let resp = new ListDocCateResponse();
|
|
1095
|
+
this.request("ListDocCate", req, resp, cb);
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* This API is used to modify application request structure.
|
|
1100
|
+
* @param {ModifyAppRequest} req
|
|
1101
|
+
* @param {function(string, ModifyAppResponse):void} cb
|
|
1102
|
+
* @public
|
|
1103
|
+
*/
|
|
1104
|
+
ModifyApp(req, cb) {
|
|
1105
|
+
let resp = new ModifyAppResponse();
|
|
1106
|
+
this.request("ModifyApp", req, resp, cb);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* This API is used to get application secret keys.
|
|
1111
|
+
* @param {GetAppSecretRequest} req
|
|
1112
|
+
* @param {function(string, GetAppSecretResponse):void} cb
|
|
1113
|
+
* @public
|
|
1114
|
+
*/
|
|
1115
|
+
GetAppSecret(req, cb) {
|
|
1116
|
+
let resp = new GetAppSecretResponse();
|
|
1117
|
+
this.request("GetAppSecret", req, resp, cb);
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* This API is used to edit attribute labels.
|
|
1122
|
+
* @param {ModifyAttributeLabelRequest} req
|
|
1123
|
+
* @param {function(string, ModifyAttributeLabelResponse):void} cb
|
|
1124
|
+
* @public
|
|
1125
|
+
*/
|
|
1126
|
+
ModifyAttributeLabel(req, cb) {
|
|
1127
|
+
let resp = new ModifyAttributeLabelResponse();
|
|
1128
|
+
this.request("ModifyAttributeLabel", req, resp, cb);
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* This API is used to get response type data statistics.
|
|
1133
|
+
* @param {GetAnswerTypeDataCountRequest} req
|
|
1134
|
+
* @param {function(string, GetAnswerTypeDataCountResponse):void} cb
|
|
1135
|
+
* @public
|
|
1136
|
+
*/
|
|
1137
|
+
GetAnswerTypeDataCount(req, cb) {
|
|
1138
|
+
let resp = new GetAnswerTypeDataCountResponse();
|
|
1139
|
+
this.request("GetAnswerTypeDataCount", req, resp, cb);
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* This API is used to preview released documents.
|
|
1144
|
+
* @param {ListReleaseDocPreviewRequest} req
|
|
1145
|
+
* @param {function(string, ListReleaseDocPreviewResponse):void} cb
|
|
1146
|
+
* @public
|
|
1147
|
+
*/
|
|
1148
|
+
ListReleaseDocPreview(req, cb) {
|
|
1149
|
+
let resp = new ListReleaseDocPreviewResponse();
|
|
1150
|
+
this.request("ListReleaseDocPreview", req, resp, cb);
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* This API is used to query release details.
|
|
1155
|
+
* @param {DescribeReleaseRequest} req
|
|
1156
|
+
* @param {function(string, DescribeReleaseResponse):void} cb
|
|
1157
|
+
* @public
|
|
1158
|
+
*/
|
|
1159
|
+
DescribeRelease(req, cb) {
|
|
1160
|
+
let resp = new DescribeReleaseResponse();
|
|
1161
|
+
this.request("DescribeRelease", req, resp, cb);
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* This API is used to create enterprises.
|
|
1166
|
+
* @param {CreateCorpRequest} req
|
|
1167
|
+
* @param {function(string, CreateCorpResponse):void} cb
|
|
1168
|
+
* @public
|
|
1169
|
+
*/
|
|
1170
|
+
CreateCorp(req, cb) {
|
|
1171
|
+
let resp = new CreateCorpResponse();
|
|
1172
|
+
this.request("CreateCorp", req, resp, cb);
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* This API is used to get a model list.
|
|
1177
|
+
* @param {GetAppKnowledgeCountRequest} req
|
|
1178
|
+
* @param {function(string, GetAppKnowledgeCountResponse):void} cb
|
|
1179
|
+
* @public
|
|
1180
|
+
*/
|
|
1181
|
+
GetAppKnowledgeCount(req, cb) {
|
|
1182
|
+
let resp = new GetAppKnowledgeCountResponse();
|
|
1183
|
+
this.request("GetAppKnowledgeCount", req, resp, cb);
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* This API is used to show line chart of concurrent calls.
|
|
1188
|
+
* @param {DescribeConcurrencyUsageGraphRequest} req
|
|
1189
|
+
* @param {function(string, DescribeConcurrencyUsageGraphResponse):void} cb
|
|
1190
|
+
* @public
|
|
1191
|
+
*/
|
|
1192
|
+
DescribeConcurrencyUsageGraph(req, cb) {
|
|
1193
|
+
let resp = new DescribeConcurrencyUsageGraphResponse();
|
|
1194
|
+
this.request("DescribeConcurrencyUsageGraph", req, resp, cb);
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/**
|
|
1198
|
+
* This API is used to obtain chat history based on the session ID (only historical session data within the past 180 days will be retained).
|
|
1199
|
+
* @param {GetMsgRecordRequest} req
|
|
1200
|
+
* @param {function(string, GetMsgRecordResponse):void} cb
|
|
1201
|
+
* @public
|
|
1202
|
+
*/
|
|
1203
|
+
GetMsgRecord(req, cb) {
|
|
1204
|
+
let resp = new GetMsgRecordResponse();
|
|
1205
|
+
this.request("GetMsgRecord", req, resp, cb);
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* This API is used to create rejected questions.
|
|
1210
|
+
* @param {CreateRejectedQuestionRequest} req
|
|
1211
|
+
* @param {function(string, CreateRejectedQuestionResponse):void} cb
|
|
1212
|
+
* @public
|
|
1213
|
+
*/
|
|
1214
|
+
CreateRejectedQuestion(req, cb) {
|
|
1215
|
+
let resp = new CreateRejectedQuestionResponse();
|
|
1216
|
+
this.request("CreateRejectedQuestion", req, resp, cb);
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* This API is used to show line chart of API calls.
|
|
1221
|
+
* @param {DescribeCallStatsGraphRequest} req
|
|
1222
|
+
* @param {function(string, DescribeCallStatsGraphResponse):void} cb
|
|
1223
|
+
* @public
|
|
1224
|
+
*/
|
|
1225
|
+
DescribeCallStatsGraph(req, cb) {
|
|
1226
|
+
let resp = new DescribeCallStatsGraphResponse();
|
|
1227
|
+
this.request("DescribeCallStatsGraph", req, resp, cb);
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* Q&A Group.
|
|
1232
|
+
* @param {GroupQARequest} req
|
|
1233
|
+
* @param {function(string, GroupQAResponse):void} cb
|
|
1234
|
+
* @public
|
|
1235
|
+
*/
|
|
1236
|
+
GroupQA(req, cb) {
|
|
1237
|
+
let resp = new GroupQAResponse();
|
|
1238
|
+
this.request("GroupQA", req, resp, cb);
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* This API is used to get fragment details.
|
|
1243
|
+
* @param {DescribeSegmentsRequest} req
|
|
1244
|
+
* @param {function(string, DescribeSegmentsResponse):void} cb
|
|
1245
|
+
* @public
|
|
1246
|
+
*/
|
|
1247
|
+
DescribeSegments(req, cb) {
|
|
1248
|
+
let resp = new DescribeSegmentsResponse();
|
|
1249
|
+
this.request("DescribeSegments", req, resp, cb);
|
|
1250
|
+
}
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* This API is used to get the task status.
|
|
1254
|
+
* @param {GetTaskStatusRequest} req
|
|
1255
|
+
* @param {function(string, GetTaskStatusResponse):void} cb
|
|
1256
|
+
* @public
|
|
1257
|
+
*/
|
|
1258
|
+
GetTaskStatus(req, cb) {
|
|
1259
|
+
let resp = new GetTaskStatusResponse();
|
|
1260
|
+
this.request("GetTaskStatus", req, resp, cb);
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* This API is used to terminate document parsing.
|
|
1265
|
+
* @param {StopDocParseRequest} req
|
|
1266
|
+
* @param {function(string, StopDocParseResponse):void} cb
|
|
1267
|
+
* @public
|
|
1268
|
+
*/
|
|
1269
|
+
StopDocParse(req, cb) {
|
|
1270
|
+
let resp = new StopDocParseResponse();
|
|
1271
|
+
this.request("StopDocParse", req, resp, cb);
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* This API is used to query the knowledge base capacity details in a list.
|
|
1276
|
+
* @param {ListAppKnowledgeDetailRequest} req
|
|
1277
|
+
* @param {function(string, ListAppKnowledgeDetailResponse):void} cb
|
|
1278
|
+
* @public
|
|
1279
|
+
*/
|
|
1280
|
+
ListAppKnowledgeDetail(req, cb) {
|
|
1281
|
+
let resp = new ListAppKnowledgeDetailResponse();
|
|
1282
|
+
this.request("ListAppKnowledgeDetail", req, resp, cb);
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* This API is used to ignore dissatisfied responses.
|
|
1287
|
+
* @param {IgnoreUnsatisfiedReplyRequest} req
|
|
1288
|
+
* @param {function(string, IgnoreUnsatisfiedReplyResponse):void} cb
|
|
1289
|
+
* @public
|
|
1290
|
+
*/
|
|
1291
|
+
IgnoreUnsatisfiedReply(req, cb) {
|
|
1292
|
+
let resp = new IgnoreUnsatisfiedReplyResponse();
|
|
1293
|
+
this.request("IgnoreUnsatisfiedReply", req, resp, cb);
|
|
795
1294
|
}
|
|
796
1295
|
|
|
797
1296
|
|