@yuntijs/arcadia-bff-sdk 1.2.82 → 1.2.84
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 +18 -2
- package/dist/cjs/sdk.js +9 -0
- package/dist/esm/sdk.d.ts +18 -2
- package/dist/esm/sdk.js +9 -9
- 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
|
@@ -525,7 +525,7 @@ export type CreateKnowledgeBaseInput = {
|
|
|
525
525
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
526
526
|
/** 知识库资源展示名称作为显示,并提供编辑 */
|
|
527
527
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
528
|
-
/** embedder指当前知识库使用的embedding
|
|
528
|
+
/** embedder指当前知识库使用的embedding向量化模型所属的embedder */
|
|
529
529
|
embedder: TypedObjectReferenceInput;
|
|
530
530
|
/** headers结构化数据列 */
|
|
531
531
|
headers?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -533,6 +533,8 @@ export type CreateKnowledgeBaseInput = {
|
|
|
533
533
|
indexHeader?: InputMaybe<Scalars['Int']['input']>;
|
|
534
534
|
/** 知识库资源标签 */
|
|
535
535
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
536
|
+
/** model指当前知识库具体使用的向量化模型ID */
|
|
537
|
+
model: Scalars['String']['input'];
|
|
536
538
|
/** 知识库资源名称(不可同名) */
|
|
537
539
|
name: Scalars['String']['input'];
|
|
538
540
|
/** 知识库创建命名空间 */
|
|
@@ -1218,6 +1220,7 @@ export type DeleteVersionedDatasetInput = {
|
|
|
1218
1220
|
export type Document = {
|
|
1219
1221
|
__typename?: 'Document';
|
|
1220
1222
|
content: Scalars['String']['output'];
|
|
1223
|
+
metadata: Scalars['Map']['output'];
|
|
1221
1224
|
rankScore?: Maybe<Scalars['Float']['output']>;
|
|
1222
1225
|
rerankScore?: Maybe<Scalars['Float']['output']>;
|
|
1223
1226
|
score?: Maybe<Scalars['Float']['output']>;
|
|
@@ -1405,7 +1408,7 @@ export type KnowledgeBase = {
|
|
|
1405
1408
|
description?: Maybe<Scalars['String']['output']>;
|
|
1406
1409
|
/** 展示名 */
|
|
1407
1410
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
1408
|
-
/** embedder指当前知识库使用的embedding
|
|
1411
|
+
/** embedder指当前知识库使用的embedding向量化模型资源,即 Kind 为 Embedder */
|
|
1409
1412
|
embedder?: Maybe<TypedObjectReference>;
|
|
1410
1413
|
embedderType?: Maybe<Scalars['String']['output']>;
|
|
1411
1414
|
/** 结构化知识库:headers */
|
|
@@ -1418,6 +1421,8 @@ export type KnowledgeBase = {
|
|
|
1418
1421
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
1419
1422
|
/** 知识库状态的原因的详细内容 */
|
|
1420
1423
|
message?: Maybe<Scalars['String']['output']>;
|
|
1424
|
+
/** model指当前知识库所使用的向量化模型(embedder可能包含多个,默认使用第一个) */
|
|
1425
|
+
model: Scalars['String']['output'];
|
|
1421
1426
|
/**
|
|
1422
1427
|
* 名称
|
|
1423
1428
|
* 规则: 遵循k8s命名
|
|
@@ -1484,6 +1489,7 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1484
1489
|
id: Scalars['String']['output'];
|
|
1485
1490
|
indexInFile: Scalars['Int']['output'];
|
|
1486
1491
|
processingPhase: Scalars['String']['output'];
|
|
1492
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1487
1493
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1488
1494
|
};
|
|
1489
1495
|
export type KnowledgeBaseMutation = {
|
|
@@ -1590,6 +1596,7 @@ export type KnowledgeBaseStructuredFileChunk = {
|
|
|
1590
1596
|
id: Scalars['String']['output'];
|
|
1591
1597
|
knowledgeBase: Scalars['String']['output'];
|
|
1592
1598
|
processingPhase: Scalars['String']['output'];
|
|
1599
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1593
1600
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1594
1601
|
};
|
|
1595
1602
|
export type Llm = {
|
|
@@ -5401,6 +5408,7 @@ export type ListKnowledgeBasesQuery = {
|
|
|
5401
5408
|
message?: string | null;
|
|
5402
5409
|
updateTimestamp?: any | null;
|
|
5403
5410
|
embedderType?: string | null;
|
|
5411
|
+
model: string;
|
|
5404
5412
|
embedder?: {
|
|
5405
5413
|
__typename?: 'TypedObjectReference';
|
|
5406
5414
|
kind: string;
|
|
@@ -5487,6 +5495,7 @@ export type GetKnowledgeBaseQuery = {
|
|
|
5487
5495
|
message?: string | null;
|
|
5488
5496
|
updateTimestamp?: any | null;
|
|
5489
5497
|
embedderType?: string | null;
|
|
5498
|
+
model: string;
|
|
5490
5499
|
embedder?: {
|
|
5491
5500
|
__typename?: 'TypedObjectReference';
|
|
5492
5501
|
kind: string;
|
|
@@ -5530,6 +5539,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
5530
5539
|
reason?: string | null;
|
|
5531
5540
|
message?: string | null;
|
|
5532
5541
|
updateTimestamp?: any | null;
|
|
5542
|
+
model: string;
|
|
5533
5543
|
embedderType?: string | null;
|
|
5534
5544
|
embedder?: {
|
|
5535
5545
|
__typename?: 'TypedObjectReference';
|
|
@@ -5574,6 +5584,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
5574
5584
|
reason?: string | null;
|
|
5575
5585
|
message?: string | null;
|
|
5576
5586
|
updateTimestamp?: any | null;
|
|
5587
|
+
model: string;
|
|
5577
5588
|
embedderType?: string | null;
|
|
5578
5589
|
embedder?: {
|
|
5579
5590
|
__typename?: 'TypedObjectReference';
|
|
@@ -5804,6 +5815,7 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5804
5815
|
content: string;
|
|
5805
5816
|
contentSizeInBytes: number;
|
|
5806
5817
|
processingPhase: string;
|
|
5818
|
+
processingPhaseReason: string;
|
|
5807
5819
|
} | {
|
|
5808
5820
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5809
5821
|
} | {
|
|
@@ -5934,6 +5946,7 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
|
|
|
5934
5946
|
content?: any | null;
|
|
5935
5947
|
contentSizeInBytes: number;
|
|
5936
5948
|
processingPhase: string;
|
|
5949
|
+
processingPhaseReason: string;
|
|
5937
5950
|
} | {
|
|
5938
5951
|
__typename?: 'LLM';
|
|
5939
5952
|
} | {
|
|
@@ -5993,6 +6006,7 @@ export type CreateKnowledgeBasePrecisionTestingMutation = {
|
|
|
5993
6006
|
};
|
|
5994
6007
|
documents?: Array<{
|
|
5995
6008
|
__typename?: 'Document';
|
|
6009
|
+
metadata: any;
|
|
5996
6010
|
content: string;
|
|
5997
6011
|
score?: number | null;
|
|
5998
6012
|
rankScore?: number | null;
|
|
@@ -6032,6 +6046,7 @@ export type GetKnowledgeBasePrecisionTestingQuery = {
|
|
|
6032
6046
|
};
|
|
6033
6047
|
documents?: Array<{
|
|
6034
6048
|
__typename?: 'Document';
|
|
6049
|
+
metadata: any;
|
|
6035
6050
|
content: string;
|
|
6036
6051
|
score?: number | null;
|
|
6037
6052
|
rankScore?: number | null;
|
|
@@ -6099,6 +6114,7 @@ export type ListKnowledgeBasePrecisionTestingQuery = {
|
|
|
6099
6114
|
};
|
|
6100
6115
|
documents?: Array<{
|
|
6101
6116
|
__typename?: 'Document';
|
|
6117
|
+
metadata: any;
|
|
6102
6118
|
content: string;
|
|
6103
6119
|
score?: number | null;
|
|
6104
6120
|
rankScore?: number | null;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -1101,6 +1101,7 @@ var ListKnowledgeBasesDocument = import_graphql_tag.default`
|
|
|
1101
1101
|
displayName
|
|
1102
1102
|
}
|
|
1103
1103
|
embedderType
|
|
1104
|
+
model
|
|
1104
1105
|
vectorStore {
|
|
1105
1106
|
kind
|
|
1106
1107
|
name
|
|
@@ -1141,6 +1142,7 @@ var GetKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1141
1142
|
displayName
|
|
1142
1143
|
}
|
|
1143
1144
|
embedderType
|
|
1145
|
+
model
|
|
1144
1146
|
vectorStore {
|
|
1145
1147
|
kind
|
|
1146
1148
|
name
|
|
@@ -1178,6 +1180,7 @@ var CreateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1178
1180
|
namespace
|
|
1179
1181
|
displayName
|
|
1180
1182
|
}
|
|
1183
|
+
model
|
|
1181
1184
|
embedderType
|
|
1182
1185
|
vectorStore {
|
|
1183
1186
|
kind
|
|
@@ -1216,6 +1219,7 @@ var UpdateKnowledgeBaseDocument = import_graphql_tag.default`
|
|
|
1216
1219
|
namespace
|
|
1217
1220
|
displayName
|
|
1218
1221
|
}
|
|
1222
|
+
model
|
|
1219
1223
|
embedderType
|
|
1220
1224
|
vectorStore {
|
|
1221
1225
|
kind
|
|
@@ -1333,6 +1337,7 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1333
1337
|
content
|
|
1334
1338
|
contentSizeInBytes
|
|
1335
1339
|
processingPhase
|
|
1340
|
+
processingPhaseReason
|
|
1336
1341
|
}
|
|
1337
1342
|
}
|
|
1338
1343
|
}
|
|
@@ -1389,6 +1394,7 @@ var ListKnowledgeBaseStructuredFileChunksDocument = import_graphql_tag.default`
|
|
|
1389
1394
|
content
|
|
1390
1395
|
contentSizeInBytes
|
|
1391
1396
|
processingPhase
|
|
1397
|
+
processingPhaseReason
|
|
1392
1398
|
}
|
|
1393
1399
|
}
|
|
1394
1400
|
}
|
|
@@ -1409,6 +1415,7 @@ var CreateKnowledgeBasePrecisionTestingDocument = import_graphql_tag.default`
|
|
|
1409
1415
|
query
|
|
1410
1416
|
documents {
|
|
1411
1417
|
... on Document {
|
|
1418
|
+
metadata
|
|
1412
1419
|
content
|
|
1413
1420
|
score
|
|
1414
1421
|
rankScore
|
|
@@ -1441,6 +1448,7 @@ var GetKnowledgeBasePrecisionTestingDocument = import_graphql_tag.default`
|
|
|
1441
1448
|
query
|
|
1442
1449
|
documents {
|
|
1443
1450
|
... on Document {
|
|
1451
|
+
metadata
|
|
1444
1452
|
content
|
|
1445
1453
|
score
|
|
1446
1454
|
rankScore
|
|
@@ -1470,6 +1478,7 @@ var ListKnowledgeBasePrecisionTestingDocument = import_graphql_tag.default`
|
|
|
1470
1478
|
query
|
|
1471
1479
|
documents {
|
|
1472
1480
|
... on Document {
|
|
1481
|
+
metadata
|
|
1473
1482
|
content
|
|
1474
1483
|
score
|
|
1475
1484
|
rankScore
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -525,7 +525,7 @@ export type CreateKnowledgeBaseInput = {
|
|
|
525
525
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
526
526
|
/** 知识库资源展示名称作为显示,并提供编辑 */
|
|
527
527
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
528
|
-
/** embedder指当前知识库使用的embedding
|
|
528
|
+
/** embedder指当前知识库使用的embedding向量化模型所属的embedder */
|
|
529
529
|
embedder: TypedObjectReferenceInput;
|
|
530
530
|
/** headers结构化数据列 */
|
|
531
531
|
headers?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
@@ -533,6 +533,8 @@ export type CreateKnowledgeBaseInput = {
|
|
|
533
533
|
indexHeader?: InputMaybe<Scalars['Int']['input']>;
|
|
534
534
|
/** 知识库资源标签 */
|
|
535
535
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
536
|
+
/** model指当前知识库具体使用的向量化模型ID */
|
|
537
|
+
model: Scalars['String']['input'];
|
|
536
538
|
/** 知识库资源名称(不可同名) */
|
|
537
539
|
name: Scalars['String']['input'];
|
|
538
540
|
/** 知识库创建命名空间 */
|
|
@@ -1218,6 +1220,7 @@ export type DeleteVersionedDatasetInput = {
|
|
|
1218
1220
|
export type Document = {
|
|
1219
1221
|
__typename?: 'Document';
|
|
1220
1222
|
content: Scalars['String']['output'];
|
|
1223
|
+
metadata: Scalars['Map']['output'];
|
|
1221
1224
|
rankScore?: Maybe<Scalars['Float']['output']>;
|
|
1222
1225
|
rerankScore?: Maybe<Scalars['Float']['output']>;
|
|
1223
1226
|
score?: Maybe<Scalars['Float']['output']>;
|
|
@@ -1405,7 +1408,7 @@ export type KnowledgeBase = {
|
|
|
1405
1408
|
description?: Maybe<Scalars['String']['output']>;
|
|
1406
1409
|
/** 展示名 */
|
|
1407
1410
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
1408
|
-
/** embedder指当前知识库使用的embedding
|
|
1411
|
+
/** embedder指当前知识库使用的embedding向量化模型资源,即 Kind 为 Embedder */
|
|
1409
1412
|
embedder?: Maybe<TypedObjectReference>;
|
|
1410
1413
|
embedderType?: Maybe<Scalars['String']['output']>;
|
|
1411
1414
|
/** 结构化知识库:headers */
|
|
@@ -1418,6 +1421,8 @@ export type KnowledgeBase = {
|
|
|
1418
1421
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
1419
1422
|
/** 知识库状态的原因的详细内容 */
|
|
1420
1423
|
message?: Maybe<Scalars['String']['output']>;
|
|
1424
|
+
/** model指当前知识库所使用的向量化模型(embedder可能包含多个,默认使用第一个) */
|
|
1425
|
+
model: Scalars['String']['output'];
|
|
1421
1426
|
/**
|
|
1422
1427
|
* 名称
|
|
1423
1428
|
* 规则: 遵循k8s命名
|
|
@@ -1484,6 +1489,7 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1484
1489
|
id: Scalars['String']['output'];
|
|
1485
1490
|
indexInFile: Scalars['Int']['output'];
|
|
1486
1491
|
processingPhase: Scalars['String']['output'];
|
|
1492
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1487
1493
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1488
1494
|
};
|
|
1489
1495
|
export type KnowledgeBaseMutation = {
|
|
@@ -1590,6 +1596,7 @@ export type KnowledgeBaseStructuredFileChunk = {
|
|
|
1590
1596
|
id: Scalars['String']['output'];
|
|
1591
1597
|
knowledgeBase: Scalars['String']['output'];
|
|
1592
1598
|
processingPhase: Scalars['String']['output'];
|
|
1599
|
+
processingPhaseReason: Scalars['String']['output'];
|
|
1593
1600
|
updatedAt?: Maybe<Scalars['Time']['output']>;
|
|
1594
1601
|
};
|
|
1595
1602
|
export type Llm = {
|
|
@@ -5401,6 +5408,7 @@ export type ListKnowledgeBasesQuery = {
|
|
|
5401
5408
|
message?: string | null;
|
|
5402
5409
|
updateTimestamp?: any | null;
|
|
5403
5410
|
embedderType?: string | null;
|
|
5411
|
+
model: string;
|
|
5404
5412
|
embedder?: {
|
|
5405
5413
|
__typename?: 'TypedObjectReference';
|
|
5406
5414
|
kind: string;
|
|
@@ -5487,6 +5495,7 @@ export type GetKnowledgeBaseQuery = {
|
|
|
5487
5495
|
message?: string | null;
|
|
5488
5496
|
updateTimestamp?: any | null;
|
|
5489
5497
|
embedderType?: string | null;
|
|
5498
|
+
model: string;
|
|
5490
5499
|
embedder?: {
|
|
5491
5500
|
__typename?: 'TypedObjectReference';
|
|
5492
5501
|
kind: string;
|
|
@@ -5530,6 +5539,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
5530
5539
|
reason?: string | null;
|
|
5531
5540
|
message?: string | null;
|
|
5532
5541
|
updateTimestamp?: any | null;
|
|
5542
|
+
model: string;
|
|
5533
5543
|
embedderType?: string | null;
|
|
5534
5544
|
embedder?: {
|
|
5535
5545
|
__typename?: 'TypedObjectReference';
|
|
@@ -5574,6 +5584,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
5574
5584
|
reason?: string | null;
|
|
5575
5585
|
message?: string | null;
|
|
5576
5586
|
updateTimestamp?: any | null;
|
|
5587
|
+
model: string;
|
|
5577
5588
|
embedderType?: string | null;
|
|
5578
5589
|
embedder?: {
|
|
5579
5590
|
__typename?: 'TypedObjectReference';
|
|
@@ -5804,6 +5815,7 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5804
5815
|
content: string;
|
|
5805
5816
|
contentSizeInBytes: number;
|
|
5806
5817
|
processingPhase: string;
|
|
5818
|
+
processingPhaseReason: string;
|
|
5807
5819
|
} | {
|
|
5808
5820
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5809
5821
|
} | {
|
|
@@ -5934,6 +5946,7 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
|
|
|
5934
5946
|
content?: any | null;
|
|
5935
5947
|
contentSizeInBytes: number;
|
|
5936
5948
|
processingPhase: string;
|
|
5949
|
+
processingPhaseReason: string;
|
|
5937
5950
|
} | {
|
|
5938
5951
|
__typename?: 'LLM';
|
|
5939
5952
|
} | {
|
|
@@ -5993,6 +6006,7 @@ export type CreateKnowledgeBasePrecisionTestingMutation = {
|
|
|
5993
6006
|
};
|
|
5994
6007
|
documents?: Array<{
|
|
5995
6008
|
__typename?: 'Document';
|
|
6009
|
+
metadata: any;
|
|
5996
6010
|
content: string;
|
|
5997
6011
|
score?: number | null;
|
|
5998
6012
|
rankScore?: number | null;
|
|
@@ -6032,6 +6046,7 @@ export type GetKnowledgeBasePrecisionTestingQuery = {
|
|
|
6032
6046
|
};
|
|
6033
6047
|
documents?: Array<{
|
|
6034
6048
|
__typename?: 'Document';
|
|
6049
|
+
metadata: any;
|
|
6035
6050
|
content: string;
|
|
6036
6051
|
score?: number | null;
|
|
6037
6052
|
rankScore?: number | null;
|
|
@@ -6099,6 +6114,7 @@ export type ListKnowledgeBasePrecisionTestingQuery = {
|
|
|
6099
6114
|
};
|
|
6100
6115
|
documents?: Array<{
|
|
6101
6116
|
__typename?: 'Document';
|
|
6117
|
+
metadata: any;
|
|
6102
6118
|
content: string;
|
|
6103
6119
|
score?: number | null;
|
|
6104
6120
|
rankScore?: number | null;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -197,10 +197,10 @@ export var GetDatasourceDocument = gql(_templateObject39 || (_templateObject39 =
|
|
|
197
197
|
export var CheckDatasourceDocument = gql(_templateObject40 || (_templateObject40 = _taggedTemplateLiteral(["\n query checkDatasource($input: CreateDatasourceInput!) {\n Datasource {\n checkDatasource(input: $input) {\n name\n namespace\n status\n message\n }\n }\n}\n "])));
|
|
198
198
|
export var ListEmbeddersDocument = gql(_templateObject41 || (_templateObject41 = _taggedTemplateLiteral(["\n query listEmbedders($input: ListCommonInput!) {\n Embedder {\n listEmbedders(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on Embedder {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
199
199
|
export var GetEmbedderDocument = gql(_templateObject42 || (_templateObject42 = _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 provider\n type\n updateTimestamp\n }\n }\n}\n "])));
|
|
200
|
-
export var ListKnowledgeBasesDocument = gql(_templateObject43 || (_templateObject43 = _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 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 embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n }\n }\n}\n "])));
|
|
201
|
-
export var GetKnowledgeBaseDocument = gql(_templateObject44 || (_templateObject44 = _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 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 embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
202
|
-
export var CreateKnowledgeBaseDocument = gql(_templateObject45 || (_templateObject45 = _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 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 embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
203
|
-
export var UpdateKnowledgeBaseDocument = gql(_templateObject46 || (_templateObject46 = _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 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 embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
200
|
+
export var ListKnowledgeBasesDocument = gql(_templateObject43 || (_templateObject43 = _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 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 embedderType\n model\n vectorStore {\n kind\n name\n }\n }\n }\n }\n }\n}\n "])));
|
|
201
|
+
export var GetKnowledgeBaseDocument = gql(_templateObject44 || (_templateObject44 = _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 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 embedderType\n model\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
202
|
+
export var CreateKnowledgeBaseDocument = gql(_templateObject45 || (_templateObject45 = _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 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 model\n embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
203
|
+
export var UpdateKnowledgeBaseDocument = gql(_templateObject46 || (_templateObject46 = _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 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 model\n embedderType\n vectorStore {\n kind\n name\n }\n }\n }\n}\n "])));
|
|
204
204
|
export var DeleteKnowledgeBaseDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
|
|
205
205
|
export var CreateKnowledgeBaseFilesDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFiles($input: CreateKnowledgeBaseFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
|
|
206
206
|
export var DeleteKnowledgeBaseFilesDocument = gql(_templateObject49 || (_templateObject49 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFiles($input: DeleteKnowledgeBaseFileInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFiles(input: $input)\n }\n}\n "])));
|
|
@@ -209,16 +209,16 @@ export var ListKnowledgeBaseFilesDocument = gql(_templateObject51 || (_templateO
|
|
|
209
209
|
export var CreateKnowledgeBaseFileChunkDocument = gql(_templateObject52 || (_templateObject52 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFileChunk($input: CreateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
210
210
|
export var UpdateKnowledgeBaseFileChunkDocument = gql(_templateObject53 || (_templateObject53 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseFileChunk($input: UpdateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
211
211
|
export var DeleteKnowledgeBaseFileChunkDocument = gql(_templateObject54 || (_templateObject54 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFileChunk($input: DeleteKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
212
|
-
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFileChunks($input: ListKnowledgeBaseFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFileChunk {\n id\n fileId\n createdAt\n updatedAt\n indexInFile\n content\n contentSizeInBytes\n processingPhase\n }\n }\n }\n }\n}\n "])));
|
|
212
|
+
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject55 || (_templateObject55 = _taggedTemplateLiteral(["\n query listKnowledgeBaseFileChunks($input: ListKnowledgeBaseFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseFileChunk {\n id\n fileId\n createdAt\n updatedAt\n indexInFile\n content\n contentSizeInBytes\n processingPhase\n processingPhaseReason\n }\n }\n }\n }\n}\n "])));
|
|
213
213
|
export var ShowStructuredFileInfoDocument = gql(_templateObject56 || (_templateObject56 = _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 "])));
|
|
214
214
|
export var CreateKnowledgeBaseStructuredFilesDocument = gql(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFiles($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFiles(input: $input)\n }\n}\n "])));
|
|
215
215
|
export var CreateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFileChunk($input: CreateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
216
216
|
export var UpdateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject59 || (_templateObject59 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseStructuredFileChunk($input: UpdateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
217
|
-
export var ListKnowledgeBaseStructuredFileChunksDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n query listKnowledgeBaseStructuredFileChunks($input: ListKnowledgeBaseStructuredFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseStructuredFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseStructuredFileChunk {\n id\n knowledgeBase\n fileId\n createdAt\n updatedAt\n content\n contentSizeInBytes\n processingPhase\n }\n }\n }\n }\n}\n "])));
|
|
218
|
-
export var CreateKnowledgeBasePrecisionTestingDocument = gql(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["\n mutation createKnowledgeBasePrecisionTesting($input: CreateKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n createKnowledgeBasePrecisionTesting(input: $input) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
217
|
+
export var ListKnowledgeBaseStructuredFileChunksDocument = gql(_templateObject60 || (_templateObject60 = _taggedTemplateLiteral(["\n query listKnowledgeBaseStructuredFileChunks($input: ListKnowledgeBaseStructuredFileChunksInput!) {\n KnowledgeBase {\n listKnowledgeBaseStructuredFileChunks(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBaseStructuredFileChunk {\n id\n knowledgeBase\n fileId\n createdAt\n updatedAt\n content\n contentSizeInBytes\n processingPhase\n processingPhaseReason\n }\n }\n }\n }\n}\n "])));
|
|
218
|
+
export var CreateKnowledgeBasePrecisionTestingDocument = gql(_templateObject61 || (_templateObject61 = _taggedTemplateLiteral(["\n mutation createKnowledgeBasePrecisionTesting($input: CreateKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n createKnowledgeBasePrecisionTesting(input: $input) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n metadata\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
219
219
|
export var DeleteKnowledgeBasePrecisionTestingDocument = gql(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBasePrecisionTesting($input: DeleteKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n deleteKnowledgeBasePrecisionTesting(input: $input)\n }\n}\n "])));
|
|
220
|
-
export var GetKnowledgeBasePrecisionTestingDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query getKnowledgeBasePrecisionTesting($id: String!) {\n KnowledgeBase {\n getKnowledgeBasePrecisionTesting(id: $id) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
221
|
-
export var ListKnowledgeBasePrecisionTestingDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query listKnowledgeBasePrecisionTesting($input: ListKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n listKnowledgeBasePrecisionTesting(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on PrecisionTestingRecord {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n }\n }\n}\n "])));
|
|
220
|
+
export var GetKnowledgeBasePrecisionTestingDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n query getKnowledgeBasePrecisionTesting($id: String!) {\n KnowledgeBase {\n getKnowledgeBasePrecisionTesting(id: $id) {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n metadata\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n}\n "])));
|
|
221
|
+
export var ListKnowledgeBasePrecisionTestingDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n query listKnowledgeBasePrecisionTesting($input: ListKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n listKnowledgeBasePrecisionTesting(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on PrecisionTestingRecord {\n id\n createdAt\n retrieverConfig {\n searchMode\n scoreThreshold\n numDocuments\n }\n query\n documents {\n ... on Document {\n metadata\n content\n score\n rankScore\n rerankScore\n }\n }\n timeCost\n }\n }\n }\n }\n}\n "])));
|
|
222
222
|
export var ListLlMsDocument = gql(_templateObject65 || (_templateObject65 = _taggedTemplateLiteral(["\n query listLLMs($input: ListCommonInput!) {\n LLM {\n listLLMs(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on LLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
223
223
|
export var GetLlmDocument = gql(_templateObject66 || (_templateObject66 = _taggedTemplateLiteral(["\n query getLLM($name: String!, $namespace: String!) {\n LLM {\n getLLM(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
224
224
|
export var ListModelsDocument = gql(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["\n query listModels($input: ListModelInput!, $filesInput: FileFilter) {\n Model {\n listModels(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Model {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|