@yuntijs/arcadia-bff-sdk 1.2.78 → 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 微调任务的附加参数 */
@@ -3963,6 +4043,8 @@ export type GetAgentLatestReleaseInEachPlatformQuery = {
3963
4043
  __typename?: 'Node';
3964
4044
  } | {
3965
4045
  __typename?: 'Plugin';
4046
+ } | {
4047
+ __typename?: 'PrecisionTestingRecord';
3966
4048
  } | {
3967
4049
  __typename?: 'RAG';
3968
4050
  } | {
@@ -4051,6 +4133,8 @@ export type GetAgentReleaseHistoryQuery = {
4051
4133
  __typename?: 'Node';
4052
4134
  } | {
4053
4135
  __typename?: 'Plugin';
4136
+ } | {
4137
+ __typename?: 'PrecisionTestingRecord';
4054
4138
  } | {
4055
4139
  __typename?: 'RAG';
4056
4140
  } | {
@@ -4141,6 +4225,8 @@ export type ListAgentsQuery = {
4141
4225
  __typename?: 'Node';
4142
4226
  } | {
4143
4227
  __typename?: 'Plugin';
4228
+ } | {
4229
+ __typename?: 'PrecisionTestingRecord';
4144
4230
  } | {
4145
4231
  __typename?: 'RAG';
4146
4232
  } | {
@@ -4220,6 +4306,8 @@ export type ListAgentPromptQuery = {
4220
4306
  __typename?: 'Node';
4221
4307
  } | {
4222
4308
  __typename?: 'Plugin';
4309
+ } | {
4310
+ __typename?: 'PrecisionTestingRecord';
4223
4311
  } | {
4224
4312
  __typename?: 'RAG';
4225
4313
  } | {
@@ -4608,6 +4696,8 @@ export type ListDatasetsQuery = {
4608
4696
  __typename?: 'Node';
4609
4697
  } | {
4610
4698
  __typename?: 'Plugin';
4699
+ } | {
4700
+ __typename?: 'PrecisionTestingRecord';
4611
4701
  } | {
4612
4702
  __typename?: 'RAG';
4613
4703
  } | {
@@ -4669,6 +4759,8 @@ export type ListDatasetsQuery = {
4669
4759
  __typename?: 'Node';
4670
4760
  } | {
4671
4761
  __typename?: 'Plugin';
4762
+ } | {
4763
+ __typename?: 'PrecisionTestingRecord';
4672
4764
  } | {
4673
4765
  __typename?: 'RAG';
4674
4766
  } | {
@@ -4753,6 +4845,8 @@ export type GetDatasetQuery = {
4753
4845
  __typename?: 'Node';
4754
4846
  } | {
4755
4847
  __typename?: 'Plugin';
4848
+ } | {
4849
+ __typename?: 'PrecisionTestingRecord';
4756
4850
  } | {
4757
4851
  __typename?: 'RAG';
4758
4852
  } | {
@@ -5014,6 +5108,8 @@ export type ListDatasourcesQuery = {
5014
5108
  __typename: 'Node';
5015
5109
  } | {
5016
5110
  __typename: 'Plugin';
5111
+ } | {
5112
+ __typename: 'PrecisionTestingRecord';
5017
5113
  } | {
5018
5114
  __typename: 'RAG';
5019
5115
  } | {
@@ -5161,6 +5257,8 @@ export type ListEmbeddersQuery = {
5161
5257
  __typename?: 'Node';
5162
5258
  } | {
5163
5259
  __typename?: 'Plugin';
5260
+ } | {
5261
+ __typename?: 'PrecisionTestingRecord';
5164
5262
  } | {
5165
5263
  __typename?: 'RAG';
5166
5264
  } | {
@@ -5288,6 +5386,8 @@ export type ListKnowledgeBasesQuery = {
5288
5386
  __typename?: 'Node';
5289
5387
  } | {
5290
5388
  __typename?: 'Plugin';
5389
+ } | {
5390
+ __typename?: 'PrecisionTestingRecord';
5291
5391
  } | {
5292
5392
  __typename?: 'RAG';
5293
5393
  } | {
@@ -5562,6 +5662,8 @@ export type ListKnowledgeBaseFilesQuery = {
5562
5662
  __typename?: 'Node';
5563
5663
  } | {
5564
5664
  __typename?: 'Plugin';
5665
+ } | {
5666
+ __typename?: 'PrecisionTestingRecord';
5565
5667
  } | {
5566
5668
  __typename?: 'RAG';
5567
5669
  } | {
@@ -5671,6 +5773,8 @@ export type ListKnowledgeBaseFileChunksQuery = {
5671
5773
  __typename?: 'Node';
5672
5774
  } | {
5673
5775
  __typename?: 'Plugin';
5776
+ } | {
5777
+ __typename?: 'PrecisionTestingRecord';
5674
5778
  } | {
5675
5779
  __typename?: 'RAG';
5676
5780
  } | {
@@ -5797,6 +5901,166 @@ export type ListKnowledgeBaseStructuredFileChunksQuery = {
5797
5901
  __typename?: 'Node';
5798
5902
  } | {
5799
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;
5800
6064
  } | {
5801
6065
  __typename?: 'RAG';
5802
6066
  } | {
@@ -5881,6 +6145,8 @@ export type ListLlMsQuery = {
5881
6145
  __typename?: 'Node';
5882
6146
  } | {
5883
6147
  __typename?: 'Plugin';
6148
+ } | {
6149
+ __typename?: 'PrecisionTestingRecord';
5884
6150
  } | {
5885
6151
  __typename?: 'RAG';
5886
6152
  } | {
@@ -6035,6 +6301,8 @@ export type ListModelsQuery = {
6035
6301
  __typename?: 'Node';
6036
6302
  } | {
6037
6303
  __typename?: 'Plugin';
6304
+ } | {
6305
+ __typename?: 'PrecisionTestingRecord';
6038
6306
  } | {
6039
6307
  __typename?: 'RAG';
6040
6308
  } | {
@@ -6065,6 +6333,8 @@ export type ListModelsQuery = {
6065
6333
  __typename: 'Node';
6066
6334
  } | {
6067
6335
  __typename: 'Plugin';
6336
+ } | {
6337
+ __typename: 'PrecisionTestingRecord';
6068
6338
  } | {
6069
6339
  __typename: 'RAG';
6070
6340
  } | {
@@ -6164,6 +6434,8 @@ export type GetModelQuery = {
6164
6434
  __typename?: 'Node';
6165
6435
  } | {
6166
6436
  __typename?: 'Plugin';
6437
+ } | {
6438
+ __typename?: 'PrecisionTestingRecord';
6167
6439
  } | {
6168
6440
  __typename?: 'RAG';
6169
6441
  } | {
@@ -6433,6 +6705,8 @@ export type ListModelServicesQuery = {
6433
6705
  __typename: 'Node';
6434
6706
  } | {
6435
6707
  __typename: 'Plugin';
6708
+ } | {
6709
+ __typename: 'PrecisionTestingRecord';
6436
6710
  } | {
6437
6711
  __typename: 'RAG';
6438
6712
  } | {
@@ -6542,6 +6816,8 @@ export type ListNodesQuery = {
6542
6816
  labels?: any | null;
6543
6817
  } | {
6544
6818
  __typename: 'Plugin';
6819
+ } | {
6820
+ __typename: 'PrecisionTestingRecord';
6545
6821
  } | {
6546
6822
  __typename: 'RAG';
6547
6823
  } | {
@@ -6636,6 +6912,8 @@ export type ListPluginsQuery = {
6636
6912
  name: string;
6637
6913
  token: string;
6638
6914
  } | null;
6915
+ } | {
6916
+ __typename: 'PrecisionTestingRecord';
6639
6917
  } | {
6640
6918
  __typename: 'RAG';
6641
6919
  } | {
@@ -6838,6 +7116,8 @@ export type ListRagQuery = {
6838
7116
  __typename?: 'Node';
6839
7117
  } | {
6840
7118
  __typename?: 'Plugin';
7119
+ } | {
7120
+ __typename?: 'PrecisionTestingRecord';
6841
7121
  } | {
6842
7122
  __typename?: 'RAG';
6843
7123
  name: string;
@@ -7264,6 +7544,8 @@ export type ListRayClustersQuery = {
7264
7544
  __typename: 'Node';
7265
7545
  } | {
7266
7546
  __typename: 'Plugin';
7547
+ } | {
7548
+ __typename: 'PrecisionTestingRecord';
7267
7549
  } | {
7268
7550
  __typename: 'RAG';
7269
7551
  } | {
@@ -7340,6 +7622,8 @@ export type ListRerankersQuery = {
7340
7622
  __typename?: 'Node';
7341
7623
  } | {
7342
7624
  __typename?: 'Plugin';
7625
+ } | {
7626
+ __typename?: 'PrecisionTestingRecord';
7343
7627
  } | {
7344
7628
  __typename?: 'RAG';
7345
7629
  } | {
@@ -7448,6 +7732,8 @@ export type ListTuningDataSetQuery = {
7448
7732
  __typename?: 'Node';
7449
7733
  } | {
7450
7734
  __typename?: 'Plugin';
7735
+ } | {
7736
+ __typename?: 'PrecisionTestingRecord';
7451
7737
  } | {
7452
7738
  __typename?: 'RAG';
7453
7739
  } | {
@@ -7502,6 +7788,8 @@ export type ListTuningDataSetQuery = {
7502
7788
  __typename?: 'Node';
7503
7789
  } | {
7504
7790
  __typename?: 'Plugin';
7791
+ } | {
7792
+ __typename?: 'PrecisionTestingRecord';
7505
7793
  } | {
7506
7794
  __typename?: 'RAG';
7507
7795
  } | {
@@ -7602,6 +7890,8 @@ export type GetTuningDataSetQuery = {
7602
7890
  __typename?: 'Node';
7603
7891
  } | {
7604
7892
  __typename?: 'Plugin';
7893
+ } | {
7894
+ __typename?: 'PrecisionTestingRecord';
7605
7895
  } | {
7606
7896
  __typename?: 'RAG';
7607
7897
  } | {
@@ -7689,6 +7979,8 @@ export type GetVersionQuery = {
7689
7979
  __typename?: 'Node';
7690
7980
  } | {
7691
7981
  __typename?: 'Plugin';
7982
+ } | {
7983
+ __typename?: 'PrecisionTestingRecord';
7692
7984
  } | {
7693
7985
  __typename?: 'RAG';
7694
7986
  } | {
@@ -7769,6 +8061,8 @@ export type GetVersionContentQuery = {
7769
8061
  __typename?: 'Node';
7770
8062
  } | {
7771
8063
  __typename?: 'Plugin';
8064
+ } | {
8065
+ __typename?: 'PrecisionTestingRecord';
7772
8066
  } | {
7773
8067
  __typename?: 'RAG';
7774
8068
  } | {
@@ -7957,6 +8251,8 @@ export type ListSftQuery = {
7957
8251
  __typename?: 'Node';
7958
8252
  } | {
7959
8253
  __typename?: 'Plugin';
8254
+ } | {
8255
+ __typename?: 'PrecisionTestingRecord';
7960
8256
  } | {
7961
8257
  __typename?: 'RAG';
7962
8258
  } | {
@@ -8585,6 +8881,8 @@ export type GetVersionedDatasetQuery = {
8585
8881
  __typename?: 'Node';
8586
8882
  } | {
8587
8883
  __typename?: 'Plugin';
8884
+ } | {
8885
+ __typename?: 'PrecisionTestingRecord';
8588
8886
  } | {
8589
8887
  __typename?: 'RAG';
8590
8888
  } | {
@@ -8658,6 +8956,8 @@ export type ListVersionedDatasetsQuery = {
8658
8956
  __typename?: 'Node';
8659
8957
  } | {
8660
8958
  __typename?: 'Plugin';
8959
+ } | {
8960
+ __typename?: 'PrecisionTestingRecord';
8661
8961
  } | {
8662
8962
  __typename?: 'RAG';
8663
8963
  } | {
@@ -8736,6 +9036,8 @@ export type ListVersionedDatasetsQuery = {
8736
9036
  __typename?: 'Node';
8737
9037
  } | {
8738
9038
  __typename?: 'Plugin';
9039
+ } | {
9040
+ __typename?: 'PrecisionTestingRecord';
8739
9041
  } | {
8740
9042
  __typename?: 'RAG';
8741
9043
  } | {
@@ -8813,6 +9115,8 @@ export type ListWorkersQuery = {
8813
9115
  __typename: 'Node';
8814
9116
  } | {
8815
9117
  __typename: 'Plugin';
9118
+ } | {
9119
+ __typename: 'PrecisionTestingRecord';
8816
9120
  } | {
8817
9121
  __typename: 'RAG';
8818
9122
  } | {
@@ -9104,6 +9408,8 @@ export type ListWorkflowsQuery = {
9104
9408
  __typename: 'Node';
9105
9409
  } | {
9106
9410
  __typename: 'Plugin';
9411
+ } | {
9412
+ __typename: 'PrecisionTestingRecord';
9107
9413
  } | {
9108
9414
  __typename: 'RAG';
9109
9415
  } | {
@@ -9309,6 +9615,10 @@ export declare const CreateKnowledgeBaseStructuredFilesDocument: import("../node
9309
9615
  export declare const CreateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9310
9616
  export declare const UpdateKnowledgeBaseStructuredFileChunkDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9311
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;
9312
9622
  export declare const ListLlMsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9313
9623
  export declare const GetLlmDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
9314
9624
  export declare const ListModelsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -9439,6 +9749,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
9439
9749
  createKnowledgeBaseStructuredFileChunk(variables: CreateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseStructuredFileChunkMutation>;
9440
9750
  updateKnowledgeBaseStructuredFileChunk(variables: UpdateKnowledgeBaseStructuredFileChunkMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateKnowledgeBaseStructuredFileChunkMutation>;
9441
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>;
9442
9756
  listLLMs(variables: ListLlMsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListLlMsQuery>;
9443
9757
  getLLM(variables: GetLlmQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetLlmQuery>;
9444
9758
  listModels(variables: ListModelsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListModelsQuery>;
@@ -9540,6 +9854,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
9540
9854
  useListKnowledgeBaseFileChunks(variables: ListKnowledgeBaseFileChunksQueryVariables, config?: SWRConfigInterface<ListKnowledgeBaseFileChunksQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBaseFileChunksQuery, ClientError>;
9541
9855
  useShowStructuredFileInfo(variables: ShowStructuredFileInfoQueryVariables, config?: SWRConfigInterface<ShowStructuredFileInfoQuery, ClientError>): import("./useSWR").SWRResponsePro<ShowStructuredFileInfoQuery, ClientError>;
9542
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>;
9543
9859
  useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
9544
9860
  useGetLlm(variables: GetLlmQueryVariables, config?: SWRConfigInterface<GetLlmQuery, ClientError>): import("./useSWR").SWRResponsePro<GetLlmQuery, ClientError>;
9545
9861
  useListModels(variables: ListModelsQueryVariables, config?: SWRConfigInterface<ListModelsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListModelsQuery, ClientError>;
@@ -9772,6 +10088,18 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
9772
10088
  listKnowledgeBaseStructuredFileChunks(variables: Exact<{
9773
10089
  input: ListKnowledgeBaseStructuredFileChunksInput;
9774
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>;
9775
10103
  listLLMs(variables: Exact<{
9776
10104
  input: ListCommonInput;
9777
10105
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListLlMsQuery>;