@yuntijs/arcadia-bff-sdk 1.2.98 → 1.2.100
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 +23 -0
- package/dist/cjs/sdk.js +10 -0
- package/dist/esm/sdk.d.ts +23 -0
- package/dist/esm/sdk.js +4 -2
- 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,6 +525,8 @@ export type CreateKnowledgeBaseFileChunkInput = {
|
|
|
525
525
|
fileId: Scalars['String']['input'];
|
|
526
526
|
};
|
|
527
527
|
export type CreateKnowledgeBaseFileInput = {
|
|
528
|
+
/** enableQASplit是否启用QA拆分 */
|
|
529
|
+
enableQASplit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
528
530
|
/**
|
|
529
531
|
* 文件存储路径
|
|
530
532
|
* 如果知识库为表格数据类型,则一次仅允许上传一个文件
|
|
@@ -831,6 +833,13 @@ export type CreateWorkflowInput = {
|
|
|
831
833
|
*/
|
|
832
834
|
namespace: Scalars['String']['input'];
|
|
833
835
|
};
|
|
836
|
+
/** 数据血缘 */
|
|
837
|
+
export type DataLineage = {
|
|
838
|
+
__typename?: 'DataLineage';
|
|
839
|
+
file: Scalars['String']['output'];
|
|
840
|
+
page: Scalars['String']['output'];
|
|
841
|
+
sourceContent: Scalars['String']['output'];
|
|
842
|
+
};
|
|
834
843
|
export type DataProcessConfig = {
|
|
835
844
|
__typename?: 'DataProcessConfig';
|
|
836
845
|
children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
|
|
@@ -1520,6 +1529,7 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1520
1529
|
content: Scalars['String']['output'];
|
|
1521
1530
|
contentSizeInBytes: Scalars['Int']['output'];
|
|
1522
1531
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1532
|
+
dataLineage: DataLineage;
|
|
1523
1533
|
fileId: Scalars['String']['output'];
|
|
1524
1534
|
id: Scalars['String']['output'];
|
|
1525
1535
|
indexInFile: Scalars['Int']['output'];
|
|
@@ -1628,6 +1638,7 @@ export type KnowledgeBaseStructuredFileChunk = {
|
|
|
1628
1638
|
content?: Maybe<Scalars['Map']['output']>;
|
|
1629
1639
|
contentSizeInBytes: Scalars['Int']['output'];
|
|
1630
1640
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1641
|
+
dataLineage: DataLineage;
|
|
1631
1642
|
fileId?: Maybe<Scalars['String']['output']>;
|
|
1632
1643
|
id: Scalars['String']['output'];
|
|
1633
1644
|
knowledgeBase: Scalars['String']['output'];
|
|
@@ -5966,6 +5977,12 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5966
5977
|
type: string;
|
|
5967
5978
|
url: string;
|
|
5968
5979
|
} | null> | null;
|
|
5980
|
+
dataLineage: {
|
|
5981
|
+
__typename?: 'DataLineage';
|
|
5982
|
+
file: string;
|
|
5983
|
+
page: string;
|
|
5984
|
+
sourceContent: string;
|
|
5985
|
+
};
|
|
5969
5986
|
} | {
|
|
5970
5987
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5971
5988
|
} | {
|
|
@@ -6097,6 +6114,12 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
|
|
|
6097
6114
|
contentSizeInBytes: number;
|
|
6098
6115
|
processingPhase: string;
|
|
6099
6116
|
processingPhaseReason: string;
|
|
6117
|
+
dataLineage: {
|
|
6118
|
+
__typename?: 'DataLineage';
|
|
6119
|
+
file: string;
|
|
6120
|
+
page: string;
|
|
6121
|
+
sourceContent: string;
|
|
6122
|
+
};
|
|
6100
6123
|
} | {
|
|
6101
6124
|
__typename?: 'LLM';
|
|
6102
6125
|
} | {
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -1401,6 +1401,11 @@ var ListKnowledgeBaseFileChunksDocument = import_graphql_tag.default`
|
|
|
1401
1401
|
url
|
|
1402
1402
|
}
|
|
1403
1403
|
}
|
|
1404
|
+
dataLineage {
|
|
1405
|
+
file
|
|
1406
|
+
page
|
|
1407
|
+
sourceContent
|
|
1408
|
+
}
|
|
1404
1409
|
}
|
|
1405
1410
|
}
|
|
1406
1411
|
}
|
|
@@ -1456,6 +1461,11 @@ var ListKnowledgeBaseStructuredFileChunksDocument = import_graphql_tag.default`
|
|
|
1456
1461
|
updatedAt
|
|
1457
1462
|
content
|
|
1458
1463
|
contentSizeInBytes
|
|
1464
|
+
dataLineage {
|
|
1465
|
+
file
|
|
1466
|
+
page
|
|
1467
|
+
sourceContent
|
|
1468
|
+
}
|
|
1459
1469
|
processingPhase
|
|
1460
1470
|
processingPhaseReason
|
|
1461
1471
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -525,6 +525,8 @@ export type CreateKnowledgeBaseFileChunkInput = {
|
|
|
525
525
|
fileId: Scalars['String']['input'];
|
|
526
526
|
};
|
|
527
527
|
export type CreateKnowledgeBaseFileInput = {
|
|
528
|
+
/** enableQASplit是否启用QA拆分 */
|
|
529
|
+
enableQASplit?: InputMaybe<Scalars['Boolean']['input']>;
|
|
528
530
|
/**
|
|
529
531
|
* 文件存储路径
|
|
530
532
|
* 如果知识库为表格数据类型,则一次仅允许上传一个文件
|
|
@@ -831,6 +833,13 @@ export type CreateWorkflowInput = {
|
|
|
831
833
|
*/
|
|
832
834
|
namespace: Scalars['String']['input'];
|
|
833
835
|
};
|
|
836
|
+
/** 数据血缘 */
|
|
837
|
+
export type DataLineage = {
|
|
838
|
+
__typename?: 'DataLineage';
|
|
839
|
+
file: Scalars['String']['output'];
|
|
840
|
+
page: Scalars['String']['output'];
|
|
841
|
+
sourceContent: Scalars['String']['output'];
|
|
842
|
+
};
|
|
834
843
|
export type DataProcessConfig = {
|
|
835
844
|
__typename?: 'DataProcessConfig';
|
|
836
845
|
children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
|
|
@@ -1520,6 +1529,7 @@ export type KnowledgeBaseFileChunk = {
|
|
|
1520
1529
|
content: Scalars['String']['output'];
|
|
1521
1530
|
contentSizeInBytes: Scalars['Int']['output'];
|
|
1522
1531
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1532
|
+
dataLineage: DataLineage;
|
|
1523
1533
|
fileId: Scalars['String']['output'];
|
|
1524
1534
|
id: Scalars['String']['output'];
|
|
1525
1535
|
indexInFile: Scalars['Int']['output'];
|
|
@@ -1628,6 +1638,7 @@ export type KnowledgeBaseStructuredFileChunk = {
|
|
|
1628
1638
|
content?: Maybe<Scalars['Map']['output']>;
|
|
1629
1639
|
contentSizeInBytes: Scalars['Int']['output'];
|
|
1630
1640
|
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
1641
|
+
dataLineage: DataLineage;
|
|
1631
1642
|
fileId?: Maybe<Scalars['String']['output']>;
|
|
1632
1643
|
id: Scalars['String']['output'];
|
|
1633
1644
|
knowledgeBase: Scalars['String']['output'];
|
|
@@ -5966,6 +5977,12 @@ export type ListKnowledgeBaseFileChunksQuery = {
|
|
|
5966
5977
|
type: string;
|
|
5967
5978
|
url: string;
|
|
5968
5979
|
} | null> | null;
|
|
5980
|
+
dataLineage: {
|
|
5981
|
+
__typename?: 'DataLineage';
|
|
5982
|
+
file: string;
|
|
5983
|
+
page: string;
|
|
5984
|
+
sourceContent: string;
|
|
5985
|
+
};
|
|
5969
5986
|
} | {
|
|
5970
5987
|
__typename?: 'KnowledgeBaseStructuredFileChunk';
|
|
5971
5988
|
} | {
|
|
@@ -6097,6 +6114,12 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
|
|
|
6097
6114
|
contentSizeInBytes: number;
|
|
6098
6115
|
processingPhase: string;
|
|
6099
6116
|
processingPhaseReason: string;
|
|
6117
|
+
dataLineage: {
|
|
6118
|
+
__typename?: 'DataLineage';
|
|
6119
|
+
file: string;
|
|
6120
|
+
page: string;
|
|
6121
|
+
sourceContent: string;
|
|
6122
|
+
};
|
|
6100
6123
|
} | {
|
|
6101
6124
|
__typename?: 'LLM';
|
|
6102
6125
|
} | {
|
package/dist/esm/sdk.js
CHANGED
|
@@ -37,6 +37,8 @@ import useSWR from "./useSWR";
|
|
|
37
37
|
|
|
38
38
|
/** 创建模型服务worker的输入 */
|
|
39
39
|
|
|
40
|
+
/** 数据血缘 */
|
|
41
|
+
|
|
40
42
|
/**
|
|
41
43
|
* Dataset
|
|
42
44
|
* 数据集代表用户纳管的一组相似属性的文件,采用相同的方式进行数据处理并用于后续的
|
|
@@ -216,12 +218,12 @@ export var ListKnowledgeBaseFilesDocument = gql(_templateObject56 || (_templateO
|
|
|
216
218
|
export var CreateKnowledgeBaseFileChunkDocument = gql(_templateObject57 || (_templateObject57 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseFileChunk($input: CreateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
217
219
|
export var UpdateKnowledgeBaseFileChunkDocument = gql(_templateObject58 || (_templateObject58 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseFileChunk($input: UpdateKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
218
220
|
export var DeleteKnowledgeBaseFileChunkDocument = gql(_templateObject59 || (_templateObject59 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBaseFileChunk($input: DeleteKnowledgeBaseFileChunkInput!) {\n KnowledgeBase {\n deleteKnowledgeBaseFileChunk(input: $input)\n }\n}\n "])));
|
|
219
|
-
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject60 || (_templateObject60 = _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 multiModalArtifacts {\n ... on MultiModalArtifact {\n name\n type\n url\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
221
|
+
export var ListKnowledgeBaseFileChunksDocument = gql(_templateObject60 || (_templateObject60 = _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 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 "])));
|
|
220
222
|
export var ShowStructuredFileInfoDocument = gql(_templateObject61 || (_templateObject61 = _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 "])));
|
|
221
223
|
export var CreateKnowledgeBaseStructuredFilesDocument = gql(_templateObject62 || (_templateObject62 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFiles($input: CreateKnowledgeBaseStructuredFileInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFiles(input: $input)\n }\n}\n "])));
|
|
222
224
|
export var CreateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject63 || (_templateObject63 = _taggedTemplateLiteral(["\n mutation createKnowledgeBaseStructuredFileChunk($input: CreateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n createKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
223
225
|
export var UpdateKnowledgeBaseStructuredFileChunkDocument = gql(_templateObject64 || (_templateObject64 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBaseStructuredFileChunk($input: UpdateKnowledgeBaseStructuredFileChunkInput!) {\n KnowledgeBase {\n updateKnowledgeBaseStructuredFileChunk(input: $input)\n }\n}\n "])));
|
|
224
|
-
export var ListKnowledgeBaseStructuredFileChunksDocument = gql(_templateObject65 || (_templateObject65 = _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 "])));
|
|
226
|
+
export var ListKnowledgeBaseStructuredFileChunksDocument = gql(_templateObject65 || (_templateObject65 = _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 dataLineage {\n file\n page\n sourceContent\n }\n processingPhase\n processingPhaseReason\n }\n }\n }\n }\n}\n "])));
|
|
225
227
|
export var CreateKnowledgeBasePrecisionTestingDocument = gql(_templateObject66 || (_templateObject66 = _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 "])));
|
|
226
228
|
export var DeleteKnowledgeBasePrecisionTestingDocument = gql(_templateObject67 || (_templateObject67 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBasePrecisionTesting($input: DeleteKnowledgeBasePrecisionTestingInput!) {\n KnowledgeBase {\n deleteKnowledgeBasePrecisionTesting(input: $input)\n }\n}\n "])));
|
|
227
229
|
export var GetKnowledgeBasePrecisionTestingDocument = gql(_templateObject68 || (_templateObject68 = _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 "])));
|