tencentcloud-sdk-nodejs-lowcode 4.0.1049 → 4.1.1
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.
- package/README.md +18 -4
- package/es/index.js +1 -0
- package/es/services/index.js +1 -0
- package/es/services/lowcode/index.js +4 -0
- package/es/services/lowcode/v20210108/index.js +6 -0
- package/es/services/lowcode/v20210108/lowcode_client.js +36 -0
- package/es/services/lowcode/v20210108/lowcode_models.js +0 -0
- package/package.json +16 -5
- package/tencentcloud/services/lowcode/v20210108/index.js +2 -1
- package/tencentcloud/services/lowcode/v20210108/lowcode_client.js +2 -1
- package/tencentcloud/services/lowcode/v20210108/lowcode_models.d.ts +0 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/index.ts +0 -1
- package/src/services/lowcode/index.ts +0 -5
- package/src/services/lowcode/v20210108/index.ts +0 -6
- package/src/services/lowcode/v20210108/lowcode_client.ts +0 -171
- package/src/services/lowcode/v20210108/lowcode_models.ts +0 -1124
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,1124 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
3
|
-
*
|
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
-
* you may not use this file except in compliance with the License.
|
|
6
|
-
* You may obtain a copy of the License at
|
|
7
|
-
*
|
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* Unless required by applicable law or agreed to in writing,
|
|
11
|
-
* software distributed under the License is distributed on an
|
|
12
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
13
|
-
* KIND, either express or implied. See the License for the
|
|
14
|
-
* specific language governing permissions and limitations
|
|
15
|
-
* under the License.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* DescribeKnowledgeSetList请求参数结构体
|
|
20
|
-
*/
|
|
21
|
-
export interface DescribeKnowledgeSetListRequest {
|
|
22
|
-
/**
|
|
23
|
-
* 环境ID
|
|
24
|
-
*/
|
|
25
|
-
EnvId: string
|
|
26
|
-
/**
|
|
27
|
-
* 知识库标识,精准查询
|
|
28
|
-
*/
|
|
29
|
-
Name?: string
|
|
30
|
-
/**
|
|
31
|
-
* 知识库名称,精准查询
|
|
32
|
-
*/
|
|
33
|
-
Title?: string
|
|
34
|
-
/**
|
|
35
|
-
* 分页起始位
|
|
36
|
-
*/
|
|
37
|
-
Offset?: number
|
|
38
|
-
/**
|
|
39
|
-
* 查询条数
|
|
40
|
-
*/
|
|
41
|
-
Limit?: number
|
|
42
|
-
/**
|
|
43
|
-
* NoPage标识不分页
|
|
44
|
-
*/
|
|
45
|
-
QueryMode?: string
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* 文档信息
|
|
50
|
-
*/
|
|
51
|
-
export interface KnowledgeDocumentSetInfo {
|
|
52
|
-
/**
|
|
53
|
-
* 文件的字符数。
|
|
54
|
-
*/
|
|
55
|
-
TextLength?: number
|
|
56
|
-
/**
|
|
57
|
-
* 文件的字节数。
|
|
58
|
-
*/
|
|
59
|
-
ByteLength?: number
|
|
60
|
-
/**
|
|
61
|
-
* 文件被预处理、Embedding 向量化的进度。
|
|
62
|
-
*/
|
|
63
|
-
IndexedProgress?: number
|
|
64
|
-
/**
|
|
65
|
-
* 文件预处理、Embedding 向量化的状态。
|
|
66
|
-
New:等待解析。
|
|
67
|
-
Loading:文件解析中。
|
|
68
|
-
Failure:文件解析、写入出错。
|
|
69
|
-
Ready:文件解析、写入完成。
|
|
70
|
-
|
|
71
|
-
*/
|
|
72
|
-
IndexedStatus?: string
|
|
73
|
-
/**
|
|
74
|
-
* 文件创建时间。
|
|
75
|
-
*/
|
|
76
|
-
CreateTime?: string
|
|
77
|
-
/**
|
|
78
|
-
* 文件最后更新时间。
|
|
79
|
-
*/
|
|
80
|
-
LastUpdateTime?: string
|
|
81
|
-
/**
|
|
82
|
-
* 文件关键字。
|
|
83
|
-
*/
|
|
84
|
-
Keywords?: string
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* 删除文档出参
|
|
89
|
-
*/
|
|
90
|
-
export interface DeleteKnowledgeDocumentSetRsp {
|
|
91
|
-
/**
|
|
92
|
-
* 删除文档数量。
|
|
93
|
-
*/
|
|
94
|
-
AffectedCount?: number
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* UploadKnowledgeDocumentSet请求参数结构体
|
|
99
|
-
*/
|
|
100
|
-
export interface UploadKnowledgeDocumentSetRequest {
|
|
101
|
-
/**
|
|
102
|
-
* 环境ID
|
|
103
|
-
*/
|
|
104
|
-
EnvId: string
|
|
105
|
-
/**
|
|
106
|
-
* 知识库标识
|
|
107
|
-
*/
|
|
108
|
-
CollectionView: string
|
|
109
|
-
/**
|
|
110
|
-
* 状态;ENABLED启用;NOT_ENABLED不启用
|
|
111
|
-
*/
|
|
112
|
-
FileName: string
|
|
113
|
-
/**
|
|
114
|
-
* 腾讯云文件存储位置的可读地址
|
|
115
|
-
*/
|
|
116
|
-
CosUrl: string
|
|
117
|
-
/**
|
|
118
|
-
* 文件类型,例如: .docx, .md
|
|
119
|
-
*/
|
|
120
|
-
DocumentType?: string
|
|
121
|
-
/**
|
|
122
|
-
* 对文件的描述
|
|
123
|
-
*/
|
|
124
|
-
DocumentDesc?: string
|
|
125
|
-
/**
|
|
126
|
-
* 文件标题
|
|
127
|
-
*/
|
|
128
|
-
FileTitle?: string
|
|
129
|
-
/**
|
|
130
|
-
* 文件元信息,为jsonstring
|
|
131
|
-
*/
|
|
132
|
-
FileMetaData?: string
|
|
133
|
-
/**
|
|
134
|
-
* 文件id
|
|
135
|
-
*/
|
|
136
|
-
DocumentSetId?: string
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
/**
|
|
140
|
-
* UpdateKnowledgeSet返回参数结构体
|
|
141
|
-
*/
|
|
142
|
-
export interface UpdateKnowledgeSetResponse {
|
|
143
|
-
/**
|
|
144
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
145
|
-
*/
|
|
146
|
-
RequestId?: string
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* SearchDocList请求参数结构体
|
|
151
|
-
*/
|
|
152
|
-
export interface SearchDocListRequest {
|
|
153
|
-
/**
|
|
154
|
-
* 环境ID
|
|
155
|
-
*/
|
|
156
|
-
EnvId: string
|
|
157
|
-
/**
|
|
158
|
-
* 知识库名称
|
|
159
|
-
*/
|
|
160
|
-
CollectionView?: string
|
|
161
|
-
/**
|
|
162
|
-
* 搜索模式
|
|
163
|
-
*/
|
|
164
|
-
SearchKey?: string
|
|
165
|
-
/**
|
|
166
|
-
* 搜索值
|
|
167
|
-
*/
|
|
168
|
-
SearchValue?: string
|
|
169
|
-
/**
|
|
170
|
-
* 页码
|
|
171
|
-
*/
|
|
172
|
-
PageNo?: number
|
|
173
|
-
/**
|
|
174
|
-
* 页大小
|
|
175
|
-
*/
|
|
176
|
-
PageSize?: number
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* DescribeKnowledgeDocumentSetList返回参数结构体
|
|
181
|
-
*/
|
|
182
|
-
export interface DescribeKnowledgeDocumentSetListResponse {
|
|
183
|
-
/**
|
|
184
|
-
* 新增文件返回信息
|
|
185
|
-
*/
|
|
186
|
-
Data?: DescribeKnowledgeDocumentSetListRsp
|
|
187
|
-
/**
|
|
188
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
189
|
-
*/
|
|
190
|
-
RequestId?: string
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
/**
|
|
194
|
-
* 上传知识库文档返回结果
|
|
195
|
-
*/
|
|
196
|
-
export interface UploadKnowledgeDocumentSetRsp {
|
|
197
|
-
/**
|
|
198
|
-
* 给文件分配的 ID 信息。
|
|
199
|
-
*/
|
|
200
|
-
DocumentSetId?: string
|
|
201
|
-
/**
|
|
202
|
-
* 文件名
|
|
203
|
-
*/
|
|
204
|
-
DocumentSetName?: string
|
|
205
|
-
/**
|
|
206
|
-
* 文件标题
|
|
207
|
-
*/
|
|
208
|
-
FileTitle?: string
|
|
209
|
-
/**
|
|
210
|
-
* 文件元信息,为jsonstring
|
|
211
|
-
*/
|
|
212
|
-
FileMetaData?: string
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
/**
|
|
216
|
-
* 数据源模糊查询参数
|
|
217
|
-
*/
|
|
218
|
-
export interface DataSourceQueryOption {
|
|
219
|
-
/**
|
|
220
|
-
* 数据源标识模糊匹配
|
|
221
|
-
*/
|
|
222
|
-
LikeName?: string
|
|
223
|
-
/**
|
|
224
|
-
* 数据源名称模糊匹配
|
|
225
|
-
*/
|
|
226
|
-
LikeTitle?: string
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* 查询条件
|
|
231
|
-
*/
|
|
232
|
-
export interface PageQuery {
|
|
233
|
-
/**
|
|
234
|
-
* 文件id数组,表示要查询的文件的所有 ID,支持批量查询,数组元素范围[1,20]。
|
|
235
|
-
*/
|
|
236
|
-
DocumentSetId?: Array<string>
|
|
237
|
-
/**
|
|
238
|
-
* 表示要查询的文档名称,支持批量查询,数组元素范围[1,20]。
|
|
239
|
-
*/
|
|
240
|
-
DocumentSetName?: Array<string>
|
|
241
|
-
/**
|
|
242
|
-
* 取值范围:[1,16384]
|
|
243
|
-
*/
|
|
244
|
-
Limit?: number
|
|
245
|
-
/**
|
|
246
|
-
* 设置分页偏移量,用于控制分页查询返回结果的起始位置,方便用户对数据进行分页展示和浏览。
|
|
247
|
-
取值:为 limit 整数倍。
|
|
248
|
-
计算公式:offset=limit*(page-1)。
|
|
249
|
-
例如:当 limit = 10,page = 2 时,分页偏移量 offset = 10 * (2 - 1) = 10,表示从查询结果的第 11 条记录开始返回数据。
|
|
250
|
-
|
|
251
|
-
*/
|
|
252
|
-
Offset?: number
|
|
253
|
-
/**
|
|
254
|
-
* 设置后,其他字段为空值
|
|
255
|
-
*/
|
|
256
|
-
OutputFields?: Array<string>
|
|
257
|
-
/**
|
|
258
|
-
* 使用创建 CollectionView 指定的 Filter 索引的字段设置查询过滤表达式。
|
|
259
|
-
*/
|
|
260
|
-
Filter?: string
|
|
261
|
-
}
|
|
262
|
-
|
|
263
|
-
/**
|
|
264
|
-
* SearchDocList返回参数结构体
|
|
265
|
-
*/
|
|
266
|
-
export interface SearchDocListResponse {
|
|
267
|
-
/**
|
|
268
|
-
* 知识库文档搜索数据
|
|
269
|
-
*/
|
|
270
|
-
Data?: SearchDocRsp
|
|
271
|
-
/**
|
|
272
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
273
|
-
*/
|
|
274
|
-
RequestId?: string
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* DeleteKnowledgeSet返回参数结构体
|
|
279
|
-
*/
|
|
280
|
-
export interface DeleteKnowledgeSetResponse {
|
|
281
|
-
/**
|
|
282
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
283
|
-
*/
|
|
284
|
-
RequestId?: string
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
/**
|
|
288
|
-
* 删除文档时查询入参
|
|
289
|
-
*/
|
|
290
|
-
export interface DocumentQuery {
|
|
291
|
-
/**
|
|
292
|
-
* 文件ids
|
|
293
|
-
*/
|
|
294
|
-
DocumentSetId?: Array<string>
|
|
295
|
-
/**
|
|
296
|
-
* 文件名集合
|
|
297
|
-
*/
|
|
298
|
-
DocumentSetName?: Array<string>
|
|
299
|
-
/**
|
|
300
|
-
* 使用创建 CollectionView 指定的 Filter 索引的字段设置查询过滤表达式
|
|
301
|
-
*/
|
|
302
|
-
Filter?: string
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* UpdateKnowledgeSet请求参数结构体
|
|
307
|
-
*/
|
|
308
|
-
export interface UpdateKnowledgeSetRequest {
|
|
309
|
-
/**
|
|
310
|
-
* 环境ID
|
|
311
|
-
*/
|
|
312
|
-
EnvId: string
|
|
313
|
-
/**
|
|
314
|
-
* 知识库标识
|
|
315
|
-
*/
|
|
316
|
-
Name: string
|
|
317
|
-
/**
|
|
318
|
-
* 知识库名称
|
|
319
|
-
*/
|
|
320
|
-
Title?: string
|
|
321
|
-
/**
|
|
322
|
-
* 描述
|
|
323
|
-
*/
|
|
324
|
-
Desc?: string
|
|
325
|
-
/**
|
|
326
|
-
* 状态;ENABLED启用;NOT_ENABLED不启用
|
|
327
|
-
*/
|
|
328
|
-
Active?: string
|
|
329
|
-
/**
|
|
330
|
-
* 知识库的meta信息
|
|
331
|
-
*/
|
|
332
|
-
Meta?: string
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* 知识库搜索文档信息
|
|
337
|
-
*/
|
|
338
|
-
export interface SearchDocInfo {
|
|
339
|
-
/**
|
|
340
|
-
* 知识库名称
|
|
341
|
-
*/
|
|
342
|
-
CollectionViewName?: string
|
|
343
|
-
/**
|
|
344
|
-
* 文档Id
|
|
345
|
-
*/
|
|
346
|
-
DocSetId?: string
|
|
347
|
-
/**
|
|
348
|
-
* 文档Name
|
|
349
|
-
*/
|
|
350
|
-
DocSetName?: string
|
|
351
|
-
/**
|
|
352
|
-
* 文档类型
|
|
353
|
-
*/
|
|
354
|
-
DocType?: string
|
|
355
|
-
/**
|
|
356
|
-
* 文档标题
|
|
357
|
-
*/
|
|
358
|
-
FileTitle?: string
|
|
359
|
-
/**
|
|
360
|
-
* 文档元信息
|
|
361
|
-
*/
|
|
362
|
-
FileMetaData?: string
|
|
363
|
-
/**
|
|
364
|
-
* 文档描述
|
|
365
|
-
*/
|
|
366
|
-
DocDesc?: string
|
|
367
|
-
/**
|
|
368
|
-
* 文档大小
|
|
369
|
-
*/
|
|
370
|
-
FileSize?: number
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
/**
|
|
374
|
-
* 数据源详情列表
|
|
375
|
-
*/
|
|
376
|
-
export interface DataSourceDetail {
|
|
377
|
-
/**
|
|
378
|
-
* 数据源 ID
|
|
379
|
-
*/
|
|
380
|
-
Id?: string
|
|
381
|
-
/**
|
|
382
|
-
* 数据源名称
|
|
383
|
-
*/
|
|
384
|
-
Title?: string
|
|
385
|
-
/**
|
|
386
|
-
* 数据源标识
|
|
387
|
-
*/
|
|
388
|
-
Name?: string
|
|
389
|
-
/**
|
|
390
|
-
* 数据源类型
|
|
391
|
-
*/
|
|
392
|
-
Type?: string
|
|
393
|
-
/**
|
|
394
|
-
* 数据源描述
|
|
395
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
396
|
-
*/
|
|
397
|
-
Description?: string
|
|
398
|
-
/**
|
|
399
|
-
* 数据源配置
|
|
400
|
-
*/
|
|
401
|
-
Schema?: string
|
|
402
|
-
/**
|
|
403
|
-
* cms 项目状态, 0: 重新获取详情信息,1: 不需要重新获取详情信息
|
|
404
|
-
*/
|
|
405
|
-
CmsProject?: string
|
|
406
|
-
/**
|
|
407
|
-
* 当前为环境 id
|
|
408
|
-
*/
|
|
409
|
-
PkgId?: string
|
|
410
|
-
/**
|
|
411
|
-
* schema 版本信息
|
|
412
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
413
|
-
*/
|
|
414
|
-
SchemaVersion?: string
|
|
415
|
-
/**
|
|
416
|
-
* 创建者用户 ID
|
|
417
|
-
*/
|
|
418
|
-
CreatorId?: string
|
|
419
|
-
/**
|
|
420
|
-
* 创建时间
|
|
421
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
422
|
-
*/
|
|
423
|
-
CreatedAt?: string
|
|
424
|
-
/**
|
|
425
|
-
* 更新时间
|
|
426
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
427
|
-
*/
|
|
428
|
-
UpdatedAt?: string
|
|
429
|
-
/**
|
|
430
|
-
* 环境 id
|
|
431
|
-
*/
|
|
432
|
-
EnvId?: string
|
|
433
|
-
/**
|
|
434
|
-
* 版本
|
|
435
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
436
|
-
*/
|
|
437
|
-
DataSourceVersion?: string
|
|
438
|
-
/**
|
|
439
|
-
* 所属应用数组
|
|
440
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
441
|
-
*/
|
|
442
|
-
AppUsageList?: Array<DataSourceLinkApp>
|
|
443
|
-
/**
|
|
444
|
-
* 发布时间
|
|
445
|
-
*/
|
|
446
|
-
PublishedAt?: string
|
|
447
|
-
/**
|
|
448
|
-
* 子数据源ids
|
|
449
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
450
|
-
*/
|
|
451
|
-
ChildDataSourceIds?: Array<string>
|
|
452
|
-
/**
|
|
453
|
-
* 数据源发布信息
|
|
454
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
455
|
-
*/
|
|
456
|
-
Fun?: string
|
|
457
|
-
/**
|
|
458
|
-
* 云函数状态 1 Active 2 Creating 3 Updating 4 Deleting 9 Deleted 11 CreatFailed 12 UpdateFailed 13 DeleteFailed 21 UpdateTimeOut
|
|
459
|
-
*/
|
|
460
|
-
ScfStatus?: number
|
|
461
|
-
/**
|
|
462
|
-
* 自定义方法
|
|
463
|
-
*/
|
|
464
|
-
Methods?: string
|
|
465
|
-
/**
|
|
466
|
-
* 子数据源名数组
|
|
467
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
468
|
-
*/
|
|
469
|
-
ChildDataSourceNames?: Array<string>
|
|
470
|
-
/**
|
|
471
|
-
* 是否旧数据源 1 新 0 旧
|
|
472
|
-
*/
|
|
473
|
-
IsNewDataSource?: number
|
|
474
|
-
/**
|
|
475
|
-
* 数据源视图id
|
|
476
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
477
|
-
*/
|
|
478
|
-
ViewId?: string
|
|
479
|
-
/**
|
|
480
|
-
* 数据源属性配置
|
|
481
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
482
|
-
*/
|
|
483
|
-
Configuration?: string
|
|
484
|
-
/**
|
|
485
|
-
* 外部数据源模板code
|
|
486
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
487
|
-
*/
|
|
488
|
-
TemplateCode?: string
|
|
489
|
-
/**
|
|
490
|
-
* 外部数据源模板来源 0 空模板 1 腾讯文档 2 腾讯会议 3 企业微信 4 微信电商
|
|
491
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
492
|
-
*/
|
|
493
|
-
Source?: number
|
|
494
|
-
/**
|
|
495
|
-
* 发布版本
|
|
496
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
497
|
-
* @deprecated
|
|
498
|
-
*/
|
|
499
|
-
PublishVersion?: string
|
|
500
|
-
/**
|
|
501
|
-
* 发布视图id
|
|
502
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
503
|
-
*/
|
|
504
|
-
PublishViewId?: string
|
|
505
|
-
/**
|
|
506
|
-
* 数据源子类型 "database" 标准模型 "custom-database" 自定义模型 "system" 系统模型 "connector" 连接器 "custom-connector" 自定义连接器 "hidden" 隐藏数据源
|
|
507
|
-
*/
|
|
508
|
-
SubType?: string
|
|
509
|
-
/**
|
|
510
|
-
* 授权状态 0 授权无效 1 授权有效
|
|
511
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
512
|
-
*/
|
|
513
|
-
AuthStatus?: number
|
|
514
|
-
/**
|
|
515
|
-
* 数据源授权信息
|
|
516
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
517
|
-
*/
|
|
518
|
-
AuthInfo?: TicketAuthInfo
|
|
519
|
-
/**
|
|
520
|
-
* 1发布0未发布
|
|
521
|
-
*/
|
|
522
|
-
PublishStatus?: number
|
|
523
|
-
/**
|
|
524
|
-
* 更新版本
|
|
525
|
-
*/
|
|
526
|
-
UpdateVersion?: number
|
|
527
|
-
/**
|
|
528
|
-
* 模型关联关系字段列表
|
|
529
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
530
|
-
*/
|
|
531
|
-
RelationFieldList?: Array<RelationField>
|
|
532
|
-
/**
|
|
533
|
-
* db实例类型
|
|
534
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
535
|
-
*/
|
|
536
|
-
DbInstanceType?: string
|
|
537
|
-
/**
|
|
538
|
-
* 体验环境db表名
|
|
539
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
540
|
-
*/
|
|
541
|
-
PreviewTableName?: string
|
|
542
|
-
/**
|
|
543
|
-
* 正式环境db表名
|
|
544
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
545
|
-
*/
|
|
546
|
-
PublishedTableName?: string
|
|
547
|
-
/**
|
|
548
|
-
* DB来源类型
|
|
549
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
550
|
-
*/
|
|
551
|
-
DbSourceType?: string
|
|
552
|
-
}
|
|
553
|
-
|
|
554
|
-
/**
|
|
555
|
-
* 知识库信息
|
|
556
|
-
*/
|
|
557
|
-
export interface KnowledgeSet {
|
|
558
|
-
/**
|
|
559
|
-
* 知识库标识
|
|
560
|
-
*/
|
|
561
|
-
Name?: string
|
|
562
|
-
/**
|
|
563
|
-
* 知识库名称
|
|
564
|
-
*/
|
|
565
|
-
Title?: string
|
|
566
|
-
/**
|
|
567
|
-
* 描述
|
|
568
|
-
*/
|
|
569
|
-
Desc?: string
|
|
570
|
-
/**
|
|
571
|
-
* 状态,
|
|
572
|
-
NOT_ENABLED未启用
|
|
573
|
-
ENABLED 已启用
|
|
574
|
-
*/
|
|
575
|
-
Active?: string
|
|
576
|
-
/**
|
|
577
|
-
* 创建时间
|
|
578
|
-
*/
|
|
579
|
-
CreateTime?: string
|
|
580
|
-
/**
|
|
581
|
-
* 更新时间
|
|
582
|
-
*/
|
|
583
|
-
UpdateTime?: string
|
|
584
|
-
/**
|
|
585
|
-
* 知识库的meta信息
|
|
586
|
-
*/
|
|
587
|
-
Meta?: string
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
* 文件拆分信息
|
|
592
|
-
*/
|
|
593
|
-
export interface KnowledgeSplitterPreprocess {
|
|
594
|
-
/**
|
|
595
|
-
* 在对文件拆分时,配置是否将 Title 追加到切分后的段落后面一并 Embedding。取值如下所示:
|
|
596
|
-
false:不追加。
|
|
597
|
-
true:将段落 Title 追加到切分后的段落。
|
|
598
|
-
|
|
599
|
-
*/
|
|
600
|
-
AppendTitleToChunk?: boolean
|
|
601
|
-
/**
|
|
602
|
-
* 在对文件拆分时,配置是否将关键字 keywords 追加到切分后的段落一并 Embedding。取值如下所示:
|
|
603
|
-
false:不追加。
|
|
604
|
-
true:将全文的 keywords 追加到切分后的段落。
|
|
605
|
-
|
|
606
|
-
*/
|
|
607
|
-
AppendKeywordsToChunk?: boolean
|
|
608
|
-
}
|
|
609
|
-
|
|
610
|
-
/**
|
|
611
|
-
* DescribeKnowledgeDocumentSetDetail请求参数结构体
|
|
612
|
-
*/
|
|
613
|
-
export interface DescribeKnowledgeDocumentSetDetailRequest {
|
|
614
|
-
/**
|
|
615
|
-
* 环境ID
|
|
616
|
-
*/
|
|
617
|
-
EnvId: string
|
|
618
|
-
/**
|
|
619
|
-
* 知识库标识
|
|
620
|
-
*/
|
|
621
|
-
CollectionView: string
|
|
622
|
-
/**
|
|
623
|
-
* 文件名
|
|
624
|
-
*/
|
|
625
|
-
DocumentSetName?: string
|
|
626
|
-
/**
|
|
627
|
-
* 文件id
|
|
628
|
-
*/
|
|
629
|
-
DocumentSetId?: string
|
|
630
|
-
}
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* CreateKnowledgeSet返回参数结构体
|
|
634
|
-
*/
|
|
635
|
-
export interface CreateKnowledgeSetResponse {
|
|
636
|
-
/**
|
|
637
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
638
|
-
*/
|
|
639
|
-
RequestId?: string
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
/**
|
|
643
|
-
* DeleteKnowledgeSet请求参数结构体
|
|
644
|
-
*/
|
|
645
|
-
export interface DeleteKnowledgeSetRequest {
|
|
646
|
-
/**
|
|
647
|
-
* 环境ID
|
|
648
|
-
*/
|
|
649
|
-
EnvId: string
|
|
650
|
-
/**
|
|
651
|
-
* 知识库标识
|
|
652
|
-
*/
|
|
653
|
-
Name: string
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
/**
|
|
657
|
-
* 数据源关联的的信息
|
|
658
|
-
*/
|
|
659
|
-
export interface RelationField {
|
|
660
|
-
/**
|
|
661
|
-
* 关联关系字段
|
|
662
|
-
*/
|
|
663
|
-
Field?: string
|
|
664
|
-
/**
|
|
665
|
-
* 关联关系格式
|
|
666
|
-
*/
|
|
667
|
-
Format?: string
|
|
668
|
-
/**
|
|
669
|
-
* 关联数据源名称
|
|
670
|
-
*/
|
|
671
|
-
RelateDataSourceName?: string
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
/**
|
|
675
|
-
* DescribeKnowledgeDocumentSetList请求参数结构体
|
|
676
|
-
*/
|
|
677
|
-
export interface DescribeKnowledgeDocumentSetListRequest {
|
|
678
|
-
/**
|
|
679
|
-
* 环境ID
|
|
680
|
-
*/
|
|
681
|
-
EnvId: string
|
|
682
|
-
/**
|
|
683
|
-
* 知识库标识
|
|
684
|
-
*/
|
|
685
|
-
CollectionView: string
|
|
686
|
-
/**
|
|
687
|
-
* 查询条件
|
|
688
|
-
*/
|
|
689
|
-
Query?: PageQuery
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* DescribeDataSourceList请求参数结构体
|
|
694
|
-
*/
|
|
695
|
-
export interface DescribeDataSourceListRequest {
|
|
696
|
-
/**
|
|
697
|
-
* 每页条数
|
|
698
|
-
*/
|
|
699
|
-
PageSize: number
|
|
700
|
-
/**
|
|
701
|
-
* 页码
|
|
702
|
-
*/
|
|
703
|
-
PageIndex: number
|
|
704
|
-
/**
|
|
705
|
-
* 环境 id
|
|
706
|
-
*/
|
|
707
|
-
EnvId: string
|
|
708
|
-
/**
|
|
709
|
-
* 应用id数组
|
|
710
|
-
*/
|
|
711
|
-
Appids?: Array<string>
|
|
712
|
-
/**
|
|
713
|
-
* 数据源id数组
|
|
714
|
-
*/
|
|
715
|
-
DataSourceIds?: Array<string>
|
|
716
|
-
/**
|
|
717
|
-
* 数据源名称数组
|
|
718
|
-
*/
|
|
719
|
-
DataSourceNames?: Array<string>
|
|
720
|
-
/**
|
|
721
|
-
* 数据源类型 database-自建数据源;cloud-integration-自定义数据源
|
|
722
|
-
*/
|
|
723
|
-
DataSourceType?: string
|
|
724
|
-
/**
|
|
725
|
-
* 数据源模糊查询参数
|
|
726
|
-
*/
|
|
727
|
-
QueryOption?: DataSourceQueryOption
|
|
728
|
-
/**
|
|
729
|
-
* 数据源视图Id数组
|
|
730
|
-
*/
|
|
731
|
-
ViewIds?: Array<string>
|
|
732
|
-
/**
|
|
733
|
-
* 查询未关联应用的数据源,0:未关联,该参数配合 AppIds 参数一块使用
|
|
734
|
-
*/
|
|
735
|
-
AppLinkStatus?: number
|
|
736
|
-
/**
|
|
737
|
-
* 查询应用绑定数据源: 0: 否,1: 是
|
|
738
|
-
*/
|
|
739
|
-
QueryBindToApp?: number
|
|
740
|
-
/**
|
|
741
|
-
* 查询连接器 0 数据模型 1 连接器 2 自定义连接器
|
|
742
|
-
*/
|
|
743
|
-
QueryConnector?: number
|
|
744
|
-
/**
|
|
745
|
-
* 废弃中
|
|
746
|
-
*/
|
|
747
|
-
NotQuerySubTypeList?: Array<string>
|
|
748
|
-
/**
|
|
749
|
-
* 查询channelList
|
|
750
|
-
*/
|
|
751
|
-
ChannelList?: Array<string>
|
|
752
|
-
/**
|
|
753
|
-
* 是否查询数据源关联关系
|
|
754
|
-
*/
|
|
755
|
-
QueryDataSourceRelationList?: boolean
|
|
756
|
-
/**
|
|
757
|
-
* db实例类型
|
|
758
|
-
*/
|
|
759
|
-
DbInstanceType?: string
|
|
760
|
-
/**
|
|
761
|
-
* 数据库表名列表
|
|
762
|
-
*/
|
|
763
|
-
DatabaseTableNames?: Array<string>
|
|
764
|
-
/**
|
|
765
|
-
* 是否查询系统模型,默认为true,需要显示设置为False才能过滤系统模型
|
|
766
|
-
*/
|
|
767
|
-
QuerySystemModel?: boolean
|
|
768
|
-
}
|
|
769
|
-
|
|
770
|
-
/**
|
|
771
|
-
* DeleteKnowledgeDocumentSet请求参数结构体
|
|
772
|
-
*/
|
|
773
|
-
export interface DeleteKnowledgeDocumentSetRequest {
|
|
774
|
-
/**
|
|
775
|
-
* 环境ID
|
|
776
|
-
*/
|
|
777
|
-
EnvId: string
|
|
778
|
-
/**
|
|
779
|
-
* 知识库标识
|
|
780
|
-
*/
|
|
781
|
-
CollectionView: string
|
|
782
|
-
/**
|
|
783
|
-
* 删除时制定的条件
|
|
784
|
-
*/
|
|
785
|
-
Query?: DocumentQuery
|
|
786
|
-
}
|
|
787
|
-
|
|
788
|
-
/**
|
|
789
|
-
* 搜索数据的集合
|
|
790
|
-
*/
|
|
791
|
-
export interface QureyKnowledgeDocumentSet {
|
|
792
|
-
/**
|
|
793
|
-
* 文件id
|
|
794
|
-
*/
|
|
795
|
-
DocumentSetId?: string
|
|
796
|
-
/**
|
|
797
|
-
* 文件名
|
|
798
|
-
*/
|
|
799
|
-
DocumentSetName?: string
|
|
800
|
-
/**
|
|
801
|
-
* 文件内容前 200个字符。
|
|
802
|
-
*/
|
|
803
|
-
TextPrefix?: string
|
|
804
|
-
/**
|
|
805
|
-
* 文件拆分信息
|
|
806
|
-
*/
|
|
807
|
-
SplitterPreprocess?: KnowledgeSplitterPreprocess
|
|
808
|
-
/**
|
|
809
|
-
* 文件详情
|
|
810
|
-
*/
|
|
811
|
-
DocumentSetInfo?: QureyKnowledgeDocumentSetInfo
|
|
812
|
-
/**
|
|
813
|
-
* 文件标题
|
|
814
|
-
*/
|
|
815
|
-
FileTitle?: string
|
|
816
|
-
/**
|
|
817
|
-
* 文件元信息,必须为jsonstring
|
|
818
|
-
*/
|
|
819
|
-
FileMetaData?: string
|
|
820
|
-
/**
|
|
821
|
-
* name
|
|
822
|
-
*/
|
|
823
|
-
Name?: string
|
|
824
|
-
/**
|
|
825
|
-
* 作者
|
|
826
|
-
*/
|
|
827
|
-
Author?: string
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* DescribeKnowledgeSetList返回参数结构体
|
|
832
|
-
*/
|
|
833
|
-
export interface DescribeKnowledgeSetListResponse {
|
|
834
|
-
/**
|
|
835
|
-
* 知识库列表
|
|
836
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
837
|
-
*/
|
|
838
|
-
Data?: KnowledgeSetRsp
|
|
839
|
-
/**
|
|
840
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
841
|
-
*/
|
|
842
|
-
RequestId?: string
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* DescribeDataSourceList返回参数结构体
|
|
847
|
-
*/
|
|
848
|
-
export interface DescribeDataSourceListResponse {
|
|
849
|
-
/**
|
|
850
|
-
* data 数据
|
|
851
|
-
*/
|
|
852
|
-
Data?: DataSourceDetailItems
|
|
853
|
-
/**
|
|
854
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
855
|
-
*/
|
|
856
|
-
RequestId?: string
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
* UploadKnowledgeDocumentSet返回参数结构体
|
|
861
|
-
*/
|
|
862
|
-
export interface UploadKnowledgeDocumentSetResponse {
|
|
863
|
-
/**
|
|
864
|
-
* 新增文件返回信息
|
|
865
|
-
*/
|
|
866
|
-
Data?: UploadKnowledgeDocumentSetRsp
|
|
867
|
-
/**
|
|
868
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
869
|
-
*/
|
|
870
|
-
RequestId?: string
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* DeleteKnowledgeDocumentSet返回参数结构体
|
|
875
|
-
*/
|
|
876
|
-
export interface DeleteKnowledgeDocumentSetResponse {
|
|
877
|
-
/**
|
|
878
|
-
* 新增文件返回信息
|
|
879
|
-
*/
|
|
880
|
-
Data?: DeleteKnowledgeDocumentSetRsp
|
|
881
|
-
/**
|
|
882
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
883
|
-
*/
|
|
884
|
-
RequestId?: string
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* 数据源授权信息
|
|
889
|
-
*/
|
|
890
|
-
export interface TicketAuthInfo {
|
|
891
|
-
/**
|
|
892
|
-
* 授权用户
|
|
893
|
-
*/
|
|
894
|
-
AuthUser?: string
|
|
895
|
-
}
|
|
896
|
-
|
|
897
|
-
/**
|
|
898
|
-
* CreateKnowledgeSet请求参数结构体
|
|
899
|
-
*/
|
|
900
|
-
export interface CreateKnowledgeSetRequest {
|
|
901
|
-
/**
|
|
902
|
-
* 环境ID
|
|
903
|
-
*/
|
|
904
|
-
EnvId: string
|
|
905
|
-
/**
|
|
906
|
-
* 知识库标识
|
|
907
|
-
*/
|
|
908
|
-
Name: string
|
|
909
|
-
/**
|
|
910
|
-
* 知识库名称
|
|
911
|
-
*/
|
|
912
|
-
Title: string
|
|
913
|
-
/**
|
|
914
|
-
* 描述
|
|
915
|
-
*/
|
|
916
|
-
Desc?: string
|
|
917
|
-
/**
|
|
918
|
-
* 知识库的meta信息
|
|
919
|
-
*/
|
|
920
|
-
Meta?: string
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
/**
|
|
924
|
-
* 上传知识库文档返回结果
|
|
925
|
-
*/
|
|
926
|
-
export interface DescribeKnowledgeDocumentSetDetailRsp {
|
|
927
|
-
/**
|
|
928
|
-
* 获取的数量。
|
|
929
|
-
*/
|
|
930
|
-
Count?: number
|
|
931
|
-
/**
|
|
932
|
-
* 文档信息
|
|
933
|
-
*/
|
|
934
|
-
DocumentSet?: KnowledgeDocumentSet
|
|
935
|
-
}
|
|
936
|
-
|
|
937
|
-
/**
|
|
938
|
-
* 查询文件集合信息详情
|
|
939
|
-
*/
|
|
940
|
-
export interface QureyKnowledgeDocumentSetInfo {
|
|
941
|
-
/**
|
|
942
|
-
* 文件的字符数。
|
|
943
|
-
*/
|
|
944
|
-
TextLength?: number
|
|
945
|
-
/**
|
|
946
|
-
* 文件的字节数。
|
|
947
|
-
*/
|
|
948
|
-
ByteLength?: number
|
|
949
|
-
/**
|
|
950
|
-
* 文件被预处理、Embedding 向量化的进度。
|
|
951
|
-
*/
|
|
952
|
-
IndexedProgress?: number
|
|
953
|
-
/**
|
|
954
|
-
* 文件预处理、Embedding 向量化的状态。
|
|
955
|
-
New:等待解析。
|
|
956
|
-
Loading:文件解析中。
|
|
957
|
-
Failure:文件解析、写入出错。
|
|
958
|
-
Ready:文件解析、写入完成。
|
|
959
|
-
|
|
960
|
-
*/
|
|
961
|
-
IndexedStatus?: string
|
|
962
|
-
/**
|
|
963
|
-
* 错误信息
|
|
964
|
-
*/
|
|
965
|
-
IndexedErrorMsg?: string
|
|
966
|
-
/**
|
|
967
|
-
* 文件创建时间。
|
|
968
|
-
*/
|
|
969
|
-
CreateTime?: string
|
|
970
|
-
/**
|
|
971
|
-
* 文件最后更新时间。
|
|
972
|
-
*/
|
|
973
|
-
LastUpdateTime?: string
|
|
974
|
-
/**
|
|
975
|
-
* 文件关键字。
|
|
976
|
-
*/
|
|
977
|
-
Keywords?: string
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
/**
|
|
981
|
-
* 删除文档出参
|
|
982
|
-
*/
|
|
983
|
-
export interface DescribeKnowledgeDocumentSetListRsp {
|
|
984
|
-
/**
|
|
985
|
-
* 文件集
|
|
986
|
-
*/
|
|
987
|
-
DocumentSets?: Array<QureyKnowledgeDocumentSet>
|
|
988
|
-
/**
|
|
989
|
-
* 条数
|
|
990
|
-
*/
|
|
991
|
-
Count?: number
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* 文档信息
|
|
996
|
-
*/
|
|
997
|
-
export interface KnowledgeDocumentSet {
|
|
998
|
-
/**
|
|
999
|
-
* 文档id
|
|
1000
|
-
*/
|
|
1001
|
-
DocumentSetId?: string
|
|
1002
|
-
/**
|
|
1003
|
-
* 文档名
|
|
1004
|
-
*/
|
|
1005
|
-
DocumentSetName?: string
|
|
1006
|
-
/**
|
|
1007
|
-
* 文件完整内容。
|
|
1008
|
-
*/
|
|
1009
|
-
Text?: string
|
|
1010
|
-
/**
|
|
1011
|
-
* 文件内容前 200个字符。
|
|
1012
|
-
*/
|
|
1013
|
-
TextPrefix?: string
|
|
1014
|
-
/**
|
|
1015
|
-
* 文件详情
|
|
1016
|
-
*/
|
|
1017
|
-
DocumentSetInfo?: KnowledgeDocumentSetInfo
|
|
1018
|
-
/**
|
|
1019
|
-
* 文件拆分信息
|
|
1020
|
-
*/
|
|
1021
|
-
SplitterPreprocess?: KnowledgeSplitterPreprocess
|
|
1022
|
-
/**
|
|
1023
|
-
* 未使用
|
|
1024
|
-
*/
|
|
1025
|
-
Name?: string
|
|
1026
|
-
/**
|
|
1027
|
-
* 文档标题
|
|
1028
|
-
*/
|
|
1029
|
-
FileTitle?: string
|
|
1030
|
-
/**
|
|
1031
|
-
* 文档元信息,必须为jsonstring
|
|
1032
|
-
*/
|
|
1033
|
-
FileMetaData?: string
|
|
1034
|
-
/**
|
|
1035
|
-
* 作者
|
|
1036
|
-
*/
|
|
1037
|
-
Author?: string
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
/**
|
|
1041
|
-
* DescribeKnowledgeDocumentSetDetail返回参数结构体
|
|
1042
|
-
*/
|
|
1043
|
-
export interface DescribeKnowledgeDocumentSetDetailResponse {
|
|
1044
|
-
/**
|
|
1045
|
-
* 新增文件返回信息
|
|
1046
|
-
*/
|
|
1047
|
-
Data?: DescribeKnowledgeDocumentSetDetailRsp
|
|
1048
|
-
/**
|
|
1049
|
-
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1050
|
-
*/
|
|
1051
|
-
RequestId?: string
|
|
1052
|
-
}
|
|
1053
|
-
|
|
1054
|
-
/**
|
|
1055
|
-
* 数据源关联App信息
|
|
1056
|
-
*/
|
|
1057
|
-
export interface DataSourceLinkApp {
|
|
1058
|
-
/**
|
|
1059
|
-
* 应用Id
|
|
1060
|
-
*/
|
|
1061
|
-
Id?: string
|
|
1062
|
-
/**
|
|
1063
|
-
* 应用名称
|
|
1064
|
-
*/
|
|
1065
|
-
Title?: string
|
|
1066
|
-
/**
|
|
1067
|
-
* 是否编辑状态使用
|
|
1068
|
-
*/
|
|
1069
|
-
EditStatusUse?: number
|
|
1070
|
-
/**
|
|
1071
|
-
* 是否预览状态使用
|
|
1072
|
-
*/
|
|
1073
|
-
PreviewStatusUse?: number
|
|
1074
|
-
/**
|
|
1075
|
-
* 是否正式状态使用
|
|
1076
|
-
*/
|
|
1077
|
-
OnlineStatusUse?: number
|
|
1078
|
-
/**
|
|
1079
|
-
* 数据源ID
|
|
1080
|
-
*/
|
|
1081
|
-
DataSourceId?: string
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* 知识库文档搜索结果
|
|
1086
|
-
*/
|
|
1087
|
-
export interface SearchDocRsp {
|
|
1088
|
-
/**
|
|
1089
|
-
* 文档基本信息
|
|
1090
|
-
*/
|
|
1091
|
-
DocInfos?: Array<SearchDocInfo>
|
|
1092
|
-
/**
|
|
1093
|
-
* 文档总数
|
|
1094
|
-
*/
|
|
1095
|
-
Total?: number
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* 查询知识库列表返回
|
|
1100
|
-
*/
|
|
1101
|
-
export interface KnowledgeSetRsp {
|
|
1102
|
-
/**
|
|
1103
|
-
* 总数
|
|
1104
|
-
*/
|
|
1105
|
-
Total?: number
|
|
1106
|
-
/**
|
|
1107
|
-
* 知识库列表
|
|
1108
|
-
*/
|
|
1109
|
-
KnowledgeSets?: Array<KnowledgeSet>
|
|
1110
|
-
}
|
|
1111
|
-
|
|
1112
|
-
/**
|
|
1113
|
-
* 数据详情列表
|
|
1114
|
-
*/
|
|
1115
|
-
export interface DataSourceDetailItems {
|
|
1116
|
-
/**
|
|
1117
|
-
* 数据详情列表
|
|
1118
|
-
*/
|
|
1119
|
-
Rows?: Array<DataSourceDetail>
|
|
1120
|
-
/**
|
|
1121
|
-
* 数据源列表总个数
|
|
1122
|
-
*/
|
|
1123
|
-
Count?: number
|
|
1124
|
-
}
|