tccli 3.0.1245.1__py2.py3-none-any.whl → 3.0.1246.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/services/__init__.py +3 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +72 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/dbdc/v20201029/api.json +72 -72
- tccli/services/dcdb/v20180411/api.json +3 -3
- tccli/services/dcdb/v20180411/examples.json +1 -1
- tccli/services/iotexplorer/iotexplorer_client.py +216 -4
- tccli/services/iotexplorer/v20190423/api.json +146 -1
- tccli/services/iotexplorer/v20190423/examples.json +34 -2
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +1426 -0
- tccli/services/lkeap/v20240522/api.json +1882 -0
- tccli/services/lkeap/v20240522/examples.json +215 -0
- tccli/services/mna/v20210119/api.json +7 -7
- tccli/services/mna/v20210119/examples.json +9 -9
- tccli/services/monitor/v20180724/api.json +19 -0
- tccli/services/sqlserver/v20180328/api.json +43 -5
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/tcb/v20180608/api.json +45 -39
- tccli/services/tcb/v20180608/examples.json +9 -9
- tccli/services/tcr/v20190924/api.json +53 -53
- tccli/services/tcr/v20190924/examples.json +14 -14
- tccli/services/vpc/v20170312/examples.json +23 -1
- tccli/services/wedata/v20210820/api.json +34 -1
- {tccli-3.0.1245.1.dist-info → tccli-3.0.1246.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1245.1.dist-info → tccli-3.0.1246.1.dist-info}/RECORD +31 -27
- {tccli-3.0.1245.1.dist-info → tccli-3.0.1246.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1245.1.dist-info → tccli-3.0.1246.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1245.1.dist-info → tccli-3.0.1246.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,1882 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"CreateAttributeLabel": {
|
4
|
+
"document": "用于为问答对创建属性标签,以便对内容进行分类和管理。 使用场景:当需要为问答对添加分类标签和属性标记时使用,比如为问答对添加“售后”标签。",
|
5
|
+
"input": "CreateAttributeLabelRequest",
|
6
|
+
"name": "创建属性标签",
|
7
|
+
"output": "CreateAttributeLabelResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
10
|
+
"CreateKnowledgeBase": {
|
11
|
+
"document": "用于在系统中创建一个新的知识库。知识库是一个用于存储和管理知识条目的集合,可以包括文档、问答对、属性标签等。创建知识库后,可以向其中添加各种知识条目,以便在后续的知识检索中使用。 使用场景:当需要在系统中建立一个新的知识库以存储和管理特定领域或项目的知识条目时使用。例如,一个用户可能需要创建一个知识库,以存储用户指南、常见问题解答和技术文档。",
|
12
|
+
"input": "CreateKnowledgeBaseRequest",
|
13
|
+
"name": "创建知识库",
|
14
|
+
"output": "CreateKnowledgeBaseResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
17
|
+
"CreateQA": {
|
18
|
+
"document": "用于创建新的问答对。问答对可以在SearchKnowledge接口知识检索时提供匹配的答案。 使用场景:当需要添加新的知识点和对应的问答对时使用,比如为产品添加新的常见问题解答。",
|
19
|
+
"input": "CreateQARequest",
|
20
|
+
"name": "创建问答对",
|
21
|
+
"output": "CreateQAResponse",
|
22
|
+
"status": "online"
|
23
|
+
},
|
24
|
+
"CreateReconstructDocumentFlow": {
|
25
|
+
"document": "本接口为异步接口的发起请求接口,用于发起文档解析任务。\n文档解析支持将图片或PDF文件转换成Markdown格式文件,可解析包括表格、公式、图片、标题、段落、页眉、页脚等内容元素,并将内容智能转换成阅读顺序。\n\n体验期间单账号限制qps仅为1,若有正式接入需要请与产研团队沟通开放。",
|
26
|
+
"input": "CreateReconstructDocumentFlowRequest",
|
27
|
+
"name": "创建文档解析任务",
|
28
|
+
"output": "CreateReconstructDocumentFlowResponse",
|
29
|
+
"status": "online"
|
30
|
+
},
|
31
|
+
"CreateSplitDocumentFlow": {
|
32
|
+
"document": "创建文档拆分任务",
|
33
|
+
"input": "CreateSplitDocumentFlowRequest",
|
34
|
+
"name": "创建文档拆分任务",
|
35
|
+
"output": "CreateSplitDocumentFlowResponse",
|
36
|
+
"status": "online"
|
37
|
+
},
|
38
|
+
"DeleteAttributeLabels": {
|
39
|
+
"document": "用于删除不再需要的属性标签。 使用场景:当某个标签不再使用时,可以将其删除以保持标签系统的整洁。",
|
40
|
+
"input": "DeleteAttributeLabelsRequest",
|
41
|
+
"name": "批量删除属性标签",
|
42
|
+
"output": "DeleteAttributeLabelsResponse",
|
43
|
+
"status": "online"
|
44
|
+
},
|
45
|
+
"DeleteDocs": {
|
46
|
+
"document": "用于删除已有的文档。 使用场景:当某个文档不再需要时,可以将其删除以保持文档库的整洁。",
|
47
|
+
"input": "DeleteDocsRequest",
|
48
|
+
"name": "删除文档",
|
49
|
+
"output": "DeleteDocsResponse",
|
50
|
+
"status": "online"
|
51
|
+
},
|
52
|
+
"DeleteKnowledgeBase": {
|
53
|
+
"document": "用于从系统中删除一个现有的知识库。删除知识库将移除该知识库及其所有关联的知识条目(如文档、问答对、属性标签等)。该操作是不可逆的,请在执行前确认是否需要删除。**使用场景**:当某个知识库不再需要时,可以使用此接口将其从系统中删除。例如,一个项目结束后,其相关的知识库可能不再需要存储,可以使用该接口进行删除。",
|
54
|
+
"input": "DeleteKnowledgeBaseRequest",
|
55
|
+
"name": "删除知识库",
|
56
|
+
"output": "DeleteKnowledgeBaseResponse",
|
57
|
+
"status": "online"
|
58
|
+
},
|
59
|
+
"DeleteQAs": {
|
60
|
+
"document": "用于删除已有的问答对。 使用场景:当某个问答对不再适用或需要移除时使用。",
|
61
|
+
"input": "DeleteQAsRequest",
|
62
|
+
"name": "删除问答对",
|
63
|
+
"output": "DeleteQAsResponse",
|
64
|
+
"status": "online"
|
65
|
+
},
|
66
|
+
"DescribeDoc": {
|
67
|
+
"document": "用于查询特定文档的详细信息。 使用场景:当需要查看某个文档的具体内容和属性时使用。",
|
68
|
+
"input": "DescribeDocRequest",
|
69
|
+
"name": "查询文档详情",
|
70
|
+
"output": "DescribeDocResponse",
|
71
|
+
"status": "online"
|
72
|
+
},
|
73
|
+
"GetEmbedding": {
|
74
|
+
"document": "本接口(GetEmbedding)调用文本表示模型,将文本转化为用数值表示的向量形式,可用于文本检索、信息推荐、知识挖掘等场景。\n本接口(GetEmbedding)有单账号调用上限控制,如您有提高并发限制的需求请 [联系我们](https://cloud.tencent.com/act/event/Online_service) 。",
|
75
|
+
"input": "GetEmbeddingRequest",
|
76
|
+
"name": "获取特征向量",
|
77
|
+
"output": "GetEmbeddingResponse",
|
78
|
+
"status": "online"
|
79
|
+
},
|
80
|
+
"GetReconstructDocumentResult": {
|
81
|
+
"document": "本接口为异步接口的查询结果接口,用于获取文档解析处理结果。",
|
82
|
+
"input": "GetReconstructDocumentResultRequest",
|
83
|
+
"name": "查询文档解析任务结果",
|
84
|
+
"output": "GetReconstructDocumentResultResponse",
|
85
|
+
"status": "online"
|
86
|
+
},
|
87
|
+
"GetSplitDocumentResult": {
|
88
|
+
"document": "查询文档拆分任务结果",
|
89
|
+
"input": "GetSplitDocumentResultRequest",
|
90
|
+
"name": "查询文档拆分任务结果",
|
91
|
+
"output": "GetSplitDocumentResultResponse",
|
92
|
+
"status": "online"
|
93
|
+
},
|
94
|
+
"ImportQAs": {
|
95
|
+
"document": "用于批量导入问答对,最多支持50,000条数据导入。通过此接口,可以将多个问答对一次性导入系统中,以便在后续的知识检索中使用。导入的问答对可以来自外部系统、文件或其他数据源。使用场景:当需要一次性导入大量的问答对时使用。例如,一个公司可能需要将其产品的常见问题解答从一个文档或外部系统批量导入到知识库中,以便用户可以通过知识检索系统进行查询。",
|
96
|
+
"input": "ImportQAsRequest",
|
97
|
+
"name": "批量导入问答对",
|
98
|
+
"output": "ImportQAsResponse",
|
99
|
+
"status": "online"
|
100
|
+
},
|
101
|
+
"ListAttributeLabels": {
|
102
|
+
"document": "用于获取所有属性标签的列表。 使用场景:用于查看当前系统中所有已有的属性标签,方便进行管理和维护。",
|
103
|
+
"input": "ListAttributeLabelsRequest",
|
104
|
+
"name": "获取属性标签列表",
|
105
|
+
"output": "ListAttributeLabelsResponse",
|
106
|
+
"status": "online"
|
107
|
+
},
|
108
|
+
"ListDocs": {
|
109
|
+
"document": "用于获取所有文档的列表。 使用场景:用于查看当前系统中所有已有的文档,方便进行管理和维护。",
|
110
|
+
"input": "ListDocsRequest",
|
111
|
+
"name": "获取文档列表",
|
112
|
+
"output": "ListDocsResponse",
|
113
|
+
"status": "online"
|
114
|
+
},
|
115
|
+
"ListQAs": {
|
116
|
+
"document": "用于获取所有问答对的列表。 使用场景:用于查看当前系统中所有已有的问答对,方便进行管理和维护。",
|
117
|
+
"input": "ListQAsRequest",
|
118
|
+
"name": "获取问答对列表",
|
119
|
+
"output": "ListQAsResponse",
|
120
|
+
"status": "online"
|
121
|
+
},
|
122
|
+
"ModifyAttributeLabel": {
|
123
|
+
"document": "用于修改已有的属性标签。 使用场景:当需要更改属性标签的名称或描述时使用,比如将“售后”标签改为“售前”。",
|
124
|
+
"input": "ModifyAttributeLabelRequest",
|
125
|
+
"name": "修改属性标签",
|
126
|
+
"output": "ModifyAttributeLabelResponse",
|
127
|
+
"status": "online"
|
128
|
+
},
|
129
|
+
"ModifyQA": {
|
130
|
+
"document": "用于修改已有的问答对。 使用场景:当需要更新问答对的内容或答案时使用。",
|
131
|
+
"input": "ModifyQARequest",
|
132
|
+
"name": "修改问答对",
|
133
|
+
"output": "ModifyQAResponse",
|
134
|
+
"status": "online"
|
135
|
+
},
|
136
|
+
"ReconstructDocumentSSE": {
|
137
|
+
"document": "准实时文档解析接口,使用HTTP SSE 协议通信。",
|
138
|
+
"input": "ReconstructDocumentSSERequest",
|
139
|
+
"name": "实时文档解析",
|
140
|
+
"output": "ReconstructDocumentSSEResponse",
|
141
|
+
"status": "online"
|
142
|
+
},
|
143
|
+
"RetrieveKnowledge": {
|
144
|
+
"document": "用于检索知识库中的文档和问答对内容。 使用场景:适用于查询长期存储在知识库中的文档和问答对,比如产品手册、用户指南等内容的检索。",
|
145
|
+
"input": "RetrieveKnowledgeRequest",
|
146
|
+
"name": "检索知识库内容",
|
147
|
+
"output": "RetrieveKnowledgeResponse",
|
148
|
+
"status": "online"
|
149
|
+
},
|
150
|
+
"RunRerank": {
|
151
|
+
"document": "基于知识引擎精调模型技术的rerank模型,支持对多路召回的结果进行重排序,根据query与切片内容的相关性,按分数由高到低对切片进行排序,并输出对应的打分结果。",
|
152
|
+
"input": "RunRerankRequest",
|
153
|
+
"name": "重排序",
|
154
|
+
"output": "RunRerankResponse",
|
155
|
+
"status": "online"
|
156
|
+
},
|
157
|
+
"UploadDoc": {
|
158
|
+
"document": "用于上传文档内容。上传的文档将存储在知识库中,可以通过SearchKnowledge知识库内容检索接口进行检索。 \n使用场景:适用于需要长期存储和检索的文档内容,如产品手册、用户指南等。",
|
159
|
+
"input": "UploadDocRequest",
|
160
|
+
"name": "上传文档",
|
161
|
+
"output": "UploadDocResponse",
|
162
|
+
"status": "online"
|
163
|
+
},
|
164
|
+
"UploadDocRealtime": {
|
165
|
+
"document": "用于上传实时文档内容。实时文档在上传后可以立即通过SearchRealtime进行实时检索,适用于在会话中对文档进行问答的场景。",
|
166
|
+
"input": "UploadDocRealtimeRequest",
|
167
|
+
"name": "实时文档上传",
|
168
|
+
"output": "UploadDocRealtimeResponse",
|
169
|
+
"status": "online"
|
170
|
+
}
|
171
|
+
},
|
172
|
+
"metadata": {
|
173
|
+
"apiVersion": "2024-05-22",
|
174
|
+
"api_brief": "支持直接通过API调用大模型能力。",
|
175
|
+
"serviceNameCN": "知识引擎原子能力",
|
176
|
+
"serviceShortName": "lkeap"
|
177
|
+
},
|
178
|
+
"objects": {
|
179
|
+
"AttributeItem": {
|
180
|
+
"document": "属性信息",
|
181
|
+
"members": [
|
182
|
+
{
|
183
|
+
"disabled": false,
|
184
|
+
"document": "属性id\n注意:此字段可能返回 null,表示取不到有效值。",
|
185
|
+
"example": "无",
|
186
|
+
"member": "string",
|
187
|
+
"name": "AttributeId",
|
188
|
+
"output_required": false,
|
189
|
+
"required": false,
|
190
|
+
"type": "string",
|
191
|
+
"value_allowed_null": true
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"disabled": false,
|
195
|
+
"document": "属性标识\n注意:此字段可能返回 null,表示取不到有效值。",
|
196
|
+
"example": "无",
|
197
|
+
"member": "string",
|
198
|
+
"name": "AttributeKey",
|
199
|
+
"output_required": false,
|
200
|
+
"required": false,
|
201
|
+
"type": "string",
|
202
|
+
"value_allowed_null": true
|
203
|
+
},
|
204
|
+
{
|
205
|
+
"disabled": false,
|
206
|
+
"document": "属性名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
207
|
+
"example": "无",
|
208
|
+
"member": "string",
|
209
|
+
"name": "AttributeName",
|
210
|
+
"output_required": false,
|
211
|
+
"required": false,
|
212
|
+
"type": "string",
|
213
|
+
"value_allowed_null": true
|
214
|
+
},
|
215
|
+
{
|
216
|
+
"disabled": false,
|
217
|
+
"document": "标签名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
218
|
+
"example": "无",
|
219
|
+
"member": "AttributeLabelItem",
|
220
|
+
"name": "Labels",
|
221
|
+
"output_required": false,
|
222
|
+
"required": false,
|
223
|
+
"type": "list",
|
224
|
+
"value_allowed_null": true
|
225
|
+
}
|
226
|
+
],
|
227
|
+
"usage": "both"
|
228
|
+
},
|
229
|
+
"AttributeLabelItem": {
|
230
|
+
"document": "属性标签信息",
|
231
|
+
"members": [
|
232
|
+
{
|
233
|
+
"disabled": false,
|
234
|
+
"document": "标签id\n注意:此字段可能返回 null,表示取不到有效值。",
|
235
|
+
"example": "无",
|
236
|
+
"member": "string",
|
237
|
+
"name": "LabelId",
|
238
|
+
"output_required": false,
|
239
|
+
"required": false,
|
240
|
+
"type": "string",
|
241
|
+
"value_allowed_null": true
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"disabled": false,
|
245
|
+
"document": "标签名称,最大80个英文字符\n注意:此字段可能返回 null,表示取不到有效值。",
|
246
|
+
"example": "无",
|
247
|
+
"member": "string",
|
248
|
+
"name": "LabelName",
|
249
|
+
"output_required": false,
|
250
|
+
"required": false,
|
251
|
+
"type": "string",
|
252
|
+
"value_allowed_null": true
|
253
|
+
}
|
254
|
+
],
|
255
|
+
"usage": "both"
|
256
|
+
},
|
257
|
+
"AttributeLabelReferItem": {
|
258
|
+
"document": "属性标签引用",
|
259
|
+
"members": [
|
260
|
+
{
|
261
|
+
"disabled": false,
|
262
|
+
"document": "属性id\n注意:此字段可能返回 null,表示取不到有效值。",
|
263
|
+
"example": "无",
|
264
|
+
"member": "string",
|
265
|
+
"name": "AttributeId",
|
266
|
+
"output_required": false,
|
267
|
+
"required": false,
|
268
|
+
"type": "string",
|
269
|
+
"value_allowed_null": true
|
270
|
+
},
|
271
|
+
{
|
272
|
+
"disabled": false,
|
273
|
+
"document": "标签id\n注意:此字段可能返回 null,表示取不到有效值。",
|
274
|
+
"example": "无",
|
275
|
+
"member": "string",
|
276
|
+
"name": "LabelIds",
|
277
|
+
"output_required": false,
|
278
|
+
"required": false,
|
279
|
+
"type": "list",
|
280
|
+
"value_allowed_null": true
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"usage": "both"
|
284
|
+
},
|
285
|
+
"CreateAttributeLabelRequest": {
|
286
|
+
"document": "CreateAttributeLabel请求参数结构体",
|
287
|
+
"members": [
|
288
|
+
{
|
289
|
+
"disabled": false,
|
290
|
+
"document": "属性标签信息",
|
291
|
+
"example": "无",
|
292
|
+
"member": "AttributeLabelItem",
|
293
|
+
"name": "Labels",
|
294
|
+
"required": false,
|
295
|
+
"type": "list"
|
296
|
+
}
|
297
|
+
],
|
298
|
+
"type": "object"
|
299
|
+
},
|
300
|
+
"CreateAttributeLabelResponse": {
|
301
|
+
"document": "CreateAttributeLabel返回参数结构体",
|
302
|
+
"members": [
|
303
|
+
{
|
304
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
305
|
+
"member": "string",
|
306
|
+
"name": "RequestId",
|
307
|
+
"type": "string"
|
308
|
+
}
|
309
|
+
],
|
310
|
+
"type": "object"
|
311
|
+
},
|
312
|
+
"CreateKnowledgeBaseRequest": {
|
313
|
+
"document": "CreateKnowledgeBase请求参数结构体",
|
314
|
+
"members": [],
|
315
|
+
"type": "object"
|
316
|
+
},
|
317
|
+
"CreateKnowledgeBaseResponse": {
|
318
|
+
"document": "CreateKnowledgeBase返回参数结构体",
|
319
|
+
"members": [
|
320
|
+
{
|
321
|
+
"disabled": false,
|
322
|
+
"document": "知识库ID",
|
323
|
+
"example": "4901991032",
|
324
|
+
"member": "string",
|
325
|
+
"name": "KnowledgeBaseId",
|
326
|
+
"output_required": false,
|
327
|
+
"type": "string",
|
328
|
+
"value_allowed_null": false
|
329
|
+
},
|
330
|
+
{
|
331
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
332
|
+
"member": "string",
|
333
|
+
"name": "RequestId",
|
334
|
+
"type": "string"
|
335
|
+
}
|
336
|
+
],
|
337
|
+
"type": "object"
|
338
|
+
},
|
339
|
+
"CreateQARequest": {
|
340
|
+
"document": "CreateQA请求参数结构体",
|
341
|
+
"members": [
|
342
|
+
{
|
343
|
+
"disabled": false,
|
344
|
+
"document": "属性标签",
|
345
|
+
"example": "无",
|
346
|
+
"member": "AttributeLabelReferItem",
|
347
|
+
"name": "AttributeLabels",
|
348
|
+
"required": false,
|
349
|
+
"type": "list"
|
350
|
+
}
|
351
|
+
],
|
352
|
+
"type": "object"
|
353
|
+
},
|
354
|
+
"CreateQAResponse": {
|
355
|
+
"document": "CreateQA返回参数结构体",
|
356
|
+
"members": [
|
357
|
+
{
|
358
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
359
|
+
"member": "string",
|
360
|
+
"name": "RequestId",
|
361
|
+
"type": "string"
|
362
|
+
}
|
363
|
+
],
|
364
|
+
"type": "object"
|
365
|
+
},
|
366
|
+
"CreateReconstructDocumentFlowConfig": {
|
367
|
+
"document": "创建智能文档解析任务的配置信息",
|
368
|
+
"members": [
|
369
|
+
{
|
370
|
+
"disabled": false,
|
371
|
+
"document": "Markdown文件中表格返回的形式\n0,表格以MD形式返回\n1,表格以HTML形式返回\n默认为1",
|
372
|
+
"example": "1",
|
373
|
+
"member": "string",
|
374
|
+
"name": "TableResultType",
|
375
|
+
"required": false,
|
376
|
+
"type": "string"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"disabled": false,
|
380
|
+
"document": "智能文档解析返回结果的格式\n0:只返回全文MD;\n1:只返回每一页的OCR原始Json;\n2:只返回每一页的MD,\n3:返回全文MD + 每一页的OCR原始Json;\n4:返回全文MD + 每一页的MD,\n默认值为3(返回全文MD + 每一页的OCR原始Json)\n\n",
|
381
|
+
"example": "3",
|
382
|
+
"member": "string",
|
383
|
+
"name": "ResultType",
|
384
|
+
"required": false,
|
385
|
+
"type": "string"
|
386
|
+
}
|
387
|
+
],
|
388
|
+
"usage": "in"
|
389
|
+
},
|
390
|
+
"CreateReconstructDocumentFlowRequest": {
|
391
|
+
"document": "CreateReconstructDocumentFlow请求参数结构体",
|
392
|
+
"members": [
|
393
|
+
{
|
394
|
+
"disabled": false,
|
395
|
+
"document": "文件类型。\n\n**支持的文件类型:**\n- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`、`HTML`、`EPUB`、`BMP`、`GIF`、`WEBP`、`HEIC`、`EPS`、`ICNS`、`IM`、`PCX`、`PPM`、`TIFF`、`XBM`、`HEIF`、`JP2`\n\n**支持的文件大小:**\n - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M\n - `TXT`、`MD` 最大10M\n - 其他 最大20M\n",
|
396
|
+
"example": "PDF",
|
397
|
+
"member": "string",
|
398
|
+
"name": "FileType",
|
399
|
+
"required": true,
|
400
|
+
"type": "string"
|
401
|
+
},
|
402
|
+
{
|
403
|
+
"disabled": false,
|
404
|
+
"document": "文件的 URL 地址。\n文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。\n参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)",
|
405
|
+
"example": "无",
|
406
|
+
"member": "string",
|
407
|
+
"name": "FileUrl",
|
408
|
+
"required": false,
|
409
|
+
"type": "string"
|
410
|
+
},
|
411
|
+
{
|
412
|
+
"disabled": false,
|
413
|
+
"document": "文件的 Base64 值。\n支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。\n支持的图片像素:单边介于20-10000px之间。\n文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
|
414
|
+
"example": "无",
|
415
|
+
"member": "string",
|
416
|
+
"name": "FileBase64",
|
417
|
+
"required": false,
|
418
|
+
"type": "string"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"disabled": false,
|
422
|
+
"document": "文档的起始页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的起始页码,识别的页码包含当前值。",
|
423
|
+
"example": "1",
|
424
|
+
"member": "int64",
|
425
|
+
"name": "FileStartPageNumber",
|
426
|
+
"required": false,
|
427
|
+
"type": "int"
|
428
|
+
},
|
429
|
+
{
|
430
|
+
"disabled": false,
|
431
|
+
"document": "文档的结束页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的结束页码,识别的页码包含当前值。",
|
432
|
+
"example": "100",
|
433
|
+
"member": "int64",
|
434
|
+
"name": "FileEndPageNumber",
|
435
|
+
"required": false,
|
436
|
+
"type": "int"
|
437
|
+
},
|
438
|
+
{
|
439
|
+
"disabled": false,
|
440
|
+
"document": "创建文档解析任务配置信息。",
|
441
|
+
"example": "{\"TableResultType\":\"1\"}",
|
442
|
+
"member": "CreateReconstructDocumentFlowConfig",
|
443
|
+
"name": "Config",
|
444
|
+
"required": false,
|
445
|
+
"type": "object"
|
446
|
+
}
|
447
|
+
],
|
448
|
+
"type": "object"
|
449
|
+
},
|
450
|
+
"CreateReconstructDocumentFlowResponse": {
|
451
|
+
"document": "CreateReconstructDocumentFlow返回参数结构体",
|
452
|
+
"members": [
|
453
|
+
{
|
454
|
+
"disabled": false,
|
455
|
+
"document": "任务唯一id。30天内可以通过GetReconstructDocumentResult接口查询TaskId对应的处理结果。",
|
456
|
+
"example": "无",
|
457
|
+
"member": "string",
|
458
|
+
"name": "TaskId",
|
459
|
+
"output_required": true,
|
460
|
+
"type": "string",
|
461
|
+
"value_allowed_null": false
|
462
|
+
},
|
463
|
+
{
|
464
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
465
|
+
"member": "string",
|
466
|
+
"name": "RequestId",
|
467
|
+
"type": "string"
|
468
|
+
}
|
469
|
+
],
|
470
|
+
"type": "object"
|
471
|
+
},
|
472
|
+
"CreateSplitDocumentFlowConfig": {
|
473
|
+
"document": "创建智能文档拆分任务的配置信息",
|
474
|
+
"members": [
|
475
|
+
{
|
476
|
+
"disabled": true,
|
477
|
+
"document": "Markdown文件中表格返回的形式\n0,表格以MD形式返回\n1,表格以HTML形式返回\n默认为",
|
478
|
+
"example": "1",
|
479
|
+
"member": "string",
|
480
|
+
"name": "TableResultType",
|
481
|
+
"required": false,
|
482
|
+
"type": "string"
|
483
|
+
},
|
484
|
+
{
|
485
|
+
"disabled": true,
|
486
|
+
"document": "智能文档解析返回结果的格式\n0:只返回全文MD;\n1:只返回每一页的OCR原始Json;\n2:只返回每一页的MD,\n3:返回全文MD + 每一页的OCR原始Json;\n4:返回全文MD + 每一页的MD,\n默认值为3(返回全文MD + 每一页的OCR原始Json)\n\n",
|
487
|
+
"example": "3",
|
488
|
+
"member": "string",
|
489
|
+
"name": "ResultType",
|
490
|
+
"required": false,
|
491
|
+
"type": "string"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"disabled": false,
|
495
|
+
"document": "是否开启mllm",
|
496
|
+
"example": "true",
|
497
|
+
"member": "bool",
|
498
|
+
"name": "EnableMllm",
|
499
|
+
"required": false,
|
500
|
+
"type": "bool"
|
501
|
+
},
|
502
|
+
{
|
503
|
+
"disabled": false,
|
504
|
+
"document": "最大分片长度",
|
505
|
+
"example": "4800",
|
506
|
+
"member": "int64",
|
507
|
+
"name": "MaxChunkSize",
|
508
|
+
"required": false,
|
509
|
+
"type": "int"
|
510
|
+
}
|
511
|
+
],
|
512
|
+
"usage": "in"
|
513
|
+
},
|
514
|
+
"CreateSplitDocumentFlowRequest": {
|
515
|
+
"document": "CreateSplitDocumentFlow请求参数结构体",
|
516
|
+
"members": [
|
517
|
+
{
|
518
|
+
"disabled": false,
|
519
|
+
"document": "文件类型。支持的文件类型:PDF、DOC、DOCX、XLS、XLSX、PPT、PPTX、MD、TXT、PNG、JPG、JPEG、CSV",
|
520
|
+
"example": "PDF",
|
521
|
+
"member": "string",
|
522
|
+
"name": "FileType",
|
523
|
+
"required": true,
|
524
|
+
"type": "string"
|
525
|
+
},
|
526
|
+
{
|
527
|
+
"disabled": false,
|
528
|
+
"document": "文件的 Url 地址。文件存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 Url 速度和稳定性可能受一定影响。",
|
529
|
+
"example": "无",
|
530
|
+
"member": "string",
|
531
|
+
"name": "FileUrl",
|
532
|
+
"required": true,
|
533
|
+
"type": "string"
|
534
|
+
},
|
535
|
+
{
|
536
|
+
"disabled": false,
|
537
|
+
"document": "文件名,可选,当文件名无法从传入的FileUrl获取时需要通过该字段来明确",
|
538
|
+
"example": "yourfile.pdf",
|
539
|
+
"member": "string",
|
540
|
+
"name": "FileName",
|
541
|
+
"required": false,
|
542
|
+
"type": "string"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"disabled": true,
|
546
|
+
"document": "文件的 Base64 值。支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。支持的图片像素:单边介于20-10000px之间。文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
|
547
|
+
"example": "无",
|
548
|
+
"member": "string",
|
549
|
+
"name": "FileBase64",
|
550
|
+
"required": false,
|
551
|
+
"type": "string"
|
552
|
+
},
|
553
|
+
{
|
554
|
+
"disabled": false,
|
555
|
+
"document": "当传入文件是PDF类型时,用来指定pdf识别的起始页码,识别的页码包含当前值",
|
556
|
+
"example": "1",
|
557
|
+
"member": "int64",
|
558
|
+
"name": "FileStartPageNumber",
|
559
|
+
"required": false,
|
560
|
+
"type": "int"
|
561
|
+
},
|
562
|
+
{
|
563
|
+
"disabled": false,
|
564
|
+
"document": "当传入文件是PDF类型时,用来指定pdf识别的结束页码,识别的页码包含当前值。",
|
565
|
+
"example": "100",
|
566
|
+
"member": "int64",
|
567
|
+
"name": "FileEndPageNumber",
|
568
|
+
"required": false,
|
569
|
+
"type": "int"
|
570
|
+
},
|
571
|
+
{
|
572
|
+
"disabled": false,
|
573
|
+
"document": "创建文档拆分任务配置信息创建文档解析任务配置信息\t\t",
|
574
|
+
"example": "{\"TableResultType\":\"1\"}\t",
|
575
|
+
"member": "CreateSplitDocumentFlowConfig",
|
576
|
+
"name": "Config",
|
577
|
+
"required": false,
|
578
|
+
"type": "object"
|
579
|
+
}
|
580
|
+
],
|
581
|
+
"type": "object"
|
582
|
+
},
|
583
|
+
"CreateSplitDocumentFlowResponse": {
|
584
|
+
"document": "CreateSplitDocumentFlow返回参数结构体",
|
585
|
+
"members": [
|
586
|
+
{
|
587
|
+
"disabled": false,
|
588
|
+
"document": "任务唯一id。30天内可以通过GetSplitDocumentResult接口查询TaskId对应的处理结果。",
|
589
|
+
"example": "无",
|
590
|
+
"member": "string",
|
591
|
+
"name": "TaskId",
|
592
|
+
"output_required": true,
|
593
|
+
"type": "string",
|
594
|
+
"value_allowed_null": false
|
595
|
+
},
|
596
|
+
{
|
597
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
598
|
+
"member": "string",
|
599
|
+
"name": "RequestId",
|
600
|
+
"type": "string"
|
601
|
+
}
|
602
|
+
],
|
603
|
+
"type": "object"
|
604
|
+
},
|
605
|
+
"DeleteAttributeLabelsRequest": {
|
606
|
+
"document": "DeleteAttributeLabels请求参数结构体",
|
607
|
+
"members": [],
|
608
|
+
"type": "object"
|
609
|
+
},
|
610
|
+
"DeleteAttributeLabelsResponse": {
|
611
|
+
"document": "DeleteAttributeLabels返回参数结构体",
|
612
|
+
"members": [
|
613
|
+
{
|
614
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
615
|
+
"member": "string",
|
616
|
+
"name": "RequestId",
|
617
|
+
"type": "string"
|
618
|
+
}
|
619
|
+
],
|
620
|
+
"type": "object"
|
621
|
+
},
|
622
|
+
"DeleteDocsRequest": {
|
623
|
+
"document": "DeleteDocs请求参数结构体",
|
624
|
+
"members": [],
|
625
|
+
"type": "object"
|
626
|
+
},
|
627
|
+
"DeleteDocsResponse": {
|
628
|
+
"document": "DeleteDocs返回参数结构体",
|
629
|
+
"members": [
|
630
|
+
{
|
631
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
632
|
+
"member": "string",
|
633
|
+
"name": "RequestId",
|
634
|
+
"type": "string"
|
635
|
+
}
|
636
|
+
],
|
637
|
+
"type": "object"
|
638
|
+
},
|
639
|
+
"DeleteKnowledgeBaseRequest": {
|
640
|
+
"document": "DeleteKnowledgeBase请求参数结构体",
|
641
|
+
"members": [
|
642
|
+
{
|
643
|
+
"disabled": false,
|
644
|
+
"document": "知识库ID",
|
645
|
+
"example": "41019910164",
|
646
|
+
"member": "string",
|
647
|
+
"name": "KnowledgeBaseId",
|
648
|
+
"required": true,
|
649
|
+
"type": "string"
|
650
|
+
}
|
651
|
+
],
|
652
|
+
"type": "object"
|
653
|
+
},
|
654
|
+
"DeleteKnowledgeBaseResponse": {
|
655
|
+
"document": "DeleteKnowledgeBase返回参数结构体",
|
656
|
+
"members": [
|
657
|
+
{
|
658
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
659
|
+
"member": "string",
|
660
|
+
"name": "RequestId",
|
661
|
+
"type": "string"
|
662
|
+
}
|
663
|
+
],
|
664
|
+
"type": "object"
|
665
|
+
},
|
666
|
+
"DeleteQAsRequest": {
|
667
|
+
"document": "DeleteQAs请求参数结构体",
|
668
|
+
"members": [],
|
669
|
+
"type": "object"
|
670
|
+
},
|
671
|
+
"DeleteQAsResponse": {
|
672
|
+
"document": "DeleteQAs返回参数结构体",
|
673
|
+
"members": [
|
674
|
+
{
|
675
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
676
|
+
"member": "string",
|
677
|
+
"name": "RequestId",
|
678
|
+
"type": "string"
|
679
|
+
}
|
680
|
+
],
|
681
|
+
"type": "object"
|
682
|
+
},
|
683
|
+
"DescribeDocRequest": {
|
684
|
+
"document": "DescribeDoc请求参数结构体",
|
685
|
+
"members": [],
|
686
|
+
"type": "object"
|
687
|
+
},
|
688
|
+
"DescribeDocResponse": {
|
689
|
+
"document": "DescribeDoc返回参数结构体",
|
690
|
+
"members": [
|
691
|
+
{
|
692
|
+
"disabled": false,
|
693
|
+
"document": "属性标签",
|
694
|
+
"example": "无",
|
695
|
+
"member": "AttributeLabelReferItem",
|
696
|
+
"name": "AttributeLabels",
|
697
|
+
"output_required": false,
|
698
|
+
"type": "list",
|
699
|
+
"value_allowed_null": false
|
700
|
+
},
|
701
|
+
{
|
702
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
703
|
+
"member": "string",
|
704
|
+
"name": "RequestId",
|
705
|
+
"type": "string"
|
706
|
+
}
|
707
|
+
],
|
708
|
+
"type": "object"
|
709
|
+
},
|
710
|
+
"DocItem": {
|
711
|
+
"document": "离线文档列表回包",
|
712
|
+
"members": [
|
713
|
+
{
|
714
|
+
"disabled": false,
|
715
|
+
"document": "文档id\n注意:此字段可能返回 null,表示取不到有效值。",
|
716
|
+
"example": "无",
|
717
|
+
"member": "string",
|
718
|
+
"name": "DocId",
|
719
|
+
"output_required": false,
|
720
|
+
"required": false,
|
721
|
+
"type": "string",
|
722
|
+
"value_allowed_null": true
|
723
|
+
},
|
724
|
+
{
|
725
|
+
"disabled": false,
|
726
|
+
"document": " 状态,\n- Uploading 上传中 \n- Parsing 解析中 \n- ParseFailed 解析失败\n- Indexing 创建索引中 \n- IndexFailed 创建索引失败\n- Success 发布成功\n- Failed 失败\n注意:此字段可能返回 null,表示取不到有效值。",
|
727
|
+
"example": "无",
|
728
|
+
"member": "string",
|
729
|
+
"name": "Status",
|
730
|
+
"output_required": false,
|
731
|
+
"required": false,
|
732
|
+
"type": "string",
|
733
|
+
"value_allowed_null": true
|
734
|
+
},
|
735
|
+
{
|
736
|
+
"disabled": false,
|
737
|
+
"document": "文件名\n注意:此字段可能返回 null,表示取不到有效值。",
|
738
|
+
"example": "无",
|
739
|
+
"member": "string",
|
740
|
+
"name": "FileName",
|
741
|
+
"output_required": false,
|
742
|
+
"required": false,
|
743
|
+
"type": "string",
|
744
|
+
"value_allowed_null": true
|
745
|
+
},
|
746
|
+
{
|
747
|
+
"disabled": false,
|
748
|
+
"document": "更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
749
|
+
"example": "无",
|
750
|
+
"member": "string",
|
751
|
+
"name": "UpdateTime",
|
752
|
+
"output_required": false,
|
753
|
+
"required": false,
|
754
|
+
"type": "string",
|
755
|
+
"value_allowed_null": true
|
756
|
+
},
|
757
|
+
{
|
758
|
+
"disabled": false,
|
759
|
+
"document": "属性标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
760
|
+
"example": "无",
|
761
|
+
"member": "AttributeLabelReferItem",
|
762
|
+
"name": "AttributeLabels",
|
763
|
+
"output_required": false,
|
764
|
+
"required": false,
|
765
|
+
"type": "list",
|
766
|
+
"value_allowed_null": true
|
767
|
+
}
|
768
|
+
],
|
769
|
+
"usage": "both"
|
770
|
+
},
|
771
|
+
"DocumentUsage": {
|
772
|
+
"document": "文档拆分任务的用量",
|
773
|
+
"members": [
|
774
|
+
{
|
775
|
+
"disabled": false,
|
776
|
+
"document": "文档拆分任务的页数",
|
777
|
+
"example": "10",
|
778
|
+
"member": "int64",
|
779
|
+
"name": "PageNumber",
|
780
|
+
"output_required": false,
|
781
|
+
"type": "int",
|
782
|
+
"value_allowed_null": false
|
783
|
+
},
|
784
|
+
{
|
785
|
+
"disabled": true,
|
786
|
+
"document": "文档拆分任务消耗的总token数",
|
787
|
+
"example": "2048",
|
788
|
+
"member": "int64",
|
789
|
+
"name": "TotalToken",
|
790
|
+
"output_required": false,
|
791
|
+
"type": "int",
|
792
|
+
"value_allowed_null": false
|
793
|
+
},
|
794
|
+
{
|
795
|
+
"disabled": false,
|
796
|
+
"document": "文档拆分任务消耗的总token数",
|
797
|
+
"example": "2048",
|
798
|
+
"member": "int64",
|
799
|
+
"name": "TotalTokens",
|
800
|
+
"output_required": false,
|
801
|
+
"type": "int",
|
802
|
+
"value_allowed_null": false
|
803
|
+
}
|
804
|
+
],
|
805
|
+
"usage": "out"
|
806
|
+
},
|
807
|
+
"EmbeddingObject": {
|
808
|
+
"document": "向量",
|
809
|
+
"members": [
|
810
|
+
{
|
811
|
+
"disabled": false,
|
812
|
+
"document": "向量",
|
813
|
+
"example": "无",
|
814
|
+
"member": "float",
|
815
|
+
"name": "Embedding",
|
816
|
+
"output_required": false,
|
817
|
+
"required": false,
|
818
|
+
"type": "list",
|
819
|
+
"value_allowed_null": false
|
820
|
+
}
|
821
|
+
],
|
822
|
+
"usage": "both"
|
823
|
+
},
|
824
|
+
"GetEmbeddingRequest": {
|
825
|
+
"document": "GetEmbedding请求参数结构体",
|
826
|
+
"members": [
|
827
|
+
{
|
828
|
+
"disabled": false,
|
829
|
+
"document": "模型名称",
|
830
|
+
"example": "lke-text-embedding-v1",
|
831
|
+
"member": "string",
|
832
|
+
"name": "Model",
|
833
|
+
"required": true,
|
834
|
+
"type": "string"
|
835
|
+
},
|
836
|
+
{
|
837
|
+
"disabled": false,
|
838
|
+
"document": "需要 embedding 的文本, 单条文本最大长度500个字符, 总条数最大7条",
|
839
|
+
"example": "[\"hello\", \"world\"]",
|
840
|
+
"member": "string",
|
841
|
+
"name": "Inputs",
|
842
|
+
"required": true,
|
843
|
+
"type": "list"
|
844
|
+
}
|
845
|
+
],
|
846
|
+
"type": "object"
|
847
|
+
},
|
848
|
+
"GetEmbeddingResponse": {
|
849
|
+
"document": "GetEmbedding返回参数结构体",
|
850
|
+
"members": [
|
851
|
+
{
|
852
|
+
"disabled": false,
|
853
|
+
"document": "特征",
|
854
|
+
"example": "无",
|
855
|
+
"member": "EmbeddingObject",
|
856
|
+
"name": "Data",
|
857
|
+
"output_required": true,
|
858
|
+
"type": "list",
|
859
|
+
"value_allowed_null": false
|
860
|
+
},
|
861
|
+
{
|
862
|
+
"disabled": false,
|
863
|
+
"document": "消耗量,返回TotalToken",
|
864
|
+
"example": "{\"TotalTokens\":3}",
|
865
|
+
"member": "Usage",
|
866
|
+
"name": "Usage",
|
867
|
+
"output_required": false,
|
868
|
+
"type": "object",
|
869
|
+
"value_allowed_null": false
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
873
|
+
"member": "string",
|
874
|
+
"name": "RequestId",
|
875
|
+
"type": "string"
|
876
|
+
}
|
877
|
+
],
|
878
|
+
"type": "object"
|
879
|
+
},
|
880
|
+
"GetReconstructDocumentResultRequest": {
|
881
|
+
"document": "GetReconstructDocumentResult请求参数结构体",
|
882
|
+
"members": [
|
883
|
+
{
|
884
|
+
"disabled": false,
|
885
|
+
"document": "解析任务ID",
|
886
|
+
"example": "无",
|
887
|
+
"member": "string",
|
888
|
+
"name": "TaskId",
|
889
|
+
"required": true,
|
890
|
+
"type": "string"
|
891
|
+
}
|
892
|
+
],
|
893
|
+
"type": "object"
|
894
|
+
},
|
895
|
+
"GetReconstructDocumentResultResponse": {
|
896
|
+
"document": "GetReconstructDocumentResult返回参数结构体",
|
897
|
+
"members": [
|
898
|
+
{
|
899
|
+
"disabled": false,
|
900
|
+
"document": "任务状态。- `Success`:执行完成- `Processing`:执行中- `Pause`: 暂停- `Failed`:执行失败- `WaitExecute`:等待执行",
|
901
|
+
"example": "Success",
|
902
|
+
"member": "string",
|
903
|
+
"name": "Status",
|
904
|
+
"output_required": false,
|
905
|
+
"type": "string",
|
906
|
+
"value_allowed_null": false
|
907
|
+
},
|
908
|
+
{
|
909
|
+
"disabled": false,
|
910
|
+
"document": "解析结果的临时下载地址。文件类型为zip压缩包,下载链接有效期30分钟",
|
911
|
+
"example": "https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/example/example.zip",
|
912
|
+
"member": "string",
|
913
|
+
"name": "DocumentRecognizeResultUrl",
|
914
|
+
"output_required": false,
|
915
|
+
"type": "string",
|
916
|
+
"value_allowed_null": false
|
917
|
+
},
|
918
|
+
{
|
919
|
+
"disabled": false,
|
920
|
+
"document": "文档解析失败的页码",
|
921
|
+
"example": "无",
|
922
|
+
"member": "ReconstructDocumentFailedPage",
|
923
|
+
"name": "FailedPages",
|
924
|
+
"output_required": false,
|
925
|
+
"type": "list",
|
926
|
+
"value_allowed_null": false
|
927
|
+
},
|
928
|
+
{
|
929
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
930
|
+
"member": "string",
|
931
|
+
"name": "RequestId",
|
932
|
+
"type": "string"
|
933
|
+
}
|
934
|
+
],
|
935
|
+
"type": "object"
|
936
|
+
},
|
937
|
+
"GetSplitDocumentResultRequest": {
|
938
|
+
"document": "GetSplitDocumentResult请求参数结构体",
|
939
|
+
"members": [
|
940
|
+
{
|
941
|
+
"disabled": false,
|
942
|
+
"document": "拆分任务ID",
|
943
|
+
"example": "236e51fd-827b-41cb-b303-56003a817ce5",
|
944
|
+
"member": "string",
|
945
|
+
"name": "TaskId",
|
946
|
+
"required": true,
|
947
|
+
"type": "string"
|
948
|
+
}
|
949
|
+
],
|
950
|
+
"type": "object"
|
951
|
+
},
|
952
|
+
"GetSplitDocumentResultResponse": {
|
953
|
+
"document": "GetSplitDocumentResult返回参数结构体",
|
954
|
+
"members": [
|
955
|
+
{
|
956
|
+
"disabled": false,
|
957
|
+
"document": "任务状态。\n\n- `Success`:执行完成\n- `Processing`:执行中\n- `Pause`: 暂停\n- `Failed`:执行失败\n- `WaitExecute`:等待执行",
|
958
|
+
"example": "Success",
|
959
|
+
"member": "string",
|
960
|
+
"name": "Status",
|
961
|
+
"output_required": false,
|
962
|
+
"type": "string",
|
963
|
+
"value_allowed_null": false
|
964
|
+
},
|
965
|
+
{
|
966
|
+
"disabled": false,
|
967
|
+
"document": "拆分结果的临时下载地址。\n文件类型为zip压缩包,下载链接有效期30分钟。\n压缩包内包含\\*.md、\\*.jsonl、\\*mllm.json以及images文件夹。\n\n> **jsonl** 结构说明:\n- `page_content`:\n 用于生成嵌入(embedding)库,以便于检索使用。该字段中的图片将使用占位符替换。\n- `org_data`:\n 表示与 page_content 对应的最小语义完整性块,用于问答模型的处理。\n- `big_data`:\n 表示与 page_content 对应的最大语义完整性块,也用于问答模型的处理。",
|
968
|
+
"example": "https://qidian-qbot-1251316161.cos.ap-guangzhou.myqcloud.com/public/example/example.zip",
|
969
|
+
"member": "string",
|
970
|
+
"name": "DocumentRecognizeResultUrl",
|
971
|
+
"output_required": false,
|
972
|
+
"type": "string",
|
973
|
+
"value_allowed_null": false
|
974
|
+
},
|
975
|
+
{
|
976
|
+
"disabled": true,
|
977
|
+
"document": "文档拆分失败的页码",
|
978
|
+
"example": "无",
|
979
|
+
"member": "SplitDocumentFailedPage",
|
980
|
+
"name": "FailedPages",
|
981
|
+
"output_required": false,
|
982
|
+
"type": "list",
|
983
|
+
"value_allowed_null": false
|
984
|
+
},
|
985
|
+
{
|
986
|
+
"disabled": false,
|
987
|
+
"document": "文档拆分任务的用量",
|
988
|
+
"example": "{\"PageNumber\":10,\"TotalTokens\":2048}",
|
989
|
+
"member": "DocumentUsage",
|
990
|
+
"name": "Usage",
|
991
|
+
"output_required": false,
|
992
|
+
"type": "object",
|
993
|
+
"value_allowed_null": false
|
994
|
+
},
|
995
|
+
{
|
996
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
997
|
+
"member": "string",
|
998
|
+
"name": "RequestId",
|
999
|
+
"type": "string"
|
1000
|
+
}
|
1001
|
+
],
|
1002
|
+
"type": "object"
|
1003
|
+
},
|
1004
|
+
"ImportQAsRequest": {
|
1005
|
+
"document": "ImportQAs请求参数结构体",
|
1006
|
+
"members": [],
|
1007
|
+
"type": "object"
|
1008
|
+
},
|
1009
|
+
"ImportQAsResponse": {
|
1010
|
+
"document": "ImportQAs返回参数结构体",
|
1011
|
+
"members": [
|
1012
|
+
{
|
1013
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1014
|
+
"member": "string",
|
1015
|
+
"name": "RequestId",
|
1016
|
+
"type": "string"
|
1017
|
+
}
|
1018
|
+
],
|
1019
|
+
"type": "object"
|
1020
|
+
},
|
1021
|
+
"LabelItem": {
|
1022
|
+
"document": "属性标签",
|
1023
|
+
"members": [
|
1024
|
+
{
|
1025
|
+
"disabled": false,
|
1026
|
+
"document": "属性key",
|
1027
|
+
"example": "key1",
|
1028
|
+
"member": "string",
|
1029
|
+
"name": "Name",
|
1030
|
+
"required": false,
|
1031
|
+
"type": "string"
|
1032
|
+
},
|
1033
|
+
{
|
1034
|
+
"disabled": false,
|
1035
|
+
"document": "标签值",
|
1036
|
+
"example": "[\"v1\",\"v2\"]",
|
1037
|
+
"member": "string",
|
1038
|
+
"name": "Values",
|
1039
|
+
"required": false,
|
1040
|
+
"type": "list"
|
1041
|
+
}
|
1042
|
+
],
|
1043
|
+
"usage": "in"
|
1044
|
+
},
|
1045
|
+
"ListAttributeLabelsRequest": {
|
1046
|
+
"document": "ListAttributeLabels请求参数结构体",
|
1047
|
+
"members": [],
|
1048
|
+
"type": "object"
|
1049
|
+
},
|
1050
|
+
"ListAttributeLabelsResponse": {
|
1051
|
+
"document": "ListAttributeLabels返回参数结构体",
|
1052
|
+
"members": [
|
1053
|
+
{
|
1054
|
+
"disabled": false,
|
1055
|
+
"document": "属性标签列表",
|
1056
|
+
"example": "无",
|
1057
|
+
"member": "AttributeItem",
|
1058
|
+
"name": "List",
|
1059
|
+
"output_required": false,
|
1060
|
+
"type": "list",
|
1061
|
+
"value_allowed_null": false
|
1062
|
+
},
|
1063
|
+
{
|
1064
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1065
|
+
"member": "string",
|
1066
|
+
"name": "RequestId",
|
1067
|
+
"type": "string"
|
1068
|
+
}
|
1069
|
+
],
|
1070
|
+
"type": "object"
|
1071
|
+
},
|
1072
|
+
"ListDocsRequest": {
|
1073
|
+
"document": "ListDocs请求参数结构体",
|
1074
|
+
"members": [],
|
1075
|
+
"type": "object"
|
1076
|
+
},
|
1077
|
+
"ListDocsResponse": {
|
1078
|
+
"document": "ListDocs返回参数结构体",
|
1079
|
+
"members": [
|
1080
|
+
{
|
1081
|
+
"disabled": false,
|
1082
|
+
"document": "文档信息",
|
1083
|
+
"example": "无",
|
1084
|
+
"member": "DocItem",
|
1085
|
+
"name": "List",
|
1086
|
+
"output_required": false,
|
1087
|
+
"type": "list",
|
1088
|
+
"value_allowed_null": false
|
1089
|
+
},
|
1090
|
+
{
|
1091
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1092
|
+
"member": "string",
|
1093
|
+
"name": "RequestId",
|
1094
|
+
"type": "string"
|
1095
|
+
}
|
1096
|
+
],
|
1097
|
+
"type": "object"
|
1098
|
+
},
|
1099
|
+
"ListQAsRequest": {
|
1100
|
+
"document": "ListQAs请求参数结构体",
|
1101
|
+
"members": [],
|
1102
|
+
"type": "object"
|
1103
|
+
},
|
1104
|
+
"ListQAsResponse": {
|
1105
|
+
"document": "ListQAs返回参数结构体",
|
1106
|
+
"members": [
|
1107
|
+
{
|
1108
|
+
"disabled": false,
|
1109
|
+
"document": "问答对信息",
|
1110
|
+
"example": "无",
|
1111
|
+
"member": "QaItem",
|
1112
|
+
"name": "List",
|
1113
|
+
"output_required": false,
|
1114
|
+
"type": "list",
|
1115
|
+
"value_allowed_null": false
|
1116
|
+
},
|
1117
|
+
{
|
1118
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1119
|
+
"member": "string",
|
1120
|
+
"name": "RequestId",
|
1121
|
+
"type": "string"
|
1122
|
+
}
|
1123
|
+
],
|
1124
|
+
"type": "object"
|
1125
|
+
},
|
1126
|
+
"ModifyAttributeLabelRequest": {
|
1127
|
+
"document": "ModifyAttributeLabel请求参数结构体",
|
1128
|
+
"members": [
|
1129
|
+
{
|
1130
|
+
"disabled": false,
|
1131
|
+
"document": "属性标签",
|
1132
|
+
"example": "无",
|
1133
|
+
"member": "AttributeLabelItem",
|
1134
|
+
"name": "Labels",
|
1135
|
+
"required": false,
|
1136
|
+
"type": "list"
|
1137
|
+
}
|
1138
|
+
],
|
1139
|
+
"type": "object"
|
1140
|
+
},
|
1141
|
+
"ModifyAttributeLabelResponse": {
|
1142
|
+
"document": "ModifyAttributeLabel返回参数结构体",
|
1143
|
+
"members": [
|
1144
|
+
{
|
1145
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1146
|
+
"member": "string",
|
1147
|
+
"name": "RequestId",
|
1148
|
+
"type": "string"
|
1149
|
+
}
|
1150
|
+
],
|
1151
|
+
"type": "object"
|
1152
|
+
},
|
1153
|
+
"ModifyQARequest": {
|
1154
|
+
"document": "ModifyQA请求参数结构体",
|
1155
|
+
"members": [
|
1156
|
+
{
|
1157
|
+
"disabled": false,
|
1158
|
+
"document": "属性标签",
|
1159
|
+
"example": "无",
|
1160
|
+
"member": "AttributeLabelReferItem",
|
1161
|
+
"name": "AttributeLabels",
|
1162
|
+
"required": false,
|
1163
|
+
"type": "list"
|
1164
|
+
}
|
1165
|
+
],
|
1166
|
+
"type": "object"
|
1167
|
+
},
|
1168
|
+
"ModifyQAResponse": {
|
1169
|
+
"document": "ModifyQA返回参数结构体",
|
1170
|
+
"members": [
|
1171
|
+
{
|
1172
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1173
|
+
"member": "string",
|
1174
|
+
"name": "RequestId",
|
1175
|
+
"type": "string"
|
1176
|
+
}
|
1177
|
+
],
|
1178
|
+
"type": "object"
|
1179
|
+
},
|
1180
|
+
"QaItem": {
|
1181
|
+
"document": "问答对信息",
|
1182
|
+
"members": [
|
1183
|
+
{
|
1184
|
+
"disabled": false,
|
1185
|
+
"document": "问答id\n注意:此字段可能返回 null,表示取不到有效值。",
|
1186
|
+
"example": "无",
|
1187
|
+
"member": "string",
|
1188
|
+
"name": "QaId",
|
1189
|
+
"output_required": false,
|
1190
|
+
"required": false,
|
1191
|
+
"type": "string",
|
1192
|
+
"value_allowed_null": true
|
1193
|
+
},
|
1194
|
+
{
|
1195
|
+
"disabled": false,
|
1196
|
+
"document": "问题\n注意:此字段可能返回 null,表示取不到有效值。",
|
1197
|
+
"example": "无",
|
1198
|
+
"member": "string",
|
1199
|
+
"name": "Question",
|
1200
|
+
"output_required": false,
|
1201
|
+
"required": false,
|
1202
|
+
"type": "string",
|
1203
|
+
"value_allowed_null": true
|
1204
|
+
},
|
1205
|
+
{
|
1206
|
+
"disabled": false,
|
1207
|
+
"document": "答案\n注意:此字段可能返回 null,表示取不到有效值。",
|
1208
|
+
"example": "无",
|
1209
|
+
"member": "string",
|
1210
|
+
"name": "Answer",
|
1211
|
+
"output_required": false,
|
1212
|
+
"required": false,
|
1213
|
+
"type": "string",
|
1214
|
+
"value_allowed_null": true
|
1215
|
+
},
|
1216
|
+
{
|
1217
|
+
"disabled": false,
|
1218
|
+
"document": "属性标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
1219
|
+
"example": "无",
|
1220
|
+
"member": "AttributeLabelReferItem",
|
1221
|
+
"name": "AttributeLabels",
|
1222
|
+
"output_required": false,
|
1223
|
+
"required": false,
|
1224
|
+
"type": "list",
|
1225
|
+
"value_allowed_null": true
|
1226
|
+
},
|
1227
|
+
{
|
1228
|
+
"disabled": false,
|
1229
|
+
"document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1230
|
+
"example": "无",
|
1231
|
+
"member": "string",
|
1232
|
+
"name": "CreateTime",
|
1233
|
+
"output_required": false,
|
1234
|
+
"required": false,
|
1235
|
+
"type": "string",
|
1236
|
+
"value_allowed_null": true
|
1237
|
+
},
|
1238
|
+
{
|
1239
|
+
"disabled": false,
|
1240
|
+
"document": "更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1241
|
+
"example": "无",
|
1242
|
+
"member": "string",
|
1243
|
+
"name": "UpdateTime",
|
1244
|
+
"output_required": false,
|
1245
|
+
"required": false,
|
1246
|
+
"type": "string",
|
1247
|
+
"value_allowed_null": true
|
1248
|
+
}
|
1249
|
+
],
|
1250
|
+
"usage": "both"
|
1251
|
+
},
|
1252
|
+
"ReconstructDocumentFailedPage": {
|
1253
|
+
"document": "文档解析失败记录",
|
1254
|
+
"members": [
|
1255
|
+
{
|
1256
|
+
"disabled": false,
|
1257
|
+
"document": "失败页码\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
1258
|
+
"example": "无",
|
1259
|
+
"member": "int64",
|
1260
|
+
"name": "PageNumber",
|
1261
|
+
"output_required": false,
|
1262
|
+
"type": "int",
|
1263
|
+
"value_allowed_null": true
|
1264
|
+
}
|
1265
|
+
],
|
1266
|
+
"usage": "out"
|
1267
|
+
},
|
1268
|
+
"ReconstructDocumentSSEConfig": {
|
1269
|
+
"document": "ReconstructDocumentSSE 功能配置参数",
|
1270
|
+
"members": [
|
1271
|
+
{
|
1272
|
+
"disabled": false,
|
1273
|
+
"document": "Markdown文件中表格返回的形式\n0,表格以MD形式返回\n1,表格以HTML形式返回\n默认为0",
|
1274
|
+
"example": "0",
|
1275
|
+
"member": "string",
|
1276
|
+
"name": "TableResultType",
|
1277
|
+
"required": false,
|
1278
|
+
"type": "string"
|
1279
|
+
},
|
1280
|
+
{
|
1281
|
+
"disabled": false,
|
1282
|
+
"document": "Markdown文件中图片返回的形式\n0:markdown中图片以链接形式返回\n1:markdown中图片只返回图片中提取的文本内容\n默认是0",
|
1283
|
+
"example": "0",
|
1284
|
+
"member": "string",
|
1285
|
+
"name": "MarkdownImageResponseType",
|
1286
|
+
"required": false,
|
1287
|
+
"type": "string"
|
1288
|
+
},
|
1289
|
+
{
|
1290
|
+
"disabled": false,
|
1291
|
+
"document": "Markdown文件中是否包含页码信息",
|
1292
|
+
"example": "true",
|
1293
|
+
"member": "bool",
|
1294
|
+
"name": "ReturnPageFormat",
|
1295
|
+
"required": false,
|
1296
|
+
"type": "bool"
|
1297
|
+
},
|
1298
|
+
{
|
1299
|
+
"disabled": false,
|
1300
|
+
"document": "自定义输出页码样式,{{p}}为页码占位符,开启ReturnPageFormat生效。未填默认样式:<page_num>page {{p}}</page_num>",
|
1301
|
+
"example": "<page_num>page {{p}}</page_num>",
|
1302
|
+
"member": "string",
|
1303
|
+
"name": "PageFormat",
|
1304
|
+
"required": false,
|
1305
|
+
"type": "string"
|
1306
|
+
}
|
1307
|
+
],
|
1308
|
+
"usage": "in"
|
1309
|
+
},
|
1310
|
+
"ReconstructDocumentSSERequest": {
|
1311
|
+
"document": "ReconstructDocumentSSE请求参数结构体",
|
1312
|
+
"members": [
|
1313
|
+
{
|
1314
|
+
"disabled": false,
|
1315
|
+
"document": "文件类型。\n**支持的文件类型**:PDF、DOC、DOCX、PPT、PPTX、MD、TXT、XLS、XLSX、CSV、PNG、JPG、JPEG、BMP、GIF、WEBP、HEIC、EPS、ICNS、IM、PCX、PPM、TIFF、XBM、HEIF、JP2\n**支持的文件大小**:\n- PDF、DOC、DOCX、PPT、PPTX 支持100M\n- MD、TXT 支持10M\n- 其他支持20M\n",
|
1316
|
+
"example": "PDF",
|
1317
|
+
"member": "string",
|
1318
|
+
"name": "FileType",
|
1319
|
+
"required": true,
|
1320
|
+
"type": "string"
|
1321
|
+
},
|
1322
|
+
{
|
1323
|
+
"disabled": false,
|
1324
|
+
"document": "文件的 URL 地址。\n文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。\n参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)",
|
1325
|
+
"example": "无",
|
1326
|
+
"member": "string",
|
1327
|
+
"name": "FileUrl",
|
1328
|
+
"required": false,
|
1329
|
+
"type": "string"
|
1330
|
+
},
|
1331
|
+
{
|
1332
|
+
"disabled": false,
|
1333
|
+
"document": "文件的 Base64 值。\n支持的文件大小:所下载文件经Base64编码后不超过 8M。文件下载时间不超过 3 秒。\n支持的图片像素:单边介于20-10000px之间。\n文件的 FileUrl、FileBase64 必须提供一个,如果都提供,只使用 FileUrl。",
|
1334
|
+
"example": "无",
|
1335
|
+
"member": "string",
|
1336
|
+
"name": "FileBase64",
|
1337
|
+
"required": false,
|
1338
|
+
"type": "string"
|
1339
|
+
},
|
1340
|
+
{
|
1341
|
+
"disabled": false,
|
1342
|
+
"document": "文档的起始页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的起始页码,识别的页码包含当前值。",
|
1343
|
+
"example": "1",
|
1344
|
+
"member": "int64",
|
1345
|
+
"name": "FileStartPageNumber",
|
1346
|
+
"required": false,
|
1347
|
+
"type": "int"
|
1348
|
+
},
|
1349
|
+
{
|
1350
|
+
"disabled": false,
|
1351
|
+
"document": "文档的结束页码。\n当传入文件是PDF、PDF、PPT、PPTX、DOC类型时,用来指定识别的结束页码,识别的页码包含当前值。",
|
1352
|
+
"example": "100",
|
1353
|
+
"member": "int64",
|
1354
|
+
"name": "FileEndPageNumber",
|
1355
|
+
"required": false,
|
1356
|
+
"type": "int"
|
1357
|
+
},
|
1358
|
+
{
|
1359
|
+
"disabled": false,
|
1360
|
+
"document": "文档解析配置信息\t",
|
1361
|
+
"example": "无",
|
1362
|
+
"member": "ReconstructDocumentSSEConfig",
|
1363
|
+
"name": "Config",
|
1364
|
+
"required": false,
|
1365
|
+
"type": "object"
|
1366
|
+
}
|
1367
|
+
],
|
1368
|
+
"type": "object"
|
1369
|
+
},
|
1370
|
+
"ReconstructDocumentSSEResponse": {
|
1371
|
+
"document": "ReconstructDocumentSSE返回参数结构体",
|
1372
|
+
"members": [
|
1373
|
+
{
|
1374
|
+
"disabled": false,
|
1375
|
+
"document": "任务ID。本次请求的唯一标识",
|
1376
|
+
"example": "无",
|
1377
|
+
"member": "string",
|
1378
|
+
"name": "TaskId",
|
1379
|
+
"output_required": false,
|
1380
|
+
"type": "string",
|
1381
|
+
"value_allowed_null": false
|
1382
|
+
},
|
1383
|
+
{
|
1384
|
+
"disabled": false,
|
1385
|
+
"document": "响应类型。1:返回进度信息,2:返回解析结果",
|
1386
|
+
"example": "无",
|
1387
|
+
"member": "string",
|
1388
|
+
"name": "ResponseType",
|
1389
|
+
"output_required": false,
|
1390
|
+
"type": "string",
|
1391
|
+
"value_allowed_null": false
|
1392
|
+
},
|
1393
|
+
{
|
1394
|
+
"disabled": false,
|
1395
|
+
"document": "进度。0~100",
|
1396
|
+
"example": "无",
|
1397
|
+
"member": "string",
|
1398
|
+
"name": "Progress",
|
1399
|
+
"output_required": false,
|
1400
|
+
"type": "string",
|
1401
|
+
"value_allowed_null": false
|
1402
|
+
},
|
1403
|
+
{
|
1404
|
+
"disabled": false,
|
1405
|
+
"document": "进度信息。",
|
1406
|
+
"example": "无",
|
1407
|
+
"member": "string",
|
1408
|
+
"name": "ProgressMessage",
|
1409
|
+
"output_required": false,
|
1410
|
+
"type": "string",
|
1411
|
+
"value_allowed_null": false
|
1412
|
+
},
|
1413
|
+
{
|
1414
|
+
"disabled": false,
|
1415
|
+
"document": "文档解析结果URL。存储在腾讯云cos,可以通过http请求下载,URL十分钟内有效。",
|
1416
|
+
"example": "无",
|
1417
|
+
"member": "string",
|
1418
|
+
"name": "DocumentRecognizeResultUrl",
|
1419
|
+
"output_required": false,
|
1420
|
+
"type": "string",
|
1421
|
+
"value_allowed_null": false
|
1422
|
+
},
|
1423
|
+
{
|
1424
|
+
"disabled": false,
|
1425
|
+
"document": "文档解析失败的页码。",
|
1426
|
+
"example": "无",
|
1427
|
+
"member": "ReconstructDocumentFailedPage",
|
1428
|
+
"name": "FailedPages",
|
1429
|
+
"output_required": false,
|
1430
|
+
"type": "list",
|
1431
|
+
"value_allowed_null": false
|
1432
|
+
},
|
1433
|
+
{
|
1434
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
1435
|
+
"member": "string",
|
1436
|
+
"name": "RequestId",
|
1437
|
+
"type": "string"
|
1438
|
+
}
|
1439
|
+
],
|
1440
|
+
"type": "object"
|
1441
|
+
},
|
1442
|
+
"RetrievalRecord": {
|
1443
|
+
"document": "检索的结果",
|
1444
|
+
"members": [
|
1445
|
+
{
|
1446
|
+
"disabled": false,
|
1447
|
+
"document": "检索结果的元数据",
|
1448
|
+
"example": "{\"Type\":\"DOC\",\"ResultSource\":\"SEMANTIC\",\"ChunkPageNumbers\":[1,2]}",
|
1449
|
+
"member": "RetrievalRecordMetadata",
|
1450
|
+
"name": "Metadata",
|
1451
|
+
"output_required": false,
|
1452
|
+
"type": "object",
|
1453
|
+
"value_allowed_null": false
|
1454
|
+
},
|
1455
|
+
{
|
1456
|
+
"disabled": false,
|
1457
|
+
"document": "检索到的标题",
|
1458
|
+
"example": "example.pdf",
|
1459
|
+
"member": "string",
|
1460
|
+
"name": "Title",
|
1461
|
+
"output_required": false,
|
1462
|
+
"type": "string",
|
1463
|
+
"value_allowed_null": false
|
1464
|
+
},
|
1465
|
+
{
|
1466
|
+
"disabled": false,
|
1467
|
+
"document": "检索到的内容",
|
1468
|
+
"example": "国庆放7天假",
|
1469
|
+
"member": "string",
|
1470
|
+
"name": "Content",
|
1471
|
+
"output_required": false,
|
1472
|
+
"type": "string",
|
1473
|
+
"value_allowed_null": false
|
1474
|
+
}
|
1475
|
+
],
|
1476
|
+
"usage": "out"
|
1477
|
+
},
|
1478
|
+
"RetrievalRecordMetadata": {
|
1479
|
+
"document": "检索结果的元数据",
|
1480
|
+
"members": [
|
1481
|
+
{
|
1482
|
+
"disabled": false,
|
1483
|
+
"document": "结果的类型。\n- `DOC`:文档\n- `QA`:问答对",
|
1484
|
+
"example": "DOC",
|
1485
|
+
"member": "string",
|
1486
|
+
"name": "Type",
|
1487
|
+
"output_required": false,
|
1488
|
+
"type": "string",
|
1489
|
+
"value_allowed_null": false
|
1490
|
+
},
|
1491
|
+
{
|
1492
|
+
"disabled": false,
|
1493
|
+
"document": "检索结果的来源。\n- `SEMANTIC`:从语义检索中得到的结果\n- `FULL_TEXT`:从全文检索中得到的结果",
|
1494
|
+
"example": "SEMANTIC",
|
1495
|
+
"member": "string",
|
1496
|
+
"name": "ResultSource",
|
1497
|
+
"output_required": false,
|
1498
|
+
"type": "string",
|
1499
|
+
"value_allowed_null": false
|
1500
|
+
},
|
1501
|
+
{
|
1502
|
+
"disabled": false,
|
1503
|
+
"document": "切片在文档中的页码,仅部分文档支持",
|
1504
|
+
"example": "[1,2]",
|
1505
|
+
"member": "int64",
|
1506
|
+
"name": "ChunkPageNumbers",
|
1507
|
+
"output_required": false,
|
1508
|
+
"type": "list",
|
1509
|
+
"value_allowed_null": false
|
1510
|
+
}
|
1511
|
+
],
|
1512
|
+
"usage": "out"
|
1513
|
+
},
|
1514
|
+
"RetrievalSetting": {
|
1515
|
+
"document": "检索参数设置",
|
1516
|
+
"members": [
|
1517
|
+
{
|
1518
|
+
"disabled": false,
|
1519
|
+
"document": "检索的类型,不填该参数则检索全部。\n- `DOC`:文档\n- `QA`:QA\n\n仅RetrieveKnowledge接口支持该参数",
|
1520
|
+
"example": "DOC",
|
1521
|
+
"member": "string",
|
1522
|
+
"name": "Type",
|
1523
|
+
"required": false,
|
1524
|
+
"type": "string"
|
1525
|
+
},
|
1526
|
+
{
|
1527
|
+
"disabled": false,
|
1528
|
+
"document": "返回个数",
|
1529
|
+
"example": "5",
|
1530
|
+
"member": "int64",
|
1531
|
+
"name": "TopK",
|
1532
|
+
"required": false,
|
1533
|
+
"type": "int"
|
1534
|
+
},
|
1535
|
+
{
|
1536
|
+
"disabled": false,
|
1537
|
+
"document": "分数过滤",
|
1538
|
+
"example": "0.7",
|
1539
|
+
"member": "float",
|
1540
|
+
"name": "ScoreThreshold",
|
1541
|
+
"required": false,
|
1542
|
+
"type": "float"
|
1543
|
+
}
|
1544
|
+
],
|
1545
|
+
"usage": "in"
|
1546
|
+
},
|
1547
|
+
"RetrieveKnowledgeRequest": {
|
1548
|
+
"document": "RetrieveKnowledge请求参数结构体",
|
1549
|
+
"members": [
|
1550
|
+
{
|
1551
|
+
"disabled": false,
|
1552
|
+
"document": "知识库ID。",
|
1553
|
+
"example": "1840331836752986944",
|
1554
|
+
"member": "string",
|
1555
|
+
"name": "KnowledgeBaseId",
|
1556
|
+
"required": true,
|
1557
|
+
"type": "string"
|
1558
|
+
},
|
1559
|
+
{
|
1560
|
+
"disabled": false,
|
1561
|
+
"document": "用于检索的文本。",
|
1562
|
+
"example": "国庆放几天假",
|
1563
|
+
"member": "string",
|
1564
|
+
"name": "Query",
|
1565
|
+
"required": true,
|
1566
|
+
"type": "string"
|
1567
|
+
},
|
1568
|
+
{
|
1569
|
+
"disabled": false,
|
1570
|
+
"document": "检索方法,默认使用`HYBRID`混合检索。\n- `SEMANTIC`:语义检索\n- `FULL_TEXT`:全文检索\n- `HYBRID`:混合检索",
|
1571
|
+
"example": "SEMANTIC",
|
1572
|
+
"member": "string",
|
1573
|
+
"name": "RetrievalMethod",
|
1574
|
+
"required": false,
|
1575
|
+
"type": "string"
|
1576
|
+
},
|
1577
|
+
{
|
1578
|
+
"disabled": false,
|
1579
|
+
"document": "检索设置。",
|
1580
|
+
"example": "{\"TopK\":3,\"ScoreThreshold\":0.7}",
|
1581
|
+
"member": "RetrievalSetting",
|
1582
|
+
"name": "RetrievalSetting",
|
1583
|
+
"required": false,
|
1584
|
+
"type": "object"
|
1585
|
+
},
|
1586
|
+
{
|
1587
|
+
"disabled": false,
|
1588
|
+
"document": "标签过滤。",
|
1589
|
+
"example": "无",
|
1590
|
+
"member": "LabelItem",
|
1591
|
+
"name": "AttributeLabels",
|
1592
|
+
"required": false,
|
1593
|
+
"type": "list"
|
1594
|
+
}
|
1595
|
+
],
|
1596
|
+
"type": "object"
|
1597
|
+
},
|
1598
|
+
"RetrieveKnowledgeResponse": {
|
1599
|
+
"document": "RetrieveKnowledge返回参数结构体",
|
1600
|
+
"members": [
|
1601
|
+
{
|
1602
|
+
"disabled": false,
|
1603
|
+
"document": "检索结果",
|
1604
|
+
"example": "[{\"Metadata\":{\"Type\":\"DOC\",\"ResultSource\":\"SEMANTIC\",\"ChunkPageNumbers\":[1,2]},\"Score\":0,\"Title\":\"example.pdf\",\"Content\":\"国庆放7天假\"}]",
|
1605
|
+
"member": "RetrievalRecord",
|
1606
|
+
"name": "Records",
|
1607
|
+
"output_required": false,
|
1608
|
+
"type": "list",
|
1609
|
+
"value_allowed_null": false
|
1610
|
+
},
|
1611
|
+
{
|
1612
|
+
"disabled": false,
|
1613
|
+
"document": "检索结果数量",
|
1614
|
+
"example": "3",
|
1615
|
+
"member": "uint64",
|
1616
|
+
"name": "TotalCount",
|
1617
|
+
"output_required": false,
|
1618
|
+
"type": "int",
|
1619
|
+
"value_allowed_null": false
|
1620
|
+
},
|
1621
|
+
{
|
1622
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1623
|
+
"member": "string",
|
1624
|
+
"name": "RequestId",
|
1625
|
+
"type": "string"
|
1626
|
+
}
|
1627
|
+
],
|
1628
|
+
"type": "object"
|
1629
|
+
},
|
1630
|
+
"RunRerankRequest": {
|
1631
|
+
"document": "RunRerank请求参数结构体",
|
1632
|
+
"members": [
|
1633
|
+
{
|
1634
|
+
"disabled": false,
|
1635
|
+
"document": "查询内容",
|
1636
|
+
"example": "腾讯知识引擎大模型",
|
1637
|
+
"member": "string",
|
1638
|
+
"name": "Query",
|
1639
|
+
"required": true,
|
1640
|
+
"type": "string"
|
1641
|
+
},
|
1642
|
+
{
|
1643
|
+
"disabled": false,
|
1644
|
+
"document": "文档列表,最多20个",
|
1645
|
+
"example": "[\"腾讯知识引擎\",\"知识引擎大模型\"]",
|
1646
|
+
"member": "string",
|
1647
|
+
"name": "Docs",
|
1648
|
+
"required": true,
|
1649
|
+
"type": "list"
|
1650
|
+
},
|
1651
|
+
{
|
1652
|
+
"disabled": false,
|
1653
|
+
"document": "模型名称, 默认: lke-reranker-base",
|
1654
|
+
"example": "lke-reranker-base",
|
1655
|
+
"member": "string",
|
1656
|
+
"name": "Model",
|
1657
|
+
"required": false,
|
1658
|
+
"type": "string"
|
1659
|
+
}
|
1660
|
+
],
|
1661
|
+
"type": "object"
|
1662
|
+
},
|
1663
|
+
"RunRerankResponse": {
|
1664
|
+
"document": "RunRerank返回参数结构体",
|
1665
|
+
"members": [
|
1666
|
+
{
|
1667
|
+
"disabled": false,
|
1668
|
+
"document": "相关性, 数值越大越相关",
|
1669
|
+
"example": "[-19.681953, -19.414124]",
|
1670
|
+
"member": "float",
|
1671
|
+
"name": "ScoreList",
|
1672
|
+
"output_required": true,
|
1673
|
+
"type": "list",
|
1674
|
+
"value_allowed_null": false
|
1675
|
+
},
|
1676
|
+
{
|
1677
|
+
"disabled": false,
|
1678
|
+
"document": "消耗量,仅返回TotalToken",
|
1679
|
+
"example": "{\"TotalTokens\":3}",
|
1680
|
+
"member": "Usage",
|
1681
|
+
"name": "Usage",
|
1682
|
+
"output_required": false,
|
1683
|
+
"type": "object",
|
1684
|
+
"value_allowed_null": false
|
1685
|
+
},
|
1686
|
+
{
|
1687
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1688
|
+
"member": "string",
|
1689
|
+
"name": "RequestId",
|
1690
|
+
"type": "string"
|
1691
|
+
}
|
1692
|
+
],
|
1693
|
+
"type": "object"
|
1694
|
+
},
|
1695
|
+
"SegmentationConfig": {
|
1696
|
+
"document": "分段配置",
|
1697
|
+
"members": [
|
1698
|
+
{
|
1699
|
+
"disabled": false,
|
1700
|
+
"document": "最大分片长度",
|
1701
|
+
"example": "4800",
|
1702
|
+
"member": "int64",
|
1703
|
+
"name": "MaxChunkSize",
|
1704
|
+
"required": false,
|
1705
|
+
"type": "int"
|
1706
|
+
}
|
1707
|
+
],
|
1708
|
+
"usage": "in"
|
1709
|
+
},
|
1710
|
+
"SplitDocumentFailedPage": {
|
1711
|
+
"document": "文档解析失败记录",
|
1712
|
+
"members": [
|
1713
|
+
{
|
1714
|
+
"disabled": false,
|
1715
|
+
"document": "失败页码\t\n注意:此字段可能返回 null,表示取不到有效值。",
|
1716
|
+
"example": "无",
|
1717
|
+
"member": "int64",
|
1718
|
+
"name": "PageNumber",
|
1719
|
+
"output_required": false,
|
1720
|
+
"type": "int",
|
1721
|
+
"value_allowed_null": true
|
1722
|
+
}
|
1723
|
+
],
|
1724
|
+
"usage": "out"
|
1725
|
+
},
|
1726
|
+
"UploadDocRealtimeRequest": {
|
1727
|
+
"document": "UploadDocRealtime请求参数结构体",
|
1728
|
+
"members": [],
|
1729
|
+
"type": "object"
|
1730
|
+
},
|
1731
|
+
"UploadDocRealtimeResponse": {
|
1732
|
+
"document": "UploadDocRealtime返回参数结构体",
|
1733
|
+
"members": [
|
1734
|
+
{
|
1735
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header \"X-TC-RequestId\" 中。",
|
1736
|
+
"member": "string",
|
1737
|
+
"name": "RequestId",
|
1738
|
+
"type": "string"
|
1739
|
+
}
|
1740
|
+
],
|
1741
|
+
"type": "object"
|
1742
|
+
},
|
1743
|
+
"UploadDocRequest": {
|
1744
|
+
"document": "UploadDoc请求参数结构体",
|
1745
|
+
"members": [
|
1746
|
+
{
|
1747
|
+
"disabled": false,
|
1748
|
+
"document": "知识库ID",
|
1749
|
+
"example": "4901991032",
|
1750
|
+
"member": "string",
|
1751
|
+
"name": "KnowledgeBaseId",
|
1752
|
+
"required": true,
|
1753
|
+
"type": "string"
|
1754
|
+
},
|
1755
|
+
{
|
1756
|
+
"disabled": false,
|
1757
|
+
"document": "文件名,可选。\n**需带文件类型后缀**,当文件名无法从传入的`FileUrl`获取时需要通过该字段来明确。",
|
1758
|
+
"example": "example.pdf",
|
1759
|
+
"member": "string",
|
1760
|
+
"name": "FileName",
|
1761
|
+
"required": true,
|
1762
|
+
"type": "string"
|
1763
|
+
},
|
1764
|
+
{
|
1765
|
+
"disabled": false,
|
1766
|
+
"document": "文件类型。\n\n**支持的文件类型:**\n- `PDF`、`DOC`、`DOCX`、`XLS`、`XLSX`、`PPT`、`PPTX`、`MD`、`TXT`、`PNG`、`JPG`、`JPEG`、`CSV`\n\n**支持的文件大小:**\n - `PDF`、`DOCX`、`DOC`、`PPT`、`PPTX` 最大 200M\n - `TXT`、`MD` 最大10M\n - 其他 最大20M\n",
|
1767
|
+
"example": "PDF",
|
1768
|
+
"member": "string",
|
1769
|
+
"name": "FileType",
|
1770
|
+
"required": true,
|
1771
|
+
"type": "string"
|
1772
|
+
},
|
1773
|
+
{
|
1774
|
+
"disabled": false,
|
1775
|
+
"document": "文件的 URL 地址。\n文件存储于腾讯云的 URL 可保障更高的下载速度和稳定性,建议文件存储于腾讯云。 非腾讯云存储的 URL 速度和稳定性可能受一定影响。\n参考:[腾讯云COS文档](https://cloud.tencent.com/document/product/436/7749)",
|
1776
|
+
"example": "https://example.com/example.pdf",
|
1777
|
+
"member": "string",
|
1778
|
+
"name": "FileUrl",
|
1779
|
+
"required": true,
|
1780
|
+
"type": "string"
|
1781
|
+
},
|
1782
|
+
{
|
1783
|
+
"disabled": true,
|
1784
|
+
"document": "属性标签引用",
|
1785
|
+
"example": "无",
|
1786
|
+
"member": "AttributeLabelReferItem",
|
1787
|
+
"name": "AttributeLabel",
|
1788
|
+
"required": false,
|
1789
|
+
"type": "list"
|
1790
|
+
},
|
1791
|
+
{
|
1792
|
+
"disabled": false,
|
1793
|
+
"document": "属性标签引用",
|
1794
|
+
"example": "无",
|
1795
|
+
"member": "AttributeLabelReferItem",
|
1796
|
+
"name": "AttributeLabels",
|
1797
|
+
"required": false,
|
1798
|
+
"type": "list"
|
1799
|
+
},
|
1800
|
+
{
|
1801
|
+
"disabled": false,
|
1802
|
+
"document": "分段信息",
|
1803
|
+
"example": "{\"MaxChunkSize\":4800}",
|
1804
|
+
"member": "SegmentationConfig",
|
1805
|
+
"name": "Config",
|
1806
|
+
"required": false,
|
1807
|
+
"type": "object"
|
1808
|
+
}
|
1809
|
+
],
|
1810
|
+
"type": "object"
|
1811
|
+
},
|
1812
|
+
"UploadDocResponse": {
|
1813
|
+
"document": "UploadDoc返回参数结构体",
|
1814
|
+
"members": [
|
1815
|
+
{
|
1816
|
+
"disabled": false,
|
1817
|
+
"document": "文档ID",
|
1818
|
+
"example": "1830996257452865536",
|
1819
|
+
"member": "string",
|
1820
|
+
"name": "DocId",
|
1821
|
+
"output_required": false,
|
1822
|
+
"type": "string",
|
1823
|
+
"value_allowed_null": false
|
1824
|
+
},
|
1825
|
+
{
|
1826
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
1827
|
+
"member": "string",
|
1828
|
+
"name": "RequestId",
|
1829
|
+
"type": "string"
|
1830
|
+
}
|
1831
|
+
],
|
1832
|
+
"type": "object"
|
1833
|
+
},
|
1834
|
+
"Usage": {
|
1835
|
+
"document": "消耗量",
|
1836
|
+
"members": [
|
1837
|
+
{
|
1838
|
+
"disabled": false,
|
1839
|
+
"document": "文档页数",
|
1840
|
+
"example": "10",
|
1841
|
+
"member": "int64",
|
1842
|
+
"name": "TotalPages",
|
1843
|
+
"output_required": false,
|
1844
|
+
"type": "int",
|
1845
|
+
"value_allowed_null": false
|
1846
|
+
},
|
1847
|
+
{
|
1848
|
+
"disabled": false,
|
1849
|
+
"document": "输入token数",
|
1850
|
+
"example": "10",
|
1851
|
+
"member": "int64",
|
1852
|
+
"name": "InputTokens",
|
1853
|
+
"output_required": false,
|
1854
|
+
"type": "int",
|
1855
|
+
"value_allowed_null": false
|
1856
|
+
},
|
1857
|
+
{
|
1858
|
+
"disabled": false,
|
1859
|
+
"document": "输出token数",
|
1860
|
+
"example": "10",
|
1861
|
+
"member": "int64",
|
1862
|
+
"name": "OutputTokens",
|
1863
|
+
"output_required": false,
|
1864
|
+
"type": "int",
|
1865
|
+
"value_allowed_null": false
|
1866
|
+
},
|
1867
|
+
{
|
1868
|
+
"disabled": false,
|
1869
|
+
"document": "总token数",
|
1870
|
+
"example": "10",
|
1871
|
+
"member": "int64",
|
1872
|
+
"name": "TotalTokens",
|
1873
|
+
"output_required": false,
|
1874
|
+
"type": "int",
|
1875
|
+
"value_allowed_null": false
|
1876
|
+
}
|
1877
|
+
],
|
1878
|
+
"usage": "out"
|
1879
|
+
}
|
1880
|
+
},
|
1881
|
+
"version": "1.0"
|
1882
|
+
}
|