@yuntijs/arcadia-bff-sdk 1.2.99 → 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 CHANGED
@@ -833,6 +833,13 @@ export type CreateWorkflowInput = {
833
833
  */
834
834
  namespace: Scalars['String']['input'];
835
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
+ };
836
843
  export type DataProcessConfig = {
837
844
  __typename?: 'DataProcessConfig';
838
845
  children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
@@ -1522,6 +1529,7 @@ export type KnowledgeBaseFileChunk = {
1522
1529
  content: Scalars['String']['output'];
1523
1530
  contentSizeInBytes: Scalars['Int']['output'];
1524
1531
  createdAt?: Maybe<Scalars['Time']['output']>;
1532
+ dataLineage: DataLineage;
1525
1533
  fileId: Scalars['String']['output'];
1526
1534
  id: Scalars['String']['output'];
1527
1535
  indexInFile: Scalars['Int']['output'];
@@ -1630,6 +1638,7 @@ export type KnowledgeBaseStructuredFileChunk = {
1630
1638
  content?: Maybe<Scalars['Map']['output']>;
1631
1639
  contentSizeInBytes: Scalars['Int']['output'];
1632
1640
  createdAt?: Maybe<Scalars['Time']['output']>;
1641
+ dataLineage: DataLineage;
1633
1642
  fileId?: Maybe<Scalars['String']['output']>;
1634
1643
  id: Scalars['String']['output'];
1635
1644
  knowledgeBase: Scalars['String']['output'];
@@ -5968,6 +5977,12 @@ export type ListKnowledgeBaseFileChunksQuery = {
5968
5977
  type: string;
5969
5978
  url: string;
5970
5979
  } | null> | null;
5980
+ dataLineage: {
5981
+ __typename?: 'DataLineage';
5982
+ file: string;
5983
+ page: string;
5984
+ sourceContent: string;
5985
+ };
5971
5986
  } | {
5972
5987
  __typename?: 'KnowledgeBaseStructuredFileChunk';
5973
5988
  } | {
@@ -6099,6 +6114,12 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
6099
6114
  contentSizeInBytes: number;
6100
6115
  processingPhase: string;
6101
6116
  processingPhaseReason: string;
6117
+ dataLineage: {
6118
+ __typename?: 'DataLineage';
6119
+ file: string;
6120
+ page: string;
6121
+ sourceContent: string;
6122
+ };
6102
6123
  } | {
6103
6124
  __typename?: 'LLM';
6104
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
@@ -833,6 +833,13 @@ export type CreateWorkflowInput = {
833
833
  */
834
834
  namespace: Scalars['String']['input'];
835
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
+ };
836
843
  export type DataProcessConfig = {
837
844
  __typename?: 'DataProcessConfig';
838
845
  children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
@@ -1522,6 +1529,7 @@ export type KnowledgeBaseFileChunk = {
1522
1529
  content: Scalars['String']['output'];
1523
1530
  contentSizeInBytes: Scalars['Int']['output'];
1524
1531
  createdAt?: Maybe<Scalars['Time']['output']>;
1532
+ dataLineage: DataLineage;
1525
1533
  fileId: Scalars['String']['output'];
1526
1534
  id: Scalars['String']['output'];
1527
1535
  indexInFile: Scalars['Int']['output'];
@@ -1630,6 +1638,7 @@ export type KnowledgeBaseStructuredFileChunk = {
1630
1638
  content?: Maybe<Scalars['Map']['output']>;
1631
1639
  contentSizeInBytes: Scalars['Int']['output'];
1632
1640
  createdAt?: Maybe<Scalars['Time']['output']>;
1641
+ dataLineage: DataLineage;
1633
1642
  fileId?: Maybe<Scalars['String']['output']>;
1634
1643
  id: Scalars['String']['output'];
1635
1644
  knowledgeBase: Scalars['String']['output'];
@@ -5968,6 +5977,12 @@ export type ListKnowledgeBaseFileChunksQuery = {
5968
5977
  type: string;
5969
5978
  url: string;
5970
5979
  } | null> | null;
5980
+ dataLineage: {
5981
+ __typename?: 'DataLineage';
5982
+ file: string;
5983
+ page: string;
5984
+ sourceContent: string;
5985
+ };
5971
5986
  } | {
5972
5987
  __typename?: 'KnowledgeBaseStructuredFileChunk';
5973
5988
  } | {
@@ -6099,6 +6114,12 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
6099
6114
  contentSizeInBytes: number;
6100
6115
  processingPhase: string;
6101
6116
  processingPhaseReason: string;
6117
+ dataLineage: {
6118
+ __typename?: 'DataLineage';
6119
+ file: string;
6120
+ page: string;
6121
+ sourceContent: string;
6122
+ };
6102
6123
  } | {
6103
6124
  __typename?: 'LLM';
6104
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 "])));