@yuntijs/arcadia-bff-sdk 1.2.99 → 1.2.101

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
@@ -521,6 +521,10 @@ export type CreateDatasourceInput = {
521
521
  };
522
522
  export type CreateKnowledgeBaseFileChunkInput = {
523
523
  content: Scalars['String']['input'];
524
+ /** 数据类型: text,QA */
525
+ contentType: Scalars['String']['input'];
526
+ /** 数据血缘关系 */
527
+ dataLineage: DataLineageInput;
524
528
  /** fileId文件的UID */
525
529
  fileId: Scalars['String']['input'];
526
530
  };
@@ -833,6 +837,18 @@ export type CreateWorkflowInput = {
833
837
  */
834
838
  namespace: Scalars['String']['input'];
835
839
  };
840
+ /** 数据血缘 */
841
+ export type DataLineage = {
842
+ __typename?: 'DataLineage';
843
+ file: Scalars['String']['output'];
844
+ page: Scalars['String']['output'];
845
+ sourceContent: Scalars['String']['output'];
846
+ };
847
+ export type DataLineageInput = {
848
+ file: Scalars['String']['input'];
849
+ page: Scalars['String']['input'];
850
+ sourceContent: Scalars['String']['input'];
851
+ };
836
852
  export type DataProcessConfig = {
837
853
  __typename?: 'DataProcessConfig';
838
854
  children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
@@ -1521,7 +1537,9 @@ export type KnowledgeBaseFileChunk = {
1521
1537
  __typename?: 'KnowledgeBaseFileChunk';
1522
1538
  content: Scalars['String']['output'];
1523
1539
  contentSizeInBytes: Scalars['Int']['output'];
1540
+ contentType: Scalars['String']['output'];
1524
1541
  createdAt?: Maybe<Scalars['Time']['output']>;
1542
+ dataLineage: DataLineage;
1525
1543
  fileId: Scalars['String']['output'];
1526
1544
  id: Scalars['String']['output'];
1527
1545
  indexInFile: Scalars['Int']['output'];
@@ -1630,6 +1648,7 @@ export type KnowledgeBaseStructuredFileChunk = {
1630
1648
  content?: Maybe<Scalars['Map']['output']>;
1631
1649
  contentSizeInBytes: Scalars['Int']['output'];
1632
1650
  createdAt?: Maybe<Scalars['Time']['output']>;
1651
+ dataLineage: DataLineage;
1633
1652
  fileId?: Maybe<Scalars['String']['output']>;
1634
1653
  id: Scalars['String']['output'];
1635
1654
  knowledgeBase: Scalars['String']['output'];
@@ -3335,6 +3354,8 @@ export type UpdateDatasourceInput = {
3335
3354
  export type UpdateKnowledgeBaseFileChunkInput = {
3336
3355
  /** 新的内容 */
3337
3356
  content: Scalars['String']['input'];
3357
+ /** 数据类型: text,QA */
3358
+ contentType: Scalars['String']['input'];
3338
3359
  /** chunk id */
3339
3360
  id: Scalars['String']['input'];
3340
3361
  };
@@ -5968,6 +5989,12 @@ export type ListKnowledgeBaseFileChunksQuery = {
5968
5989
  type: string;
5969
5990
  url: string;
5970
5991
  } | null> | null;
5992
+ dataLineage: {
5993
+ __typename?: 'DataLineage';
5994
+ file: string;
5995
+ page: string;
5996
+ sourceContent: string;
5997
+ };
5971
5998
  } | {
5972
5999
  __typename?: 'KnowledgeBaseStructuredFileChunk';
5973
6000
  } | {
@@ -6099,6 +6126,12 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
6099
6126
  contentSizeInBytes: number;
6100
6127
  processingPhase: string;
6101
6128
  processingPhaseReason: string;
6129
+ dataLineage: {
6130
+ __typename?: 'DataLineage';
6131
+ file: string;
6132
+ page: string;
6133
+ sourceContent: string;
6134
+ };
6102
6135
  } | {
6103
6136
  __typename?: 'LLM';
6104
6137
  } | {
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
@@ -521,6 +521,10 @@ export type CreateDatasourceInput = {
521
521
  };
522
522
  export type CreateKnowledgeBaseFileChunkInput = {
523
523
  content: Scalars['String']['input'];
524
+ /** 数据类型: text,QA */
525
+ contentType: Scalars['String']['input'];
526
+ /** 数据血缘关系 */
527
+ dataLineage: DataLineageInput;
524
528
  /** fileId文件的UID */
525
529
  fileId: Scalars['String']['input'];
526
530
  };
@@ -833,6 +837,18 @@ export type CreateWorkflowInput = {
833
837
  */
834
838
  namespace: Scalars['String']['input'];
835
839
  };
840
+ /** 数据血缘 */
841
+ export type DataLineage = {
842
+ __typename?: 'DataLineage';
843
+ file: Scalars['String']['output'];
844
+ page: Scalars['String']['output'];
845
+ sourceContent: Scalars['String']['output'];
846
+ };
847
+ export type DataLineageInput = {
848
+ file: Scalars['String']['input'];
849
+ page: Scalars['String']['input'];
850
+ sourceContent: Scalars['String']['input'];
851
+ };
836
852
  export type DataProcessConfig = {
837
853
  __typename?: 'DataProcessConfig';
838
854
  children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
@@ -1521,7 +1537,9 @@ export type KnowledgeBaseFileChunk = {
1521
1537
  __typename?: 'KnowledgeBaseFileChunk';
1522
1538
  content: Scalars['String']['output'];
1523
1539
  contentSizeInBytes: Scalars['Int']['output'];
1540
+ contentType: Scalars['String']['output'];
1524
1541
  createdAt?: Maybe<Scalars['Time']['output']>;
1542
+ dataLineage: DataLineage;
1525
1543
  fileId: Scalars['String']['output'];
1526
1544
  id: Scalars['String']['output'];
1527
1545
  indexInFile: Scalars['Int']['output'];
@@ -1630,6 +1648,7 @@ export type KnowledgeBaseStructuredFileChunk = {
1630
1648
  content?: Maybe<Scalars['Map']['output']>;
1631
1649
  contentSizeInBytes: Scalars['Int']['output'];
1632
1650
  createdAt?: Maybe<Scalars['Time']['output']>;
1651
+ dataLineage: DataLineage;
1633
1652
  fileId?: Maybe<Scalars['String']['output']>;
1634
1653
  id: Scalars['String']['output'];
1635
1654
  knowledgeBase: Scalars['String']['output'];
@@ -3335,6 +3354,8 @@ export type UpdateDatasourceInput = {
3335
3354
  export type UpdateKnowledgeBaseFileChunkInput = {
3336
3355
  /** 新的内容 */
3337
3356
  content: Scalars['String']['input'];
3357
+ /** 数据类型: text,QA */
3358
+ contentType: Scalars['String']['input'];
3338
3359
  /** chunk id */
3339
3360
  id: Scalars['String']['input'];
3340
3361
  };
@@ -5968,6 +5989,12 @@ export type ListKnowledgeBaseFileChunksQuery = {
5968
5989
  type: string;
5969
5990
  url: string;
5970
5991
  } | null> | null;
5992
+ dataLineage: {
5993
+ __typename?: 'DataLineage';
5994
+ file: string;
5995
+ page: string;
5996
+ sourceContent: string;
5997
+ };
5971
5998
  } | {
5972
5999
  __typename?: 'KnowledgeBaseStructuredFileChunk';
5973
6000
  } | {
@@ -6099,6 +6126,12 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
6099
6126
  contentSizeInBytes: number;
6100
6127
  processingPhase: string;
6101
6128
  processingPhaseReason: string;
6129
+ dataLineage: {
6130
+ __typename?: 'DataLineage';
6131
+ file: string;
6132
+ page: string;
6133
+ sourceContent: string;
6134
+ };
6102
6135
  } | {
6103
6136
  __typename?: 'LLM';
6104
6137
  } | {
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 "])));