@yuntijs/arcadia-bff-sdk 1.2.52 → 1.2.54
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 +78 -0
- package/dist/cjs/sdk.d.ts +416 -157
- package/dist/cjs/sdk.js +88 -66
- package/dist/cjs/taro.d.ts +57 -0
- package/dist/esm/index.d.ts +78 -0
- package/dist/esm/sdk.d.ts +416 -157
- package/dist/esm/sdk.js +96 -74
- package/dist/esm/taro.d.ts +57 -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
|
@@ -435,6 +435,19 @@ export type CreateDatasourceInput = {
|
|
|
435
435
|
/** 数据源为Web数据时的输入 */
|
|
436
436
|
webinput?: InputMaybe<WebInput>;
|
|
437
437
|
};
|
|
438
|
+
export type CreateKnowledgeBaseFileInput = {
|
|
439
|
+
/** 文件存储路径 */
|
|
440
|
+
filePaths?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
441
|
+
/** knowledgebase所属知识库 */
|
|
442
|
+
knowledgebase: TypedObjectReferenceInput;
|
|
443
|
+
/**
|
|
444
|
+
* source原文件所在存储源,有如下可能:
|
|
445
|
+
* - datasource : 代表为从数据源中选择的文件
|
|
446
|
+
* - dataset : 代表为从数据集中选择的文件
|
|
447
|
+
* - nil: 代表为直接上传的文件
|
|
448
|
+
*/
|
|
449
|
+
source?: InputMaybe<TypedObjectReferenceInput>;
|
|
450
|
+
};
|
|
438
451
|
/** 创建知识库的输入 */
|
|
439
452
|
export type CreateKnowledgeBaseInput = {
|
|
440
453
|
/** 知识库资源注释 */
|
|
@@ -453,8 +466,6 @@ export type CreateKnowledgeBaseInput = {
|
|
|
453
466
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
454
467
|
/** embedder指当前知识库使用的embedding向量化模型 */
|
|
455
468
|
embedder: TypedObjectReferenceInput;
|
|
456
|
-
/** 选择的文件列表 */
|
|
457
|
-
fileGroups?: InputMaybe<Array<Filegroupinput>>;
|
|
458
469
|
/** 知识库资源标签 */
|
|
459
470
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
460
471
|
/** 知识库资源名称(不可同名) */
|
|
@@ -1179,11 +1190,6 @@ export type FileItem = {
|
|
|
1179
1190
|
name: Scalars['String']['input'];
|
|
1180
1191
|
size?: InputMaybe<Scalars['String']['input']>;
|
|
1181
1192
|
};
|
|
1182
|
-
export type FileWithVersion = {
|
|
1183
|
-
__typename?: 'FileWithVersion';
|
|
1184
|
-
path: Scalars['String']['output'];
|
|
1185
|
-
version?: Maybe<Scalars['String']['output']>;
|
|
1186
|
-
};
|
|
1187
1193
|
export type FileWithVersionInput = {
|
|
1188
1194
|
/** 文件路径 */
|
|
1189
1195
|
path: Scalars['String']['input'];
|
|
@@ -1229,8 +1235,6 @@ export type KnowledgeBase = {
|
|
|
1229
1235
|
/** embedder指当前知识库使用的embedding向量化模型,即 Kind 为 Embedder */
|
|
1230
1236
|
embedder?: Maybe<TypedObjectReference>;
|
|
1231
1237
|
embedderType?: Maybe<Scalars['String']['output']>;
|
|
1232
|
-
/** fileGroupDetails为知识库中所处理的文件组的详细内容和状态 */
|
|
1233
|
-
fileGroupDetails?: Maybe<Array<Maybe<Filegroupdetail>>>;
|
|
1234
1238
|
/** 知识库id,为CR资源中的metadata.uid */
|
|
1235
1239
|
id?: Maybe<Scalars['String']['output']>;
|
|
1236
1240
|
/** 一些用于标记,选择的的标签 */
|
|
@@ -1261,30 +1265,86 @@ export type KnowledgeBase = {
|
|
|
1261
1265
|
/** vectorStore指当前知识库使用的向量数据库服务,即 Kind 为 VectorStore */
|
|
1262
1266
|
vectorStore?: Maybe<TypedObjectReference>;
|
|
1263
1267
|
};
|
|
1268
|
+
export type KnowledgeBaseFile = {
|
|
1269
|
+
__typename?: 'KnowledgeBaseFile';
|
|
1270
|
+
/** 文件中的数据条目总数 */
|
|
1271
|
+
count?: Maybe<Scalars['Int']['output']>;
|
|
1272
|
+
/** 唯一ID */
|
|
1273
|
+
id: Scalars['String']['output'];
|
|
1274
|
+
/** 文件名 */
|
|
1275
|
+
name: Scalars['String']['output'];
|
|
1276
|
+
/**
|
|
1277
|
+
* 文件处理的阶段
|
|
1278
|
+
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
1279
|
+
*/
|
|
1280
|
+
phase?: Maybe<Scalars['String']['output']>;
|
|
1281
|
+
/** 文件大小 */
|
|
1282
|
+
size?: Maybe<Scalars['String']['output']>;
|
|
1283
|
+
/** 存储所在数据源 */
|
|
1284
|
+
source: Scalars['String']['output'];
|
|
1285
|
+
/** 数据源类型 */
|
|
1286
|
+
sourceType: Scalars['String']['output'];
|
|
1287
|
+
/** 最近一次成功的处理耗时 */
|
|
1288
|
+
timeCost?: Maybe<Scalars['Int64']['output']>;
|
|
1289
|
+
/** 最新处理时间 */
|
|
1290
|
+
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
1291
|
+
};
|
|
1292
|
+
export type KnowledgeBaseFileChunk = {
|
|
1293
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
1294
|
+
fileId: Scalars['String']['output'];
|
|
1295
|
+
};
|
|
1296
|
+
export type KnowledgeBaseFileChunkInput = {
|
|
1297
|
+
/** fileId文件的UID */
|
|
1298
|
+
fileId: Scalars['String']['input'];
|
|
1299
|
+
};
|
|
1264
1300
|
export type KnowledgeBaseMutation = {
|
|
1265
1301
|
__typename?: 'KnowledgeBaseMutation';
|
|
1266
1302
|
createKnowledgeBase: KnowledgeBase;
|
|
1303
|
+
createKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
|
|
1267
1304
|
deleteKnowledgeBase?: Maybe<Scalars['Void']['output']>;
|
|
1305
|
+
deleteKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1306
|
+
deleteKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
|
|
1268
1307
|
updateKnowledgeBase: KnowledgeBase;
|
|
1308
|
+
updateKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
|
|
1269
1309
|
};
|
|
1270
1310
|
export type KnowledgeBaseMutationCreateKnowledgeBaseArgs = {
|
|
1271
1311
|
input: CreateKnowledgeBaseInput;
|
|
1272
1312
|
};
|
|
1313
|
+
export type KnowledgeBaseMutationCreateKnowledgeBaseFilesArgs = {
|
|
1314
|
+
input: CreateKnowledgeBaseFileInput;
|
|
1315
|
+
};
|
|
1273
1316
|
export type KnowledgeBaseMutationDeleteKnowledgeBaseArgs = {
|
|
1274
1317
|
input?: InputMaybe<DeleteCommonInput>;
|
|
1275
1318
|
};
|
|
1319
|
+
export type KnowledgeBaseMutationDeleteKnowledgeBaseFileChunkArgs = {
|
|
1320
|
+
input: KnowledgeBaseFileChunkInput;
|
|
1321
|
+
};
|
|
1322
|
+
export type KnowledgeBaseMutationDeleteKnowledgeBaseFilesArgs = {
|
|
1323
|
+
fileIds?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1324
|
+
};
|
|
1276
1325
|
export type KnowledgeBaseMutationUpdateKnowledgeBaseArgs = {
|
|
1277
1326
|
input?: InputMaybe<UpdateKnowledgeBaseInput>;
|
|
1278
1327
|
};
|
|
1328
|
+
export type KnowledgeBaseMutationUpdateKnowledgeBaseFileChunkArgs = {
|
|
1329
|
+
input: KnowledgeBaseFileChunkInput;
|
|
1330
|
+
};
|
|
1279
1331
|
export type KnowledgeBaseQuery = {
|
|
1280
1332
|
__typename?: 'KnowledgeBaseQuery';
|
|
1281
1333
|
getKnowledgeBase: KnowledgeBase;
|
|
1334
|
+
listKnowledgeBaseFileChunks: PaginatedResult;
|
|
1335
|
+
listKnowledgeBaseFiles: PaginatedResult;
|
|
1282
1336
|
listKnowledgeBases: PaginatedResult;
|
|
1283
1337
|
};
|
|
1284
1338
|
export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
|
|
1285
1339
|
name: Scalars['String']['input'];
|
|
1286
1340
|
namespace: Scalars['String']['input'];
|
|
1287
1341
|
};
|
|
1342
|
+
export type KnowledgeBaseQueryListKnowledgeBaseFileChunksArgs = {
|
|
1343
|
+
input: ListKnowledgeBaseFileChunksInput;
|
|
1344
|
+
};
|
|
1345
|
+
export type KnowledgeBaseQueryListKnowledgeBaseFilesArgs = {
|
|
1346
|
+
input: ListKnowledgeBaseFilesInput;
|
|
1347
|
+
};
|
|
1288
1348
|
export type KnowledgeBaseQueryListKnowledgeBasesArgs = {
|
|
1289
1349
|
input: ListKnowledgeBaseInput;
|
|
1290
1350
|
};
|
|
@@ -1409,6 +1469,39 @@ export type ListDatasetInput = {
|
|
|
1409
1469
|
*/
|
|
1410
1470
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1411
1471
|
};
|
|
1472
|
+
export type ListKnowledgeBaseFileChunksInput = {
|
|
1473
|
+
/** fileId文件的UID */
|
|
1474
|
+
fileId: Scalars['String']['input'];
|
|
1475
|
+
/**
|
|
1476
|
+
* 分页页码,
|
|
1477
|
+
* 规则: 从1开始,默认是1
|
|
1478
|
+
*/
|
|
1479
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1480
|
+
/**
|
|
1481
|
+
* 每页数量,
|
|
1482
|
+
* 规则: 默认10
|
|
1483
|
+
*/
|
|
1484
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1485
|
+
};
|
|
1486
|
+
export type ListKnowledgeBaseFilesInput = {
|
|
1487
|
+
/**
|
|
1488
|
+
* 关键词: 模糊匹配
|
|
1489
|
+
* 规则: 关键词匹配,用于通过文件名或路径过滤
|
|
1490
|
+
*/
|
|
1491
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1492
|
+
/** knowledgebase所属知识库 */
|
|
1493
|
+
knowledgebase: TypedObjectReferenceInput;
|
|
1494
|
+
/**
|
|
1495
|
+
* 分页页码,
|
|
1496
|
+
* 规则: 从1开始,默认是1
|
|
1497
|
+
*/
|
|
1498
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1499
|
+
/**
|
|
1500
|
+
* 每页数量,
|
|
1501
|
+
* 规则: 默认10
|
|
1502
|
+
*/
|
|
1503
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1504
|
+
};
|
|
1412
1505
|
/** 知识库分页列表查询的输入 */
|
|
1413
1506
|
export type ListKnowledgeBaseInput = {
|
|
1414
1507
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1841,7 +1934,7 @@ export type OssInput = {
|
|
|
1841
1934
|
bucket: Scalars['String']['input'];
|
|
1842
1935
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
1843
1936
|
};
|
|
1844
|
-
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;
|
|
1937
|
+
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;
|
|
1845
1938
|
export type PaginatedDataProcessItem = {
|
|
1846
1939
|
__typename?: 'PaginatedDataProcessItem';
|
|
1847
1940
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -2600,8 +2693,6 @@ export type UpdateKnowledgeBaseInput = {
|
|
|
2600
2693
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2601
2694
|
/** 如不更新,则为空 */
|
|
2602
2695
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
2603
|
-
/** 更新选择的文件列表 */
|
|
2604
|
-
fileGroups?: InputMaybe<Array<Filegroupinput>>;
|
|
2605
2696
|
/** 知识库资源标签 */
|
|
2606
2697
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
2607
2698
|
/** 知识库资源名称(不可同名) */
|
|
@@ -3050,71 +3141,6 @@ export type WorkflowQueryGetWorkflowArgs = {
|
|
|
3050
3141
|
export type WorkflowQueryListWorkflowsArgs = {
|
|
3051
3142
|
input: ListCommonInput;
|
|
3052
3143
|
};
|
|
3053
|
-
/**
|
|
3054
|
-
* 文件详情
|
|
3055
|
-
* 描述: 文件在知识库中的详细状态
|
|
3056
|
-
*/
|
|
3057
|
-
export type Filedetail = {
|
|
3058
|
-
__typename?: 'filedetail';
|
|
3059
|
-
/** 文件中的数据条目总数 */
|
|
3060
|
-
count: Scalars['String']['output'];
|
|
3061
|
-
/**
|
|
3062
|
-
* 文件类型
|
|
3063
|
-
* 规则: enum { QA }
|
|
3064
|
-
*/
|
|
3065
|
-
fileType: Scalars['String']['output'];
|
|
3066
|
-
/** 文件最新版本 */
|
|
3067
|
-
latestVersion: Scalars['String']['output'];
|
|
3068
|
-
/** 文件路径 */
|
|
3069
|
-
path: Scalars['String']['output'];
|
|
3070
|
-
/**
|
|
3071
|
-
* 文件处理的阶段
|
|
3072
|
-
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
3073
|
-
*/
|
|
3074
|
-
phase: Scalars['String']['output'];
|
|
3075
|
-
/** 文件大小 */
|
|
3076
|
-
size: Scalars['String']['output'];
|
|
3077
|
-
/** 最近一次成功的处理耗时 */
|
|
3078
|
-
timeCost: Scalars['Int']['output'];
|
|
3079
|
-
/** 最新处理时间 */
|
|
3080
|
-
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
3081
|
-
/** 文件版本,""或者"null"的情况表示是文件最新版本。 */
|
|
3082
|
-
version: Scalars['String']['output'];
|
|
3083
|
-
};
|
|
3084
|
-
/**
|
|
3085
|
-
* 文件组
|
|
3086
|
-
* 规则: 属于同一个源(数据集)的文件要放在同一个filegroup中
|
|
3087
|
-
* 规则: path直接读取文件里表中的文件路径即可
|
|
3088
|
-
*/
|
|
3089
|
-
export type Filegroup = {
|
|
3090
|
-
__typename?: 'filegroup';
|
|
3091
|
-
files?: Maybe<Array<FileWithVersion>>;
|
|
3092
|
-
/** 路径数组 */
|
|
3093
|
-
path?: Maybe<Array<Scalars['String']['output']>>;
|
|
3094
|
-
/** 源;目前仅支持版本数据集,即 Kind为 VersionedDataset */
|
|
3095
|
-
source?: Maybe<TypedObjectReference>;
|
|
3096
|
-
};
|
|
3097
|
-
/**
|
|
3098
|
-
* 文件组详情
|
|
3099
|
-
* 描述: 文件组在知识库中的状态
|
|
3100
|
-
*/
|
|
3101
|
-
export type Filegroupdetail = {
|
|
3102
|
-
__typename?: 'filegroupdetail';
|
|
3103
|
-
/**
|
|
3104
|
-
* 文件详情
|
|
3105
|
-
* 规则;数组。具体文件详情参考 filedetail描述
|
|
3106
|
-
*/
|
|
3107
|
-
filedetails?: Maybe<Array<Maybe<Filedetail>>>;
|
|
3108
|
-
/** 源;目前仅支持版本数据集,即 Kind为 VersionedDataset */
|
|
3109
|
-
source?: Maybe<TypedObjectReference>;
|
|
3110
|
-
};
|
|
3111
|
-
/** 源文件输入 */
|
|
3112
|
-
export type Filegroupinput = {
|
|
3113
|
-
/** 文件列表 */
|
|
3114
|
-
files?: InputMaybe<Array<FileWithVersionInput>>;
|
|
3115
|
-
/** 数据源字段 */
|
|
3116
|
-
source?: InputMaybe<TypedObjectReferenceInput>;
|
|
3117
|
-
};
|
|
3118
3144
|
export type CreateAgentMutationVariables = Exact<{
|
|
3119
3145
|
input: CreateAgentMetadataInput;
|
|
3120
3146
|
}>;
|
|
@@ -3438,6 +3464,10 @@ export type GetAgentLatestReleaseInEachPlatformQuery = {
|
|
|
3438
3464
|
__typename?: 'F';
|
|
3439
3465
|
} | {
|
|
3440
3466
|
__typename?: 'KnowledgeBase';
|
|
3467
|
+
} | {
|
|
3468
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3469
|
+
} | {
|
|
3470
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3441
3471
|
} | {
|
|
3442
3472
|
__typename?: 'LLM';
|
|
3443
3473
|
} | {
|
|
@@ -3518,6 +3548,10 @@ export type GetAgentReleaseHistoryQuery = {
|
|
|
3518
3548
|
__typename?: 'F';
|
|
3519
3549
|
} | {
|
|
3520
3550
|
__typename?: 'KnowledgeBase';
|
|
3551
|
+
} | {
|
|
3552
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3553
|
+
} | {
|
|
3554
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3521
3555
|
} | {
|
|
3522
3556
|
__typename?: 'LLM';
|
|
3523
3557
|
} | {
|
|
@@ -3600,6 +3634,10 @@ export type ListAgentsQuery = {
|
|
|
3600
3634
|
__typename?: 'F';
|
|
3601
3635
|
} | {
|
|
3602
3636
|
__typename?: 'KnowledgeBase';
|
|
3637
|
+
} | {
|
|
3638
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3639
|
+
} | {
|
|
3640
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3603
3641
|
} | {
|
|
3604
3642
|
__typename?: 'LLM';
|
|
3605
3643
|
} | {
|
|
@@ -3671,6 +3709,10 @@ export type ListAgentPromptQuery = {
|
|
|
3671
3709
|
__typename?: 'F';
|
|
3672
3710
|
} | {
|
|
3673
3711
|
__typename?: 'KnowledgeBase';
|
|
3712
|
+
} | {
|
|
3713
|
+
__typename?: 'KnowledgeBaseFile';
|
|
3714
|
+
} | {
|
|
3715
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
3674
3716
|
} | {
|
|
3675
3717
|
__typename?: 'LLM';
|
|
3676
3718
|
} | {
|
|
@@ -4051,6 +4093,10 @@ export type ListDatasetsQuery = {
|
|
|
4051
4093
|
__typename?: 'F';
|
|
4052
4094
|
} | {
|
|
4053
4095
|
__typename?: 'KnowledgeBase';
|
|
4096
|
+
} | {
|
|
4097
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4098
|
+
} | {
|
|
4099
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4054
4100
|
} | {
|
|
4055
4101
|
__typename?: 'LLM';
|
|
4056
4102
|
} | {
|
|
@@ -4104,6 +4150,10 @@ export type ListDatasetsQuery = {
|
|
|
4104
4150
|
__typename?: 'F';
|
|
4105
4151
|
} | {
|
|
4106
4152
|
__typename?: 'KnowledgeBase';
|
|
4153
|
+
} | {
|
|
4154
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4155
|
+
} | {
|
|
4156
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4107
4157
|
} | {
|
|
4108
4158
|
__typename?: 'LLM';
|
|
4109
4159
|
} | {
|
|
@@ -4180,6 +4230,10 @@ export type GetDatasetQuery = {
|
|
|
4180
4230
|
__typename?: 'F';
|
|
4181
4231
|
} | {
|
|
4182
4232
|
__typename?: 'KnowledgeBase';
|
|
4233
|
+
} | {
|
|
4234
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4235
|
+
} | {
|
|
4236
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4183
4237
|
} | {
|
|
4184
4238
|
__typename?: 'LLM';
|
|
4185
4239
|
} | {
|
|
@@ -4433,6 +4487,10 @@ export type ListDatasourcesQuery = {
|
|
|
4433
4487
|
__typename: 'F';
|
|
4434
4488
|
} | {
|
|
4435
4489
|
__typename: 'KnowledgeBase';
|
|
4490
|
+
} | {
|
|
4491
|
+
__typename: 'KnowledgeBaseFile';
|
|
4492
|
+
} | {
|
|
4493
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
4436
4494
|
} | {
|
|
4437
4495
|
__typename: 'LLM';
|
|
4438
4496
|
} | {
|
|
@@ -4572,6 +4630,10 @@ export type ListEmbeddersQuery = {
|
|
|
4572
4630
|
__typename?: 'F';
|
|
4573
4631
|
} | {
|
|
4574
4632
|
__typename?: 'KnowledgeBase';
|
|
4633
|
+
} | {
|
|
4634
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4635
|
+
} | {
|
|
4636
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4575
4637
|
} | {
|
|
4576
4638
|
__typename?: 'LLM';
|
|
4577
4639
|
} | {
|
|
@@ -4689,26 +4751,10 @@ export type ListKnowledgeBasesQuery = {
|
|
|
4689
4751
|
kind: string;
|
|
4690
4752
|
name: string;
|
|
4691
4753
|
} | null;
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
kind: string;
|
|
4697
|
-
name: string;
|
|
4698
|
-
} | null;
|
|
4699
|
-
filedetails?: Array<{
|
|
4700
|
-
__typename?: 'filedetail';
|
|
4701
|
-
path: string;
|
|
4702
|
-
phase: string;
|
|
4703
|
-
fileType: string;
|
|
4704
|
-
count: string;
|
|
4705
|
-
size: string;
|
|
4706
|
-
updateTimestamp?: any | null;
|
|
4707
|
-
timeCost: number;
|
|
4708
|
-
version: string;
|
|
4709
|
-
latestVersion: string;
|
|
4710
|
-
} | null> | null;
|
|
4711
|
-
} | null> | null;
|
|
4754
|
+
} | {
|
|
4755
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4756
|
+
} | {
|
|
4757
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4712
4758
|
} | {
|
|
4713
4759
|
__typename?: 'LLM';
|
|
4714
4760
|
} | {
|
|
@@ -4783,26 +4829,6 @@ export type GetKnowledgeBaseQuery = {
|
|
|
4783
4829
|
kind: string;
|
|
4784
4830
|
name: string;
|
|
4785
4831
|
} | null;
|
|
4786
|
-
fileGroupDetails?: Array<{
|
|
4787
|
-
__typename?: 'filegroupdetail';
|
|
4788
|
-
source?: {
|
|
4789
|
-
__typename?: 'TypedObjectReference';
|
|
4790
|
-
kind: string;
|
|
4791
|
-
name: string;
|
|
4792
|
-
} | null;
|
|
4793
|
-
filedetails?: Array<{
|
|
4794
|
-
__typename?: 'filedetail';
|
|
4795
|
-
path: string;
|
|
4796
|
-
phase: string;
|
|
4797
|
-
fileType: string;
|
|
4798
|
-
count: string;
|
|
4799
|
-
size: string;
|
|
4800
|
-
updateTimestamp?: any | null;
|
|
4801
|
-
timeCost: number;
|
|
4802
|
-
version: string;
|
|
4803
|
-
latestVersion: string;
|
|
4804
|
-
} | null> | null;
|
|
4805
|
-
} | null> | null;
|
|
4806
4832
|
};
|
|
4807
4833
|
} | null;
|
|
4808
4834
|
};
|
|
@@ -4845,26 +4871,6 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
4845
4871
|
kind: string;
|
|
4846
4872
|
name: string;
|
|
4847
4873
|
} | null;
|
|
4848
|
-
fileGroupDetails?: Array<{
|
|
4849
|
-
__typename?: 'filegroupdetail';
|
|
4850
|
-
source?: {
|
|
4851
|
-
__typename?: 'TypedObjectReference';
|
|
4852
|
-
kind: string;
|
|
4853
|
-
name: string;
|
|
4854
|
-
} | null;
|
|
4855
|
-
filedetails?: Array<{
|
|
4856
|
-
__typename?: 'filedetail';
|
|
4857
|
-
path: string;
|
|
4858
|
-
phase: string;
|
|
4859
|
-
fileType: string;
|
|
4860
|
-
count: string;
|
|
4861
|
-
size: string;
|
|
4862
|
-
updateTimestamp?: any | null;
|
|
4863
|
-
timeCost: number;
|
|
4864
|
-
version: string;
|
|
4865
|
-
latestVersion: string;
|
|
4866
|
-
} | null> | null;
|
|
4867
|
-
} | null> | null;
|
|
4868
4874
|
};
|
|
4869
4875
|
} | null;
|
|
4870
4876
|
};
|
|
@@ -4907,26 +4913,6 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
4907
4913
|
kind: string;
|
|
4908
4914
|
name: string;
|
|
4909
4915
|
} | null;
|
|
4910
|
-
fileGroupDetails?: Array<{
|
|
4911
|
-
__typename?: 'filegroupdetail';
|
|
4912
|
-
source?: {
|
|
4913
|
-
__typename?: 'TypedObjectReference';
|
|
4914
|
-
kind: string;
|
|
4915
|
-
name: string;
|
|
4916
|
-
} | null;
|
|
4917
|
-
filedetails?: Array<{
|
|
4918
|
-
__typename?: 'filedetail';
|
|
4919
|
-
path: string;
|
|
4920
|
-
phase: string;
|
|
4921
|
-
fileType: string;
|
|
4922
|
-
count: string;
|
|
4923
|
-
size: string;
|
|
4924
|
-
updateTimestamp?: any | null;
|
|
4925
|
-
timeCost: number;
|
|
4926
|
-
version: string;
|
|
4927
|
-
latestVersion: string;
|
|
4928
|
-
} | null> | null;
|
|
4929
|
-
} | null> | null;
|
|
4930
4916
|
};
|
|
4931
4917
|
} | null;
|
|
4932
4918
|
};
|
|
@@ -4940,6 +4926,180 @@ export type DeleteKnowledgeBaseMutation = {
|
|
|
4940
4926
|
deleteKnowledgeBase?: any | null;
|
|
4941
4927
|
} | null;
|
|
4942
4928
|
};
|
|
4929
|
+
export type CreateKnowledgeBaseFilesMutationVariables = Exact<{
|
|
4930
|
+
input: CreateKnowledgeBaseFileInput;
|
|
4931
|
+
}>;
|
|
4932
|
+
export type CreateKnowledgeBaseFilesMutation = {
|
|
4933
|
+
__typename?: 'Mutation';
|
|
4934
|
+
KnowledgeBase?: {
|
|
4935
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
4936
|
+
createKnowledgeBaseFiles?: any | null;
|
|
4937
|
+
} | null;
|
|
4938
|
+
};
|
|
4939
|
+
export type DeleteKnowledgeBaseFilesMutationVariables = Exact<{
|
|
4940
|
+
fileIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
4941
|
+
}>;
|
|
4942
|
+
export type DeleteKnowledgeBaseFilesMutation = {
|
|
4943
|
+
__typename?: 'Mutation';
|
|
4944
|
+
KnowledgeBase?: {
|
|
4945
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
4946
|
+
deleteKnowledgeBaseFiles?: any | null;
|
|
4947
|
+
} | null;
|
|
4948
|
+
};
|
|
4949
|
+
export type ListKnowledgeBaseFilesQueryVariables = Exact<{
|
|
4950
|
+
input: ListKnowledgeBaseFilesInput;
|
|
4951
|
+
}>;
|
|
4952
|
+
export type ListKnowledgeBaseFilesQuery = {
|
|
4953
|
+
__typename?: 'Query';
|
|
4954
|
+
KnowledgeBase?: {
|
|
4955
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
4956
|
+
listKnowledgeBaseFiles: {
|
|
4957
|
+
__typename?: 'PaginatedResult';
|
|
4958
|
+
totalCount: number;
|
|
4959
|
+
hasNextPage: boolean;
|
|
4960
|
+
nodes?: Array<{
|
|
4961
|
+
__typename?: 'AgentMetadata';
|
|
4962
|
+
} | {
|
|
4963
|
+
__typename?: 'AgentPrompt';
|
|
4964
|
+
} | {
|
|
4965
|
+
__typename?: 'AgentRelease';
|
|
4966
|
+
} | {
|
|
4967
|
+
__typename?: 'AgentReleaseHistory';
|
|
4968
|
+
} | {
|
|
4969
|
+
__typename?: 'Dataset';
|
|
4970
|
+
} | {
|
|
4971
|
+
__typename?: 'Datasource';
|
|
4972
|
+
} | {
|
|
4973
|
+
__typename?: 'Embedder';
|
|
4974
|
+
} | {
|
|
4975
|
+
__typename?: 'F';
|
|
4976
|
+
} | {
|
|
4977
|
+
__typename?: 'KnowledgeBase';
|
|
4978
|
+
} | {
|
|
4979
|
+
__typename?: 'KnowledgeBaseFile';
|
|
4980
|
+
id: string;
|
|
4981
|
+
source: string;
|
|
4982
|
+
sourceType: string;
|
|
4983
|
+
name: string;
|
|
4984
|
+
size?: string | null;
|
|
4985
|
+
count?: number | null;
|
|
4986
|
+
timeCost?: any | null;
|
|
4987
|
+
updateTimestamp?: any | null;
|
|
4988
|
+
phase?: string | null;
|
|
4989
|
+
} | {
|
|
4990
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4991
|
+
} | {
|
|
4992
|
+
__typename?: 'LLM';
|
|
4993
|
+
} | {
|
|
4994
|
+
__typename?: 'Model';
|
|
4995
|
+
} | {
|
|
4996
|
+
__typename?: 'ModelService';
|
|
4997
|
+
} | {
|
|
4998
|
+
__typename?: 'Node';
|
|
4999
|
+
} | {
|
|
5000
|
+
__typename?: 'Plugin';
|
|
5001
|
+
} | {
|
|
5002
|
+
__typename?: 'RAG';
|
|
5003
|
+
} | {
|
|
5004
|
+
__typename?: 'RayCluster';
|
|
5005
|
+
} | {
|
|
5006
|
+
__typename?: 'Reranker';
|
|
5007
|
+
} | {
|
|
5008
|
+
__typename?: 'TuningDataSet';
|
|
5009
|
+
} | {
|
|
5010
|
+
__typename?: 'TuningVersionedDataset';
|
|
5011
|
+
} | {
|
|
5012
|
+
__typename?: 'TuningVersionedDatasetContent';
|
|
5013
|
+
} | {
|
|
5014
|
+
__typename?: 'TuningVersionedDatasetFiles';
|
|
5015
|
+
} | {
|
|
5016
|
+
__typename?: 'VersionedDataset';
|
|
5017
|
+
} | {
|
|
5018
|
+
__typename?: 'Worker';
|
|
5019
|
+
} | {
|
|
5020
|
+
__typename?: 'Workflow';
|
|
5021
|
+
}> | null;
|
|
5022
|
+
};
|
|
5023
|
+
} | null;
|
|
5024
|
+
};
|
|
5025
|
+
export type UpdateKnowledgeBaseFileChunkMutationVariables = Exact<{
|
|
5026
|
+
input: KnowledgeBaseFileChunkInput;
|
|
5027
|
+
}>;
|
|
5028
|
+
export type UpdateKnowledgeBaseFileChunkMutation = {
|
|
5029
|
+
__typename?: 'Mutation';
|
|
5030
|
+
KnowledgeBase?: {
|
|
5031
|
+
__typename?: 'KnowledgeBaseMutation';
|
|
5032
|
+
updateKnowledgeBaseFileChunk?: any | null;
|
|
5033
|
+
} | null;
|
|
5034
|
+
};
|
|
5035
|
+
export type ListKnowledgeBaseFileChunksQueryVariables = Exact<{
|
|
5036
|
+
input: ListKnowledgeBaseFileChunksInput;
|
|
5037
|
+
}>;
|
|
5038
|
+
export type ListKnowledgeBaseFileChunksQuery = {
|
|
5039
|
+
__typename?: 'Query';
|
|
5040
|
+
KnowledgeBase?: {
|
|
5041
|
+
__typename?: 'KnowledgeBaseQuery';
|
|
5042
|
+
listKnowledgeBaseFileChunks: {
|
|
5043
|
+
__typename?: 'PaginatedResult';
|
|
5044
|
+
totalCount: number;
|
|
5045
|
+
hasNextPage: boolean;
|
|
5046
|
+
nodes?: Array<{
|
|
5047
|
+
__typename?: 'AgentMetadata';
|
|
5048
|
+
} | {
|
|
5049
|
+
__typename?: 'AgentPrompt';
|
|
5050
|
+
} | {
|
|
5051
|
+
__typename?: 'AgentRelease';
|
|
5052
|
+
} | {
|
|
5053
|
+
__typename?: 'AgentReleaseHistory';
|
|
5054
|
+
} | {
|
|
5055
|
+
__typename?: 'Dataset';
|
|
5056
|
+
} | {
|
|
5057
|
+
__typename?: 'Datasource';
|
|
5058
|
+
} | {
|
|
5059
|
+
__typename?: 'Embedder';
|
|
5060
|
+
} | {
|
|
5061
|
+
__typename?: 'F';
|
|
5062
|
+
} | {
|
|
5063
|
+
__typename?: 'KnowledgeBase';
|
|
5064
|
+
} | {
|
|
5065
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5066
|
+
} | {
|
|
5067
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5068
|
+
fileId: string;
|
|
5069
|
+
} | {
|
|
5070
|
+
__typename?: 'LLM';
|
|
5071
|
+
} | {
|
|
5072
|
+
__typename?: 'Model';
|
|
5073
|
+
} | {
|
|
5074
|
+
__typename?: 'ModelService';
|
|
5075
|
+
} | {
|
|
5076
|
+
__typename?: 'Node';
|
|
5077
|
+
} | {
|
|
5078
|
+
__typename?: 'Plugin';
|
|
5079
|
+
} | {
|
|
5080
|
+
__typename?: 'RAG';
|
|
5081
|
+
} | {
|
|
5082
|
+
__typename?: 'RayCluster';
|
|
5083
|
+
} | {
|
|
5084
|
+
__typename?: 'Reranker';
|
|
5085
|
+
} | {
|
|
5086
|
+
__typename?: 'TuningDataSet';
|
|
5087
|
+
} | {
|
|
5088
|
+
__typename?: 'TuningVersionedDataset';
|
|
5089
|
+
} | {
|
|
5090
|
+
__typename?: 'TuningVersionedDatasetContent';
|
|
5091
|
+
} | {
|
|
5092
|
+
__typename?: 'TuningVersionedDatasetFiles';
|
|
5093
|
+
} | {
|
|
5094
|
+
__typename?: 'VersionedDataset';
|
|
5095
|
+
} | {
|
|
5096
|
+
__typename?: 'Worker';
|
|
5097
|
+
} | {
|
|
5098
|
+
__typename?: 'Workflow';
|
|
5099
|
+
}> | null;
|
|
5100
|
+
};
|
|
5101
|
+
} | null;
|
|
5102
|
+
};
|
|
4943
5103
|
export type ListLlMsQueryVariables = Exact<{
|
|
4944
5104
|
input: ListCommonInput;
|
|
4945
5105
|
}>;
|
|
@@ -4969,6 +5129,10 @@ export type ListLlMsQuery = {
|
|
|
4969
5129
|
__typename?: 'F';
|
|
4970
5130
|
} | {
|
|
4971
5131
|
__typename?: 'KnowledgeBase';
|
|
5132
|
+
} | {
|
|
5133
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5134
|
+
} | {
|
|
5135
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
4972
5136
|
} | {
|
|
4973
5137
|
__typename?: 'LLM';
|
|
4974
5138
|
name: string;
|
|
@@ -5072,6 +5236,10 @@ export type ListModelsQuery = {
|
|
|
5072
5236
|
__typename: 'F';
|
|
5073
5237
|
} | {
|
|
5074
5238
|
__typename: 'KnowledgeBase';
|
|
5239
|
+
} | {
|
|
5240
|
+
__typename: 'KnowledgeBaseFile';
|
|
5241
|
+
} | {
|
|
5242
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5075
5243
|
} | {
|
|
5076
5244
|
__typename: 'LLM';
|
|
5077
5245
|
} | {
|
|
@@ -5122,6 +5290,10 @@ export type ListModelsQuery = {
|
|
|
5122
5290
|
creationTimestamp?: any | null;
|
|
5123
5291
|
} | {
|
|
5124
5292
|
__typename?: 'KnowledgeBase';
|
|
5293
|
+
} | {
|
|
5294
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5295
|
+
} | {
|
|
5296
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5125
5297
|
} | {
|
|
5126
5298
|
__typename?: 'LLM';
|
|
5127
5299
|
} | {
|
|
@@ -5241,6 +5413,10 @@ export type GetModelQuery = {
|
|
|
5241
5413
|
creationTimestamp?: any | null;
|
|
5242
5414
|
} | {
|
|
5243
5415
|
__typename?: 'KnowledgeBase';
|
|
5416
|
+
} | {
|
|
5417
|
+
__typename?: 'KnowledgeBaseFile';
|
|
5418
|
+
} | {
|
|
5419
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5244
5420
|
} | {
|
|
5245
5421
|
__typename?: 'LLM';
|
|
5246
5422
|
} | {
|
|
@@ -5482,6 +5658,10 @@ export type ListModelServicesQuery = {
|
|
|
5482
5658
|
__typename: 'F';
|
|
5483
5659
|
} | {
|
|
5484
5660
|
__typename: 'KnowledgeBase';
|
|
5661
|
+
} | {
|
|
5662
|
+
__typename: 'KnowledgeBaseFile';
|
|
5663
|
+
} | {
|
|
5664
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5485
5665
|
} | {
|
|
5486
5666
|
__typename: 'LLM';
|
|
5487
5667
|
} | {
|
|
@@ -5601,6 +5781,10 @@ export type ListNodesQuery = {
|
|
|
5601
5781
|
__typename: 'F';
|
|
5602
5782
|
} | {
|
|
5603
5783
|
__typename: 'KnowledgeBase';
|
|
5784
|
+
} | {
|
|
5785
|
+
__typename: 'KnowledgeBaseFile';
|
|
5786
|
+
} | {
|
|
5787
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5604
5788
|
} | {
|
|
5605
5789
|
__typename: 'LLM';
|
|
5606
5790
|
} | {
|
|
@@ -5666,6 +5850,10 @@ export type ListPluginsQuery = {
|
|
|
5666
5850
|
__typename: 'F';
|
|
5667
5851
|
} | {
|
|
5668
5852
|
__typename: 'KnowledgeBase';
|
|
5853
|
+
} | {
|
|
5854
|
+
__typename: 'KnowledgeBaseFile';
|
|
5855
|
+
} | {
|
|
5856
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
5669
5857
|
} | {
|
|
5670
5858
|
__typename: 'LLM';
|
|
5671
5859
|
} | {
|
|
@@ -5883,6 +6071,10 @@ export type ListRagQuery = {
|
|
|
5883
6071
|
__typename?: 'F';
|
|
5884
6072
|
} | {
|
|
5885
6073
|
__typename?: 'KnowledgeBase';
|
|
6074
|
+
} | {
|
|
6075
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6076
|
+
} | {
|
|
6077
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
5886
6078
|
} | {
|
|
5887
6079
|
__typename?: 'LLM';
|
|
5888
6080
|
} | {
|
|
@@ -6301,6 +6493,10 @@ export type ListRayClustersQuery = {
|
|
|
6301
6493
|
__typename: 'F';
|
|
6302
6494
|
} | {
|
|
6303
6495
|
__typename: 'KnowledgeBase';
|
|
6496
|
+
} | {
|
|
6497
|
+
__typename: 'KnowledgeBaseFile';
|
|
6498
|
+
} | {
|
|
6499
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
6304
6500
|
} | {
|
|
6305
6501
|
__typename: 'LLM';
|
|
6306
6502
|
} | {
|
|
@@ -6369,6 +6565,10 @@ export type ListRerankersQuery = {
|
|
|
6369
6565
|
__typename?: 'F';
|
|
6370
6566
|
} | {
|
|
6371
6567
|
__typename?: 'KnowledgeBase';
|
|
6568
|
+
} | {
|
|
6569
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6570
|
+
} | {
|
|
6571
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6372
6572
|
} | {
|
|
6373
6573
|
__typename?: 'LLM';
|
|
6374
6574
|
} | {
|
|
@@ -6469,6 +6669,10 @@ export type ListTuningDataSetQuery = {
|
|
|
6469
6669
|
__typename?: 'F';
|
|
6470
6670
|
} | {
|
|
6471
6671
|
__typename?: 'KnowledgeBase';
|
|
6672
|
+
} | {
|
|
6673
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6674
|
+
} | {
|
|
6675
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6472
6676
|
} | {
|
|
6473
6677
|
__typename?: 'LLM';
|
|
6474
6678
|
} | {
|
|
@@ -6515,6 +6719,10 @@ export type ListTuningDataSetQuery = {
|
|
|
6515
6719
|
__typename?: 'F';
|
|
6516
6720
|
} | {
|
|
6517
6721
|
__typename?: 'KnowledgeBase';
|
|
6722
|
+
} | {
|
|
6723
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6724
|
+
} | {
|
|
6725
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6518
6726
|
} | {
|
|
6519
6727
|
__typename?: 'LLM';
|
|
6520
6728
|
} | {
|
|
@@ -6607,6 +6815,10 @@ export type GetTuningDataSetQuery = {
|
|
|
6607
6815
|
__typename?: 'F';
|
|
6608
6816
|
} | {
|
|
6609
6817
|
__typename?: 'KnowledgeBase';
|
|
6818
|
+
} | {
|
|
6819
|
+
__typename?: 'KnowledgeBaseFile';
|
|
6820
|
+
} | {
|
|
6821
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6610
6822
|
} | {
|
|
6611
6823
|
__typename?: 'LLM';
|
|
6612
6824
|
} | {
|
|
@@ -6791,6 +7003,10 @@ export type GetVersionedDatasetQuery = {
|
|
|
6791
7003
|
creationTimestamp?: any | null;
|
|
6792
7004
|
} | {
|
|
6793
7005
|
__typename?: 'KnowledgeBase';
|
|
7006
|
+
} | {
|
|
7007
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7008
|
+
} | {
|
|
7009
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6794
7010
|
} | {
|
|
6795
7011
|
__typename?: 'LLM';
|
|
6796
7012
|
} | {
|
|
@@ -6856,6 +7072,10 @@ export type ListVersionedDatasetsQuery = {
|
|
|
6856
7072
|
__typename?: 'F';
|
|
6857
7073
|
} | {
|
|
6858
7074
|
__typename?: 'KnowledgeBase';
|
|
7075
|
+
} | {
|
|
7076
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7077
|
+
} | {
|
|
7078
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6859
7079
|
} | {
|
|
6860
7080
|
__typename?: 'LLM';
|
|
6861
7081
|
} | {
|
|
@@ -6926,6 +7146,10 @@ export type ListVersionedDatasetsQuery = {
|
|
|
6926
7146
|
creationTimestamp?: any | null;
|
|
6927
7147
|
} | {
|
|
6928
7148
|
__typename?: 'KnowledgeBase';
|
|
7149
|
+
} | {
|
|
7150
|
+
__typename?: 'KnowledgeBaseFile';
|
|
7151
|
+
} | {
|
|
7152
|
+
__typename?: 'KnowledgeBaseFileChunk';
|
|
6929
7153
|
} | {
|
|
6930
7154
|
__typename?: 'LLM';
|
|
6931
7155
|
} | {
|
|
@@ -6995,6 +7219,10 @@ export type ListWorkersQuery = {
|
|
|
6995
7219
|
__typename: 'F';
|
|
6996
7220
|
} | {
|
|
6997
7221
|
__typename: 'KnowledgeBase';
|
|
7222
|
+
} | {
|
|
7223
|
+
__typename: 'KnowledgeBaseFile';
|
|
7224
|
+
} | {
|
|
7225
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
6998
7226
|
} | {
|
|
6999
7227
|
__typename: 'LLM';
|
|
7000
7228
|
} | {
|
|
@@ -7278,6 +7506,10 @@ export type ListWorkflowsQuery = {
|
|
|
7278
7506
|
__typename: 'F';
|
|
7279
7507
|
} | {
|
|
7280
7508
|
__typename: 'KnowledgeBase';
|
|
7509
|
+
} | {
|
|
7510
|
+
__typename: 'KnowledgeBaseFile';
|
|
7511
|
+
} | {
|
|
7512
|
+
__typename: 'KnowledgeBaseFileChunk';
|
|
7281
7513
|
} | {
|
|
7282
7514
|
__typename: 'LLM';
|
|
7283
7515
|
} | {
|
|
@@ -7478,6 +7710,11 @@ export declare const GetKnowledgeBaseDocument: import("../node_modules/.pnpm/gra
|
|
|
7478
7710
|
export declare const CreateKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7479
7711
|
export declare const UpdateKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7480
7712
|
export declare const DeleteKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7713
|
+
export declare const CreateKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7714
|
+
export declare const DeleteKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7715
|
+
export declare const ListKnowledgeBaseFilesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7716
|
+
export declare const UpdateKnowledgeBaseFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7717
|
+
export declare const ListKnowledgeBaseFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7481
7718
|
export declare const ListLlMsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7482
7719
|
export declare const GetLlmDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
7483
7720
|
export declare const ListModelsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -7578,6 +7815,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
7578
7815
|
createKnowledgeBase(variables: CreateKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseMutation>;
|
|
7579
7816
|
updateKnowledgeBase(variables?: UpdateKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseMutation>;
|
|
7580
7817
|
deleteKnowledgeBase(variables?: DeleteKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseMutation>;
|
|
7818
|
+
createKnowledgeBaseFiles(variables: CreateKnowledgeBaseFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseFilesMutation>;
|
|
7819
|
+
deleteKnowledgeBaseFiles(variables?: DeleteKnowledgeBaseFilesMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBaseFilesMutation>;
|
|
7820
|
+
listKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFilesQuery>;
|
|
7821
|
+
updateKnowledgeBaseFileChunk(variables: UpdateKnowledgeBaseFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
7822
|
+
listKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
7581
7823
|
listLLMs(variables: ListLlMsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListLlMsQuery>;
|
|
7582
7824
|
getLLM(variables: GetLlmQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetLlmQuery>;
|
|
7583
7825
|
listModels(variables: ListModelsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListModelsQuery>;
|
|
@@ -7657,6 +7899,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
7657
7899
|
useGetEmbedder(variables: GetEmbedderQueryVariables, config?: SWRConfigInterface<GetEmbedderQuery, ClientError>): import("./useSWR").SWRResponsePro<GetEmbedderQuery, ClientError>;
|
|
7658
7900
|
useListKnowledgeBases(variables: ListKnowledgeBasesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBasesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBasesQuery, ClientError>;
|
|
7659
7901
|
useGetKnowledgeBase(variables: GetKnowledgeBaseQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseQuery, ClientError>;
|
|
7902
|
+
useListKnowledgeBaseFiles(variables: ListKnowledgeBaseFilesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFilesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFilesQuery, ClientError>;
|
|
7903
|
+
useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
|
|
7660
7904
|
useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
|
|
7661
7905
|
useGetLlm(variables: GetLlmQueryVariables, config?: SWRConfigInterface<GetLlmQuery, ClientError>): import("./useSWR").SWRResponsePro<GetLlmQuery, ClientError>;
|
|
7662
7906
|
useListModels(variables: ListModelsQueryVariables, config?: SWRConfigInterface<ListModelsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListModelsQuery, ClientError>;
|
|
@@ -7843,6 +8087,21 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
7843
8087
|
deleteKnowledgeBase(variables?: Exact<{
|
|
7844
8088
|
input?: InputMaybe<DeleteCommonInput> | undefined;
|
|
7845
8089
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteKnowledgeBaseMutation>;
|
|
8090
|
+
createKnowledgeBaseFiles(variables: Exact<{
|
|
8091
|
+
input: CreateKnowledgeBaseFileInput;
|
|
8092
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateKnowledgeBaseFilesMutation>;
|
|
8093
|
+
deleteKnowledgeBaseFiles(variables?: Exact<{
|
|
8094
|
+
fileIds?: InputMaybe<string | string[]> | undefined;
|
|
8095
|
+
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteKnowledgeBaseFilesMutation>;
|
|
8096
|
+
listKnowledgeBaseFiles(variables: Exact<{
|
|
8097
|
+
input: ListKnowledgeBaseFilesInput;
|
|
8098
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFilesQuery>;
|
|
8099
|
+
updateKnowledgeBaseFileChunk(variables: Exact<{
|
|
8100
|
+
input: KnowledgeBaseFileChunkInput;
|
|
8101
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateKnowledgeBaseFileChunkMutation>;
|
|
8102
|
+
listKnowledgeBaseFileChunks(variables: Exact<{
|
|
8103
|
+
input: ListKnowledgeBaseFileChunksInput;
|
|
8104
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseFileChunksQuery>;
|
|
7846
8105
|
listLLMs(variables: Exact<{
|
|
7847
8106
|
input: ListCommonInput;
|
|
7848
8107
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListLlMsQuery>;
|