@yuntijs/arcadia-bff-sdk 1.2.57 → 1.2.59
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/dist/cjs/index.d.ts +102 -0
- package/dist/cjs/sdk.d.ts +487 -157
- package/dist/cjs/sdk.js +118 -66
- package/dist/cjs/taro.d.ts +75 -0
- package/dist/esm/index.d.ts +102 -0
- package/dist/esm/sdk.d.ts +487 -157
- package/dist/esm/sdk.js +116 -82
- package/dist/esm/taro.d.ts +75 -0
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -448,6 +448,24 @@ export type CreateDatasourceInput = {
|
|
|
448
448
|
/** 数据源为Web数据时的输入 */
|
|
449
449
|
webinput?: InputMaybe<WebInput>;
|
|
450
450
|
};
|
|
451
|
+
export type CreateKnowledgeBaseFileChunkInput = {
|
|
452
|
+
content: Scalars['String']['input'];
|
|
453
|
+
/** fileId文件的UID */
|
|
454
|
+
fileId: Scalars['String']['input'];
|
|
455
|
+
};
|
|
456
|
+
export type CreateKnowledgeBaseFileInput = {
|
|
457
|
+
/** 文件存储路径 */
|
|
458
|
+
filePaths?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
459
|
+
/** knowledgebase所属知识库 */
|
|
460
|
+
knowledgebase: Scalars['String']['input'];
|
|
461
|
+
/**
|
|
462
|
+
* source原文件所在存储源,有如下可能:
|
|
463
|
+
* - datasource : 代表为从数据源中选择的文件
|
|
464
|
+
* - dataset : 代表为从数据集中选择的文件
|
|
465
|
+
* - nil: 代表为直接上传的文件
|
|
466
|
+
*/
|
|
467
|
+
source?: InputMaybe<TypedObjectReferenceInput>;
|
|
468
|
+
};
|
|
451
469
|
/** 创建知识库的输入 */
|
|
452
470
|
export type CreateKnowledgeBaseInput = {
|
|
453
471
|
/** 知识库资源注释 */
|
|
@@ -466,8 +484,6 @@ export type CreateKnowledgeBaseInput = {
|
|
|
466
484
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
467
485
|
/** embedder指当前知识库使用的embedding向量化模型 */
|
|
468
486
|
embedder: TypedObjectReferenceInput;
|
|
469
|
-
/** 选择的文件列表 */
|
|
470
|
-
fileGroups?: InputMaybe<Array<Filegroupinput>>;
|
|
471
487
|
/** 知识库资源标签 */
|
|
472
488
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
473
489
|
/** 知识库资源名称(不可同名) */
|
|
@@ -1065,6 +1081,15 @@ export type DeleteCommonInput = {
|
|
|
1065
1081
|
export type DeleteDataProcessInput = {
|
|
1066
1082
|
id: Scalars['String']['input'];
|
|
1067
1083
|
};
|
|
1084
|
+
export type DeleteKnowledgeBaseFileChunkInput = {
|
|
1085
|
+
/** chunk id */
|
|
1086
|
+
id: Scalars['String']['input'];
|
|
1087
|
+
};
|
|
1088
|
+
export type DeleteKnowledgeBaseFileInput = {
|
|
1089
|
+
fileIDs?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1090
|
+
knowledgebase?: InputMaybe<Scalars['String']['input']>;
|
|
1091
|
+
source?: InputMaybe<Scalars['String']['input']>;
|
|
1092
|
+
};
|
|
1068
1093
|
export type DeleteRagInput = {
|
|
1069
1094
|
labelSelector?: InputMaybe<Scalars['String']['input']>;
|
|
1070
1095
|
name: Scalars['String']['input'];
|
|
@@ -1192,11 +1217,6 @@ export type FileItem = {
|
|
|
1192
1217
|
name: Scalars['String']['input'];
|
|
1193
1218
|
size?: InputMaybe<Scalars['String']['input']>;
|
|
1194
1219
|
};
|
|
1195
|
-
export type FileWithVersion = {
|
|
1196
|
-
__typename?: 'FileWithVersion';
|
|
1197
|
-
path: Scalars['String']['output'];
|
|
1198
|
-
version?: Maybe<Scalars['String']['output']>;
|
|
1199
|
-
};
|
|
1200
1220
|
export type FileWithVersionInput = {
|
|
1201
1221
|
/** 文件路径 */
|
|
1202
1222
|
path: Scalars['String']['input'];
|
|
@@ -1242,8 +1262,6 @@ export type KnowledgeBase = {
|
|
|
1242
1262
|
/** embedder指当前知识库使用的embedding向量化模型,即 Kind 为 Embedder */
|
|
1243
1263
|
embedder?: Maybe<TypedObjectReference>;
|
|
1244
1264
|
embedderType?: Maybe<Scalars['String']['output']>;
|
|
1245
|
-
/** fileGroupDetails为知识库中所处理的文件组的详细内容和状态 */
|
|
1246
|
-
fileGroupDetails?: Maybe<Array<Maybe<Filegroupdetail>>>;
|
|
1247
1265
|
/** 知识库id,为CR资源中的metadata.uid */
|
|
1248
1266
|
id?: Maybe<Scalars['String']['output']>;
|
|
1249
1267
|
/** 一些用于标记,选择的的标签 */
|
|
@@ -1274,30 +1292,91 @@ export type KnowledgeBase = {
|
|
|
1274
1292
|
/** vectorStore指当前知识库使用的向量数据库服务,即 Kind 为 VectorStore */
|
|
1275
1293
|
vectorStore?: Maybe<TypedObjectReference>;
|
|
1276
1294
|
};
|
|
1295
|
+
export type KnowledgeBaseFile = {
|
|
1296
|
+
__typename?: 'KnowledgeBaseFile';
|
|
1297
|
+
/** 文件中的数据条目总数 */
|
|
1298
|
+
count?: Maybe<Scalars['Int']['output']>;
|
|
1299
|
+
/** 唯一ID */
|
|
1300
|
+
id: Scalars['String']['output'];
|
|
1301
|
+
/** 文件名 */
|
|
1302
|
+
name: Scalars['String']['output'];
|
|
1303
|
+
/**
|
|
1304
|
+
* 文件处理的阶段
|
|
1305
|
+
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
1306
|
+
*/
|
|
1307
|
+
phase?: Maybe<Scalars['String']['output']>;
|
|
1308
|
+
/** 文件大小 */
|
|
1309
|
+
size?: Maybe<Scalars['String']['output']>;
|
|
1310
|
+
/** 存储所在数据源 */
|
|
1311
|
+
source: Scalars['String']['output'];
|
|
1312
|
+
/** 数据源类型 */
|
|
1313
|
+
sourceType: Scalars['String']['output'];
|
|
1314
|
+
/** 最近一次成功的处理耗时 */
|
|
1315
|
+
timeCost?: Maybe<Scalars['Int64']['output']>;
|
|
1316
|
+
/** 最新处理时间 */
|
|
1317
|
+
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
1318
|
+
};
|
|
1319
|
+
export type KnowledgeBaseFileChunk = {
|
|
1320
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
1321
|
+
content: Scalars['String']['output'];
|
|
1322
|
+
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1323
|
+
fileId: Scalars['String']['output'];
|
|
1324
|
+
id: Scalars['String']['output'];
|
|
1325
|
+
processingPhase: Scalars['String']['output'];
|
|
1326
|
+
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1327
|
+
};
|
|
1277
1328
|
export type KnowledgeBaseMutation = {
|
|
1278
1329
|
__typename?: 'KnowledgeBaseMutation';
|
|
1279
1330
|
createKnowledgeBase: KnowledgeBase;
|
|
1331
|
+
createKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1332
|
+
createKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
|
|
1280
1333
|
deleteKnowledgeBase?: Maybe<Scalars['Void']['output']>;
|
|
1334
|
+
deleteKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1335
|
+
deleteKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
|
|
1281
1336
|
updateKnowledgeBase: KnowledgeBase;
|
|
1337
|
+
updateKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1282
1338
|
};
|
|
1283
1339
|
export type KnowledgeBaseMutationCreateKnowledgeBaseArgs = {
|
|
1284
1340
|
input: CreateKnowledgeBaseInput;
|
|
1285
1341
|
};
|
|
1342
|
+
export type KnowledgeBaseMutationCreateKnowledgeBaseFileChunkArgs = {
|
|
1343
|
+
input: CreateKnowledgeBaseFileChunkInput;
|
|
1344
|
+
};
|
|
1345
|
+
export type KnowledgeBaseMutationCreateKnowledgeBaseFilesArgs = {
|
|
1346
|
+
input: CreateKnowledgeBaseFileInput;
|
|
1347
|
+
};
|
|
1286
1348
|
export type KnowledgeBaseMutationDeleteKnowledgeBaseArgs = {
|
|
1287
1349
|
input?: InputMaybe<DeleteCommonInput>;
|
|
1288
1350
|
};
|
|
1351
|
+
export type KnowledgeBaseMutationDeleteKnowledgeBaseFileChunkArgs = {
|
|
1352
|
+
input: DeleteKnowledgeBaseFileChunkInput;
|
|
1353
|
+
};
|
|
1354
|
+
export type KnowledgeBaseMutationDeleteKnowledgeBaseFilesArgs = {
|
|
1355
|
+
input: DeleteKnowledgeBaseFileInput;
|
|
1356
|
+
};
|
|
1289
1357
|
export type KnowledgeBaseMutationUpdateKnowledgeBaseArgs = {
|
|
1290
1358
|
input?: InputMaybe<UpdateKnowledgeBaseInput>;
|
|
1291
1359
|
};
|
|
1360
|
+
export type KnowledgeBaseMutationUpdateKnowledgeBaseFileChunkArgs = {
|
|
1361
|
+
input: UpdateKnowledgeBaseFileChunkInput;
|
|
1362
|
+
};
|
|
1292
1363
|
export type KnowledgeBaseQuery = {
|
|
1293
1364
|
__typename?: 'KnowledgeBaseQuery';
|
|
1294
1365
|
getKnowledgeBase: KnowledgeBase;
|
|
1366
|
+
listKnowledgeBaseFileChunks: PaginatedResult;
|
|
1367
|
+
listKnowledgeBaseFiles: PaginatedResult;
|
|
1295
1368
|
listKnowledgeBases: PaginatedResult;
|
|
1296
1369
|
};
|
|
1297
1370
|
export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
|
|
1298
1371
|
name: Scalars['String']['input'];
|
|
1299
1372
|
namespace: Scalars['String']['input'];
|
|
1300
1373
|
};
|
|
1374
|
+
export type KnowledgeBaseQueryListKnowledgeBaseFileChunksArgs = {
|
|
1375
|
+
input: ListKnowledgeBaseFileChunksInput;
|
|
1376
|
+
};
|
|
1377
|
+
export type KnowledgeBaseQueryListKnowledgeBaseFilesArgs = {
|
|
1378
|
+
input: ListKnowledgeBaseFilesInput;
|
|
1379
|
+
};
|
|
1301
1380
|
export type KnowledgeBaseQueryListKnowledgeBasesArgs = {
|
|
1302
1381
|
input: ListKnowledgeBaseInput;
|
|
1303
1382
|
};
|
|
@@ -1422,6 +1501,41 @@ export type ListDatasetInput = {
|
|
|
1422
1501
|
*/
|
|
1423
1502
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1424
1503
|
};
|
|
1504
|
+
export type ListKnowledgeBaseFileChunksInput = {
|
|
1505
|
+
/** fileId文件的UID */
|
|
1506
|
+
fileId: Scalars['String']['input'];
|
|
1507
|
+
/** 基于关键字检索相关chunk */
|
|
1508
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1509
|
+
/**
|
|
1510
|
+
* 分页页码,
|
|
1511
|
+
* 规则: 从1开始,默认是1
|
|
1512
|
+
*/
|
|
1513
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1514
|
+
/**
|
|
1515
|
+
* 每页数量,
|
|
1516
|
+
* 规则: 默认10
|
|
1517
|
+
*/
|
|
1518
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1519
|
+
};
|
|
1520
|
+
export type ListKnowledgeBaseFilesInput = {
|
|
1521
|
+
/**
|
|
1522
|
+
* 关键词: 模糊匹配
|
|
1523
|
+
* 规则: 关键词匹配,用于通过文件名或路径过滤
|
|
1524
|
+
*/
|
|
1525
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1526
|
+
/** knowledgebase所属知识库 */
|
|
1527
|
+
knowledgebase: Scalars['String']['input'];
|
|
1528
|
+
/**
|
|
1529
|
+
* 分页页码,
|
|
1530
|
+
* 规则: 从1开始,默认是1
|
|
1531
|
+
*/
|
|
1532
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1533
|
+
/**
|
|
1534
|
+
* 每页数量,
|
|
1535
|
+
* 规则: 默认10
|
|
1536
|
+
*/
|
|
1537
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1538
|
+
};
|
|
1425
1539
|
/** 知识库分页列表查询的输入 */
|
|
1426
1540
|
export type ListKnowledgeBaseInput = {
|
|
1427
1541
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1854,7 +1968,7 @@ export type OssInput = {
|
|
|
1854
1968
|
bucket: Scalars['String']['input'];
|
|
1855
1969
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
1856
1970
|
};
|
|
1857
|
-
export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | TuningDataSet | TuningVersionedDataset | TuningVersionedDatasetContent | TuningVersionedDatasetFiles | VersionedDataset | Worker | Workflow;
|
|
1971
|
+
export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | KnowledgeBaseFile | KnowledgeBaseFileChunk | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | TuningDataSet | TuningVersionedDataset | TuningVersionedDatasetContent | TuningVersionedDatasetFiles | VersionedDataset | Worker | Workflow;
|
|
1858
1972
|
export type PaginatedDataProcessItem = {
|
|
1859
1973
|
__typename?: 'PaginatedDataProcessItem';
|
|
1860
1974
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -2638,6 +2752,12 @@ export type UpdateDatasourceInput = {
|
|
|
2638
2752
|
/** 数据源为Web数据时的输入 */
|
|
2639
2753
|
webinput?: InputMaybe<WebInput>;
|
|
2640
2754
|
};
|
|
2755
|
+
export type UpdateKnowledgeBaseFileChunkInput = {
|
|
2756
|
+
/** 新的内容 */
|
|
2757
|
+
content: Scalars['String']['input'];
|
|
2758
|
+
/** chunk id */
|
|
2759
|
+
id: Scalars['String']['input'];
|
|
2760
|
+
};
|
|
2641
2761
|
/** 知识库更新的输入 */
|
|
2642
2762
|
export type UpdateKnowledgeBaseInput = {
|
|
2643
2763
|
/** 知识库资源注释 */
|
|
@@ -2652,8 +2772,6 @@ export type UpdateKnowledgeBaseInput = {
|
|
|
2652
2772
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2653
2773
|
/** 如不更新,则为空 */
|
|
2654
2774
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
2655
|
-
/** 更新选择的文件列表 */
|
|
2656
|
-
fileGroups?: InputMaybe<Array<Filegroupinput>>;
|
|
2657
2775
|
/** 知识库资源标签 */
|
|
2658
2776
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
2659
2777
|
/** 知识库资源名称(不可同名) */
|
|
@@ -3102,71 +3220,6 @@ export type WorkflowQueryGetWorkflowArgs = {
|
|
|
3102
3220
|
export type WorkflowQueryListWorkflowsArgs = {
|
|
3103
3221
|
input: ListCommonInput;
|
|
3104
3222
|
};
|
|
3105
|
-
/**
|
|
3106
|
-
* 文件详情
|
|
3107
|
-
* 描述: 文件在知识库中的详细状态
|
|
3108
|
-
*/
|
|
3109
|
-
export type Filedetail = {
|
|
3110
|
-
__typename?: 'filedetail';
|
|
3111
|
-
/** 文件中的数据条目总数 */
|
|
3112
|
-
count: Scalars['String']['output'];
|
|
3113
|
-
/**
|
|
3114
|
-
* 文件类型
|
|
3115
|
-
* 规则: enum { QA }
|
|
3116
|
-
*/
|
|
3117
|
-
fileType: Scalars['String']['output'];
|
|
3118
|
-
/** 文件最新版本 */
|
|
3119
|
-
latestVersion: Scalars['String']['output'];
|
|
3120
|
-
/** 文件路径 */
|
|
3121
|
-
path: Scalars['String']['output'];
|
|
3122
|
-
/**
|
|
3123
|
-
* 文件处理的阶段
|
|
3124
|
-
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
3125
|
-
*/
|
|
3126
|
-
phase: Scalars['String']['output'];
|
|
3127
|
-
/** 文件大小 */
|
|
3128
|
-
size: Scalars['String']['output'];
|
|
3129
|
-
/** 最近一次成功的处理耗时 */
|
|
3130
|
-
timeCost: Scalars['Int']['output'];
|
|
3131
|
-
/** 最新处理时间 */
|
|
3132
|
-
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
3133
|
-
/** 文件版本,""或者"null"的情况表示是文件最新版本。 */
|
|
3134
|
-
version: Scalars['String']['output'];
|
|
3135
|
-
};
|
|
3136
|
-
/**
|
|
3137
|
-
* 文件组
|
|
3138
|
-
* 规则: 属于同一个源(数据集)的文件要放在同一个filegroup中
|
|
3139
|
-
* 规则: path直接读取文件里表中的文件路径即可
|
|
3140
|
-
*/
|
|
3141
|
-
export type Filegroup = {
|
|
3142
|
-
__typename?: 'filegroup';
|
|
3143
|
-
files?: Maybe<Array<FileWithVersion>>;
|
|
3144
|
-
/** 路径数组 */
|
|
3145
|
-
path?: Maybe<Array<Scalars['String']['output']>>;
|
|
3146
|
-
/** 源;目前仅支持版本数据集,即 Kind为 VersionedDataset */
|
|
3147
|
-
source?: Maybe<TypedObjectReference>;
|
|
3148
|
-
};
|
|
3149
|
-
/**
|
|
3150
|
-
* 文件组详情
|
|
3151
|
-
* 描述: 文件组在知识库中的状态
|
|
3152
|
-
*/
|
|
3153
|
-
export type Filegroupdetail = {
|
|
3154
|
-
__typename?: 'filegroupdetail';
|
|
3155
|
-
/**
|
|
3156
|
-
* 文件详情
|
|
3157
|
-
* 规则;数组。具体文件详情参考 filedetail描述
|
|
3158
|
-
*/
|
|
3159
|
-
filedetails?: Maybe<Array<Maybe<Filedetail>>>;
|
|
3160
|
-
/** 源;目前仅支持版本数据集,即 Kind为 VersionedDataset */
|
|
3161
|
-
source?: Maybe<TypedObjectReference>;
|
|
3162
|
-
};
|
|
3163
|
-
/** 源文件输入 */
|
|
3164
|
-
export type Filegroupinput = {
|
|
3165
|
-
/** 文件列表 */
|
|
3166
|
-
files?: InputMaybe<Array<FileWithVersionInput>>;
|
|
3167
|
-
/** 数据源字段 */
|
|
3168
|
-
source?: InputMaybe<TypedObjectReferenceInput>;
|
|
3169
|
-
};
|
|
3170
3223
|
export type UpdateContentInput = {
|
|
3171
3224
|
content: ContentTemplateInput;
|
|
3172
3225
|
contentID: Scalars['String']['input'];
|
|
@@ -3494,6 +3547,10 @@ export type GetAgentLatestReleaseInEachPlatformQuery = {
|
|
|
3494
3547
|
__typename?: 'F';
|
|
3495
3548
|
} | {
|
|
3496
3549
|
__typename?: 'KnowledgeBase';
|
|
3550
|
+
} | {
|
|
3551
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3552
|
+
} | {
|
|
3553
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3497
3554
|
} | {
|
|
3498
3555
|
__typename?: 'LLM';
|
|
3499
3556
|
} | {
|
|
@@ -3574,6 +3631,10 @@ export type GetAgentReleaseHistoryQuery = {
|
|
|
3574
3631
|
__typename?: 'F';
|
|
3575
3632
|
} | {
|
|
3576
3633
|
__typename?: 'KnowledgeBase';
|
|
3634
|
+
} | {
|
|
3635
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3636
|
+
} | {
|
|
3637
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3577
3638
|
} | {
|
|
3578
3639
|
__typename?: 'LLM';
|
|
3579
3640
|
} | {
|
|
@@ -3656,6 +3717,10 @@ export type ListAgentsQuery = {
|
|
|
3656
3717
|
__typename?: 'F';
|
|
3657
3718
|
} | {
|
|
3658
3719
|
__typename?: 'KnowledgeBase';
|
|
3720
|
+
} | {
|
|
3721
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3722
|
+
} | {
|
|
3723
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3659
3724
|
} | {
|
|
3660
3725
|
__typename?: 'LLM';
|
|
3661
3726
|
} | {
|
|
@@ -3727,6 +3792,10 @@ export type ListAgentPromptQuery = {
|
|
|
3727
3792
|
__typename?: 'F';
|
|
3728
3793
|
} | {
|
|
3729
3794
|
__typename?: 'KnowledgeBase';
|
|
3795
|
+
} | {
|
|
3796
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3797
|
+
} | {
|
|
3798
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3730
3799
|
} | {
|
|
3731
3800
|
__typename?: 'LLM';
|
|
3732
3801
|
} | {
|
|
@@ -4107,6 +4176,10 @@ export type ListDatasetsQuery = {
|
|
|
4107
4176
|
__typename?: 'F';
|
|
4108
4177
|
} | {
|
|
4109
4178
|
__typename?: 'KnowledgeBase';
|
|
4179
|
+
} | {
|
|
4180
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4181
|
+
} | {
|
|
4182
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4110
4183
|
} | {
|
|
4111
4184
|
__typename?: 'LLM';
|
|
4112
4185
|
} | {
|
|
@@ -4160,6 +4233,10 @@ export type ListDatasetsQuery = {
|
|
|
4160
4233
|
__typename?: 'F';
|
|
4161
4234
|
} | {
|
|
4162
4235
|
__typename?: 'KnowledgeBase';
|
|
4236
|
+
} | {
|
|
4237
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4238
|
+
} | {
|
|
4239
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4163
4240
|
} | {
|
|
4164
4241
|
__typename?: 'LLM';
|
|
4165
4242
|
} | {
|
|
@@ -4236,6 +4313,10 @@ export type GetDatasetQuery = {
|
|
|
4236
4313
|
__typename?: 'F';
|
|
4237
4314
|
} | {
|
|
4238
4315
|
__typename?: 'KnowledgeBase';
|
|
4316
|
+
} | {
|
|
4317
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4318
|
+
} | {
|
|
4319
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4239
4320
|
} | {
|
|
4240
4321
|
__typename?: 'LLM';
|
|
4241
4322
|
} | {
|
|
@@ -4489,6 +4570,10 @@ export type ListDatasourcesQuery = {
|
|
|
4489
4570
|
__typename: 'F';
|
|
4490
4571
|
} | {
|
|
4491
4572
|
__typename: 'KnowledgeBase';
|
|
4573
|
+
} | {
|
|
4574
|
+
__typename: 'KnowledgeBaseFile';
|
|
4575
|
+
} | {
|
|
4576
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
4492
4577
|
} | {
|
|
4493
4578
|
__typename: 'LLM';
|
|
4494
4579
|
} | {
|
|
@@ -4628,6 +4713,10 @@ export type ListEmbeddersQuery = {
|
|
|
4628
4713
|
__typename?: 'F';
|
|
4629
4714
|
} | {
|
|
4630
4715
|
__typename?: 'KnowledgeBase';
|
|
4716
|
+
} | {
|
|
4717
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4718
|
+
} | {
|
|
4719
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4631
4720
|
} | {
|
|
4632
4721
|
__typename?: 'LLM';
|
|
4633
4722
|
} | {
|
|
@@ -4745,26 +4834,10 @@ export type ListKnowledgeBasesQuery = {
|
|
|
4745
4834
|
kind: string;
|
|
4746
4835
|
name: string;
|
|
4747
4836
|
} | null;
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
kind: string;
|
|
4753
|
-
name: string;
|
|
4754
|
-
} | null;
|
|
4755
|
-
filedetails?: Array<{
|
|
4756
|
-
__typename?: 'filedetail';
|
|
4757
|
-
path: string;
|
|
4758
|
-
phase: string;
|
|
4759
|
-
fileType: string;
|
|
4760
|
-
count: string;
|
|
4761
|
-
size: string;
|
|
4762
|
-
updateTimestamp?: any | null;
|
|
4763
|
-
timeCost: number;
|
|
4764
|
-
version: string;
|
|
4765
|
-
latestVersion: string;
|
|
4766
|
-
} | null> | null;
|
|
4767
|
-
} | null> | null;
|
|
4837
|
+
} | {
|
|
4838
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4839
|
+
} | {
|
|
4840
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4768
4841
|
} | {
|
|
4769
4842
|
__typename?: 'LLM';
|
|
4770
4843
|
} | {
|
|
@@ -4839,26 +4912,6 @@ export type GetKnowledgeBaseQuery = {
|
|
|
4839
4912
|
kind: string;
|
|
4840
4913
|
name: string;
|
|
4841
4914
|
} | null;
|
|
4842
|
-
fileGroupDetails?: Array<{
|
|
4843
|
-
__typename?: 'filegroupdetail';
|
|
4844
|
-
source?: {
|
|
4845
|
-
__typename?: 'TypedObjectReference';
|
|
4846
|
-
kind: string;
|
|
4847
|
-
name: string;
|
|
4848
|
-
} | null;
|
|
4849
|
-
filedetails?: Array<{
|
|
4850
|
-
__typename?: 'filedetail';
|
|
4851
|
-
path: string;
|
|
4852
|
-
phase: string;
|
|
4853
|
-
fileType: string;
|
|
4854
|
-
count: string;
|
|
4855
|
-
size: string;
|
|
4856
|
-
updateTimestamp?: any | null;
|
|
4857
|
-
timeCost: number;
|
|
4858
|
-
version: string;
|
|
4859
|
-
latestVersion: string;
|
|
4860
|
-
} | null> | null;
|
|
4861
|
-
} | null> | null;
|
|
4862
4915
|
};
|
|
4863
4916
|
} | null;
|
|
4864
4917
|
};
|
|
@@ -4901,26 +4954,6 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
4901
4954
|
kind: string;
|
|
4902
4955
|
name: string;
|
|
4903
4956
|
} | null;
|
|
4904
|
-
fileGroupDetails?: Array<{
|
|
4905
|
-
__typename?: 'filegroupdetail';
|
|
4906
|
-
source?: {
|
|
4907
|
-
__typename?: 'TypedObjectReference';
|
|
4908
|
-
kind: string;
|
|
4909
|
-
name: string;
|
|
4910
|
-
} | null;
|
|
4911
|
-
filedetails?: Array<{
|
|
4912
|
-
__typename?: 'filedetail';
|
|
4913
|
-
path: string;
|
|
4914
|
-
phase: string;
|
|
4915
|
-
fileType: string;
|
|
4916
|
-
count: string;
|
|
4917
|
-
size: string;
|
|
4918
|
-
updateTimestamp?: any | null;
|
|
4919
|
-
timeCost: number;
|
|
4920
|
-
version: string;
|
|
4921
|
-
latestVersion: string;
|
|
4922
|
-
} | null> | null;
|
|
4923
|
-
} | null> | null;
|
|
4924
4957
|
};
|
|
4925
4958
|
} | null;
|
|
4926
4959
|
};
|
|
@@ -4963,26 +4996,6 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
4963
4996
|
kind: string;
|
|
4964
4997
|
name: string;
|
|
4965
4998
|
} | null;
|
|
4966
|
-
fileGroupDetails?: Array<{
|
|
4967
|
-
__typename?: 'filegroupdetail';
|
|
4968
|
-
source?: {
|
|
4969
|
-
__typename?: 'TypedObjectReference';
|
|
4970
|
-
kind: string;
|
|
4971
|
-
name: string;
|
|
4972
|
-
} | null;
|
|
4973
|
-
filedetails?: Array<{
|
|
4974
|
-
__typename?: 'filedetail';
|
|
4975
|
-
path: string;
|
|
4976
|
-
phase: string;
|
|
4977
|
-
fileType: string;
|
|
4978
|
-
count: string;
|
|
4979
|
-
size: string;
|
|
4980
|
-
updateTimestamp?: any | null;
|
|
4981
|
-
timeCost: number;
|
|
4982
|
-
version: string;
|
|
4983
|
-
latestVersion: string;
|
|
4984
|
-
} | null> | null;
|
|
4985
|
-
} | null> | null;
|
|
4986
4999
|
};
|
|
4987
5000
|
} | null;
|
|
4988
5001
|
};
|
|
@@ -4996,6 +5009,205 @@ export type DeleteKnowledgeBaseMutation = {
|
|
|
4996
5009
|
deleteKnowledgeBase?: any | null;
|
|
4997
5010
|
} | null;
|
|
4998
5011
|
};
|
|
5012
|
+
export type CreateKnowledgeBaseFilesMutationVariables = Exact<{
|
|
5013
|
+
input: CreateKnowledgeBaseFileInput;
|
|
5014
|
+
}>;
|
|
5015
|
+
export type CreateKnowledgeBaseFilesMutation = {
|
|
5016
|
+
__typename?: 'Mutation';
|
|
5017
|
+
KnowledgeBase?: {
|
|
5018
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5019
|
+
createKnowledgeBaseFiles?: any | null;
|
|
5020
|
+
} | null;
|
|
5021
|
+
};
|
|
5022
|
+
export type DeleteKnowledgeBaseFilesMutationVariables = Exact<{
|
|
5023
|
+
input: DeleteKnowledgeBaseFileInput;
|
|
5024
|
+
}>;
|
|
5025
|
+
export type DeleteKnowledgeBaseFilesMutation = {
|
|
5026
|
+
__typename?: 'Mutation';
|
|
5027
|
+
KnowledgeBase?: {
|
|
5028
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5029
|
+
deleteKnowledgeBaseFiles?: any | null;
|
|
5030
|
+
} | null;
|
|
5031
|
+
};
|
|
5032
|
+
export type ListKnowledgeBaseFilesQueryVariables = Exact<{
|
|
5033
|
+
input: ListKnowledgeBaseFilesInput;
|
|
5034
|
+
}>;
|
|
5035
|
+
export type ListKnowledgeBaseFilesQuery = {
|
|
5036
|
+
__typename?: 'Query';
|
|
5037
|
+
KnowledgeBase?: {
|
|
5038
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
5039
|
+
listKnowledgeBaseFiles: {
|
|
5040
|
+
__typename?: 'PaginatedResult';
|
|
5041
|
+
totalCount: number;
|
|
5042
|
+
hasNextPage: boolean;
|
|
5043
|
+
nodes?: Array<{
|
|
5044
|
+
__typename?: 'AgentMetadata';
|
|
5045
|
+
} | {
|
|
5046
|
+
__typename?: 'AgentPrompt';
|
|
5047
|
+
} | {
|
|
5048
|
+
__typename?: 'AgentRelease';
|
|
5049
|
+
} | {
|
|
5050
|
+
__typename?: 'AgentReleaseHistory';
|
|
5051
|
+
} | {
|
|
5052
|
+
__typename?: 'Dataset';
|
|
5053
|
+
} | {
|
|
5054
|
+
__typename?: 'Datasource';
|
|
5055
|
+
} | {
|
|
5056
|
+
__typename?: 'Embedder';
|
|
5057
|
+
} | {
|
|
5058
|
+
__typename?: 'F';
|
|
5059
|
+
} | {
|
|
5060
|
+
__typename?: 'KnowledgeBase';
|
|
5061
|
+
} | {
|
|
5062
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5063
|
+
id: string;
|
|
5064
|
+
source: string;
|
|
5065
|
+
sourceType: string;
|
|
5066
|
+
name: string;
|
|
5067
|
+
size?: string | null;
|
|
5068
|
+
count?: number | null;
|
|
5069
|
+
timeCost?: any | null;
|
|
5070
|
+
updateTimestamp?: any | null;
|
|
5071
|
+
phase?: string | null;
|
|
5072
|
+
} | {
|
|
5073
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5074
|
+
} | {
|
|
5075
|
+
__typename?: 'LLM';
|
|
5076
|
+
} | {
|
|
5077
|
+
__typename?: 'Model';
|
|
5078
|
+
} | {
|
|
5079
|
+
__typename?: 'ModelService';
|
|
5080
|
+
} | {
|
|
5081
|
+
__typename?: 'Node';
|
|
5082
|
+
} | {
|
|
5083
|
+
__typename?: 'Plugin';
|
|
5084
|
+
} | {
|
|
5085
|
+
__typename?: 'RAG';
|
|
5086
|
+
} | {
|
|
5087
|
+
__typename?: 'RayCluster';
|
|
5088
|
+
} | {
|
|
5089
|
+
__typename?: 'Reranker';
|
|
5090
|
+
} | {
|
|
5091
|
+
__typename?: 'TuningDataSet';
|
|
5092
|
+
} | {
|
|
5093
|
+
__typename?: 'TuningVersionedDataset';
|
|
5094
|
+
} | {
|
|
5095
|
+
__typename?: 'TuningVersionedDatasetContent';
|
|
5096
|
+
} | {
|
|
5097
|
+
__typename?: 'TuningVersionedDatasetFiles';
|
|
5098
|
+
} | {
|
|
5099
|
+
__typename?: 'VersionedDataset';
|
|
5100
|
+
} | {
|
|
5101
|
+
__typename?: 'Worker';
|
|
5102
|
+
} | {
|
|
5103
|
+
__typename?: 'Workflow';
|
|
5104
|
+
}> | null;
|
|
5105
|
+
};
|
|
5106
|
+
} | null;
|
|
5107
|
+
};
|
|
5108
|
+
export type CreateKnowledgeBaseFileChunkMutationVariables = Exact<{
|
|
5109
|
+
input: CreateKnowledgeBaseFileChunkInput;
|
|
5110
|
+
}>;
|
|
5111
|
+
export type CreateKnowledgeBaseFileChunkMutation = {
|
|
5112
|
+
__typename?: 'Mutation';
|
|
5113
|
+
KnowledgeBase?: {
|
|
5114
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5115
|
+
createKnowledgeBaseFileChunk?: any | null;
|
|
5116
|
+
} | null;
|
|
5117
|
+
};
|
|
5118
|
+
export type UpdateKnowledgeBaseFileChunkMutationVariables = Exact<{
|
|
5119
|
+
input: UpdateKnowledgeBaseFileChunkInput;
|
|
5120
|
+
}>;
|
|
5121
|
+
export type UpdateKnowledgeBaseFileChunkMutation = {
|
|
5122
|
+
__typename?: 'Mutation';
|
|
5123
|
+
KnowledgeBase?: {
|
|
5124
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5125
|
+
updateKnowledgeBaseFileChunk?: any | null;
|
|
5126
|
+
} | null;
|
|
5127
|
+
};
|
|
5128
|
+
export type DeleteKnowledgeBaseFileChunkMutationVariables = Exact<{
|
|
5129
|
+
input: DeleteKnowledgeBaseFileChunkInput;
|
|
5130
|
+
}>;
|
|
5131
|
+
export type DeleteKnowledgeBaseFileChunkMutation = {
|
|
5132
|
+
__typename?: 'Mutation';
|
|
5133
|
+
KnowledgeBase?: {
|
|
5134
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5135
|
+
deleteKnowledgeBaseFileChunk?: any | null;
|
|
5136
|
+
} | null;
|
|
5137
|
+
};
|
|
5138
|
+
export type ListKnowledgeBaseFileChunksQueryVariables = Exact<{
|
|
5139
|
+
input: ListKnowledgeBaseFileChunksInput;
|
|
5140
|
+
}>;
|
|
5141
|
+
export type ListKnowledgeBaseFileChunksQuery = {
|
|
5142
|
+
__typename?: 'Query';
|
|
5143
|
+
KnowledgeBase?: {
|
|
5144
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
5145
|
+
listKnowledgeBaseFileChunks: {
|
|
5146
|
+
__typename?: 'PaginatedResult';
|
|
5147
|
+
totalCount: number;
|
|
5148
|
+
hasNextPage: boolean;
|
|
5149
|
+
nodes?: Array<{
|
|
5150
|
+
__typename?: 'AgentMetadata';
|
|
5151
|
+
} | {
|
|
5152
|
+
__typename?: 'AgentPrompt';
|
|
5153
|
+
} | {
|
|
5154
|
+
__typename?: 'AgentRelease';
|
|
5155
|
+
} | {
|
|
5156
|
+
__typename?: 'AgentReleaseHistory';
|
|
5157
|
+
} | {
|
|
5158
|
+
__typename?: 'Dataset';
|
|
5159
|
+
} | {
|
|
5160
|
+
__typename?: 'Datasource';
|
|
5161
|
+
} | {
|
|
5162
|
+
__typename?: 'Embedder';
|
|
5163
|
+
} | {
|
|
5164
|
+
__typename?: 'F';
|
|
5165
|
+
} | {
|
|
5166
|
+
__typename?: 'KnowledgeBase';
|
|
5167
|
+
} | {
|
|
5168
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5169
|
+
} | {
|
|
5170
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5171
|
+
id: string;
|
|
5172
|
+
fileId: string;
|
|
5173
|
+
createdAt?: any | null;
|
|
5174
|
+
updatedAt?: any | null;
|
|
5175
|
+
content: string;
|
|
5176
|
+
processingPhase: string;
|
|
5177
|
+
} | {
|
|
5178
|
+
__typename?: 'LLM';
|
|
5179
|
+
} | {
|
|
5180
|
+
__typename?: 'Model';
|
|
5181
|
+
} | {
|
|
5182
|
+
__typename?: 'ModelService';
|
|
5183
|
+
} | {
|
|
5184
|
+
__typename?: 'Node';
|
|
5185
|
+
} | {
|
|
5186
|
+
__typename?: 'Plugin';
|
|
5187
|
+
} | {
|
|
5188
|
+
__typename?: 'RAG';
|
|
5189
|
+
} | {
|
|
5190
|
+
__typename?: 'RayCluster';
|
|
5191
|
+
} | {
|
|
5192
|
+
__typename?: 'Reranker';
|
|
5193
|
+
} | {
|
|
5194
|
+
__typename?: 'TuningDataSet';
|
|
5195
|
+
} | {
|
|
5196
|
+
__typename?: 'TuningVersionedDataset';
|
|
5197
|
+
} | {
|
|
5198
|
+
__typename?: 'TuningVersionedDatasetContent';
|
|
5199
|
+
} | {
|
|
5200
|
+
__typename?: 'TuningVersionedDatasetFiles';
|
|
5201
|
+
} | {
|
|
5202
|
+
__typename?: 'VersionedDataset';
|
|
5203
|
+
} | {
|
|
5204
|
+
__typename?: 'Worker';
|
|
5205
|
+
} | {
|
|
5206
|
+
__typename?: 'Workflow';
|
|
5207
|
+
}> | null;
|
|
5208
|
+
};
|
|
5209
|
+
} | null;
|
|
5210
|
+
};
|
|
4999
5211
|
export type ListLlMsQueryVariables = Exact<{
|
|
5000
5212
|
input: ListCommonInput;
|
|
5001
5213
|
}>;
|
|
@@ -5025,6 +5237,10 @@ export type ListLlMsQuery = {
|
|
|
5025
5237
|
__typename?: 'F';
|
|
5026
5238
|
} | {
|
|
5027
5239
|
__typename?: 'KnowledgeBase';
|
|
5240
|
+
} | {
|
|
5241
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5242
|
+
} | {
|
|
5243
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5028
5244
|
} | {
|
|
5029
5245
|
__typename?: 'LLM';
|
|
5030
5246
|
name: string;
|
|
@@ -5128,6 +5344,10 @@ export type ListModelsQuery = {
|
|
|
5128
5344
|
__typename: 'F';
|
|
5129
5345
|
} | {
|
|
5130
5346
|
__typename: 'KnowledgeBase';
|
|
5347
|
+
} | {
|
|
5348
|
+
__typename: 'KnowledgeBaseFile';
|
|
5349
|
+
} | {
|
|
5350
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5131
5351
|
} | {
|
|
5132
5352
|
__typename: 'LLM';
|
|
5133
5353
|
} | {
|
|
@@ -5178,6 +5398,10 @@ export type ListModelsQuery = {
|
|
|
5178
5398
|
creationTimestamp?: any | null;
|
|
5179
5399
|
} | {
|
|
5180
5400
|
__typename?: 'KnowledgeBase';
|
|
5401
|
+
} | {
|
|
5402
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5403
|
+
} | {
|
|
5404
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5181
5405
|
} | {
|
|
5182
5406
|
__typename?: 'LLM';
|
|
5183
5407
|
} | {
|
|
@@ -5297,6 +5521,10 @@ export type GetModelQuery = {
|
|
|
5297
5521
|
creationTimestamp?: any | null;
|
|
5298
5522
|
} | {
|
|
5299
5523
|
__typename?: 'KnowledgeBase';
|
|
5524
|
+
} | {
|
|
5525
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5526
|
+
} | {
|
|
5527
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5300
5528
|
} | {
|
|
5301
5529
|
__typename?: 'LLM';
|
|
5302
5530
|
} | {
|
|
@@ -5538,6 +5766,10 @@ export type ListModelServicesQuery = {
|
|
|
5538
5766
|
__typename: 'F';
|
|
5539
5767
|
} | {
|
|
5540
5768
|
__typename: 'KnowledgeBase';
|
|
5769
|
+
} | {
|
|
5770
|
+
__typename: 'KnowledgeBaseFile';
|
|
5771
|
+
} | {
|
|
5772
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5541
5773
|
} | {
|
|
5542
5774
|
__typename: 'LLM';
|
|
5543
5775
|
} | {
|
|
@@ -5657,6 +5889,10 @@ export type ListNodesQuery = {
|
|
|
5657
5889
|
__typename: 'F';
|
|
5658
5890
|
} | {
|
|
5659
5891
|
__typename: 'KnowledgeBase';
|
|
5892
|
+
} | {
|
|
5893
|
+
__typename: 'KnowledgeBaseFile';
|
|
5894
|
+
} | {
|
|
5895
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5660
5896
|
} | {
|
|
5661
5897
|
__typename: 'LLM';
|
|
5662
5898
|
} | {
|
|
@@ -5722,6 +5958,10 @@ export type ListPluginsQuery = {
|
|
|
5722
5958
|
__typename: 'F';
|
|
5723
5959
|
} | {
|
|
5724
5960
|
__typename: 'KnowledgeBase';
|
|
5961
|
+
} | {
|
|
5962
|
+
__typename: 'KnowledgeBaseFile';
|
|
5963
|
+
} | {
|
|
5964
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5725
5965
|
} | {
|
|
5726
5966
|
__typename: 'LLM';
|
|
5727
5967
|
} | {
|
|
@@ -5939,6 +6179,10 @@ export type ListRagQuery = {
|
|
|
5939
6179
|
__typename?: 'F';
|
|
5940
6180
|
} | {
|
|
5941
6181
|
__typename?: 'KnowledgeBase';
|
|
6182
|
+
} | {
|
|
6183
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6184
|
+
} | {
|
|
6185
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5942
6186
|
} | {
|
|
5943
6187
|
__typename?: 'LLM';
|
|
5944
6188
|
} | {
|
|
@@ -6357,6 +6601,10 @@ export type ListRayClustersQuery = {
|
|
|
6357
6601
|
__typename: 'F';
|
|
6358
6602
|
} | {
|
|
6359
6603
|
__typename: 'KnowledgeBase';
|
|
6604
|
+
} | {
|
|
6605
|
+
__typename: 'KnowledgeBaseFile';
|
|
6606
|
+
} | {
|
|
6607
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
6360
6608
|
} | {
|
|
6361
6609
|
__typename: 'LLM';
|
|
6362
6610
|
} | {
|
|
@@ -6425,6 +6673,10 @@ export type ListRerankersQuery = {
|
|
|
6425
6673
|
__typename?: 'F';
|
|
6426
6674
|
} | {
|
|
6427
6675
|
__typename?: 'KnowledgeBase';
|
|
6676
|
+
} | {
|
|
6677
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6678
|
+
} | {
|
|
6679
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6428
6680
|
} | {
|
|
6429
6681
|
__typename?: 'LLM';
|
|
6430
6682
|
} | {
|
|
@@ -6525,6 +6777,10 @@ export type ListTuningDataSetQuery = {
|
|
|
6525
6777
|
__typename?: 'F';
|
|
6526
6778
|
} | {
|
|
6527
6779
|
__typename?: 'KnowledgeBase';
|
|
6780
|
+
} | {
|
|
6781
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6782
|
+
} | {
|
|
6783
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6528
6784
|
} | {
|
|
6529
6785
|
__typename?: 'LLM';
|
|
6530
6786
|
} | {
|
|
@@ -6571,6 +6827,10 @@ export type ListTuningDataSetQuery = {
|
|
|
6571
6827
|
__typename?: 'F';
|
|
6572
6828
|
} | {
|
|
6573
6829
|
__typename?: 'KnowledgeBase';
|
|
6830
|
+
} | {
|
|
6831
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6832
|
+
} | {
|
|
6833
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6574
6834
|
} | {
|
|
6575
6835
|
__typename?: 'LLM';
|
|
6576
6836
|
} | {
|
|
@@ -6663,6 +6923,10 @@ export type GetTuningDataSetQuery = {
|
|
|
6663
6923
|
__typename?: 'F';
|
|
6664
6924
|
} | {
|
|
6665
6925
|
__typename?: 'KnowledgeBase';
|
|
6926
|
+
} | {
|
|
6927
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6928
|
+
} | {
|
|
6929
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6666
6930
|
} | {
|
|
6667
6931
|
__typename?: 'LLM';
|
|
6668
6932
|
} | {
|
|
@@ -6720,6 +6984,7 @@ export type GetVersionQuery = {
|
|
|
6720
6984
|
creator?: string | null;
|
|
6721
6985
|
createdAt: any;
|
|
6722
6986
|
updatedAt: any;
|
|
6987
|
+
contentCount?: number | null;
|
|
6723
6988
|
files: {
|
|
6724
6989
|
__typename?: 'PaginatedResult';
|
|
6725
6990
|
totalCount: number;
|
|
@@ -6741,6 +7006,10 @@ export type GetVersionQuery = {
|
|
|
6741
7006
|
__typename?: 'F';
|
|
6742
7007
|
} | {
|
|
6743
7008
|
__typename?: 'KnowledgeBase';
|
|
7009
|
+
} | {
|
|
7010
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7011
|
+
} | {
|
|
7012
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6744
7013
|
} | {
|
|
6745
7014
|
__typename?: 'LLM';
|
|
6746
7015
|
} | {
|
|
@@ -6812,6 +7081,10 @@ export type GetVersionContentQuery = {
|
|
|
6812
7081
|
__typename?: 'F';
|
|
6813
7082
|
} | {
|
|
6814
7083
|
__typename?: 'KnowledgeBase';
|
|
7084
|
+
} | {
|
|
7085
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7086
|
+
} | {
|
|
7087
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6815
7088
|
} | {
|
|
6816
7089
|
__typename?: 'LLM';
|
|
6817
7090
|
} | {
|
|
@@ -7058,6 +7331,10 @@ export type GetVersionedDatasetQuery = {
|
|
|
7058
7331
|
creationTimestamp?: any | null;
|
|
7059
7332
|
} | {
|
|
7060
7333
|
__typename?: 'KnowledgeBase';
|
|
7334
|
+
} | {
|
|
7335
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7336
|
+
} | {
|
|
7337
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
7061
7338
|
} | {
|
|
7062
7339
|
__typename?: 'LLM';
|
|
7063
7340
|
} | {
|
|
@@ -7123,6 +7400,10 @@ export type ListVersionedDatasetsQuery = {
|
|
|
7123
7400
|
__typename?: 'F';
|
|
7124
7401
|
} | {
|
|
7125
7402
|
__typename?: 'KnowledgeBase';
|
|
7403
|
+
} | {
|
|
7404
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7405
|
+
} | {
|
|
7406
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
7126
7407
|
} | {
|
|
7127
7408
|
__typename?: 'LLM';
|
|
7128
7409
|
} | {
|
|
@@ -7193,6 +7474,10 @@ export type ListVersionedDatasetsQuery = {
|
|
|
7193
7474
|
creationTimestamp?: any | null;
|
|
7194
7475
|
} | {
|
|
7195
7476
|
__typename?: 'KnowledgeBase';
|
|
7477
|
+
} | {
|
|
7478
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7479
|
+
} | {
|
|
7480
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
7196
7481
|
} | {
|
|
7197
7482
|
__typename?: 'LLM';
|
|
7198
7483
|
} | {
|
|
@@ -7262,6 +7547,10 @@ export type ListWorkersQuery = {
|
|
|
7262
7547
|
__typename: 'F';
|
|
7263
7548
|
} | {
|
|
7264
7549
|
__typename: 'KnowledgeBase';
|
|
7550
|
+
} | {
|
|
7551
|
+
__typename: 'KnowledgeBaseFile';
|
|
7552
|
+
} | {
|
|
7553
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
7265
7554
|
} | {
|
|
7266
7555
|
__typename: 'LLM';
|
|
7267
7556
|
} | {
|
|
@@ -7545,6 +7834,10 @@ export type ListWorkflowsQuery = {
|
|
|
7545
7834
|
__typename: 'F';
|
|
7546
7835
|
} | {
|
|
7547
7836
|
__typename: 'KnowledgeBase';
|
|
7837
|
+
} | {
|
|
7838
|
+
__typename: 'KnowledgeBaseFile';
|
|
7839
|
+
} | {
|
|
7840
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
7548
7841
|
} | {
|
|
7549
7842
|
__typename: 'LLM';
|
|
7550
7843
|
} | {
|
|
@@ -7745,6 +8038,13 @@ export declare const GetKnowledgeBaseDocument: import("../node_modules/.pnpm/gra
|
|
|
7745
8038
|
export declare const CreateKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7746
8039
|
export declare const UpdateKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7747
8040
|
export declare const DeleteKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8041
|
+
export declare const CreateKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8042
|
+
export declare const DeleteKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8043
|
+
export declare const ListKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8044
|
+
export declare const CreateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8045
|
+
export declare const UpdateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8046
|
+
export declare const DeleteKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
8047
|
+
export declare const ListKnowledgeBaseFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7748
8048
|
export declare const ListLlMsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7749
8049
|
export declare const GetLlmDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7750
8050
|
export declare const ListModelsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -7853,6 +8153,13 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
7853
8153
|
createKnowledgeBase(variables: CreateKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseMutation>;
|
|
7854
8154
|
updateKnowledgeBase(variables?: UpdateKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseMutation>;
|
|
7855
8155
|
deleteKnowledgeBase(variables?: DeleteKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseMutation>;
|
|
8156
|
+
createKnowledgeBaseFiles(variables: CreateKnowledgeBaseFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseFilesMutation>;
|
|
8157
|
+
deleteKnowledgeBaseFiles(variables: DeleteKnowledgeBaseFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFilesMutation>;
|
|
8158
|
+
listKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFilesQuery>;
|
|
8159
|
+
createKnowledgeBaseFileChunk(variables: CreateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseFileChunkMutation>;
|
|
8160
|
+
updateKnowledgeBaseFileChunk(variables: UpdateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
8161
|
+
deleteKnowledgeBaseFileChunk(variables: DeleteKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFileChunkMutation>;
|
|
8162
|
+
listKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
7856
8163
|
listLLMs(variables: ListLlMsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListLlMsQuery>;
|
|
7857
8164
|
getLLM(variables: GetLlmQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetLlmQuery>;
|
|
7858
8165
|
listModels(variables: ListModelsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListModelsQuery>;
|
|
@@ -7940,6 +8247,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
7940
8247
|
useGetEmbedder(variables: GetEmbedderQueryVariables, config?: SWRConfigInterface<GetEmbedderQuery, ClientError>): import("./useSWR").SWRResponsePro<GetEmbedderQuery, ClientError>;
|
|
7941
8248
|
useListKnowledgeBases(variables: ListKnowledgeBasesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBasesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBasesQuery, ClientError>;
|
|
7942
8249
|
useGetKnowledgeBase(variables: GetKnowledgeBaseQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseQuery, ClientError>;
|
|
8250
|
+
useListKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFilesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFilesQuery, ClientError>;
|
|
8251
|
+
useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
|
|
7943
8252
|
useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
|
|
7944
8253
|
useGetLlm(variables: GetLlmQueryVariables, config?: SWRConfigInterface<GetLlmQuery, ClientError>): import("./useSWR").SWRResponsePro<GetLlmQuery, ClientError>;
|
|
7945
8254
|
useListModels(variables: ListModelsQueryVariables, config?: SWRConfigInterface<ListModelsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListModelsQuery, ClientError>;
|
|
@@ -8128,6 +8437,27 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
8128
8437
|
deleteKnowledgeBase(variables?: Exact<{
|
|
8129
8438
|
input?: InputMaybe<DeleteCommonInput> | undefined;
|
|
8130
8439
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteKnowledgeBaseMutation>;
|
|
8440
|
+
createKnowledgeBaseFiles(variables: Exact<{
|
|
8441
|
+
input: CreateKnowledgeBaseFileInput;
|
|
8442
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateKnowledgeBaseFilesMutation>;
|
|
8443
|
+
deleteKnowledgeBaseFiles(variables: Exact<{
|
|
8444
|
+
input: DeleteKnowledgeBaseFileInput;
|
|
8445
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteKnowledgeBaseFilesMutation>;
|
|
8446
|
+
listKnowledgeBaseFiles(variables: Exact<{
|
|
8447
|
+
input: ListKnowledgeBaseFilesInput;
|
|
8448
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFilesQuery>;
|
|
8449
|
+
createKnowledgeBaseFileChunk(variables: Exact<{
|
|
8450
|
+
input: CreateKnowledgeBaseFileChunkInput;
|
|
8451
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateKnowledgeBaseFileChunkMutation>;
|
|
8452
|
+
updateKnowledgeBaseFileChunk(variables: Exact<{
|
|
8453
|
+
input: UpdateKnowledgeBaseFileChunkInput;
|
|
8454
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
8455
|
+
deleteKnowledgeBaseFileChunk(variables: Exact<{
|
|
8456
|
+
input: DeleteKnowledgeBaseFileChunkInput;
|
|
8457
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteKnowledgeBaseFileChunkMutation>;
|
|
8458
|
+
listKnowledgeBaseFileChunks(variables: Exact<{
|
|
8459
|
+
input: ListKnowledgeBaseFileChunksInput;
|
|
8460
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
8131
8461
|
listLLMs(variables: Exact<{
|
|
8132
8462
|
input: ListCommonInput;
|
|
8133
8463
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListLlMsQuery>;
|