@yuntijs/arcadia-bff-sdk 1.2.77 → 1.2.79

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
@@ -509,6 +509,23 @@ export type CreateKnowledgeBaseInput = {
509
509
  /** "向量数据库(目前不需要填写,直接使用系统默认的向量数据库) */
510
510
  vectorStore?: InputMaybe<TypedObjectReferenceInput>;
511
511
  };
512
+ export type CreateKnowledgeBasePrecisionTestingInput = {
513
+ /** knowledgebase知识库.由 namespace_name组成 */
514
+ knowledgebase: Scalars['String']['input'];
515
+ /** numDocuments 最终返回结果的引用上限 */
516
+ numDocuments: Scalars['Int']['input'];
517
+ /** 测试文本 */
518
+ query: Scalars['String']['input'];
519
+ /** scoreThreshold 最终返回结果的最低相似度 */
520
+ scoreThreshold: Scalars['Float']['input'];
521
+ /**
522
+ * 检索策略
523
+ * - hybrid
524
+ * - semantics
525
+ * - full-text
526
+ */
527
+ searchMode: Scalars['String']['input'];
528
+ };
512
529
  export type CreateKnowledgeBaseStructuredFileChunkInput = {
513
530
  content?: InputMaybe<Array<Scalars['String']['input']>>;
514
531
  /** knowledgebase知识库 */
@@ -1153,6 +1170,9 @@ export type DeleteKnowledgeBaseFileInput = {
1153
1170
  knowledgebase?: InputMaybe<Scalars['String']['input']>;
1154
1171
  source?: InputMaybe<Scalars['String']['input']>;
1155
1172
  };
1173
+ export type DeleteKnowledgeBasePrecisionTestingInput = {
1174
+ testIDs?: InputMaybe<Array<Scalars['String']['input']>>;
1175
+ };
1156
1176
  export type DeleteRagInput = {
1157
1177
  labelSelector?: InputMaybe<Scalars['String']['input']>;
1158
1178
  name: Scalars['String']['input'];
@@ -1164,6 +1184,13 @@ export type DeleteVersionedDatasetInput = {
1164
1184
  name?: InputMaybe<Scalars['String']['input']>;
1165
1185
  namespace: Scalars['String']['input'];
1166
1186
  };
1187
+ export type Document = {
1188
+ __typename?: 'Document';
1189
+ content: Scalars['String']['output'];
1190
+ rankScore?: Maybe<Scalars['Float']['output']>;
1191
+ rerankScore?: Maybe<Scalars['Float']['output']>;
1192
+ score?: Maybe<Scalars['Float']['output']>;
1193
+ };
1167
1194
  export type DuplicateRagInput = {
1168
1195
  displayName?: InputMaybe<Scalars['String']['input']>;
1169
1196
  name: Scalars['String']['input'];
@@ -1431,11 +1458,13 @@ export type KnowledgeBaseMutation = {
1431
1458
  createKnowledgeBase: KnowledgeBase;
1432
1459
  createKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
1433
1460
  createKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
1461
+ createKnowledgeBasePrecisionTesting: PrecisionTestingRecord;
1434
1462
  createKnowledgeBaseStructuredFileChunk?: Maybe<Scalars['Void']['output']>;
1435
1463
  createKnowledgeBaseStructuredFiles?: Maybe<Scalars['Void']['output']>;
1436
1464
  deleteKnowledgeBase?: Maybe<Scalars['Void']['output']>;
1437
1465
  deleteKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
1438
1466
  deleteKnowledgeBaseFiles?: Maybe<Scalars['Void']['output']>;
1467
+ deleteKnowledgeBasePrecisionTesting?: Maybe<Scalars['Void']['output']>;
1439
1468
  updateKnowledgeBase: KnowledgeBase;
1440
1469
  updateKnowledgeBaseFileChunk?: Maybe<Scalars['Void']['output']>;
1441
1470
  updateKnowledgeBaseStructuredFileChunk?: Maybe<Scalars['Void']['output']>;
@@ -1449,6 +1478,9 @@ export type KnowledgeBaseMutationCreateKnowledgeBaseFileChunkArgs = {
1449
1478
  export type KnowledgeBaseMutationCreateKnowledgeBaseFilesArgs = {
1450
1479
  input: CreateKnowledgeBaseFileInput;
1451
1480
  };
1481
+ export type KnowledgeBaseMutationCreateKnowledgeBasePrecisionTestingArgs = {
1482
+ input: CreateKnowledgeBasePrecisionTestingInput;
1483
+ };
1452
1484
  export type KnowledgeBaseMutationCreateKnowledgeBaseStructuredFileChunkArgs = {
1453
1485
  input: CreateKnowledgeBaseStructuredFileChunkInput;
1454
1486
  };
@@ -1464,6 +1496,9 @@ export type KnowledgeBaseMutationDeleteKnowledgeBaseFileChunkArgs = {
1464
1496
  export type KnowledgeBaseMutationDeleteKnowledgeBaseFilesArgs = {
1465
1497
  input: DeleteKnowledgeBaseFileInput;
1466
1498
  };
1499
+ export type KnowledgeBaseMutationDeleteKnowledgeBasePrecisionTestingArgs = {
1500
+ input: DeleteKnowledgeBasePrecisionTestingInput;
1501
+ };
1467
1502
  export type KnowledgeBaseMutationUpdateKnowledgeBaseArgs = {
1468
1503
  input?: InputMaybe<UpdateKnowledgeBaseInput>;
1469
1504
  };
@@ -1477,8 +1512,10 @@ export type KnowledgeBaseQuery = {
1477
1512
  __typename?: 'KnowledgeBaseQuery';
1478
1513
  getKnowledgeBase: KnowledgeBase;
1479
1514
  getKnowledgeBaseFile: KnowledgeBaseFile;
1515
+ getKnowledgeBasePrecisionTesting: PrecisionTestingRecord;
1480
1516
  listKnowledgeBaseFileChunks: PaginatedResult;
1481
1517
  listKnowledgeBaseFiles: PaginatedResult;
1518
+ listKnowledgeBasePrecisionTesting: PaginatedResult;
1482
1519
  listKnowledgeBaseStructuredFileChunks: PaginatedResult;
1483
1520
  listKnowledgeBases: PaginatedResult;
1484
1521
  showStructuredFileInfo: StructuredFileInfo;
@@ -1490,12 +1527,18 @@ export type KnowledgeBaseQueryGetKnowledgeBaseArgs = {
1490
1527
  export type KnowledgeBaseQueryGetKnowledgeBaseFileArgs = {
1491
1528
  id: Scalars['String']['input'];
1492
1529
  };
1530
+ export type KnowledgeBaseQueryGetKnowledgeBasePrecisionTestingArgs = {
1531
+ id: Scalars['String']['input'];
1532
+ };
1493
1533
  export type KnowledgeBaseQueryListKnowledgeBaseFileChunksArgs = {
1494
1534
  input: ListKnowledgeBaseFileChunksInput;
1495
1535
  };
1496
1536
  export type KnowledgeBaseQueryListKnowledgeBaseFilesArgs = {
1497
1537
  input: ListKnowledgeBaseFilesInput;
1498
1538
  };
1539
+ export type KnowledgeBaseQueryListKnowledgeBasePrecisionTestingArgs = {
1540
+ input: ListKnowledgeBasePrecisionTestingInput;
1541
+ };
1499
1542
  export type KnowledgeBaseQueryListKnowledgeBaseStructuredFileChunksArgs = {
1500
1543
  input: ListKnowledgeBaseStructuredFileChunksInput;
1501
1544
  };
@@ -1697,6 +1740,20 @@ export type ListKnowledgeBaseInput = {
1697
1740
  */
1698
1741
  pageSize?: InputMaybe<Scalars['Int']['input']>;
1699
1742
  };
1743
+ export type ListKnowledgeBasePrecisionTestingInput = {
1744
+ /** knowledgebase知识库.由 namespace_name组成 */
1745
+ knowledgebase: Scalars['String']['input'];
1746
+ /**
1747
+ * 分页页码,
1748
+ * 规则: 从1开始,默认是1
1749
+ */
1750
+ page?: InputMaybe<Scalars['Int']['input']>;
1751
+ /**
1752
+ * 每页数量,
1753
+ * 规则: 默认10
1754
+ */
1755
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1756
+ };
1700
1757
  export type ListKnowledgeBaseStructuredFileChunksInput = {
1701
1758
  /** 基于关键字检索相关chunk */
1702
1759
  keyword?: InputMaybe<Scalars['String']['input']>;
@@ -2121,7 +2178,7 @@ export type OssInput = {
2121
2178
  bucket: Scalars['String']['input'];
2122
2179
  object?: InputMaybe<Scalars['String']['input']>;
2123
2180
  };
2124
- export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | KnowledgeBaseFile | KnowledgeBaseFileChunk | KnowledgeBaseStructuredFileChunk | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | Sft | TuningDataSet | TuningVersionedDataset | TuningVersionedDatasetContent | TuningVersionedDatasetFiles | VersionedDataset | Worker | Workflow;
2181
+ export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | KnowledgeBaseFile | KnowledgeBaseFileChunk | KnowledgeBaseStructuredFileChunk | Llm | Model | ModelService | Node | Plugin | PrecisionTestingRecord | Rag | RayCluster | Reranker | Sft | TuningDataSet | TuningVersionedDataset | TuningVersionedDatasetContent | TuningVersionedDatasetFiles | VersionedDataset | Worker | Workflow;
2125
2182
  export type PaginatedDataProcessItem = {
2126
2183
  __typename?: 'PaginatedDataProcessItem';
2127
2184
  data?: Maybe<Array<DataProcessItem>>;
@@ -2300,6 +2357,15 @@ export type PluginQueryGetPluginArgs = {
2300
2357
  export type PluginQueryListPluginsArgs = {
2301
2358
  input: ListPluginInput;
2302
2359
  };
2360
+ export type PrecisionTestingRecord = {
2361
+ __typename?: 'PrecisionTestingRecord';
2362
+ createdAt?: Maybe<Scalars['Time']['output']>;
2363
+ documents?: Maybe<Array<Document>>;
2364
+ id: Scalars['String']['output'];
2365
+ query: Scalars['String']['output'];
2366
+ retrieverConfig: RetrieverConfig;
2367
+ timeCost: Scalars['Int']['output'];
2368
+ };
2303
2369
  export type Query = {
2304
2370
  __typename?: 'Query';
2305
2371
  Agent?: Maybe<AgentQuery>;
@@ -2581,6 +2647,20 @@ export type ResourcesInput = {
2581
2647
  /** gpu配置 */
2582
2648
  nvidiaGPU?: InputMaybe<Scalars['String']['input']>;
2583
2649
  };
2650
+ export type RetrieverConfig = {
2651
+ __typename?: 'RetrieverConfig';
2652
+ /** numDocuments 最终返回结果的引用上限 */
2653
+ numDocuments: Scalars['Int']['output'];
2654
+ /** scoreThreshold 最终返回结果的最低相似度 */
2655
+ scoreThreshold: Scalars['Float']['output'];
2656
+ /**
2657
+ * 检索策略
2658
+ * - hybrid
2659
+ * - semantics
2660
+ * - full-text
2661
+ */
2662
+ searchMode: Scalars['String']['output'];
2663
+ };
2584
2664
  export type Sft = {
2585
2665
  __typename?: 'SFT';
2586
2666
  /** SFT 微调任务的附加参数 */
@@ -2610,12 +2690,16 @@ export type Sft = {
2610
2690
  description?: Maybe<Scalars['String']['output']>;
2611
2691
  /** 展示名 */
2612
2692
  displayName?: Maybe<Scalars['String']['output']>;
2693
+ /** 合并完成时间:记录合并导出任务完成时间。未完成则该字段为空 */
2694
+ exportCompleteTimestamp?: Maybe<Scalars['Time']['output']>;
2613
2695
  /** 导出模型的描述 */
2614
2696
  exportDescription?: Maybe<Scalars['String']['output']>;
2615
2697
  /** 导出模型的展示名 */
2616
2698
  exportName: Scalars['String']['output'];
2617
2699
  /** 导出的分块大小 */
2618
2700
  exportPartSize?: Maybe<Scalars['Int']['output']>;
2701
+ /** 合并开始时间:记录合并导出任务开始的时间。未完成则该字段为空 */
2702
+ exportTimestamp?: Maybe<Scalars['Time']['output']>;
2619
2703
  /** 一些用于标记,选择的的标签 */
2620
2704
  labels?: Maybe<Scalars['Map']['output']>;
2621
2705
  /** SFT 微调节点亲合度配置 */
@@ -3249,20 +3333,20 @@ export type UpdateSftInput = {
3249
3333
  additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
3250
3334
  annotations?: InputMaybe<Scalars['Map']['input']>;
3251
3335
  baseModel?: InputMaybe<TypedObjectReferenceInput>;
3252
- datasets: Array<Scalars['String']['input']>;
3336
+ datasets?: InputMaybe<Array<Scalars['String']['input']>>;
3253
3337
  description?: InputMaybe<Scalars['String']['input']>;
3254
3338
  displayName?: InputMaybe<Scalars['String']['input']>;
3255
3339
  labels?: InputMaybe<Scalars['Map']['input']>;
3256
3340
  matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
3257
- metrics: Array<SftMetricInput>;
3341
+ metrics?: InputMaybe<Array<SftMetricInput>>;
3258
3342
  name: Scalars['String']['input'];
3259
3343
  namespace: Scalars['String']['input'];
3260
3344
  params?: InputMaybe<Array<Scalars['String']['input']>>;
3261
- resources: ResourcesInput;
3345
+ resources?: InputMaybe<ResourcesInput>;
3262
3346
  serviceAccountName?: InputMaybe<Scalars['String']['input']>;
3263
3347
  storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
3264
3348
  suspend?: InputMaybe<Scalars['Boolean']['input']>;
3265
- type: Scalars['String']['input'];
3349
+ type?: InputMaybe<Scalars['String']['input']>;
3266
3350
  };
3267
3351
  export type UpdateVersionedDatasetInput = {
3268
3352
  /** 传递方式同label */
@@ -3959,6 +4043,8 @@ export type GetAgentLatestReleaseInEachPlatformQuery = {
3959
4043
  __typename?: 'Node';
3960
4044
  } | {
3961
4045
  __typename?: 'Plugin';
4046
+ } | {
4047
+ __typename?: 'PrecisionTestingRecord';
3962
4048
  } | {
3963
4049
  __typename?: 'RAG';
3964
4050
  } | {
@@ -4047,6 +4133,8 @@ export type GetAgentReleaseHistoryQuery = {
4047
4133
  __typename?: 'Node';
4048
4134
  } | {
4049
4135
  __typename?: 'Plugin';
4136
+ } | {
4137
+ __typename?: 'PrecisionTestingRecord';
4050
4138
  } | {
4051
4139
  __typename?: 'RAG';
4052
4140
  } | {
@@ -4137,6 +4225,8 @@ export type ListAgentsQuery = {
4137
4225
  __typename?: 'Node';
4138
4226
  } | {
4139
4227
  __typename?: 'Plugin';
4228
+ } | {
4229
+ __typename?: 'PrecisionTestingRecord';
4140
4230
  } | {
4141
4231
  __typename?: 'RAG';
4142
4232
  } | {
@@ -4216,6 +4306,8 @@ export type ListAgentPromptQuery = {
4216
4306
  __typename?: 'Node';
4217
4307
  } | {
4218
4308
  __typename?: 'Plugin';
4309
+ } | {
4310
+ __typename?: 'PrecisionTestingRecord';
4219
4311
  } | {
4220
4312
  __typename?: 'RAG';
4221
4313
  } | {
@@ -4604,6 +4696,8 @@ export type ListDatasetsQuery = {
4604
4696
  __typename?: 'Node';
4605
4697
  } | {
4606
4698
  __typename?: 'Plugin';
4699
+ } | {
4700
+ __typename?: 'PrecisionTestingRecord';
4607
4701
  } | {
4608
4702
  __typename?: 'RAG';
4609
4703
  } | {
@@ -4665,6 +4759,8 @@ export type ListDatasetsQuery = {
4665
4759
  __typename?: 'Node';
4666
4760
  } | {
4667
4761
  __typename?: 'Plugin';
4762
+ } | {
4763
+ __typename?: 'PrecisionTestingRecord';
4668
4764
  } | {
4669
4765
  __typename?: 'RAG';
4670
4766
  } | {
@@ -4749,6 +4845,8 @@ export type GetDatasetQuery = {
4749
4845
  __typename?: 'Node';
4750
4846
  } | {
4751
4847
  __typename?: 'Plugin';
4848
+ } | {
4849
+ __typename?: 'PrecisionTestingRecord';
4752
4850
  } | {
4753
4851
  __typename?: 'RAG';
4754
4852
  } | {
@@ -5010,6 +5108,8 @@ export type ListDatasourcesQuery = {
5010
5108
  __typename: 'Node';
5011
5109
  } | {
5012
5110
  __typename: 'Plugin';
5111
+ } | {
5112
+ __typename: 'PrecisionTestingRecord';
5013
5113
  } | {
5014
5114
  __typename: 'RAG';
5015
5115
  } | {
@@ -5157,6 +5257,8 @@ export type ListEmbeddersQuery = {
5157
5257
  __typename?: 'Node';
5158
5258
  } | {
5159
5259
  __typename?: 'Plugin';
5260
+ } | {
5261
+ __typename?: 'PrecisionTestingRecord';
5160
5262
  } | {
5161
5263
  __typename?: 'RAG';
5162
5264
  } | {
@@ -5284,6 +5386,8 @@ export type ListKnowledgeBasesQuery = {
5284
5386
  __typename?: 'Node';
5285
5387
  } | {
5286
5388
  __typename?: 'Plugin';
5389
+ } | {
5390
+ __typename?: 'PrecisionTestingRecord';
5287
5391
  } | {
5288
5392
  __typename?: 'RAG';
5289
5393
  } | {
@@ -5558,6 +5662,8 @@ export type ListKnowledgeBaseFilesQuery = {
5558
5662
  __typename?: 'Node';
5559
5663
  } | {
5560
5664
  __typename?: 'Plugin';
5665
+ } | {
5666
+ __typename?: 'PrecisionTestingRecord';
5561
5667
  } | {
5562
5668
  __typename?: 'RAG';
5563
5669
  } | {
@@ -5667,6 +5773,8 @@ export type ListKnowledgeBaseFileChunksQuery = {
5667
5773
  __typename?: 'Node';
5668
5774
  } | {
5669
5775
  __typename?: 'Plugin';
5776
+ } | {
5777
+ __typename?: 'PrecisionTestingRecord';
5670
5778
  } | {
5671
5779
  __typename?: 'RAG';
5672
5780
  } | {
@@ -5793,6 +5901,166 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
5793
5901
  __typename?: 'Node';
5794
5902
  } | {
5795
5903
  __typename?: 'Plugin';
5904
+ } | {
5905
+ __typename?: 'PrecisionTestingRecord';
5906
+ } | {
5907
+ __typename?: 'RAG';
5908
+ } | {
5909
+ __typename?: 'RayCluster';
5910
+ } | {
5911
+ __typename?: 'Reranker';
5912
+ } | {
5913
+ __typename?: 'SFT';
5914
+ } | {
5915
+ __typename?: 'TuningDataSet';
5916
+ } | {
5917
+ __typename?: 'TuningVersionedDataset';
5918
+ } | {
5919
+ __typename?: 'TuningVersionedDatasetContent';
5920
+ } | {
5921
+ __typename?: 'TuningVersionedDatasetFiles';
5922
+ } | {
5923
+ __typename?: 'VersionedDataset';
5924
+ } | {
5925
+ __typename?: 'Worker';
5926
+ } | {
5927
+ __typename?: 'Workflow';
5928
+ }> | null;
5929
+ };
5930
+ } | null;
5931
+ };
5932
+ export type CreateKnowledgeBasePrecisionTestingMutationVariables = Exact<{
5933
+ input: CreateKnowledgeBasePrecisionTestingInput;
5934
+ }>;
5935
+ export type CreateKnowledgeBasePrecisionTestingMutation = {
5936
+ __typename?: 'Mutation';
5937
+ KnowledgeBase?: {
5938
+ __typename?: 'KnowledgeBaseMutation';
5939
+ createKnowledgeBasePrecisionTesting: {
5940
+ __typename?: 'PrecisionTestingRecord';
5941
+ id: string;
5942
+ createdAt?: any | null;
5943
+ query: string;
5944
+ timeCost: number;
5945
+ retrieverConfig: {
5946
+ __typename?: 'RetrieverConfig';
5947
+ searchMode: string;
5948
+ scoreThreshold: number;
5949
+ numDocuments: number;
5950
+ };
5951
+ documents?: Array<{
5952
+ __typename?: 'Document';
5953
+ content: string;
5954
+ score?: number | null;
5955
+ rankScore?: number | null;
5956
+ rerankScore?: number | null;
5957
+ }> | null;
5958
+ };
5959
+ } | null;
5960
+ };
5961
+ export type DeleteKnowledgeBasePrecisionTestingMutationVariables = Exact<{
5962
+ input: DeleteKnowledgeBasePrecisionTestingInput;
5963
+ }>;
5964
+ export type DeleteKnowledgeBasePrecisionTestingMutation = {
5965
+ __typename?: 'Mutation';
5966
+ KnowledgeBase?: {
5967
+ __typename?: 'KnowledgeBaseMutation';
5968
+ deleteKnowledgeBasePrecisionTesting?: any | null;
5969
+ } | null;
5970
+ };
5971
+ export type GetKnowledgeBasePrecisionTestingQueryVariables = Exact<{
5972
+ id: Scalars['String']['input'];
5973
+ }>;
5974
+ export type GetKnowledgeBasePrecisionTestingQuery = {
5975
+ __typename?: 'Query';
5976
+ KnowledgeBase?: {
5977
+ __typename?: 'KnowledgeBaseQuery';
5978
+ getKnowledgeBasePrecisionTesting: {
5979
+ __typename?: 'PrecisionTestingRecord';
5980
+ id: string;
5981
+ createdAt?: any | null;
5982
+ query: string;
5983
+ timeCost: number;
5984
+ retrieverConfig: {
5985
+ __typename?: 'RetrieverConfig';
5986
+ searchMode: string;
5987
+ scoreThreshold: number;
5988
+ numDocuments: number;
5989
+ };
5990
+ documents?: Array<{
5991
+ __typename?: 'Document';
5992
+ content: string;
5993
+ score?: number | null;
5994
+ rankScore?: number | null;
5995
+ rerankScore?: number | null;
5996
+ }> | null;
5997
+ };
5998
+ } | null;
5999
+ };
6000
+ export type ListKnowledgeBasePrecisionTestingQueryVariables = Exact<{
6001
+ input: ListKnowledgeBasePrecisionTestingInput;
6002
+ }>;
6003
+ export type ListKnowledgeBasePrecisionTestingQuery = {
6004
+ __typename?: 'Query';
6005
+ KnowledgeBase?: {
6006
+ __typename?: 'KnowledgeBaseQuery';
6007
+ listKnowledgeBasePrecisionTesting: {
6008
+ __typename?: 'PaginatedResult';
6009
+ totalCount: number;
6010
+ hasNextPage: boolean;
6011
+ nodes?: Array<{
6012
+ __typename?: 'AgentMetadata';
6013
+ } | {
6014
+ __typename?: 'AgentPrompt';
6015
+ } | {
6016
+ __typename?: 'AgentRelease';
6017
+ } | {
6018
+ __typename?: 'AgentReleaseHistory';
6019
+ } | {
6020
+ __typename?: 'Dataset';
6021
+ } | {
6022
+ __typename?: 'Datasource';
6023
+ } | {
6024
+ __typename?: 'Embedder';
6025
+ } | {
6026
+ __typename?: 'F';
6027
+ } | {
6028
+ __typename?: 'KnowledgeBase';
6029
+ } | {
6030
+ __typename?: 'KnowledgeBaseFile';
6031
+ } | {
6032
+ __typename?: 'KnowledgeBaseFileChunk';
6033
+ } | {
6034
+ __typename?: 'KnowledgeBaseStructuredFileChunk';
6035
+ } | {
6036
+ __typename?: 'LLM';
6037
+ } | {
6038
+ __typename?: 'Model';
6039
+ } | {
6040
+ __typename?: 'ModelService';
6041
+ } | {
6042
+ __typename?: 'Node';
6043
+ } | {
6044
+ __typename?: 'Plugin';
6045
+ } | {
6046
+ __typename?: 'PrecisionTestingRecord';
6047
+ id: string;
6048
+ createdAt?: any | null;
6049
+ query: string;
6050
+ timeCost: number;
6051
+ retrieverConfig: {
6052
+ __typename?: 'RetrieverConfig';
6053
+ searchMode: string;
6054
+ scoreThreshold: number;
6055
+ numDocuments: number;
6056
+ };
6057
+ documents?: Array<{
6058
+ __typename?: 'Document';
6059
+ content: string;
6060
+ score?: number | null;
6061
+ rankScore?: number | null;
6062
+ rerankScore?: number | null;
6063
+ }> | null;
5796
6064
  } | {
5797
6065
  __typename?: 'RAG';
5798
6066
  } | {
@@ -5877,6 +6145,8 @@ export type ListLlMsQuery = {
5877
6145
  __typename?: 'Node';
5878
6146
  } | {
5879
6147
  __typename?: 'Plugin';
6148
+ } | {
6149
+ __typename?: 'PrecisionTestingRecord';
5880
6150
  } | {
5881
6151
  __typename?: 'RAG';
5882
6152
  } | {
@@ -6031,6 +6301,8 @@ export type ListModelsQuery = {
6031
6301
  __typename?: 'Node';
6032
6302
  } | {
6033
6303
  __typename?: 'Plugin';
6304
+ } | {
6305
+ __typename?: 'PrecisionTestingRecord';
6034
6306
  } | {
6035
6307
  __typename?: 'RAG';
6036
6308
  } | {
@@ -6061,6 +6333,8 @@ export type ListModelsQuery = {
6061
6333
  __typename: 'Node';
6062
6334
  } | {
6063
6335
  __typename: 'Plugin';
6336
+ } | {
6337
+ __typename: 'PrecisionTestingRecord';
6064
6338
  } | {
6065
6339
  __typename: 'RAG';
6066
6340
  } | {
@@ -6160,6 +6434,8 @@ export type GetModelQuery = {
6160
6434
  __typename?: 'Node';
6161
6435
  } | {
6162
6436
  __typename?: 'Plugin';
6437
+ } | {
6438
+ __typename?: 'PrecisionTestingRecord';
6163
6439
  } | {
6164
6440
  __typename?: 'RAG';
6165
6441
  } | {
@@ -6429,6 +6705,8 @@ export type ListModelServicesQuery = {
6429
6705
  __typename: 'Node';
6430
6706
  } | {
6431
6707
  __typename: 'Plugin';
6708
+ } | {
6709
+ __typename: 'PrecisionTestingRecord';
6432
6710
  } | {
6433
6711
  __typename: 'RAG';
6434
6712
  } | {
@@ -6538,6 +6816,8 @@ export type ListNodesQuery = {
6538
6816
  labels?: any | null;
6539
6817
  } | {
6540
6818
  __typename: 'Plugin';
6819
+ } | {
6820
+ __typename: 'PrecisionTestingRecord';
6541
6821
  } | {
6542
6822
  __typename: 'RAG';
6543
6823
  } | {
@@ -6632,6 +6912,8 @@ export type ListPluginsQuery = {
6632
6912
  name: string;
6633
6913
  token: string;
6634
6914
  } | null;
6915
+ } | {
6916
+ __typename: 'PrecisionTestingRecord';
6635
6917
  } | {
6636
6918
  __typename: 'RAG';
6637
6919
  } | {
@@ -6834,6 +7116,8 @@ export type ListRagQuery = {
6834
7116
  __typename?: 'Node';
6835
7117
  } | {
6836
7118
  __typename?: 'Plugin';
7119
+ } | {
7120
+ __typename?: 'PrecisionTestingRecord';
6837
7121
  } | {
6838
7122
  __typename?: 'RAG';
6839
7123
  name: string;
@@ -7260,6 +7544,8 @@ export type ListRayClustersQuery = {
7260
7544
  __typename: 'Node';
7261
7545
  } | {
7262
7546
  __typename: 'Plugin';
7547
+ } | {
7548
+ __typename: 'PrecisionTestingRecord';
7263
7549
  } | {
7264
7550
  __typename: 'RAG';
7265
7551
  } | {
@@ -7336,6 +7622,8 @@ export type ListRerankersQuery = {
7336
7622
  __typename?: 'Node';
7337
7623
  } | {
7338
7624
  __typename?: 'Plugin';
7625
+ } | {
7626
+ __typename?: 'PrecisionTestingRecord';
7339
7627
  } | {
7340
7628
  __typename?: 'RAG';
7341
7629
  } | {
@@ -7444,6 +7732,8 @@ export type ListTuningDataSetQuery = {
7444
7732
  __typename?: 'Node';
7445
7733
  } | {
7446
7734
  __typename?: 'Plugin';
7735
+ } | {
7736
+ __typename?: 'PrecisionTestingRecord';
7447
7737
  } | {
7448
7738
  __typename?: 'RAG';
7449
7739
  } | {
@@ -7498,6 +7788,8 @@ export type ListTuningDataSetQuery = {
7498
7788
  __typename?: 'Node';
7499
7789
  } | {
7500
7790
  __typename?: 'Plugin';
7791
+ } | {
7792
+ __typename?: 'PrecisionTestingRecord';
7501
7793
  } | {
7502
7794
  __typename?: 'RAG';
7503
7795
  } | {
@@ -7598,6 +7890,8 @@ export type GetTuningDataSetQuery = {
7598
7890
  __typename?: 'Node';
7599
7891
  } | {
7600
7892
  __typename?: 'Plugin';
7893
+ } | {
7894
+ __typename?: 'PrecisionTestingRecord';
7601
7895
  } | {
7602
7896
  __typename?: 'RAG';
7603
7897
  } | {
@@ -7685,6 +7979,8 @@ export type GetVersionQuery = {
7685
7979
  __typename?: 'Node';
7686
7980
  } | {
7687
7981
  __typename?: 'Plugin';
7982
+ } | {
7983
+ __typename?: 'PrecisionTestingRecord';
7688
7984
  } | {
7689
7985
  __typename?: 'RAG';
7690
7986
  } | {
@@ -7765,6 +8061,8 @@ export type GetVersionContentQuery = {
7765
8061
  __typename?: 'Node';
7766
8062
  } | {
7767
8063
  __typename?: 'Plugin';
8064
+ } | {
8065
+ __typename?: 'PrecisionTestingRecord';
7768
8066
  } | {
7769
8067
  __typename?: 'RAG';
7770
8068
  } | {
@@ -7953,6 +8251,8 @@ export type ListSftQuery = {
7953
8251
  __typename?: 'Node';
7954
8252
  } | {
7955
8253
  __typename?: 'Plugin';
8254
+ } | {
8255
+ __typename?: 'PrecisionTestingRecord';
7956
8256
  } | {
7957
8257
  __typename?: 'RAG';
7958
8258
  } | {
@@ -7970,6 +8270,8 @@ export type ListSftQuery = {
7970
8270
  description?: string | null;
7971
8271
  creationTimestamp?: any | null;
7972
8272
  completeTimestamp?: any | null;
8273
+ exportTimestamp?: any | null;
8274
+ exportCompleteTimestamp?: any | null;
7973
8275
  type: string;
7974
8276
  serviceAccountName: string;
7975
8277
  suspend: boolean;
@@ -8092,6 +8394,8 @@ export type GetSftQuery = {
8092
8394
  description?: string | null;
8093
8395
  creationTimestamp?: any | null;
8094
8396
  completeTimestamp?: any | null;
8397
+ exportTimestamp?: any | null;
8398
+ exportCompleteTimestamp?: any | null;
8095
8399
  type: string;
8096
8400
  serviceAccountName: string;
8097
8401
  suspend: boolean;
@@ -8246,6 +8550,8 @@ export type CreateSftMutation = {
8246
8550
  description?: string | null;
8247
8551
  creationTimestamp?: any | null;
8248
8552
  completeTimestamp?: any | null;
8553
+ exportTimestamp?: any | null;
8554
+ exportCompleteTimestamp?: any | null;
8249
8555
  type: string;
8250
8556
  serviceAccountName: string;
8251
8557
  suspend: boolean;
@@ -8349,6 +8655,8 @@ export type UpdateSftMutation = {
8349
8655
  description?: string | null;
8350
8656
  creationTimestamp?: any | null;
8351
8657
  completeTimestamp?: any | null;
8658
+ exportTimestamp?: any | null;
8659
+ exportCompleteTimestamp?: any | null;
8352
8660
  type: string;
8353
8661
  serviceAccountName: string;
8354
8662
  suspend: boolean;
@@ -8573,6 +8881,8 @@ export type GetVersionedDatasetQuery = {
8573
8881
  __typename?: 'Node';
8574
8882
  } | {
8575
8883
  __typename?: 'Plugin';
8884
+ } | {
8885
+ __typename?: 'PrecisionTestingRecord';
8576
8886
  } | {
8577
8887
  __typename?: 'RAG';
8578
8888
  } | {
@@ -8646,6 +8956,8 @@ export type ListVersionedDatasetsQuery = {
8646
8956
  __typename?: 'Node';
8647
8957
  } | {
8648
8958
  __typename?: 'Plugin';
8959
+ } | {
8960
+ __typename?: 'PrecisionTestingRecord';
8649
8961
  } | {
8650
8962
  __typename?: 'RAG';
8651
8963
  } | {
@@ -8724,6 +9036,8 @@ export type ListVersionedDatasetsQuery = {
8724
9036
  __typename?: 'Node';
8725
9037
  } | {
8726
9038
  __typename?: 'Plugin';
9039
+ } | {
9040
+ __typename?: 'PrecisionTestingRecord';
8727
9041
  } | {
8728
9042
  __typename?: 'RAG';
8729
9043
  } | {
@@ -8801,6 +9115,8 @@ export type ListWorkersQuery = {
8801
9115
  __typename: 'Node';
8802
9116
  } | {
8803
9117
  __typename: 'Plugin';
9118
+ } | {
9119
+ __typename: 'PrecisionTestingRecord';
8804
9120
  } | {
8805
9121
  __typename: 'RAG';
8806
9122
  } | {
@@ -9092,6 +9408,8 @@ export type ListWorkflowsQuery = {
9092
9408
  __typename: 'Node';
9093
9409
  } | {
9094
9410
  __typename: 'Plugin';
9411
+ } | {
9412
+ __typename: 'PrecisionTestingRecord';
9095
9413
  } | {
9096
9414
  __typename: 'RAG';
9097
9415
  } | {
@@ -9297,6 +9615,10 @@ export declare const CreateKnowledgeBaseStructuredFilesDocument: import("../node
9297
9615
  export declare const CreateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9298
9616
  export declare const UpdateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9299
9617
  export declare const ListKnowledgeBaseStructuredFileChunksDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9618
+ export declare const CreateKnowledgeBasePrecisionTestingDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9619
+ export declare const DeleteKnowledgeBasePrecisionTestingDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9620
+ export declare const GetKnowledgeBasePrecisionTestingDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9621
+ export declare const ListKnowledgeBasePrecisionTestingDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9300
9622
  export declare const ListLlMsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9301
9623
  export declare const GetLlmDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9302
9624
  export declare const ListModelsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -9427,6 +9749,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
9427
9749
  createKnowledgeBaseStructuredFileChunk(variables: CreateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFileChunkMutation>;
9428
9750
  updateKnowledgeBaseStructuredFileChunk(variables: UpdateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseStructuredFileChunkMutation>;
9429
9751
  listKnowledgeBaseStructuredFileChunks(variables: ListKnowledgeBaseStructuredFileChunksQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBaseStructuredFileChunksQuery>;
9752
+ createKnowledgeBasePrecisionTesting(variables: CreateKnowledgeBasePrecisionTestingMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBasePrecisionTestingMutation>;
9753
+ deleteKnowledgeBasePrecisionTesting(variables: DeleteKnowledgeBasePrecisionTestingMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteKnowledgeBasePrecisionTestingMutation>;
9754
+ getKnowledgeBasePrecisionTesting(variables: GetKnowledgeBasePrecisionTestingQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetKnowledgeBasePrecisionTestingQuery>;
9755
+ listKnowledgeBasePrecisionTesting(variables: ListKnowledgeBasePrecisionTestingQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBasePrecisionTestingQuery>;
9430
9756
  listLLMs(variables: ListLlMsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListLlMsQuery>;
9431
9757
  getLLM(variables: GetLlmQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetLlmQuery>;
9432
9758
  listModels(variables: ListModelsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListModelsQuery>;
@@ -9528,6 +9854,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
9528
9854
  useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
9529
9855
  useShowStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, config?: SWRConfigInterface<ShowStructuredFileInfoQuery, ClientError>): import("./useSWR").SWRResponsePro<ShowStructuredFileInfoQuery, ClientError>;
9530
9856
  useListKnowledgeBaseStructuredFileChunks(variables: ListKnowledgeBaseStructuredFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseStructuredFileChunksQuery, ClientError>;
9857
+ useGetKnowledgeBasePrecisionTesting(variables: GetKnowledgeBasePrecisionTestingQueryVariables, config?: SWRConfigInterface<GetKnowledgeBasePrecisionTestingQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBasePrecisionTestingQuery, ClientError>;
9858
+ useListKnowledgeBasePrecisionTesting(variables: ListKnowledgeBasePrecisionTestingQueryVariables, config?: SWRConfigInterface<ListKnowledgeBasePrecisionTestingQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBasePrecisionTestingQuery, ClientError>;
9531
9859
  useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
9532
9860
  useGetLlm(variables: GetLlmQueryVariables, config?: SWRConfigInterface<GetLlmQuery, ClientError>): import("./useSWR").SWRResponsePro<GetLlmQuery, ClientError>;
9533
9861
  useListModels(variables: ListModelsQueryVariables, config?: SWRConfigInterface<ListModelsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListModelsQuery, ClientError>;
@@ -9760,6 +10088,18 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
9760
10088
  listKnowledgeBaseStructuredFileChunks(variables: Exact<{
9761
10089
  input: ListKnowledgeBaseStructuredFileChunksInput;
9762
10090
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBaseStructuredFileChunksQuery>;
10091
+ createKnowledgeBasePrecisionTesting(variables: Exact<{
10092
+ input: CreateKnowledgeBasePrecisionTestingInput;
10093
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateKnowledgeBasePrecisionTestingMutation>;
10094
+ deleteKnowledgeBasePrecisionTesting(variables: Exact<{
10095
+ input: DeleteKnowledgeBasePrecisionTestingInput;
10096
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteKnowledgeBasePrecisionTestingMutation>;
10097
+ getKnowledgeBasePrecisionTesting(variables: Exact<{
10098
+ id: string;
10099
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetKnowledgeBasePrecisionTestingQuery>;
10100
+ listKnowledgeBasePrecisionTesting(variables: Exact<{
10101
+ input: ListKnowledgeBasePrecisionTestingInput;
10102
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBasePrecisionTestingQuery>;
9763
10103
  listLLMs(variables: Exact<{
9764
10104
  input: ListCommonInput;
9765
10105
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListLlMsQuery>;