@yuntijs/arcadia-bff-sdk 1.2.160 → 1.2.162
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/sdk.d.ts +39 -30
- package/dist/cjs/sdk.js +18 -6
- package/dist/esm/sdk.d.ts +39 -30
- package/dist/esm/sdk.js +5 -5
- 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
|
@@ -870,10 +870,7 @@ export type CreateKnowledgeBaseInput = {
|
|
|
870
870
|
namespace: Scalars['String']['input'];
|
|
871
871
|
/** 分隔符 */
|
|
872
872
|
separator?: InputMaybe<Scalars['String']['input']>;
|
|
873
|
-
|
|
874
|
-
splitByHeader?: InputMaybe<Scalars['Boolean']['input']>;
|
|
875
|
-
/** 根据字符分割 */
|
|
876
|
-
splitBySeparator?: InputMaybe<Scalars['Boolean']['input']>;
|
|
873
|
+
splitMethod: Scalars['Int']['input'];
|
|
877
874
|
/** "向量数据库(目前不需要填写,直接使用系统默认的向量数据库) */
|
|
878
875
|
vectorStore?: InputMaybe<TypedObjectReferenceInput>;
|
|
879
876
|
};
|
|
@@ -1155,7 +1152,6 @@ export type CreateWorkflowTemplateInput = {
|
|
|
1155
1152
|
export type DataLineage = {
|
|
1156
1153
|
__typename?: 'DataLineage';
|
|
1157
1154
|
file: Scalars['String']['output'];
|
|
1158
|
-
id: Scalars['String']['output'];
|
|
1159
1155
|
metadata?: Maybe<Scalars['Map']['output']>;
|
|
1160
1156
|
page: Scalars['String']['output'];
|
|
1161
1157
|
sourceContent: Scalars['String']['output'];
|
|
@@ -1534,11 +1530,9 @@ export type FileChunkIndex = {
|
|
|
1534
1530
|
__typename?: 'FileChunkIndex';
|
|
1535
1531
|
content: Scalars['String']['output'];
|
|
1536
1532
|
contentSizeInBytes: Scalars['Int']['output'];
|
|
1537
|
-
contentType: Scalars['String']['output'];
|
|
1538
1533
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1539
1534
|
id: Scalars['String']['output'];
|
|
1540
1535
|
multiModalArtifacts?: Maybe<Array<Maybe<MultiModalArtifact>>>;
|
|
1541
|
-
primary_index: Scalars['Boolean']['output'];
|
|
1542
1536
|
processingPhase: Scalars['String']['output'];
|
|
1543
1537
|
processingPhaseReason: Scalars['String']['output'];
|
|
1544
1538
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
@@ -1651,10 +1645,7 @@ export type KnowledgeBase = {
|
|
|
1651
1645
|
reason?: Maybe<Scalars['String']['output']>;
|
|
1652
1646
|
/** 分隔符 */
|
|
1653
1647
|
separator?: Maybe<Scalars['String']['output']>;
|
|
1654
|
-
|
|
1655
|
-
splitByHeader?: Maybe<Scalars['Boolean']['output']>;
|
|
1656
|
-
/** 根据字符分割 */
|
|
1657
|
-
splitBySeparator?: Maybe<Scalars['Boolean']['output']>;
|
|
1648
|
+
splitMethod: Scalars['Int']['output'];
|
|
1658
1649
|
/**
|
|
1659
1650
|
* 知识库整体连接状态
|
|
1660
1651
|
* 规则: True 代表正常 False代表异常
|
|
@@ -1697,6 +1688,7 @@ export type KnowledgeBaseFile = {
|
|
|
1697
1688
|
source: Scalars['String']['output'];
|
|
1698
1689
|
/** 数据源类型 */
|
|
1699
1690
|
sourceType: Scalars['String']['output'];
|
|
1691
|
+
splitMethod: Scalars['Int']['output'];
|
|
1700
1692
|
/** 最近一次成功的处理耗时 */
|
|
1701
1693
|
timeCost?: Maybe<Scalars['Int64']['output']>;
|
|
1702
1694
|
/** 最新处理时间 */
|
|
@@ -1704,10 +1696,19 @@ export type KnowledgeBaseFile = {
|
|
|
1704
1696
|
};
|
|
1705
1697
|
export type KnowledgeBaseFileChunk = {
|
|
1706
1698
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
1699
|
+
content: Scalars['String']['output'];
|
|
1700
|
+
contentSizeInBytes: Scalars['Int']['output'];
|
|
1701
|
+
contentType: Scalars['String']['output'];
|
|
1702
|
+
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1707
1703
|
dataLineage: DataLineage;
|
|
1708
1704
|
fileId: Scalars['String']['output'];
|
|
1705
|
+
id: Scalars['String']['output'];
|
|
1709
1706
|
indexInFile: Scalars['Int']['output'];
|
|
1710
|
-
indies
|
|
1707
|
+
indies?: Maybe<Array<FileChunkIndex>>;
|
|
1708
|
+
multiModalArtifacts?: Maybe<Array<Maybe<MultiModalArtifact>>>;
|
|
1709
|
+
processingPhase: Scalars['String']['output'];
|
|
1710
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1711
|
+
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1711
1712
|
};
|
|
1712
1713
|
export type KnowledgeBaseFileEmbedResult = {
|
|
1713
1714
|
__typename?: 'KnowledgeBaseFileEmbedResult';
|
|
@@ -3710,14 +3711,14 @@ export type UpdateDatasourceInput = {
|
|
|
3710
3711
|
webinput?: InputMaybe<WebInput>;
|
|
3711
3712
|
};
|
|
3712
3713
|
export type UpdateKnowledgeBaseFileChunkInput = {
|
|
3713
|
-
/**
|
|
3714
|
+
/** 新的内容 */
|
|
3715
|
+
content: Scalars['String']['input'];
|
|
3716
|
+
/** 数据类型: text,QA */
|
|
3714
3717
|
contentType: Scalars['String']['input'];
|
|
3715
|
-
/**
|
|
3716
|
-
* datalineid
|
|
3717
|
-
* 需要根据atalineageid确定index的增减情况
|
|
3718
|
-
*/
|
|
3718
|
+
/** chunk id */
|
|
3719
3719
|
id: Scalars['String']['input'];
|
|
3720
|
-
|
|
3720
|
+
/** 自定义索引 */
|
|
3721
|
+
indies?: InputMaybe<Array<UpdateKnowledgeBaseFileChunk>>;
|
|
3721
3722
|
};
|
|
3722
3723
|
/** 知识库更新的输入 */
|
|
3723
3724
|
export type UpdateKnowledgeBaseInput = {
|
|
@@ -3751,10 +3752,7 @@ export type UpdateKnowledgeBaseInput = {
|
|
|
3751
3752
|
namespace: Scalars['String']['input'];
|
|
3752
3753
|
/** 分隔符 */
|
|
3753
3754
|
separator?: InputMaybe<Scalars['String']['input']>;
|
|
3754
|
-
|
|
3755
|
-
splitByHeader?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3756
|
-
/** 根据字符分割 */
|
|
3757
|
-
splitBySeparator?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3755
|
+
splitMethod: Scalars['Int']['input'];
|
|
3758
3756
|
};
|
|
3759
3757
|
export type UpdateKnowledgeBaseStructuredFileChunkInput = {
|
|
3760
3758
|
/** 新的内容 */
|
|
@@ -6241,8 +6239,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
6241
6239
|
dataType?: string | null;
|
|
6242
6240
|
chunkSize?: number | null;
|
|
6243
6241
|
enableMultiModal?: boolean | null;
|
|
6244
|
-
|
|
6245
|
-
splitBySeparator?: boolean | null;
|
|
6242
|
+
splitMethod: number;
|
|
6246
6243
|
separator?: string | null;
|
|
6247
6244
|
maxDepth?: number | null;
|
|
6248
6245
|
autoIndex?: boolean | null;
|
|
@@ -6294,8 +6291,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
6294
6291
|
chunkSize?: number | null;
|
|
6295
6292
|
chunkOverlap?: number | null;
|
|
6296
6293
|
enableMultiModal?: boolean | null;
|
|
6297
|
-
|
|
6298
|
-
splitBySeparator?: boolean | null;
|
|
6294
|
+
splitMethod: number;
|
|
6299
6295
|
separator?: string | null;
|
|
6300
6296
|
maxDepth?: number | null;
|
|
6301
6297
|
autoIndex?: boolean | null;
|
|
@@ -6377,6 +6373,7 @@ export type GetKnowledgeBaseFileQuery = {
|
|
|
6377
6373
|
updateTimestamp?: any | null;
|
|
6378
6374
|
phase?: string | null;
|
|
6379
6375
|
phaseReason?: string | null;
|
|
6376
|
+
splitMethod: number;
|
|
6380
6377
|
maxDepth?: number | null;
|
|
6381
6378
|
separator?: string | null;
|
|
6382
6379
|
customMetadata?: any | null;
|
|
@@ -6432,6 +6429,7 @@ export type ListKnowledgeBaseFilesQuery = {
|
|
|
6432
6429
|
updateTimestamp?: any | null;
|
|
6433
6430
|
phase?: string | null;
|
|
6434
6431
|
phaseReason?: string | null;
|
|
6432
|
+
splitMethod: number;
|
|
6435
6433
|
maxDepth?: number | null;
|
|
6436
6434
|
separator?: string | null;
|
|
6437
6435
|
customMetadata?: any | null;
|
|
@@ -6546,9 +6544,16 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
6546
6544
|
__typename?: 'KnowledgeBaseFile';
|
|
6547
6545
|
} | {
|
|
6548
6546
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
6547
|
+
id: string;
|
|
6549
6548
|
fileId: string;
|
|
6549
|
+
createdAt?: any | null;
|
|
6550
|
+
updatedAt?: any | null;
|
|
6550
6551
|
indexInFile: number;
|
|
6551
|
-
|
|
6552
|
+
content: string;
|
|
6553
|
+
contentSizeInBytes: number;
|
|
6554
|
+
processingPhase: string;
|
|
6555
|
+
processingPhaseReason: string;
|
|
6556
|
+
indies?: Array<{
|
|
6552
6557
|
__typename?: 'FileChunkIndex';
|
|
6553
6558
|
id: string;
|
|
6554
6559
|
createdAt?: any | null;
|
|
@@ -6557,20 +6562,24 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
6557
6562
|
contentSizeInBytes: number;
|
|
6558
6563
|
processingPhase: string;
|
|
6559
6564
|
processingPhaseReason: string;
|
|
6560
|
-
primary_index: boolean;
|
|
6561
6565
|
multiModalArtifacts?: Array<{
|
|
6562
6566
|
__typename?: 'MultiModalArtifact';
|
|
6563
6567
|
name: string;
|
|
6564
6568
|
type: string;
|
|
6565
6569
|
url: string;
|
|
6566
6570
|
} | null> | null;
|
|
6567
|
-
}
|
|
6571
|
+
}> | null;
|
|
6572
|
+
multiModalArtifacts?: Array<{
|
|
6573
|
+
__typename?: 'MultiModalArtifact';
|
|
6574
|
+
name: string;
|
|
6575
|
+
type: string;
|
|
6576
|
+
url: string;
|
|
6577
|
+
} | null> | null;
|
|
6568
6578
|
dataLineage: {
|
|
6569
6579
|
__typename?: 'DataLineage';
|
|
6570
6580
|
file: string;
|
|
6571
6581
|
page: string;
|
|
6572
6582
|
sourceContent: string;
|
|
6573
|
-
id: string;
|
|
6574
6583
|
};
|
|
6575
6584
|
} | {
|
|
6576
6585
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -1219,8 +1219,7 @@ var CreateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1219
1219
|
dataType
|
|
1220
1220
|
chunkSize
|
|
1221
1221
|
enableMultiModal
|
|
1222
|
-
|
|
1223
|
-
splitBySeparator
|
|
1222
|
+
splitMethod
|
|
1224
1223
|
separator
|
|
1225
1224
|
maxDepth
|
|
1226
1225
|
autoIndex
|
|
@@ -1266,8 +1265,7 @@ var UpdateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1266
1265
|
chunkSize
|
|
1267
1266
|
chunkOverlap
|
|
1268
1267
|
enableMultiModal
|
|
1269
|
-
|
|
1270
|
-
splitBySeparator
|
|
1268
|
+
splitMethod
|
|
1271
1269
|
separator
|
|
1272
1270
|
maxDepth
|
|
1273
1271
|
autoIndex
|
|
@@ -1334,6 +1332,7 @@ var GetKnowledgeBaseFileDocument = import_graphql_tag.default`
|
|
|
1334
1332
|
updateTimestamp
|
|
1335
1333
|
phase
|
|
1336
1334
|
phaseReason
|
|
1335
|
+
splitMethod
|
|
1337
1336
|
maxDepth
|
|
1338
1337
|
separator
|
|
1339
1338
|
customMetadata
|
|
@@ -1363,6 +1362,7 @@ var ListKnowledgeBaseFilesDocument = import_graphql_tag.default`
|
|
|
1363
1362
|
updateTimestamp
|
|
1364
1363
|
phase
|
|
1365
1364
|
phaseReason
|
|
1365
|
+
splitMethod
|
|
1366
1366
|
maxDepth
|
|
1367
1367
|
separator
|
|
1368
1368
|
customMetadata
|
|
@@ -1410,7 +1410,6 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1410
1410
|
contentSizeInBytes
|
|
1411
1411
|
processingPhase
|
|
1412
1412
|
processingPhaseReason
|
|
1413
|
-
primary_index
|
|
1414
1413
|
multiModalArtifacts {
|
|
1415
1414
|
... on MultiModalArtifact {
|
|
1416
1415
|
name
|
|
@@ -1420,13 +1419,26 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1420
1419
|
}
|
|
1421
1420
|
}
|
|
1422
1421
|
}
|
|
1422
|
+
id
|
|
1423
1423
|
fileId
|
|
1424
|
+
createdAt
|
|
1425
|
+
updatedAt
|
|
1424
1426
|
indexInFile
|
|
1427
|
+
content
|
|
1428
|
+
contentSizeInBytes
|
|
1429
|
+
processingPhase
|
|
1430
|
+
processingPhaseReason
|
|
1431
|
+
multiModalArtifacts {
|
|
1432
|
+
... on MultiModalArtifact {
|
|
1433
|
+
name
|
|
1434
|
+
type
|
|
1435
|
+
url
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1425
1438
|
dataLineage {
|
|
1426
1439
|
file
|
|
1427
1440
|
page
|
|
1428
1441
|
sourceContent
|
|
1429
|
-
id
|
|
1430
1442
|
}
|
|
1431
1443
|
}
|
|
1432
1444
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -870,10 +870,7 @@ export type CreateKnowledgeBaseInput = {
|
|
|
870
870
|
namespace: Scalars['String']['input'];
|
|
871
871
|
/** 分隔符 */
|
|
872
872
|
separator?: InputMaybe<Scalars['String']['input']>;
|
|
873
|
-
|
|
874
|
-
splitByHeader?: InputMaybe<Scalars['Boolean']['input']>;
|
|
875
|
-
/** 根据字符分割 */
|
|
876
|
-
splitBySeparator?: InputMaybe<Scalars['Boolean']['input']>;
|
|
873
|
+
splitMethod: Scalars['Int']['input'];
|
|
877
874
|
/** "向量数据库(目前不需要填写,直接使用系统默认的向量数据库) */
|
|
878
875
|
vectorStore?: InputMaybe<TypedObjectReferenceInput>;
|
|
879
876
|
};
|
|
@@ -1155,7 +1152,6 @@ export type CreateWorkflowTemplateInput = {
|
|
|
1155
1152
|
export type DataLineage = {
|
|
1156
1153
|
__typename?: 'DataLineage';
|
|
1157
1154
|
file: Scalars['String']['output'];
|
|
1158
|
-
id: Scalars['String']['output'];
|
|
1159
1155
|
metadata?: Maybe<Scalars['Map']['output']>;
|
|
1160
1156
|
page: Scalars['String']['output'];
|
|
1161
1157
|
sourceContent: Scalars['String']['output'];
|
|
@@ -1534,11 +1530,9 @@ export type FileChunkIndex = {
|
|
|
1534
1530
|
__typename?: 'FileChunkIndex';
|
|
1535
1531
|
content: Scalars['String']['output'];
|
|
1536
1532
|
contentSizeInBytes: Scalars['Int']['output'];
|
|
1537
|
-
contentType: Scalars['String']['output'];
|
|
1538
1533
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1539
1534
|
id: Scalars['String']['output'];
|
|
1540
1535
|
multiModalArtifacts?: Maybe<Array<Maybe<MultiModalArtifact>>>;
|
|
1541
|
-
primary_index: Scalars['Boolean']['output'];
|
|
1542
1536
|
processingPhase: Scalars['String']['output'];
|
|
1543
1537
|
processingPhaseReason: Scalars['String']['output'];
|
|
1544
1538
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
@@ -1651,10 +1645,7 @@ export type KnowledgeBase = {
|
|
|
1651
1645
|
reason?: Maybe<Scalars['String']['output']>;
|
|
1652
1646
|
/** 分隔符 */
|
|
1653
1647
|
separator?: Maybe<Scalars['String']['output']>;
|
|
1654
|
-
|
|
1655
|
-
splitByHeader?: Maybe<Scalars['Boolean']['output']>;
|
|
1656
|
-
/** 根据字符分割 */
|
|
1657
|
-
splitBySeparator?: Maybe<Scalars['Boolean']['output']>;
|
|
1648
|
+
splitMethod: Scalars['Int']['output'];
|
|
1658
1649
|
/**
|
|
1659
1650
|
* 知识库整体连接状态
|
|
1660
1651
|
* 规则: True 代表正常 False代表异常
|
|
@@ -1697,6 +1688,7 @@ export type KnowledgeBaseFile = {
|
|
|
1697
1688
|
source: Scalars['String']['output'];
|
|
1698
1689
|
/** 数据源类型 */
|
|
1699
1690
|
sourceType: Scalars['String']['output'];
|
|
1691
|
+
splitMethod: Scalars['Int']['output'];
|
|
1700
1692
|
/** 最近一次成功的处理耗时 */
|
|
1701
1693
|
timeCost?: Maybe<Scalars['Int64']['output']>;
|
|
1702
1694
|
/** 最新处理时间 */
|
|
@@ -1704,10 +1696,19 @@ export type KnowledgeBaseFile = {
|
|
|
1704
1696
|
};
|
|
1705
1697
|
export type KnowledgeBaseFileChunk = {
|
|
1706
1698
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
1699
|
+
content: Scalars['String']['output'];
|
|
1700
|
+
contentSizeInBytes: Scalars['Int']['output'];
|
|
1701
|
+
contentType: Scalars['String']['output'];
|
|
1702
|
+
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1707
1703
|
dataLineage: DataLineage;
|
|
1708
1704
|
fileId: Scalars['String']['output'];
|
|
1705
|
+
id: Scalars['String']['output'];
|
|
1709
1706
|
indexInFile: Scalars['Int']['output'];
|
|
1710
|
-
indies
|
|
1707
|
+
indies?: Maybe<Array<FileChunkIndex>>;
|
|
1708
|
+
multiModalArtifacts?: Maybe<Array<Maybe<MultiModalArtifact>>>;
|
|
1709
|
+
processingPhase: Scalars['String']['output'];
|
|
1710
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1711
|
+
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1711
1712
|
};
|
|
1712
1713
|
export type KnowledgeBaseFileEmbedResult = {
|
|
1713
1714
|
__typename?: 'KnowledgeBaseFileEmbedResult';
|
|
@@ -3710,14 +3711,14 @@ export type UpdateDatasourceInput = {
|
|
|
3710
3711
|
webinput?: InputMaybe<WebInput>;
|
|
3711
3712
|
};
|
|
3712
3713
|
export type UpdateKnowledgeBaseFileChunkInput = {
|
|
3713
|
-
/**
|
|
3714
|
+
/** 新的内容 */
|
|
3715
|
+
content: Scalars['String']['input'];
|
|
3716
|
+
/** 数据类型: text,QA */
|
|
3714
3717
|
contentType: Scalars['String']['input'];
|
|
3715
|
-
/**
|
|
3716
|
-
* datalineid
|
|
3717
|
-
* 需要根据atalineageid确定index的增减情况
|
|
3718
|
-
*/
|
|
3718
|
+
/** chunk id */
|
|
3719
3719
|
id: Scalars['String']['input'];
|
|
3720
|
-
|
|
3720
|
+
/** 自定义索引 */
|
|
3721
|
+
indies?: InputMaybe<Array<UpdateKnowledgeBaseFileChunk>>;
|
|
3721
3722
|
};
|
|
3722
3723
|
/** 知识库更新的输入 */
|
|
3723
3724
|
export type UpdateKnowledgeBaseInput = {
|
|
@@ -3751,10 +3752,7 @@ export type UpdateKnowledgeBaseInput = {
|
|
|
3751
3752
|
namespace: Scalars['String']['input'];
|
|
3752
3753
|
/** 分隔符 */
|
|
3753
3754
|
separator?: InputMaybe<Scalars['String']['input']>;
|
|
3754
|
-
|
|
3755
|
-
splitByHeader?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3756
|
-
/** 根据字符分割 */
|
|
3757
|
-
splitBySeparator?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3755
|
+
splitMethod: Scalars['Int']['input'];
|
|
3758
3756
|
};
|
|
3759
3757
|
export type UpdateKnowledgeBaseStructuredFileChunkInput = {
|
|
3760
3758
|
/** 新的内容 */
|
|
@@ -6241,8 +6239,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
6241
6239
|
dataType?: string | null;
|
|
6242
6240
|
chunkSize?: number | null;
|
|
6243
6241
|
enableMultiModal?: boolean | null;
|
|
6244
|
-
|
|
6245
|
-
splitBySeparator?: boolean | null;
|
|
6242
|
+
splitMethod: number;
|
|
6246
6243
|
separator?: string | null;
|
|
6247
6244
|
maxDepth?: number | null;
|
|
6248
6245
|
autoIndex?: boolean | null;
|
|
@@ -6294,8 +6291,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
6294
6291
|
chunkSize?: number | null;
|
|
6295
6292
|
chunkOverlap?: number | null;
|
|
6296
6293
|
enableMultiModal?: boolean | null;
|
|
6297
|
-
|
|
6298
|
-
splitBySeparator?: boolean | null;
|
|
6294
|
+
splitMethod: number;
|
|
6299
6295
|
separator?: string | null;
|
|
6300
6296
|
maxDepth?: number | null;
|
|
6301
6297
|
autoIndex?: boolean | null;
|
|
@@ -6377,6 +6373,7 @@ export type GetKnowledgeBaseFileQuery = {
|
|
|
6377
6373
|
updateTimestamp?: any | null;
|
|
6378
6374
|
phase?: string | null;
|
|
6379
6375
|
phaseReason?: string | null;
|
|
6376
|
+
splitMethod: number;
|
|
6380
6377
|
maxDepth?: number | null;
|
|
6381
6378
|
separator?: string | null;
|
|
6382
6379
|
customMetadata?: any | null;
|
|
@@ -6432,6 +6429,7 @@ export type ListKnowledgeBaseFilesQuery = {
|
|
|
6432
6429
|
updateTimestamp?: any | null;
|
|
6433
6430
|
phase?: string | null;
|
|
6434
6431
|
phaseReason?: string | null;
|
|
6432
|
+
splitMethod: number;
|
|
6435
6433
|
maxDepth?: number | null;
|
|
6436
6434
|
separator?: string | null;
|
|
6437
6435
|
customMetadata?: any | null;
|
|
@@ -6546,9 +6544,16 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
6546
6544
|
__typename?: 'KnowledgeBaseFile';
|
|
6547
6545
|
} | {
|
|
6548
6546
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
6547
|
+
id: string;
|
|
6549
6548
|
fileId: string;
|
|
6549
|
+
createdAt?: any | null;
|
|
6550
|
+
updatedAt?: any | null;
|
|
6550
6551
|
indexInFile: number;
|
|
6551
|
-
|
|
6552
|
+
content: string;
|
|
6553
|
+
contentSizeInBytes: number;
|
|
6554
|
+
processingPhase: string;
|
|
6555
|
+
processingPhaseReason: string;
|
|
6556
|
+
indies?: Array<{
|
|
6552
6557
|
__typename?: 'FileChunkIndex';
|
|
6553
6558
|
id: string;
|
|
6554
6559
|
createdAt?: any | null;
|
|
@@ -6557,20 +6562,24 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
6557
6562
|
contentSizeInBytes: number;
|
|
6558
6563
|
processingPhase: string;
|
|
6559
6564
|
processingPhaseReason: string;
|
|
6560
|
-
primary_index: boolean;
|
|
6561
6565
|
multiModalArtifacts?: Array<{
|
|
6562
6566
|
__typename?: 'MultiModalArtifact';
|
|
6563
6567
|
name: string;
|
|
6564
6568
|
type: string;
|
|
6565
6569
|
url: string;
|
|
6566
6570
|
} | null> | null;
|
|
6567
|
-
}
|
|
6571
|
+
}> | null;
|
|
6572
|
+
multiModalArtifacts?: Array<{
|
|
6573
|
+
__typename?: 'MultiModalArtifact';
|
|
6574
|
+
name: string;
|
|
6575
|
+
type: string;
|
|
6576
|
+
url: string;
|
|
6577
|
+
} | null> | null;
|
|
6568
6578
|
dataLineage: {
|
|
6569
6579
|
__typename?: 'DataLineage';
|
|
6570
6580
|
file: string;
|
|
6571
6581
|
page: string;
|
|
6572
6582
|
sourceContent: string;
|
|
6573
|
-
id: string;
|
|
6574
6583
|
};
|
|
6575
6584
|
} | {
|
|
6576
6585
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
package/dist/esm/sdk.js
CHANGED
|
@@ -218,17 +218,17 @@ export var ListEmbeddersDocument = gql(_templateObject43 || (_templateObject43 =
|
|
|
218
218
|
export var GetEmbedderDocument = gql(_templateObject44 || (_templateObject44 = _taggedTemplateLiteral(["\n query getEmbedder($name: String!, $namespace: String!) {\n Embedder {\n getEmbedder(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models {\n name\n displayName\n icon\n }\n provider\n type\n updateTimestamp\n icon\n }\n }\n}\n "])));
|
|
219
219
|
export var ListKnowledgeBasesDocument = gql(_templateObject45 || (_templateObject45 = _taggedTemplateLiteral(["\n query listKnowledgeBases($input: ListKnowledgeBaseInput!) {\n KnowledgeBase {\n listKnowledgeBases(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBase {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n enableMultiModal\n batchSize\n indexHeader\n headers\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderConnectID\n embedderType\n model\n vectorStore {\n kind\n name\n }\n }\n }\n }\n }\n}\n "])));
|
|
220
220
|
export var GetKnowledgeBaseDocument = gql(_templateObject46 || (_templateObject46 = _taggedTemplateLiteral(["\n query getKnowledgeBase($name: String!, $namespace: String!) {\n KnowledgeBase {\n getKnowledgeBase(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n enableMultiModal\n batchSize\n indexHeader\n headers\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderConnectID\n embedderType\n model\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
221
|
-
export var CreateKnowledgeBaseDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n enableMultiModal\n
|
|
222
|
-
export var UpdateKnowledgeBaseDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n enableMultiModal\n
|
|
221
|
+
export var CreateKnowledgeBaseDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n enableMultiModal\n splitMethod\n separator\n maxDepth\n autoIndex\n indexHeader\n headers\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderConnectID\n model\n embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
222
|
+
export var UpdateKnowledgeBaseDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n dataType\n chunkSize\n chunkOverlap\n enableMultiModal\n splitMethod\n separator\n maxDepth\n autoIndex\n batchSize\n indexHeader\n headers\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderConnectID\n model\n embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
223
223
|
export var DeleteKnowledgeBaseDocument = gql(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
|
|
224
224
|
export var CreateKnowledgeBaseFilesDocument = gql(_templateObject50 || (_templateObject50 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFiles($input: CreateKnowledgeBaseFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
|
|
225
225
|
export var DeleteKnowledgeBaseFilesDocument = gql(_templateObject51 || (_templateObject51 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFiles($input: DeleteKnowledgeBaseFileInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
|
|
226
|
-
export var GetKnowledgeBaseFileDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n query getKnowledgeBaseFile($id: String!) {\n KnowledgeBase {\n getKnowledgeBaseFile(id: $id) {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n phaseReason\n maxDepth\n separator\n customMetadata\n }\n }\n}\n "])));
|
|
227
|
-
export var ListKnowledgeBaseFilesDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFiles($input: ListKnowledgeBaseFilesInput!) {\n KnowledgeBase {\n listKnowledgeBaseFiles(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFile {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n phaseReason\n maxDepth\n separator\n customMetadata\n }\n }\n }\n }\n}\n "])));
|
|
226
|
+
export var GetKnowledgeBaseFileDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n query getKnowledgeBaseFile($id: String!) {\n KnowledgeBase {\n getKnowledgeBaseFile(id: $id) {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n phaseReason\n splitMethod\n maxDepth\n separator\n customMetadata\n }\n }\n}\n "])));
|
|
227
|
+
export var ListKnowledgeBaseFilesDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFiles($input: ListKnowledgeBaseFilesInput!) {\n KnowledgeBase {\n listKnowledgeBaseFiles(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFile {\n id\n source\n sourceType\n name\n size\n sizeInBytes\n chunkMethod\n chunkSize\n count\n timeCost\n createTimestamp\n updateTimestamp\n phase\n phaseReason\n splitMethod\n maxDepth\n separator\n customMetadata\n }\n }\n }\n }\n}\n "])));
|
|
228
228
|
export var CreateKnowledgeBaseFileChunkDocument = gql(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFileChunk($input: CreateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
229
229
|
export var UpdateKnowledgeBaseFileChunkDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseFileChunk($input: UpdateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
230
230
|
export var DeleteKnowledgeBaseFileChunkDocument = gql(_templateObject56 || (_templateObject56 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFileChunk($input: DeleteKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
231
|
-
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFileChunks($input: ListKnowledgeBaseFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFileChunk {\n indies {\n ... on FileChunkIndex {\n id\n createdAt\n updatedAt\n content\n contentSizeInBytes\n processingPhase\n processingPhaseReason\n
|
|
231
|
+
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFileChunks($input: ListKnowledgeBaseFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFileChunk {\n indies {\n ... on FileChunkIndex {\n id\n createdAt\n updatedAt\n content\n contentSizeInBytes\n processingPhase\n processingPhaseReason\n multiModalArtifacts {\n ... on MultiModalArtifact {\n name\n type\n url\n }\n }\n }\n }\n id\n fileId\n createdAt\n updatedAt\n indexInFile\n content\n contentSizeInBytes\n processingPhase\n processingPhaseReason\n multiModalArtifacts {\n ... on MultiModalArtifact {\n name\n type\n url\n }\n }\n dataLineage {\n file\n page\n sourceContent\n }\n }\n }\n }\n }\n}\n "])));
|
|
232
232
|
export var GetKnowledgeBaseFileEmbedResultDocument = gql(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["\n query getKnowledgeBaseFileEmbedResult($input: ListKnowledgeBaseFilesInput!) {\n KnowledgeBase {\n getKnowledgeBaseFileEmbedResult(input: $input) {\n succeedCount\n failedCount\n pendingCount\n }\n }\n}\n "])));
|
|
233
233
|
export var ShowStructuredFileInfoDocument = gql(_templateObject59 || (_templateObject59 = _taggedTemplateLiteral(["\n query showStructuredFileInfo($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n showStructuredFileInfo(input: $input) {\n sheets\n currentSheet\n totalRows\n rowHeader\n headers\n }\n }\n}\n "])));
|
|
234
234
|
export var CreateKnowledgeBaseStructuredFilesDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFiles($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFiles(input: $input)\n }\n}\n "])));
|