@yuntijs/arcadia-bff-sdk 1.2.34 → 1.2.36

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
@@ -170,6 +170,10 @@ export type AgentMetadata = {
170
170
  * - ConfigError: 应用配置错误,比如写了多个Output节点,比如节点名称重复等其他错误
171
171
  */
172
172
  notReadyReasonCode?: Maybe<Scalars['String']['output']>;
173
+ /** 智能体在每个平台的发布情况,true表示已经发布,false未发布 */
174
+ platformStatus?: Maybe<Scalars['Map']['output']>;
175
+ /** 智能体支持发布的平台列表 */
176
+ platforms?: Maybe<Array<Platform>>;
173
177
  /** 应用状态 */
174
178
  status?: Maybe<Scalars['String']['output']>;
175
179
  /** 更新时间 */
@@ -203,7 +207,7 @@ export type AgentMutationDeleteAgentPromptArgs = {
203
207
  namespacedname: Scalars['String']['input'];
204
208
  };
205
209
  export type AgentMutationReleaseAgentArgs = {
206
- isPublic: Scalars['Boolean']['input'];
210
+ input: ReleaseAgentInput;
207
211
  name: Scalars['String']['input'];
208
212
  namespace: Scalars['String']['input'];
209
213
  };
@@ -239,6 +243,8 @@ export type AgentPromptInput = {
239
243
  export type AgentQuery = {
240
244
  __typename?: 'AgentQuery';
241
245
  getAgent: Agent;
246
+ getAgentLatestReleaseInEachPlatform: PaginatedResult;
247
+ getAgentReleaseHistory: PaginatedResult;
242
248
  getGPTStore: GptStore;
243
249
  listAgentMetadata: PaginatedResult;
244
250
  listAgentPrompt: PaginatedResult;
@@ -249,6 +255,16 @@ export type AgentQueryGetAgentArgs = {
249
255
  name: Scalars['String']['input'];
250
256
  namespace: Scalars['String']['input'];
251
257
  };
258
+ export type AgentQueryGetAgentLatestReleaseInEachPlatformArgs = {
259
+ name: Scalars['String']['input'];
260
+ namespace: Scalars['String']['input'];
261
+ };
262
+ export type AgentQueryGetAgentReleaseHistoryArgs = {
263
+ name: Scalars['String']['input'];
264
+ namespace: Scalars['String']['input'];
265
+ page?: InputMaybe<Scalars['Int']['input']>;
266
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
267
+ };
252
268
  export type AgentQueryListAgentMetadataArgs = {
253
269
  input: ListCommonInput;
254
270
  };
@@ -257,6 +273,43 @@ export type AgentQueryListAgentPromptArgs = {
257
273
  page?: InputMaybe<Scalars['Int']['input']>;
258
274
  size?: InputMaybe<Scalars['Int']['input']>;
259
275
  };
276
+ export type AgentRelease = {
277
+ __typename?: 'AgentRelease';
278
+ /** 发布时间 */
279
+ createdAt?: Maybe<Scalars['Time']['output']>;
280
+ /** 发布记录的id */
281
+ id: Scalars['String']['output'];
282
+ /** 发布日志 */
283
+ log?: Maybe<Scalars['String']['output']>;
284
+ /** 智能体名字 */
285
+ name: Scalars['String']['output'];
286
+ /** 智能体所在namespace */
287
+ namesapce: Scalars['String']['output'];
288
+ /** 发布到的平台 */
289
+ platform: Scalars['String']['output'];
290
+ /** 智能体在平台的发布状态 */
291
+ status?: Maybe<Scalars['String']['output']>;
292
+ /** 发布用户 */
293
+ username?: Maybe<Scalars['String']['output']>;
294
+ };
295
+ export type AgentReleaseHistory = {
296
+ __typename?: 'AgentReleaseHistory';
297
+ /** 发布日期 */
298
+ date: Scalars['String']['output'];
299
+ /** 子项 */
300
+ items?: Maybe<Array<AgentReleaseHistoryItem>>;
301
+ };
302
+ export type AgentReleaseHistoryItem = {
303
+ __typename?: 'AgentReleaseHistoryItem';
304
+ /** 发布日志 */
305
+ log?: Maybe<Scalars['String']['output']>;
306
+ /** 发布的平台信息,以及发布状态 */
307
+ platforms?: Maybe<Array<PlatformWithStatus>>;
308
+ /** 发布时间 */
309
+ time?: Maybe<Scalars['String']['output']>;
310
+ /** 发布者 */
311
+ username?: Maybe<Scalars['String']['output']>;
312
+ };
260
313
  export type AllDataProcessListByCountInput = {
261
314
  keyword: Scalars['String']['input'];
262
315
  namespace: Scalars['String']['input'];
@@ -494,8 +547,14 @@ export type CreateModelServiceInput = {
494
547
  /** 模型服务创建命名空间 */
495
548
  namespace: Scalars['String']['input'];
496
549
  /**
497
- * 模型服务能力类型,支持 llm 和 embedding 两种模型类型
550
+ * 模型服务的Reranking模型列表
551
+ * 规则;如果不填或者为空,则按照模型的API类型获取默认的模型列表
552
+ */
553
+ rerankingModels?: InputMaybe<Array<Scalars['String']['input']>>;
554
+ /**
555
+ * 模型服务能力类型,支持 llm, embedding, reranking 三种模型类型
498
556
  * 规则: 如果该模型支持多种模型类型,则可多选。多选后组成的字段通过逗号隔开。如 "llm,embedding"
557
+ * 规则:尚未支持 reranking 与其他类型并行
499
558
  */
500
559
  types?: InputMaybe<Scalars['String']['input']>;
501
560
  };
@@ -551,6 +610,29 @@ export type CreateRagInput = {
551
610
  storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
552
611
  suspend?: InputMaybe<Scalars['Boolean']['input']>;
553
612
  };
613
+ export type CreateRerankerInput = {
614
+ /** 模型服务资源注释 */
615
+ annotations?: InputMaybe<Scalars['Map']['input']>;
616
+ /** 模型服务资源描述 */
617
+ description?: InputMaybe<Scalars['String']['input']>;
618
+ /** 模型服务资源展示名称作为显示,并提供编辑 */
619
+ displayName?: InputMaybe<Scalars['String']['input']>;
620
+ /** 模型服务访问信息(必填) */
621
+ endpointinput: EndpointInput;
622
+ /** 模型服务资源标签 */
623
+ labels?: InputMaybe<Scalars['Map']['input']>;
624
+ /** 此Reranker支持调用的模型列表 */
625
+ models?: InputMaybe<Array<Scalars['String']['input']>>;
626
+ /** 模型服务资源名称(不可同名) */
627
+ name: Scalars['String']['input'];
628
+ /** 模型服务创建命名空间 */
629
+ namespace: Scalars['String']['input'];
630
+ /**
631
+ * Reranker 类型
632
+ * 规则: 目前仅支持 bge 一种
633
+ */
634
+ type?: InputMaybe<Scalars['String']['input']>;
635
+ };
554
636
  export type CreateVersionedDatasetInput = {
555
637
  /** 一些备注用的注视信息,或者记录一个简单的配置 */
556
638
  annotations?: InputMaybe<Scalars['Map']['input']>;
@@ -1452,6 +1534,7 @@ export type ListModelServiceInput = {
1452
1534
  * - llm 则仅返回LLM模型服务
1453
1535
  * - embedding 则仅返回Embedding模型服务
1454
1536
  * - llm,embedding 则返回同时提供LLM和Embedding能力的模型服务
1537
+ * - reranking 则返回Reranking模型服务
1455
1538
  */
1456
1539
  types?: InputMaybe<Scalars['String']['input']>;
1457
1540
  };
@@ -1682,6 +1765,11 @@ export type ModelService = {
1682
1765
  * 规则: worker 本地
1683
1766
  */
1684
1767
  providerType?: Maybe<Scalars['String']['output']>;
1768
+ /**
1769
+ * 模型服务的Reranking模型列表
1770
+ * 规则;如果不填或者为空,则按照模型的API类型获取默认的模型列表
1771
+ */
1772
+ rerankingModels?: Maybe<Array<Scalars['String']['output']>>;
1685
1773
  /**
1686
1774
  * 状态
1687
1775
  * 规则: 目前分为六种状态
@@ -1742,6 +1830,7 @@ export type Mutation = {
1742
1830
  ModelService?: Maybe<ModelServiceMutation>;
1743
1831
  Plugin?: Maybe<PluginMutation>;
1744
1832
  RAG?: Maybe<RagMutation>;
1833
+ Reranker?: Maybe<RerankerMutation>;
1745
1834
  VersionedDataset?: Maybe<VersionedDatasetMutation>;
1746
1835
  Worker?: Maybe<WorkerMutation>;
1747
1836
  dataProcess?: Maybe<DataProcessMutation>;
@@ -1786,7 +1875,7 @@ export type OssInput = {
1786
1875
  bucket: Scalars['String']['input'];
1787
1876
  object?: InputMaybe<Scalars['String']['input']>;
1788
1877
  };
1789
- export type PageNode = AgentMetadata | AgentPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
1878
+ export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | Reranker | VersionedDataset | Worker;
1790
1879
  export type PaginatedDataProcessItem = {
1791
1880
  __typename?: 'PaginatedDataProcessItem';
1792
1881
  data?: Maybe<Array<DataProcessItem>>;
@@ -1840,6 +1929,32 @@ export type Pg = {
1840
1929
  export type PgInput = {
1841
1930
  database: Scalars['String']['input'];
1842
1931
  };
1932
+ export type Platform = {
1933
+ __typename?: 'Platform';
1934
+ /** 平台的展示名称 */
1935
+ displayName?: Maybe<Scalars['String']['output']>;
1936
+ /**
1937
+ * 平台的icon, 也是放到公共的图片存储下面, 可以指定具体名字
1938
+ * 可以没有
1939
+ */
1940
+ icon?: Maybe<Scalars['String']['output']>;
1941
+ /** 平台的唯一名称 */
1942
+ name: Scalars['String']['output'];
1943
+ };
1944
+ export type PlatformWithStatus = {
1945
+ __typename?: 'PlatformWithStatus';
1946
+ /** 平台的展示名称 */
1947
+ displayName?: Maybe<Scalars['String']['output']>;
1948
+ /**
1949
+ * 平台的icon, 也是放到公共的图片存储下面, 可以指定具体名字
1950
+ * 可以没有
1951
+ */
1952
+ icon?: Maybe<Scalars['String']['output']>;
1953
+ /** 平台的唯一名称 */
1954
+ name: Scalars['String']['output'];
1955
+ /** 智能体在该平台的发布状态 */
1956
+ status: Scalars['String']['output'];
1957
+ };
1843
1958
  export type Plugin = {
1844
1959
  __typename?: 'Plugin';
1845
1960
  /** 添加一些辅助性记录信息 */
@@ -1953,6 +2068,7 @@ export type Query = {
1953
2068
  Plugin?: Maybe<PluginQuery>;
1954
2069
  RAG?: Maybe<RagQuery>;
1955
2070
  RayCluster?: Maybe<RayClusterQuery>;
2071
+ Reranker?: Maybe<RerankerQuery>;
1956
2072
  VersionedDataset?: Maybe<VersionedDatasetQuery>;
1957
2073
  Worker?: Maybe<WorkerQuery>;
1958
2074
  dataProcess?: Maybe<DataProcessQuery>;
@@ -2105,6 +2221,17 @@ export type RayClusterQuery = {
2105
2221
  export type RayClusterQueryListRayClustersArgs = {
2106
2222
  input: ListCommonInput;
2107
2223
  };
2224
+ export type ReleaseAgentInput = {
2225
+ /** 发布的时候,发布日志是必须填写的 */
2226
+ Log?: InputMaybe<Scalars['String']['input']>;
2227
+ Platforms?: InputMaybe<Array<ReleaseAgentInputItem>>;
2228
+ };
2229
+ export type ReleaseAgentInputItem = {
2230
+ /** 是否发布 */
2231
+ IsPublic: Scalars['Boolean']['input'];
2232
+ /** 发布的平台 */
2233
+ Platform: Scalars['String']['input'];
2234
+ };
2108
2235
  export type RemoveDuplicateConfig = {
2109
2236
  embedding_model: Scalars['String']['input'];
2110
2237
  embedding_name: Scalars['String']['input'];
@@ -2120,6 +2247,58 @@ export type RemoveDuplicateConfigItem = {
2120
2247
  embedding_provider: Scalars['String']['output'];
2121
2248
  similarity: Scalars['String']['output'];
2122
2249
  };
2250
+ export type Reranker = {
2251
+ __typename?: 'Reranker';
2252
+ annotations?: Maybe<Scalars['Map']['output']>;
2253
+ /** 服务地址 */
2254
+ baseUrl: Scalars['String']['output'];
2255
+ creationTimestamp?: Maybe<Scalars['Time']['output']>;
2256
+ creator?: Maybe<Scalars['String']['output']>;
2257
+ description?: Maybe<Scalars['String']['output']>;
2258
+ displayName?: Maybe<Scalars['String']['output']>;
2259
+ id?: Maybe<Scalars['String']['output']>;
2260
+ labels?: Maybe<Scalars['Map']['output']>;
2261
+ message?: Maybe<Scalars['String']['output']>;
2262
+ /** 此Reranker支持调用的模型列表 */
2263
+ models?: Maybe<Array<Scalars['String']['output']>>;
2264
+ name: Scalars['String']['output'];
2265
+ namespace: Scalars['String']['output'];
2266
+ /**
2267
+ * Reranker供应商类型:
2268
+ * 规则: 当前仅支持 worker
2269
+ */
2270
+ provider?: Maybe<Scalars['String']['output']>;
2271
+ status?: Maybe<Scalars['String']['output']>;
2272
+ type?: Maybe<Scalars['String']['output']>;
2273
+ updateTimestamp?: Maybe<Scalars['Time']['output']>;
2274
+ };
2275
+ export type RerankerMutation = {
2276
+ __typename?: 'RerankerMutation';
2277
+ createReranker: Reranker;
2278
+ deleteRerankers?: Maybe<Scalars['Void']['output']>;
2279
+ updateReranker: Reranker;
2280
+ };
2281
+ export type RerankerMutationCreateRerankerArgs = {
2282
+ input: CreateRerankerInput;
2283
+ };
2284
+ export type RerankerMutationDeleteRerankersArgs = {
2285
+ input?: InputMaybe<DeleteCommonInput>;
2286
+ };
2287
+ export type RerankerMutationUpdateRerankerArgs = {
2288
+ input?: InputMaybe<UpdateRerankerInput>;
2289
+ };
2290
+ export type RerankerQuery = {
2291
+ __typename?: 'RerankerQuery';
2292
+ getReranker: Reranker;
2293
+ listRerankers: PaginatedResult;
2294
+ };
2295
+ export type RerankerQueryGetRerankerArgs = {
2296
+ name: Scalars['String']['input'];
2297
+ namespace: Scalars['String']['input'];
2298
+ };
2299
+ export type RerankerQueryListRerankersArgs = {
2300
+ input: ListCommonInput;
2301
+ };
2123
2302
  export type Resource = {
2124
2303
  __typename?: 'Resource';
2125
2304
  limits?: Maybe<Scalars['Map']['output']>;
@@ -2462,8 +2641,14 @@ export type UpdateModelServiceInput = {
2462
2641
  /** 模型创建命名空间 */
2463
2642
  namespace: Scalars['String']['input'];
2464
2643
  /**
2465
- * 模型服务能力类型,支持 llm 和 embedding 两种模型类型
2644
+ * 模型服务的Reranking模型列表
2645
+ * 规则;如果不填或者为空,则按照模型的API类型获取默认的模型列表
2646
+ */
2647
+ rerankingModels?: InputMaybe<Array<Scalars['String']['input']>>;
2648
+ /**
2649
+ * 模型服务能力类型,支持 llm, embedding, reranking 三种模型类型
2466
2650
  * 规则: 如果该模型支持多种模型类型,则可多选。多选后组成的字段通过逗号隔开。如 "llm,embedding"
2651
+ * 规则:尚未支持 reranking 与其他类型并行
2467
2652
  */
2468
2653
  types?: InputMaybe<Scalars['String']['input']>;
2469
2654
  };
@@ -2514,6 +2699,29 @@ export type UpdateRagInput = {
2514
2699
  storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
2515
2700
  suspend?: InputMaybe<Scalars['Boolean']['input']>;
2516
2701
  };
2702
+ export type UpdateRerankerInput = {
2703
+ /** 模型服务资源注释 */
2704
+ annotations?: InputMaybe<Scalars['Map']['input']>;
2705
+ /** 模型服务资源描述 */
2706
+ description?: InputMaybe<Scalars['String']['input']>;
2707
+ /** 模型服务资源展示名称作为显示,并提供编辑 */
2708
+ displayName?: InputMaybe<Scalars['String']['input']>;
2709
+ /** 模型服务访问信息 */
2710
+ endpointinput?: InputMaybe<EndpointInput>;
2711
+ /** 模型服务资源标签 */
2712
+ labels?: InputMaybe<Scalars['Map']['input']>;
2713
+ /** 此Reranker支持调用的模型列表 */
2714
+ models?: InputMaybe<Array<Scalars['String']['input']>>;
2715
+ /** 待修改模型服务资源名称(必填) */
2716
+ name: Scalars['String']['input'];
2717
+ /** 待修改模型服务创建命名空间(必填) */
2718
+ namespace: Scalars['String']['input'];
2719
+ /**
2720
+ * Reranker 类型
2721
+ * 规则: 目前仅支持 bge 一种
2722
+ */
2723
+ type?: InputMaybe<Scalars['String']['input']>;
2724
+ };
2517
2725
  export type UpdateVersionedDatasetInput = {
2518
2726
  /** 传递方式同label */
2519
2727
  annotations?: InputMaybe<Scalars['Map']['input']>;
@@ -2882,6 +3090,13 @@ export type UpdateAgentMutation = {
2882
3090
  status?: string | null;
2883
3091
  category?: Array<string | null> | null;
2884
3092
  notReadyReasonCode?: string | null;
3093
+ platformStatus?: any | null;
3094
+ platforms?: Array<{
3095
+ __typename?: 'Platform';
3096
+ icon?: string | null;
3097
+ name: string;
3098
+ displayName?: string | null;
3099
+ }> | null;
2885
3100
  };
2886
3101
  } | null;
2887
3102
  };
@@ -2898,7 +3113,7 @@ export type DeleteAgentMutation = {
2898
3113
  export type ReleaseAgentMutationVariables = Exact<{
2899
3114
  name: Scalars['String']['input'];
2900
3115
  namespace: Scalars['String']['input'];
2901
- isPublic: Scalars['Boolean']['input'];
3116
+ input: ReleaseAgentInput;
2902
3117
  }>;
2903
3118
  export type ReleaseAgentMutation = {
2904
3119
  __typename?: 'Mutation';
@@ -2923,6 +3138,13 @@ export type ReleaseAgentMutation = {
2923
3138
  status?: string | null;
2924
3139
  category?: Array<string | null> | null;
2925
3140
  notReadyReasonCode?: string | null;
3141
+ platformStatus?: any | null;
3142
+ platforms?: Array<{
3143
+ __typename?: 'Platform';
3144
+ icon?: string | null;
3145
+ name: string;
3146
+ displayName?: string | null;
3147
+ }> | null;
2926
3148
  };
2927
3149
  } | null;
2928
3150
  };
@@ -2988,6 +3210,31 @@ export type DeleteAgentPromptMutation = {
2988
3210
  deleteAgentPrompt?: any | null;
2989
3211
  } | null;
2990
3212
  };
3213
+ export type GetAgentReleaseStatusQueryVariables = Exact<{
3214
+ name: Scalars['String']['input'];
3215
+ namespace: Scalars['String']['input'];
3216
+ }>;
3217
+ export type GetAgentReleaseStatusQuery = {
3218
+ __typename?: 'Query';
3219
+ Agent?: {
3220
+ __typename?: 'AgentQuery';
3221
+ getAgent: {
3222
+ __typename?: 'Agent';
3223
+ metadata?: {
3224
+ __typename?: 'AgentMetadata';
3225
+ name: string;
3226
+ namespace: string;
3227
+ platformStatus?: any | null;
3228
+ platforms?: Array<{
3229
+ __typename?: 'Platform';
3230
+ icon?: string | null;
3231
+ name: string;
3232
+ displayName?: string | null;
3233
+ }> | null;
3234
+ } | null;
3235
+ };
3236
+ } | null;
3237
+ };
2991
3238
  export type GetAgentQueryVariables = Exact<{
2992
3239
  name: Scalars['String']['input'];
2993
3240
  namespace: Scalars['String']['input'];
@@ -3031,6 +3278,13 @@ export type GetAgentQuery = {
3031
3278
  status?: string | null;
3032
3279
  category?: Array<string | null> | null;
3033
3280
  notReadyReasonCode?: string | null;
3281
+ platformStatus?: any | null;
3282
+ platforms?: Array<{
3283
+ __typename?: 'Platform';
3284
+ icon?: string | null;
3285
+ name: string;
3286
+ displayName?: string | null;
3287
+ }> | null;
3034
3288
  } | null;
3035
3289
  knowledgebases?: Array<{
3036
3290
  __typename?: 'TypedObjectReference';
@@ -3045,6 +3299,138 @@ export type GetAgentQuery = {
3045
3299
  };
3046
3300
  } | null;
3047
3301
  };
3302
+ export type GetAgentLatestReleaseInEachPlatformQueryVariables = Exact<{
3303
+ name: Scalars['String']['input'];
3304
+ namespace: Scalars['String']['input'];
3305
+ }>;
3306
+ export type GetAgentLatestReleaseInEachPlatformQuery = {
3307
+ __typename?: 'Query';
3308
+ Agent?: {
3309
+ __typename?: 'AgentQuery';
3310
+ getAgentLatestReleaseInEachPlatform: {
3311
+ __typename?: 'PaginatedResult';
3312
+ hasNextPage: boolean;
3313
+ totalCount: number;
3314
+ nodes?: Array<{
3315
+ __typename?: 'AgentMetadata';
3316
+ } | {
3317
+ __typename?: 'AgentPrompt';
3318
+ } | {
3319
+ __typename?: 'AgentRelease';
3320
+ id: string;
3321
+ platform: string;
3322
+ name: string;
3323
+ namesapce: string;
3324
+ status?: string | null;
3325
+ log?: string | null;
3326
+ createdAt?: any | null;
3327
+ username?: string | null;
3328
+ } | {
3329
+ __typename?: 'AgentReleaseHistory';
3330
+ } | {
3331
+ __typename?: 'Dataset';
3332
+ } | {
3333
+ __typename?: 'Datasource';
3334
+ } | {
3335
+ __typename?: 'Embedder';
3336
+ } | {
3337
+ __typename?: 'F';
3338
+ } | {
3339
+ __typename?: 'KnowledgeBase';
3340
+ } | {
3341
+ __typename?: 'LLM';
3342
+ } | {
3343
+ __typename?: 'Model';
3344
+ } | {
3345
+ __typename?: 'ModelService';
3346
+ } | {
3347
+ __typename?: 'Node';
3348
+ } | {
3349
+ __typename?: 'Plugin';
3350
+ } | {
3351
+ __typename?: 'RAG';
3352
+ } | {
3353
+ __typename?: 'RayCluster';
3354
+ } | {
3355
+ __typename?: 'Reranker';
3356
+ } | {
3357
+ __typename?: 'VersionedDataset';
3358
+ } | {
3359
+ __typename?: 'Worker';
3360
+ }> | null;
3361
+ };
3362
+ } | null;
3363
+ };
3364
+ export type GetAgentReleaseHistoryQueryVariables = Exact<{
3365
+ name: Scalars['String']['input'];
3366
+ namespace: Scalars['String']['input'];
3367
+ page?: InputMaybe<Scalars['Int']['input']>;
3368
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
3369
+ }>;
3370
+ export type GetAgentReleaseHistoryQuery = {
3371
+ __typename?: 'Query';
3372
+ Agent?: {
3373
+ __typename?: 'AgentQuery';
3374
+ getAgentReleaseHistory: {
3375
+ __typename?: 'PaginatedResult';
3376
+ hasNextPage: boolean;
3377
+ totalCount: number;
3378
+ nodes?: Array<{
3379
+ __typename?: 'AgentMetadata';
3380
+ } | {
3381
+ __typename?: 'AgentPrompt';
3382
+ } | {
3383
+ __typename?: 'AgentRelease';
3384
+ } | {
3385
+ __typename?: 'AgentReleaseHistory';
3386
+ date: string;
3387
+ items?: Array<{
3388
+ __typename?: 'AgentReleaseHistoryItem';
3389
+ log?: string | null;
3390
+ time?: string | null;
3391
+ username?: string | null;
3392
+ platforms?: Array<{
3393
+ __typename?: 'PlatformWithStatus';
3394
+ name: string;
3395
+ displayName?: string | null;
3396
+ icon?: string | null;
3397
+ status: string;
3398
+ }> | null;
3399
+ }> | null;
3400
+ } | {
3401
+ __typename?: 'Dataset';
3402
+ } | {
3403
+ __typename?: 'Datasource';
3404
+ } | {
3405
+ __typename?: 'Embedder';
3406
+ } | {
3407
+ __typename?: 'F';
3408
+ } | {
3409
+ __typename?: 'KnowledgeBase';
3410
+ } | {
3411
+ __typename?: 'LLM';
3412
+ } | {
3413
+ __typename?: 'Model';
3414
+ } | {
3415
+ __typename?: 'ModelService';
3416
+ } | {
3417
+ __typename?: 'Node';
3418
+ } | {
3419
+ __typename?: 'Plugin';
3420
+ } | {
3421
+ __typename?: 'RAG';
3422
+ } | {
3423
+ __typename?: 'RayCluster';
3424
+ } | {
3425
+ __typename?: 'Reranker';
3426
+ } | {
3427
+ __typename?: 'VersionedDataset';
3428
+ } | {
3429
+ __typename?: 'Worker';
3430
+ }> | null;
3431
+ };
3432
+ } | null;
3433
+ };
3048
3434
  export type ListAgentsQueryVariables = Exact<{
3049
3435
  input: ListCommonInput;
3050
3436
  }>;
@@ -3079,6 +3465,10 @@ export type ListAgentsQuery = {
3079
3465
  notReadyReasonCode?: string | null;
3080
3466
  } | {
3081
3467
  __typename?: 'AgentPrompt';
3468
+ } | {
3469
+ __typename?: 'AgentRelease';
3470
+ } | {
3471
+ __typename?: 'AgentReleaseHistory';
3082
3472
  } | {
3083
3473
  __typename?: 'Dataset';
3084
3474
  } | {
@@ -3103,6 +3493,8 @@ export type ListAgentsQuery = {
3103
3493
  __typename?: 'RAG';
3104
3494
  } | {
3105
3495
  __typename?: 'RayCluster';
3496
+ } | {
3497
+ __typename?: 'Reranker';
3106
3498
  } | {
3107
3499
  __typename?: 'VersionedDataset';
3108
3500
  } | {
@@ -3134,6 +3526,10 @@ export type ListAgentPromptQuery = {
3134
3526
  content: string;
3135
3527
  createdAt: any;
3136
3528
  updatedAt: any;
3529
+ } | {
3530
+ __typename?: 'AgentRelease';
3531
+ } | {
3532
+ __typename?: 'AgentReleaseHistory';
3137
3533
  } | {
3138
3534
  __typename?: 'Dataset';
3139
3535
  } | {
@@ -3158,6 +3554,8 @@ export type ListAgentPromptQuery = {
3158
3554
  __typename?: 'RAG';
3159
3555
  } | {
3160
3556
  __typename?: 'RayCluster';
3557
+ } | {
3558
+ __typename?: 'Reranker';
3161
3559
  } | {
3162
3560
  __typename?: 'VersionedDataset';
3163
3561
  } | {
@@ -3476,6 +3874,10 @@ export type ListDatasetsQuery = {
3476
3874
  __typename?: 'AgentMetadata';
3477
3875
  } | {
3478
3876
  __typename?: 'AgentPrompt';
3877
+ } | {
3878
+ __typename?: 'AgentRelease';
3879
+ } | {
3880
+ __typename?: 'AgentReleaseHistory';
3479
3881
  } | {
3480
3882
  __typename?: 'Dataset';
3481
3883
  name: string;
@@ -3494,6 +3896,10 @@ export type ListDatasetsQuery = {
3494
3896
  __typename?: 'AgentMetadata';
3495
3897
  } | {
3496
3898
  __typename?: 'AgentPrompt';
3899
+ } | {
3900
+ __typename?: 'AgentRelease';
3901
+ } | {
3902
+ __typename?: 'AgentReleaseHistory';
3497
3903
  } | {
3498
3904
  __typename?: 'Dataset';
3499
3905
  } | {
@@ -3518,6 +3924,8 @@ export type ListDatasetsQuery = {
3518
3924
  __typename?: 'RAG';
3519
3925
  } | {
3520
3926
  __typename?: 'RayCluster';
3927
+ } | {
3928
+ __typename?: 'Reranker';
3521
3929
  } | {
3522
3930
  __typename?: 'VersionedDataset';
3523
3931
  name: string;
@@ -3559,6 +3967,8 @@ export type ListDatasetsQuery = {
3559
3967
  __typename?: 'RAG';
3560
3968
  } | {
3561
3969
  __typename?: 'RayCluster';
3970
+ } | {
3971
+ __typename?: 'Reranker';
3562
3972
  } | {
3563
3973
  __typename?: 'VersionedDataset';
3564
3974
  } | {
@@ -3595,6 +4005,10 @@ export type GetDatasetQuery = {
3595
4005
  __typename?: 'AgentMetadata';
3596
4006
  } | {
3597
4007
  __typename?: 'AgentPrompt';
4008
+ } | {
4009
+ __typename?: 'AgentRelease';
4010
+ } | {
4011
+ __typename?: 'AgentReleaseHistory';
3598
4012
  } | {
3599
4013
  __typename?: 'Dataset';
3600
4014
  } | {
@@ -3619,6 +4033,8 @@ export type GetDatasetQuery = {
3619
4033
  __typename?: 'RAG';
3620
4034
  } | {
3621
4035
  __typename?: 'RayCluster';
4036
+ } | {
4037
+ __typename?: 'Reranker';
3622
4038
  } | {
3623
4039
  __typename?: 'VersionedDataset';
3624
4040
  name: string;
@@ -3798,6 +4214,10 @@ export type ListDatasourcesQuery = {
3798
4214
  __typename: 'AgentMetadata';
3799
4215
  } | {
3800
4216
  __typename: 'AgentPrompt';
4217
+ } | {
4218
+ __typename: 'AgentRelease';
4219
+ } | {
4220
+ __typename: 'AgentReleaseHistory';
3801
4221
  } | {
3802
4222
  __typename: 'Dataset';
3803
4223
  } | {
@@ -3856,6 +4276,8 @@ export type ListDatasourcesQuery = {
3856
4276
  __typename: 'RAG';
3857
4277
  } | {
3858
4278
  __typename: 'RayCluster';
4279
+ } | {
4280
+ __typename: 'Reranker';
3859
4281
  } | {
3860
4282
  __typename: 'VersionedDataset';
3861
4283
  } | {
@@ -4002,6 +4424,10 @@ export type ListEmbeddersQuery = {
4002
4424
  __typename?: 'AgentMetadata';
4003
4425
  } | {
4004
4426
  __typename?: 'AgentPrompt';
4427
+ } | {
4428
+ __typename?: 'AgentRelease';
4429
+ } | {
4430
+ __typename?: 'AgentReleaseHistory';
4005
4431
  } | {
4006
4432
  __typename?: 'Dataset';
4007
4433
  } | {
@@ -4039,6 +4465,8 @@ export type ListEmbeddersQuery = {
4039
4465
  __typename?: 'RAG';
4040
4466
  } | {
4041
4467
  __typename?: 'RayCluster';
4468
+ } | {
4469
+ __typename?: 'Reranker';
4042
4470
  } | {
4043
4471
  __typename?: 'VersionedDataset';
4044
4472
  } | {
@@ -4086,6 +4514,10 @@ export type ListKnowledgeBasesQuery = {
4086
4514
  __typename?: 'AgentMetadata';
4087
4515
  } | {
4088
4516
  __typename?: 'AgentPrompt';
4517
+ } | {
4518
+ __typename?: 'AgentRelease';
4519
+ } | {
4520
+ __typename?: 'AgentReleaseHistory';
4089
4521
  } | {
4090
4522
  __typename?: 'Dataset';
4091
4523
  } | {
@@ -4159,6 +4591,8 @@ export type ListKnowledgeBasesQuery = {
4159
4591
  __typename?: 'RAG';
4160
4592
  } | {
4161
4593
  __typename?: 'RayCluster';
4594
+ } | {
4595
+ __typename?: 'Reranker';
4162
4596
  } | {
4163
4597
  __typename?: 'VersionedDataset';
4164
4598
  } | {
@@ -4376,6 +4810,10 @@ export type ListLlMsQuery = {
4376
4810
  __typename?: 'AgentMetadata';
4377
4811
  } | {
4378
4812
  __typename?: 'AgentPrompt';
4813
+ } | {
4814
+ __typename?: 'AgentRelease';
4815
+ } | {
4816
+ __typename?: 'AgentReleaseHistory';
4379
4817
  } | {
4380
4818
  __typename?: 'Dataset';
4381
4819
  } | {
@@ -4413,6 +4851,8 @@ export type ListLlMsQuery = {
4413
4851
  __typename?: 'RAG';
4414
4852
  } | {
4415
4853
  __typename?: 'RayCluster';
4854
+ } | {
4855
+ __typename?: 'Reranker';
4416
4856
  } | {
4417
4857
  __typename?: 'VersionedDataset';
4418
4858
  } | {
@@ -4463,6 +4903,10 @@ export type ListModelsQuery = {
4463
4903
  __typename: 'AgentMetadata';
4464
4904
  } | {
4465
4905
  __typename: 'AgentPrompt';
4906
+ } | {
4907
+ __typename: 'AgentRelease';
4908
+ } | {
4909
+ __typename: 'AgentReleaseHistory';
4466
4910
  } | {
4467
4911
  __typename: 'Dataset';
4468
4912
  } | {
@@ -4503,6 +4947,10 @@ export type ListModelsQuery = {
4503
4947
  __typename?: 'AgentMetadata';
4504
4948
  } | {
4505
4949
  __typename?: 'AgentPrompt';
4950
+ } | {
4951
+ __typename?: 'AgentRelease';
4952
+ } | {
4953
+ __typename?: 'AgentReleaseHistory';
4506
4954
  } | {
4507
4955
  __typename?: 'Dataset';
4508
4956
  } | {
@@ -4533,6 +4981,8 @@ export type ListModelsQuery = {
4533
4981
  __typename?: 'RAG';
4534
4982
  } | {
4535
4983
  __typename?: 'RayCluster';
4984
+ } | {
4985
+ __typename?: 'Reranker';
4536
4986
  } | {
4537
4987
  __typename?: 'VersionedDataset';
4538
4988
  } | {
@@ -4549,6 +4999,8 @@ export type ListModelsQuery = {
4549
4999
  __typename: 'RAG';
4550
5000
  } | {
4551
5001
  __typename: 'RayCluster';
5002
+ } | {
5003
+ __typename: 'Reranker';
4552
5004
  } | {
4553
5005
  __typename: 'VersionedDataset';
4554
5006
  } | {
@@ -4594,6 +5046,10 @@ export type GetModelQuery = {
4594
5046
  __typename?: 'AgentMetadata';
4595
5047
  } | {
4596
5048
  __typename?: 'AgentPrompt';
5049
+ } | {
5050
+ __typename?: 'AgentRelease';
5051
+ } | {
5052
+ __typename?: 'AgentReleaseHistory';
4597
5053
  } | {
4598
5054
  __typename?: 'Dataset';
4599
5055
  } | {
@@ -4624,6 +5080,8 @@ export type GetModelQuery = {
4624
5080
  __typename?: 'RAG';
4625
5081
  } | {
4626
5082
  __typename?: 'RayCluster';
5083
+ } | {
5084
+ __typename?: 'Reranker';
4627
5085
  } | {
4628
5086
  __typename?: 'VersionedDataset';
4629
5087
  } | {
@@ -4725,6 +5183,7 @@ export type CreateModelServiceMutation = {
4725
5183
  apiType?: string | null;
4726
5184
  llmModels?: Array<string> | null;
4727
5185
  embeddingModels?: Array<string> | null;
5186
+ rerankingModels?: Array<string> | null;
4728
5187
  creationTimestamp?: any | null;
4729
5188
  updateTimestamp?: any | null;
4730
5189
  status?: string | null;
@@ -4755,6 +5214,7 @@ export type UpdateModelServiceMutation = {
4755
5214
  apiType?: string | null;
4756
5215
  llmModels?: Array<string> | null;
4757
5216
  embeddingModels?: Array<string> | null;
5217
+ rerankingModels?: Array<string> | null;
4758
5218
  creationTimestamp?: any | null;
4759
5219
  updateTimestamp?: any | null;
4760
5220
  status?: string | null;
@@ -4796,6 +5256,7 @@ export type GetModelServiceQuery = {
4796
5256
  apiType?: string | null;
4797
5257
  llmModels?: Array<string> | null;
4798
5258
  embeddingModels?: Array<string> | null;
5259
+ rerankingModels?: Array<string> | null;
4799
5260
  creationTimestamp?: any | null;
4800
5261
  updateTimestamp?: any | null;
4801
5262
  status?: string | null;
@@ -4819,6 +5280,10 @@ export type ListModelServicesQuery = {
4819
5280
  __typename: 'AgentMetadata';
4820
5281
  } | {
4821
5282
  __typename: 'AgentPrompt';
5283
+ } | {
5284
+ __typename: 'AgentRelease';
5285
+ } | {
5286
+ __typename: 'AgentReleaseHistory';
4822
5287
  } | {
4823
5288
  __typename: 'Dataset';
4824
5289
  } | {
@@ -4848,6 +5313,7 @@ export type ListModelServicesQuery = {
4848
5313
  apiType?: string | null;
4849
5314
  llmModels?: Array<string> | null;
4850
5315
  embeddingModels?: Array<string> | null;
5316
+ rerankingModels?: Array<string> | null;
4851
5317
  creationTimestamp?: any | null;
4852
5318
  updateTimestamp?: any | null;
4853
5319
  status?: string | null;
@@ -4861,6 +5327,8 @@ export type ListModelServicesQuery = {
4861
5327
  __typename: 'RAG';
4862
5328
  } | {
4863
5329
  __typename: 'RayCluster';
5330
+ } | {
5331
+ __typename: 'Reranker';
4864
5332
  } | {
4865
5333
  __typename: 'VersionedDataset';
4866
5334
  } | {
@@ -4900,6 +5368,10 @@ export type ListNodesQuery = {
4900
5368
  __typename: 'AgentMetadata';
4901
5369
  } | {
4902
5370
  __typename: 'AgentPrompt';
5371
+ } | {
5372
+ __typename: 'AgentRelease';
5373
+ } | {
5374
+ __typename: 'AgentReleaseHistory';
4903
5375
  } | {
4904
5376
  __typename: 'Dataset';
4905
5377
  } | {
@@ -4926,6 +5398,8 @@ export type ListNodesQuery = {
4926
5398
  __typename: 'RAG';
4927
5399
  } | {
4928
5400
  __typename: 'RayCluster';
5401
+ } | {
5402
+ __typename: 'Reranker';
4929
5403
  } | {
4930
5404
  __typename: 'VersionedDataset';
4931
5405
  } | {
@@ -4949,6 +5423,10 @@ export type ListPluginsQuery = {
4949
5423
  __typename: 'AgentMetadata';
4950
5424
  } | {
4951
5425
  __typename: 'AgentPrompt';
5426
+ } | {
5427
+ __typename: 'AgentRelease';
5428
+ } | {
5429
+ __typename: 'AgentReleaseHistory';
4952
5430
  } | {
4953
5431
  __typename: 'Dataset';
4954
5432
  } | {
@@ -4996,6 +5474,8 @@ export type ListPluginsQuery = {
4996
5474
  __typename: 'RAG';
4997
5475
  } | {
4998
5476
  __typename: 'RayCluster';
5477
+ } | {
5478
+ __typename: 'Reranker';
4999
5479
  } | {
5000
5480
  __typename: 'VersionedDataset';
5001
5481
  } | {
@@ -5150,6 +5630,10 @@ export type ListRagQuery = {
5150
5630
  __typename?: 'AgentMetadata';
5151
5631
  } | {
5152
5632
  __typename?: 'AgentPrompt';
5633
+ } | {
5634
+ __typename?: 'AgentRelease';
5635
+ } | {
5636
+ __typename?: 'AgentReleaseHistory';
5153
5637
  } | {
5154
5638
  __typename?: 'Dataset';
5155
5639
  } | {
@@ -5247,6 +5731,8 @@ export type ListRagQuery = {
5247
5731
  };
5248
5732
  } | {
5249
5733
  __typename?: 'RayCluster';
5734
+ } | {
5735
+ __typename?: 'Reranker';
5250
5736
  } | {
5251
5737
  __typename?: 'VersionedDataset';
5252
5738
  } | {
@@ -5546,6 +6032,10 @@ export type ListRayClustersQuery = {
5546
6032
  __typename: 'AgentMetadata';
5547
6033
  } | {
5548
6034
  __typename: 'AgentPrompt';
6035
+ } | {
6036
+ __typename: 'AgentRelease';
6037
+ } | {
6038
+ __typename: 'AgentReleaseHistory';
5549
6039
  } | {
5550
6040
  __typename: 'Dataset';
5551
6041
  } | {
@@ -5575,6 +6065,8 @@ export type ListRayClustersQuery = {
5575
6065
  headAddress?: string | null;
5576
6066
  dashboardHost?: string | null;
5577
6067
  pythonVersion?: string | null;
6068
+ } | {
6069
+ __typename: 'Reranker';
5578
6070
  } | {
5579
6071
  __typename: 'VersionedDataset';
5580
6072
  } | {
@@ -5583,6 +6075,156 @@ export type ListRayClustersQuery = {
5583
6075
  };
5584
6076
  } | null;
5585
6077
  };
6078
+ export type CreateRerankerMutationVariables = Exact<{
6079
+ input: CreateRerankerInput;
6080
+ }>;
6081
+ export type CreateRerankerMutation = {
6082
+ __typename?: 'Mutation';
6083
+ Reranker?: {
6084
+ __typename?: 'RerankerMutation';
6085
+ createReranker: {
6086
+ __typename?: 'Reranker';
6087
+ name: string;
6088
+ namespace: string;
6089
+ labels?: any | null;
6090
+ annotations?: any | null;
6091
+ displayName?: string | null;
6092
+ description?: string | null;
6093
+ baseUrl: string;
6094
+ models?: Array<string> | null;
6095
+ type?: string | null;
6096
+ provider?: string | null;
6097
+ updateTimestamp?: any | null;
6098
+ status?: string | null;
6099
+ message?: string | null;
6100
+ };
6101
+ } | null;
6102
+ };
6103
+ export type UpdateRerankerMutationVariables = Exact<{
6104
+ input?: InputMaybe<UpdateRerankerInput>;
6105
+ }>;
6106
+ export type UpdateRerankerMutation = {
6107
+ __typename?: 'Mutation';
6108
+ Reranker?: {
6109
+ __typename?: 'RerankerMutation';
6110
+ updateReranker: {
6111
+ __typename?: 'Reranker';
6112
+ name: string;
6113
+ namespace: string;
6114
+ labels?: any | null;
6115
+ annotations?: any | null;
6116
+ displayName?: string | null;
6117
+ description?: string | null;
6118
+ baseUrl: string;
6119
+ models?: Array<string> | null;
6120
+ type?: string | null;
6121
+ provider?: string | null;
6122
+ updateTimestamp?: any | null;
6123
+ status?: string | null;
6124
+ message?: string | null;
6125
+ };
6126
+ } | null;
6127
+ };
6128
+ export type DeleteRerankersMutationVariables = Exact<{
6129
+ input: DeleteCommonInput;
6130
+ }>;
6131
+ export type DeleteRerankersMutation = {
6132
+ __typename?: 'Mutation';
6133
+ Reranker?: {
6134
+ __typename?: 'RerankerMutation';
6135
+ deleteRerankers?: any | null;
6136
+ } | null;
6137
+ };
6138
+ export type ListRerankersQueryVariables = Exact<{
6139
+ input: ListCommonInput;
6140
+ }>;
6141
+ export type ListRerankersQuery = {
6142
+ __typename?: 'Query';
6143
+ Reranker?: {
6144
+ __typename?: 'RerankerQuery';
6145
+ listRerankers: {
6146
+ __typename?: 'PaginatedResult';
6147
+ totalCount: number;
6148
+ hasNextPage: boolean;
6149
+ nodes?: Array<{
6150
+ __typename?: 'AgentMetadata';
6151
+ } | {
6152
+ __typename?: 'AgentPrompt';
6153
+ } | {
6154
+ __typename?: 'AgentRelease';
6155
+ } | {
6156
+ __typename?: 'AgentReleaseHistory';
6157
+ } | {
6158
+ __typename?: 'Dataset';
6159
+ } | {
6160
+ __typename?: 'Datasource';
6161
+ } | {
6162
+ __typename?: 'Embedder';
6163
+ } | {
6164
+ __typename?: 'F';
6165
+ } | {
6166
+ __typename?: 'KnowledgeBase';
6167
+ } | {
6168
+ __typename?: 'LLM';
6169
+ } | {
6170
+ __typename?: 'Model';
6171
+ } | {
6172
+ __typename?: 'ModelService';
6173
+ } | {
6174
+ __typename?: 'Node';
6175
+ } | {
6176
+ __typename?: 'Plugin';
6177
+ } | {
6178
+ __typename?: 'RAG';
6179
+ } | {
6180
+ __typename?: 'RayCluster';
6181
+ } | {
6182
+ __typename?: 'Reranker';
6183
+ name: string;
6184
+ namespace: string;
6185
+ labels?: any | null;
6186
+ annotations?: any | null;
6187
+ displayName?: string | null;
6188
+ description?: string | null;
6189
+ baseUrl: string;
6190
+ models?: Array<string> | null;
6191
+ type?: string | null;
6192
+ provider?: string | null;
6193
+ updateTimestamp?: any | null;
6194
+ status?: string | null;
6195
+ message?: string | null;
6196
+ } | {
6197
+ __typename?: 'VersionedDataset';
6198
+ } | {
6199
+ __typename?: 'Worker';
6200
+ }> | null;
6201
+ };
6202
+ } | null;
6203
+ };
6204
+ export type GetRerankerQueryVariables = Exact<{
6205
+ name: Scalars['String']['input'];
6206
+ namespace: Scalars['String']['input'];
6207
+ }>;
6208
+ export type GetRerankerQuery = {
6209
+ __typename?: 'Query';
6210
+ Reranker?: {
6211
+ __typename?: 'RerankerQuery';
6212
+ getReranker: {
6213
+ __typename?: 'Reranker';
6214
+ name: string;
6215
+ namespace: string;
6216
+ labels?: any | null;
6217
+ annotations?: any | null;
6218
+ displayName?: string | null;
6219
+ description?: string | null;
6220
+ baseUrl: string;
6221
+ models?: Array<string> | null;
6222
+ type?: string | null;
6223
+ provider?: string | null;
6224
+ updateTimestamp?: any | null;
6225
+ };
6226
+ } | null;
6227
+ };
5586
6228
  export type CreateVersionedDatasetMutationVariables = Exact<{
5587
6229
  input: CreateVersionedDatasetInput;
5588
6230
  }>;
@@ -5662,6 +6304,10 @@ export type GetVersionedDatasetQuery = {
5662
6304
  __typename?: 'AgentMetadata';
5663
6305
  } | {
5664
6306
  __typename?: 'AgentPrompt';
6307
+ } | {
6308
+ __typename?: 'AgentRelease';
6309
+ } | {
6310
+ __typename?: 'AgentReleaseHistory';
5665
6311
  } | {
5666
6312
  __typename?: 'Dataset';
5667
6313
  } | {
@@ -5694,6 +6340,8 @@ export type GetVersionedDatasetQuery = {
5694
6340
  __typename?: 'RAG';
5695
6341
  } | {
5696
6342
  __typename?: 'RayCluster';
6343
+ } | {
6344
+ __typename?: 'Reranker';
5697
6345
  } | {
5698
6346
  __typename?: 'VersionedDataset';
5699
6347
  } | {
@@ -5719,6 +6367,10 @@ export type ListVersionedDatasetsQuery = {
5719
6367
  __typename?: 'AgentMetadata';
5720
6368
  } | {
5721
6369
  __typename?: 'AgentPrompt';
6370
+ } | {
6371
+ __typename?: 'AgentRelease';
6372
+ } | {
6373
+ __typename?: 'AgentReleaseHistory';
5722
6374
  } | {
5723
6375
  __typename?: 'Dataset';
5724
6376
  } | {
@@ -5743,6 +6395,8 @@ export type ListVersionedDatasetsQuery = {
5743
6395
  __typename?: 'RAG';
5744
6396
  } | {
5745
6397
  __typename?: 'RayCluster';
6398
+ } | {
6399
+ __typename?: 'Reranker';
5746
6400
  } | {
5747
6401
  __typename?: 'VersionedDataset';
5748
6402
  id?: string | null;
@@ -5767,6 +6421,10 @@ export type ListVersionedDatasetsQuery = {
5767
6421
  __typename?: 'AgentMetadata';
5768
6422
  } | {
5769
6423
  __typename?: 'AgentPrompt';
6424
+ } | {
6425
+ __typename?: 'AgentRelease';
6426
+ } | {
6427
+ __typename?: 'AgentReleaseHistory';
5770
6428
  } | {
5771
6429
  __typename?: 'Dataset';
5772
6430
  } | {
@@ -5799,6 +6457,8 @@ export type ListVersionedDatasetsQuery = {
5799
6457
  __typename?: 'RAG';
5800
6458
  } | {
5801
6459
  __typename?: 'RayCluster';
6460
+ } | {
6461
+ __typename?: 'Reranker';
5802
6462
  } | {
5803
6463
  __typename?: 'VersionedDataset';
5804
6464
  } | {
@@ -5826,6 +6486,10 @@ export type ListWorkersQuery = {
5826
6486
  __typename: 'AgentMetadata';
5827
6487
  } | {
5828
6488
  __typename: 'AgentPrompt';
6489
+ } | {
6490
+ __typename: 'AgentRelease';
6491
+ } | {
6492
+ __typename: 'AgentReleaseHistory';
5829
6493
  } | {
5830
6494
  __typename: 'Dataset';
5831
6495
  } | {
@@ -5850,6 +6514,8 @@ export type ListWorkersQuery = {
5850
6514
  __typename: 'RAG';
5851
6515
  } | {
5852
6516
  __typename: 'RayCluster';
6517
+ } | {
6518
+ __typename: 'Reranker';
5853
6519
  } | {
5854
6520
  __typename: 'VersionedDataset';
5855
6521
  } | {
@@ -6079,7 +6745,10 @@ export declare const UpdateAgentModelDocument: import("../node_modules/.pnpm/gra
6079
6745
  export declare const UpdateAgentPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6080
6746
  export declare const UpdateAgentKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6081
6747
  export declare const DeleteAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6748
+ export declare const GetAgentReleaseStatusDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6082
6749
  export declare const GetAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6750
+ export declare const GetAgentLatestReleaseInEachPlatformDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6751
+ export declare const GetAgentReleaseHistoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6083
6752
  export declare const ListAgentsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6084
6753
  export declare const ListAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6085
6754
  export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -6141,6 +6810,11 @@ export declare const CreateRagDocument: import("../node_modules/.pnpm/graphql@16
6141
6810
  export declare const UpdateRagDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6142
6811
  export declare const DeleteRagDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6143
6812
  export declare const ListRayClustersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6813
+ export declare const CreateRerankerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6814
+ export declare const UpdateRerankerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6815
+ export declare const DeleteRerankersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6816
+ export declare const ListRerankersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6817
+ export declare const GetRerankerDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6144
6818
  export declare const CreateVersionedDatasetDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6145
6819
  export declare const UpdateVersionedDatasetDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6146
6820
  export declare const DeleteVersionedDatasetsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -6163,7 +6837,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
6163
6837
  updateAgentPlugin(variables: UpdateAgentPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPluginMutation>;
6164
6838
  updateAgentKnowledgeBase(variables: UpdateAgentKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentKnowledgeBaseMutation>;
6165
6839
  deleteAgentPrompt(variables: DeleteAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentPromptMutation>;
6840
+ getAgentReleaseStatus(variables: GetAgentReleaseStatusQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentReleaseStatusQuery>;
6166
6841
  getAgent(variables: GetAgentQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentQuery>;
6842
+ getAgentLatestReleaseInEachPlatform(variables: GetAgentLatestReleaseInEachPlatformQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentLatestReleaseInEachPlatformQuery>;
6843
+ getAgentReleaseHistory(variables: GetAgentReleaseHistoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentReleaseHistoryQuery>;
6167
6844
  listAgents(variables: ListAgentsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentsQuery>;
6168
6845
  listAgentPrompt(variables: ListAgentPromptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentPromptQuery>;
6169
6846
  listGPTCategory(variables?: ListGptCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGptCategoryQuery>;
@@ -6225,6 +6902,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
6225
6902
  updateRAG(variables: UpdateRagMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateRagMutation>;
6226
6903
  deleteRAG(variables: DeleteRagMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteRagMutation>;
6227
6904
  listRayClusters(variables: ListRayClustersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListRayClustersQuery>;
6905
+ createReranker(variables: CreateRerankerMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateRerankerMutation>;
6906
+ updateReranker(variables?: UpdateRerankerMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateRerankerMutation>;
6907
+ deleteRerankers(variables: DeleteRerankersMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteRerankersMutation>;
6908
+ listRerankers(variables: ListRerankersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListRerankersQuery>;
6909
+ getReranker(variables: GetRerankerQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetRerankerQuery>;
6228
6910
  createVersionedDataset(variables: CreateVersionedDatasetMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateVersionedDatasetMutation>;
6229
6911
  updateVersionedDataset(variables: UpdateVersionedDatasetMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateVersionedDatasetMutation>;
6230
6912
  deleteVersionedDatasets(variables: DeleteVersionedDatasetsMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteVersionedDatasetsMutation>;
@@ -6238,7 +6920,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
6238
6920
  };
6239
6921
  export type Sdk = ReturnType<typeof getSdk>;
6240
6922
  export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
6923
+ useGetAgentReleaseStatus(variables: GetAgentReleaseStatusQueryVariables, config?: SWRConfigInterface<GetAgentReleaseStatusQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentReleaseStatusQuery, ClientError>;
6241
6924
  useGetAgent(variables: GetAgentQueryVariables, config?: SWRConfigInterface<GetAgentQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentQuery, ClientError>;
6925
+ useGetAgentLatestReleaseInEachPlatform(variables: GetAgentLatestReleaseInEachPlatformQueryVariables, config?: SWRConfigInterface<GetAgentLatestReleaseInEachPlatformQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentLatestReleaseInEachPlatformQuery, ClientError>;
6926
+ useGetAgentReleaseHistory(variables: GetAgentReleaseHistoryQueryVariables, config?: SWRConfigInterface<GetAgentReleaseHistoryQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentReleaseHistoryQuery, ClientError>;
6242
6927
  useListAgents(variables: ListAgentsQueryVariables, config?: SWRConfigInterface<ListAgentsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentsQuery, ClientError>;
6243
6928
  useListAgentPrompt(variables: ListAgentPromptQueryVariables, config?: SWRConfigInterface<ListAgentPromptQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentPromptQuery, ClientError>;
6244
6929
  useListGptCategory(variables?: ListGptCategoryQueryVariables, config?: SWRConfigInterface<ListGptCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGptCategoryQuery, ClientError>;
@@ -6274,6 +6959,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6274
6959
  useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
6275
6960
  useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
6276
6961
  useListRayClusters(variables: ListRayClustersQueryVariables, config?: SWRConfigInterface<ListRayClustersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRayClustersQuery, ClientError>;
6962
+ useListRerankers(variables: ListRerankersQueryVariables, config?: SWRConfigInterface<ListRerankersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRerankersQuery, ClientError>;
6963
+ useGetReranker(variables: GetRerankerQueryVariables, config?: SWRConfigInterface<GetRerankerQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRerankerQuery, ClientError>;
6277
6964
  useGetVersionedDataset(variables: GetVersionedDatasetQueryVariables, config?: SWRConfigInterface<GetVersionedDatasetQuery, ClientError>): import("./useSWR").SWRResponsePro<GetVersionedDatasetQuery, ClientError>;
6278
6965
  useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
6279
6966
  useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
@@ -6290,7 +6977,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6290
6977
  releaseAgent(variables: Exact<{
6291
6978
  name: string;
6292
6979
  namespace: string;
6293
- isPublic: boolean;
6980
+ input: ReleaseAgentInput;
6294
6981
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseAgentMutation>;
6295
6982
  createOrUpdateAgentPrompt(variables: Exact<{
6296
6983
  namespacedname: string;
@@ -6312,10 +6999,24 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6312
6999
  namespacedname: string;
6313
7000
  ids?: InputMaybe<string | string[]> | undefined;
6314
7001
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteAgentPromptMutation>;
7002
+ getAgentReleaseStatus(variables: Exact<{
7003
+ name: string;
7004
+ namespace: string;
7005
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseStatusQuery>;
6315
7006
  getAgent(variables: Exact<{
6316
7007
  name: string;
6317
7008
  namespace: string;
6318
7009
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentQuery>;
7010
+ getAgentLatestReleaseInEachPlatform(variables: Exact<{
7011
+ name: string;
7012
+ namespace: string;
7013
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentLatestReleaseInEachPlatformQuery>;
7014
+ getAgentReleaseHistory(variables: Exact<{
7015
+ name: string;
7016
+ namespace: string;
7017
+ page?: InputMaybe<number> | undefined;
7018
+ pageSize?: InputMaybe<number> | undefined;
7019
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseHistoryQuery>;
6319
7020
  listAgents(variables: Exact<{
6320
7021
  input: ListCommonInput;
6321
7022
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentsQuery>;
@@ -6516,6 +7217,22 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6516
7217
  listRayClusters(variables: Exact<{
6517
7218
  input: ListCommonInput;
6518
7219
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListRayClustersQuery>;
7220
+ createReranker(variables: Exact<{
7221
+ input: CreateRerankerInput;
7222
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateRerankerMutation>;
7223
+ updateReranker(variables?: Exact<{
7224
+ input?: InputMaybe<UpdateRerankerInput> | undefined;
7225
+ }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateRerankerMutation>;
7226
+ deleteRerankers(variables: Exact<{
7227
+ input: DeleteCommonInput;
7228
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteRerankersMutation>;
7229
+ listRerankers(variables: Exact<{
7230
+ input: ListCommonInput;
7231
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListRerankersQuery>;
7232
+ getReranker(variables: Exact<{
7233
+ name: string;
7234
+ namespace: string;
7235
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetRerankerQuery>;
6519
7236
  createVersionedDataset(variables: Exact<{
6520
7237
  input: CreateVersionedDatasetInput;
6521
7238
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateVersionedDatasetMutation>;