@yuntijs/arcadia-bff-sdk 1.2.100 → 1.2.102

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
  };
@@ -584,6 +588,10 @@ export type CreateKnowledgeBasePrecisionTestingInput = {
584
588
  numDocuments: Scalars['Int']['input'];
585
589
  /** 测试文本 */
586
590
  query: Scalars['String']['input'];
591
+ /** reranker的名字以及namespace */
592
+ reranker?: InputMaybe<TypedObjectReferenceInput>;
593
+ /** 选择的重排序模型 */
594
+ reranking_model?: InputMaybe<Scalars['String']['input']>;
587
595
  /** scoreThreshold 最终返回结果的最低相似度 */
588
596
  scoreThreshold: Scalars['Float']['input'];
589
597
  /**
@@ -840,6 +848,11 @@ export type DataLineage = {
840
848
  page: Scalars['String']['output'];
841
849
  sourceContent: Scalars['String']['output'];
842
850
  };
851
+ export type DataLineageInput = {
852
+ file: Scalars['String']['input'];
853
+ page: Scalars['String']['input'];
854
+ sourceContent: Scalars['String']['input'];
855
+ };
843
856
  export type DataProcessConfig = {
844
857
  __typename?: 'DataProcessConfig';
845
858
  children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
@@ -1528,6 +1541,7 @@ export type KnowledgeBaseFileChunk = {
1528
1541
  __typename?: 'KnowledgeBaseFileChunk';
1529
1542
  content: Scalars['String']['output'];
1530
1543
  contentSizeInBytes: Scalars['Int']['output'];
1544
+ contentType: Scalars['String']['output'];
1531
1545
  createdAt?: Maybe<Scalars['Time']['output']>;
1532
1546
  dataLineage: DataLineage;
1533
1547
  fileId: Scalars['String']['output'];
@@ -3344,6 +3358,8 @@ export type UpdateDatasourceInput = {
3344
3358
  export type UpdateKnowledgeBaseFileChunkInput = {
3345
3359
  /** 新的内容 */
3346
3360
  content: Scalars['String']['input'];
3361
+ /** 数据类型: text,QA */
3362
+ contentType: Scalars['String']['input'];
3347
3363
  /** chunk id */
3348
3364
  id: Scalars['String']['input'];
3349
3365
  };
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
  };
@@ -584,6 +588,10 @@ export type CreateKnowledgeBasePrecisionTestingInput = {
584
588
  numDocuments: Scalars['Int']['input'];
585
589
  /** 测试文本 */
586
590
  query: Scalars['String']['input'];
591
+ /** reranker的名字以及namespace */
592
+ reranker?: InputMaybe<TypedObjectReferenceInput>;
593
+ /** 选择的重排序模型 */
594
+ reranking_model?: InputMaybe<Scalars['String']['input']>;
587
595
  /** scoreThreshold 最终返回结果的最低相似度 */
588
596
  scoreThreshold: Scalars['Float']['input'];
589
597
  /**
@@ -840,6 +848,11 @@ export type DataLineage = {
840
848
  page: Scalars['String']['output'];
841
849
  sourceContent: Scalars['String']['output'];
842
850
  };
851
+ export type DataLineageInput = {
852
+ file: Scalars['String']['input'];
853
+ page: Scalars['String']['input'];
854
+ sourceContent: Scalars['String']['input'];
855
+ };
843
856
  export type DataProcessConfig = {
844
857
  __typename?: 'DataProcessConfig';
845
858
  children?: Maybe<Array<Maybe<DataProcessConfigChildren>>>;
@@ -1528,6 +1541,7 @@ export type KnowledgeBaseFileChunk = {
1528
1541
  __typename?: 'KnowledgeBaseFileChunk';
1529
1542
  content: Scalars['String']['output'];
1530
1543
  contentSizeInBytes: Scalars['Int']['output'];
1544
+ contentType: Scalars['String']['output'];
1531
1545
  createdAt?: Maybe<Scalars['Time']['output']>;
1532
1546
  dataLineage: DataLineage;
1533
1547
  fileId: Scalars['String']['output'];
@@ -3344,6 +3358,8 @@ export type UpdateDatasourceInput = {
3344
3358
  export type UpdateKnowledgeBaseFileChunkInput = {
3345
3359
  /** 新的内容 */
3346
3360
  content: Scalars['String']['input'];
3361
+ /** 数据类型: text,QA */
3362
+ contentType: Scalars['String']['input'];
3347
3363
  /** chunk id */
3348
3364
  id: Scalars['String']['input'];
3349
3365
  };