@yuntijs/arcadia-bff-sdk 1.2.23 → 1.2.25

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
@@ -122,6 +122,8 @@ export type Application = {
122
122
  model?: Maybe<Scalars['String']['output']>;
123
123
  /** numDocuments 最终返回结果的引用上限 */
124
124
  numDocuments?: Maybe<Scalars['Int']['output']>;
125
+ /** plugins 要使用的插件列表 */
126
+ plugins?: Maybe<Array<Maybe<Plugin>>>;
125
127
  /** 对话开场白 */
126
128
  prologue?: Maybe<Scalars['String']['output']>;
127
129
  /** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
@@ -138,8 +140,6 @@ export type Application = {
138
140
  systemPrompt?: Maybe<Scalars['String']['output']>;
139
141
  /** temperature 温度 */
140
142
  temperature?: Maybe<Scalars['Float']['output']>;
141
- /** tools 要使用的工具列表 */
142
- tools?: Maybe<Array<Maybe<Tool>>>;
143
143
  /** userPrompt 用户级别的 Prompt */
144
144
  userPrompt?: Maybe<Scalars['String']['output']>;
145
145
  };
@@ -151,6 +151,8 @@ export type ApplicationMetadata = {
151
151
  __typename?: 'ApplicationMetadata';
152
152
  /** 添加一些辅助性记录信息 */
153
153
  annotations?: Maybe<Scalars['Map']['output']>;
154
+ /** Background, 智能体对话背景,base64 格式图片 */
155
+ background?: Maybe<Scalars['String']['output']>;
154
156
  /** category:所属分类 */
155
157
  category?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
156
158
  /** 创建时间 */
@@ -209,6 +211,11 @@ export type ApplicationMutation = {
209
211
  releaseApplication: ApplicationMetadata;
210
212
  updateApplication: ApplicationMetadata;
211
213
  updateApplicationConfig: Application;
214
+ updateApplicationDocumentLoader?: Maybe<Scalars['Void']['output']>;
215
+ updateApplicationKnowledgeBase?: Maybe<Scalars['Void']['output']>;
216
+ updateApplicationModel?: Maybe<Scalars['Void']['output']>;
217
+ updateApplicationPlugin?: Maybe<Scalars['Void']['output']>;
218
+ updateApplicationPrompt?: Maybe<Scalars['Void']['output']>;
212
219
  };
213
220
  export type ApplicationMutationCreateApplicationArgs = {
214
221
  input: CreateApplicationMetadataInput;
@@ -235,6 +242,21 @@ export type ApplicationMutationUpdateApplicationArgs = {
235
242
  export type ApplicationMutationUpdateApplicationConfigArgs = {
236
243
  input: UpdateApplicationConfigInput;
237
244
  };
245
+ export type ApplicationMutationUpdateApplicationDocumentLoaderArgs = {
246
+ input: UpdateApplicationDocumentLoaderInput;
247
+ };
248
+ export type ApplicationMutationUpdateApplicationKnowledgeBaseArgs = {
249
+ input: UpdateApplicationKnowledgebaseInput;
250
+ };
251
+ export type ApplicationMutationUpdateApplicationModelArgs = {
252
+ input: UpdateApplicationModelInput;
253
+ };
254
+ export type ApplicationMutationUpdateApplicationPluginArgs = {
255
+ input: UpdateApplicationPluginInput;
256
+ };
257
+ export type ApplicationMutationUpdateApplicationPromptArgs = {
258
+ input: UpdateApplicationPromptInput;
259
+ };
238
260
  export type ApplicationPrompt = {
239
261
  __typename?: 'ApplicationPrompt';
240
262
  content: Scalars['String']['output'];
@@ -283,6 +305,8 @@ export type CountDataProcessItem = {
283
305
  export type CreateApplicationMetadataInput = {
284
306
  /** 添加一些辅助性记录信息 */
285
307
  annotations?: InputMaybe<Scalars['Map']['input']>;
308
+ /** Background, 智能体对话背景,base64 格式图片 */
309
+ background?: InputMaybe<Scalars['String']['input']>;
286
310
  /** category:所属分类 */
287
311
  category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
288
312
  /** 描述信息 */
@@ -504,6 +528,42 @@ export type CreateModelServiceInput = {
504
528
  */
505
529
  types?: InputMaybe<Scalars['String']['input']>;
506
530
  };
531
+ export type CreatePluginInput = {
532
+ /** 添加一些辅助性记录信息 */
533
+ annotations?: InputMaybe<Scalars['Map']['input']>;
534
+ /** 用户提供openapi格式的API文档 */
535
+ apiDoc: Scalars['String']['input'];
536
+ /**
537
+ * 如果不需要认证,这个字段必须要填写
538
+ * 目前只有BasicAuth和Bearer Token支持。
539
+ * auth的格式Basic xxxx, Bearer xxxx。
540
+ */
541
+ authSecret?: InputMaybe<Scalars['String']['input']>;
542
+ /** 插件所属的分类 */
543
+ category: Scalars['String']['input'];
544
+ /** 描述信息 */
545
+ description?: InputMaybe<Scalars['String']['input']>;
546
+ /** 展示名,别名 */
547
+ displayName: Scalars['String']['input'];
548
+ /** 插件是否已经开启,如果关闭,在所有的智能体都是不可用的 */
549
+ enabled: Scalars['Boolean']['input'];
550
+ /** 插件图标,base64格式图片 */
551
+ icon: Scalars['String']['input'];
552
+ /** 一些用于标记,选择的的标签 */
553
+ labels?: InputMaybe<Scalars['Map']['input']>;
554
+ /**
555
+ * 应用名称
556
+ * 规则: 遵循 k8s 命名
557
+ */
558
+ name: Scalars['String']['input'];
559
+ /**
560
+ * 应用所在的namespace
561
+ * 规则: 非空
562
+ */
563
+ namespace: Scalars['String']['input'];
564
+ /** 插件类型 */
565
+ type?: InputMaybe<Scalars['String']['input']>;
566
+ };
507
567
  export type CreateRagInput = {
508
568
  annotations?: InputMaybe<Scalars['Map']['input']>;
509
569
  application: TypedObjectReferenceInput;
@@ -1438,6 +1498,33 @@ export type ListNodeInput = {
1438
1498
  */
1439
1499
  pageSize?: InputMaybe<Scalars['Int']['input']>;
1440
1500
  };
1501
+ export type ListPluginInput = {
1502
+ /** 基于应用过滤此引用使用的插件列表 */
1503
+ application?: InputMaybe<TypedObjectReferenceInput>;
1504
+ /** 字段选择器 */
1505
+ fieldSelector?: InputMaybe<Scalars['String']['input']>;
1506
+ /** 关键词: 模糊匹配 */
1507
+ keyword?: InputMaybe<Scalars['String']['input']>;
1508
+ /** 标签选择器 */
1509
+ labelSelector?: InputMaybe<Scalars['String']['input']>;
1510
+ namespace: Scalars['String']['input'];
1511
+ /**
1512
+ * 分页页码,
1513
+ * 规则: 从1开始,默认是1
1514
+ */
1515
+ page?: InputMaybe<Scalars['Int']['input']>;
1516
+ /**
1517
+ * 每页数量,
1518
+ * 规则: 默认10
1519
+ */
1520
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
1521
+ /**
1522
+ * 是否包含系统提供的插件
1523
+ * 规则: 为true时,代表将同时获取系统提供的插件
1524
+ * 规则: 默认为false
1525
+ */
1526
+ systemPlugin?: InputMaybe<Scalars['Boolean']['input']>;
1527
+ };
1441
1528
  export type ListRagInput = {
1442
1529
  appName: Scalars['String']['input'];
1443
1530
  /** 根据名字,displayName字段获取 */
@@ -1591,7 +1678,7 @@ export type ModelService = {
1591
1678
  annotations?: Maybe<Scalars['Map']['output']>;
1592
1679
  /**
1593
1680
  * 模型服务 API 类型
1594
- * 规则:支持 openai, zhipuai 两种类型
1681
+ * 规则:支持 openai, zhipuai,dashscope,gemini 四种类型
1595
1682
  */
1596
1683
  apiType?: Maybe<Scalars['String']['output']>;
1597
1684
  /** 服务地址: 仅针对第三方模型服务 */
@@ -1681,6 +1768,7 @@ export type Mutation = {
1681
1768
  KnowledgeBase?: Maybe<KnowledgeBaseMutation>;
1682
1769
  Model?: Maybe<ModelMutation>;
1683
1770
  ModelService?: Maybe<ModelServiceMutation>;
1771
+ Plugin?: Maybe<PluginMutation>;
1684
1772
  RAG?: Maybe<RagMutation>;
1685
1773
  VersionedDataset?: Maybe<VersionedDatasetMutation>;
1686
1774
  Worker?: Maybe<WorkerMutation>;
@@ -1726,7 +1814,7 @@ export type OssInput = {
1726
1814
  bucket: Scalars['String']['input'];
1727
1815
  object?: InputMaybe<Scalars['String']['input']>;
1728
1816
  };
1729
- export type PageNode = ApplicationMetadata | ApplicationPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Rag | RayCluster | VersionedDataset | Worker;
1817
+ export type PageNode = ApplicationMetadata | ApplicationPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
1730
1818
  export type PaginatedDataProcessItem = {
1731
1819
  __typename?: 'PaginatedDataProcessItem';
1732
1820
  data?: Maybe<Array<DataProcessItem>>;
@@ -1780,6 +1868,85 @@ export type Pg = {
1780
1868
  export type PgInput = {
1781
1869
  database: Scalars['String']['input'];
1782
1870
  };
1871
+ export type Plugin = {
1872
+ __typename?: 'Plugin';
1873
+ /** 添加一些辅助性记录信息 */
1874
+ annotations?: Maybe<Scalars['Map']['output']>;
1875
+ /** 用户提供openapi格式的API文档 */
1876
+ apiDoc: Scalars['String']['output'];
1877
+ /**
1878
+ * 如果不需要认证,这个字段必须要填写
1879
+ * 目前只有BasicAuth和Bearer Token支持。
1880
+ * auth的格式Basic xxxx, Bearer xxxx。
1881
+ */
1882
+ authSecret?: Maybe<Scalars['String']['output']>;
1883
+ /** 插件所属的分类 */
1884
+ category: Scalars['String']['output'];
1885
+ /** 创建时间 */
1886
+ creationTimestamp?: Maybe<Scalars['Time']['output']>;
1887
+ /**
1888
+ * 创建者,为当前用户的用户名
1889
+ * 规则: webhook启用后自动添加,默认为空
1890
+ */
1891
+ creator?: Maybe<Scalars['String']['output']>;
1892
+ /** 描述信息 */
1893
+ description?: Maybe<Scalars['String']['output']>;
1894
+ /** 展示名,别名 */
1895
+ displayName?: Maybe<Scalars['String']['output']>;
1896
+ /** 插件是否已经开启,如果关闭,在所有的智能体都是不可用的 */
1897
+ enabled: Scalars['Boolean']['output'];
1898
+ /** 插件图标,base64格式图片 */
1899
+ icon?: Maybe<Scalars['String']['output']>;
1900
+ /** 应用id,为CR资源中的metadata.uid */
1901
+ id?: Maybe<Scalars['String']['output']>;
1902
+ /** 一些用于标记,选择的的标签 */
1903
+ labels?: Maybe<Scalars['Map']['output']>;
1904
+ /**
1905
+ * 应用名称
1906
+ * 规则: 遵循 k8s 命名
1907
+ */
1908
+ name: Scalars['String']['output'];
1909
+ /**
1910
+ * 应用所在的 namespace
1911
+ * 规则: 非空
1912
+ */
1913
+ namespace: Scalars['String']['output'];
1914
+ /** 状态 */
1915
+ status?: Maybe<Scalars['String']['output']>;
1916
+ /** 是否为平台内置插件 */
1917
+ systemPlugin?: Maybe<Scalars['Boolean']['output']>;
1918
+ /** 插件类型 */
1919
+ type?: Maybe<Scalars['String']['output']>;
1920
+ /** 更新时间 */
1921
+ updateTimestamp?: Maybe<Scalars['Time']['output']>;
1922
+ };
1923
+ export type PluginMutation = {
1924
+ __typename?: 'PluginMutation';
1925
+ createPlugin: Plugin;
1926
+ deletePlugin?: Maybe<Scalars['Void']['output']>;
1927
+ updatePlugin: Plugin;
1928
+ };
1929
+ export type PluginMutationCreatePluginArgs = {
1930
+ input: CreatePluginInput;
1931
+ };
1932
+ export type PluginMutationDeletePluginArgs = {
1933
+ input: DeleteCommonInput;
1934
+ };
1935
+ export type PluginMutationUpdatePluginArgs = {
1936
+ input: UpdatePluginInput;
1937
+ };
1938
+ export type PluginQuery = {
1939
+ __typename?: 'PluginQuery';
1940
+ getPlugin: Plugin;
1941
+ listPlugins: PaginatedResult;
1942
+ };
1943
+ export type PluginQueryGetPluginArgs = {
1944
+ name: Scalars['String']['input'];
1945
+ namespace: Scalars['String']['input'];
1946
+ };
1947
+ export type PluginQueryListPluginsArgs = {
1948
+ input: ListPluginInput;
1949
+ };
1783
1950
  export type Query = {
1784
1951
  __typename?: 'Query';
1785
1952
  Application?: Maybe<ApplicationQuery>;
@@ -1791,6 +1958,7 @@ export type Query = {
1791
1958
  Model?: Maybe<ModelQuery>;
1792
1959
  ModelService?: Maybe<ModelServiceQuery>;
1793
1960
  Node?: Maybe<NodeQuery>;
1961
+ Plugin?: Maybe<PluginQuery>;
1794
1962
  RAG?: Maybe<RagQuery>;
1795
1963
  RayCluster?: Maybe<RayClusterQuery>;
1796
1964
  VersionedDataset?: Maybe<VersionedDatasetQuery>;
@@ -2000,61 +2168,6 @@ export type SelectorInput = {
2000
2168
  matchExpressions?: InputMaybe<Array<InputMaybe<LabelSelectorRequirementInput>>>;
2001
2169
  matchLabels?: InputMaybe<Scalars['Map']['input']>;
2002
2170
  };
2003
- /** Tool 应用和Agent中用到的工具 */
2004
- export type Tool = {
2005
- __typename?: 'Tool';
2006
- /**
2007
- * 名称,需要严格大小写一致,可选项为:"Bing Search API","calculator","Weather Query API","Web Scraper"
2008
- * - "Bing Search API" bing搜索工具
2009
- * - "calculator" 计算器
2010
- * - "Weather Query API" 天气查询
2011
- * - "Web Scraper" 网页爬取
2012
- */
2013
- name?: Maybe<Scalars['String']['output']>;
2014
- /**
2015
- * params 参数,需要严格大小写一致
2016
- * "Bing Search API"
2017
- * - apiKey:密钥,默认提供
2018
- * - count:返回数目,默认为5
2019
- * - scraperPage:是否抓取bing搜到的网页的内容,默认为true
2020
- * "calculator" 没有参数
2021
- * "Weather Query API"
2022
- * - apiKey:密钥,默认提供;
2023
- * "Web Scraper"
2024
- * - delay:抓取时间间隔,秒,默认3
2025
- * - async:是否异步抓取,是或者否,默认true
2026
- * - handleLinks:是否从网页内的链接,继续抓取,是或者否,默认false
2027
- * - blacklist:黑名单列表,用逗号隔开的字符串,默认是login,signup,signin,register,logout,download,redirect,表示这些页面都不抓取
2028
- */
2029
- params?: Maybe<Scalars['Map']['output']>;
2030
- };
2031
- /** ToolInput 应用和Agent中用到的工具 */
2032
- export type ToolInput = {
2033
- /**
2034
- * 名称,需要严格大小写一致,可选项为:"Bing Search API","calculator","Weather Query API","Web Scraper"
2035
- * - "Bing Search API" bing搜索工具
2036
- * - "calculator" 计算器
2037
- * - "Weather Query API" 天气查询
2038
- * - "Web Scraper" 网页爬取
2039
- */
2040
- name: Scalars['String']['input'];
2041
- /**
2042
- * params 参数,可选,需要严格大小写一致
2043
- * "Bing Search API"
2044
- * - apiKey:密钥,默认提供
2045
- * - count:返回数目,默认为5
2046
- * - scraperPage:是否抓取bing搜到的网页的内容,默认为true
2047
- * "calculator" 没有参数
2048
- * "Weather Query API"
2049
- * - apiKey:密钥,默认提供;
2050
- * "Web Scraper"
2051
- * - delay:抓取时间间隔,秒,默认3
2052
- * - async:是否异步抓取,是或者否,默认true
2053
- * - handleLinks:是否从网页内的链接,继续抓取,是或者否,默认false
2054
- * - blacklist:黑名单列表,用逗号隔开的字符串,默认是login,signup,signin,register,logout,download,redirect,表示这些页面都不抓取
2055
- */
2056
- params?: InputMaybe<Scalars['Map']['input']>;
2057
- };
2058
2171
  export type TypedObjectReference = {
2059
2172
  __typename?: 'TypedObjectReference';
2060
2173
  apiGroup?: Maybe<Scalars['String']['output']>;
@@ -2110,6 +2223,8 @@ export type UpdateApplicationConfigInput = {
2110
2223
  namespace: Scalars['String']['input'];
2111
2224
  /** numDocuments 最终返回结果的引用上限 */
2112
2225
  numDocuments?: InputMaybe<Scalars['Int']['input']>;
2226
+ /** plugins 要使用的插件列表 */
2227
+ plugins?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
2113
2228
  /** 对话开场白 */
2114
2229
  prologue?: InputMaybe<Scalars['String']['input']>;
2115
2230
  /** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
@@ -2126,20 +2241,80 @@ export type UpdateApplicationConfigInput = {
2126
2241
  systemPrompt?: InputMaybe<Scalars['String']['input']>;
2127
2242
  /** temperature 温度 */
2128
2243
  temperature?: InputMaybe<Scalars['Float']['input']>;
2129
- /** tools 要使用的工具列表 */
2130
- tools?: InputMaybe<Array<InputMaybe<ToolInput>>>;
2131
2244
  /** userPrompt 用户级别的 Prompt */
2132
2245
  userPrompt?: InputMaybe<Scalars['String']['input']>;
2133
2246
  };
2247
+ export type UpdateApplicationDocumentLoaderInput = {
2248
+ /** batchSize 上传文档做批量处理时的批次大小 */
2249
+ batchSize?: InputMaybe<Scalars['Int']['input']>;
2250
+ /** chunkOverlap 上传文档作文档拆分时相邻块的交集 */
2251
+ chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
2252
+ /** chunkSize 上传文档做文档拆分时的块大小 */
2253
+ chunkSize?: InputMaybe<Scalars['Int']['input']>;
2254
+ /** enableUploadFile 是否开启对话上传文档功能 */
2255
+ enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
2256
+ /**
2257
+ * 应用名称, 用于确定要更新哪个应用
2258
+ * 规则: 遵循 k8s 命名
2259
+ */
2260
+ name: Scalars['String']['input'];
2261
+ /**
2262
+ * 应用所在的 namespace, 用于确定要更新哪个应用
2263
+ * 规则: 非空
2264
+ */
2265
+ namespace: Scalars['String']['input'];
2266
+ };
2267
+ export type UpdateApplicationKnowledgebaseInput = {
2268
+ /** conversionWindowSize 对话轮次 */
2269
+ conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
2270
+ /** enableMultiQuery 是否启用多查询 */
2271
+ enableMultiQuery?: InputMaybe<Scalars['Boolean']['input']>;
2272
+ /** enableRerank 是否启用 rerank */
2273
+ enableRerank?: InputMaybe<Scalars['Boolean']['input']>;
2274
+ /** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
2275
+ knowledgebase?: InputMaybe<Scalars['String']['input']>;
2276
+ /** maxLength 最大响应长度 */
2277
+ maxLength?: InputMaybe<Scalars['Int']['input']>;
2278
+ /** maxTokens 最大输出token */
2279
+ maxTokens?: InputMaybe<Scalars['Int']['input']>;
2280
+ /** 模型名字 */
2281
+ model?: InputMaybe<Scalars['String']['input']>;
2282
+ /**
2283
+ * 应用名称, 用于确定要更新哪个应用
2284
+ * 规则: 遵循 k8s 命名
2285
+ */
2286
+ name: Scalars['String']['input'];
2287
+ /**
2288
+ * 应用所在的 namespace, 用于确定要更新哪个应用
2289
+ * 规则: 非空
2290
+ */
2291
+ namespace: Scalars['String']['input'];
2292
+ /** numDocuments 最终返回结果的引用上限 */
2293
+ numDocuments?: InputMaybe<Scalars['Int']['input']>;
2294
+ /** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
2295
+ rerankModel?: InputMaybe<Scalars['String']['input']>;
2296
+ /** scoreThreshold 最终返回结果的最低相似度 */
2297
+ scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
2298
+ /** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
2299
+ showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
2300
+ /** temperature 温度 */
2301
+ temperature?: InputMaybe<Scalars['Float']['input']>;
2302
+ };
2134
2303
  export type UpdateApplicationMetadataInput = {
2135
2304
  /** 添加一些辅助性记录信息,如果要更新,请传递完整内容 */
2136
2305
  annotations?: InputMaybe<Scalars['Map']['input']>;
2306
+ /** Background, 智能体对话背景,base64 格式图片 */
2307
+ background?: InputMaybe<Scalars['String']['input']>;
2137
2308
  /** category:所属分类 */
2138
2309
  category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2310
+ /** chatTimeout 对话超时,单位秒,不填为默认 60s */
2311
+ chatTimeout?: InputMaybe<Scalars['Float']['input']>;
2139
2312
  /** 描述信息 */
2140
2313
  description?: InputMaybe<Scalars['String']['input']>;
2141
2314
  /** 展示名,别名 */
2142
2315
  displayName: Scalars['String']['input'];
2316
+ /** 空搜索回复 */
2317
+ docNullReturn?: InputMaybe<Scalars['String']['input']>;
2143
2318
  /** Icon,应用头像, base64格式的图片 */
2144
2319
  icon: Scalars['String']['input'];
2145
2320
  /** IsPublic, 是否发布,即是否公开提供服务 */
@@ -2158,6 +2333,68 @@ export type UpdateApplicationMetadataInput = {
2158
2333
  * 规则: 非空
2159
2334
  */
2160
2335
  namespace: Scalars['String']['input'];
2336
+ /** 对话开场白 */
2337
+ prologue?: InputMaybe<Scalars['String']['input']>;
2338
+ /** 查看关联信息配置,即是否在chat界面显示关联信息 */
2339
+ showRespInfo?: InputMaybe<Scalars['Boolean']['input']>;
2340
+ /** 看引用配置,即是否在chat界面显示引用信息 */
2341
+ showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
2342
+ };
2343
+ export type UpdateApplicationModelInput = {
2344
+ /** conversionWindowSize 对话轮次 */
2345
+ conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
2346
+ /** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
2347
+ llm: Scalars['String']['input'];
2348
+ /** maxLength 最大响应长度 */
2349
+ maxLength?: InputMaybe<Scalars['Int']['input']>;
2350
+ /** maxTokens 最大输出token */
2351
+ maxTokens?: InputMaybe<Scalars['Int']['input']>;
2352
+ /** model 指具体使用的模型名称,比如 gpt-3.5-turbo 或者 chatglm_turbo */
2353
+ model?: InputMaybe<Scalars['String']['input']>;
2354
+ /**
2355
+ * 应用名称, 用于确定要更新哪个应用
2356
+ * 规则: 遵循 k8s 命名
2357
+ */
2358
+ name: Scalars['String']['input'];
2359
+ /**
2360
+ * 应用所在的 namespace, 用于确定要更新哪个应用
2361
+ * 规则: 非空
2362
+ */
2363
+ namespace: Scalars['String']['input'];
2364
+ /** temperature 温度 */
2365
+ temperature?: InputMaybe<Scalars['Float']['input']>;
2366
+ };
2367
+ export type UpdateApplicationPluginInput = {
2368
+ /** conversionWindowSize 对话轮次 */
2369
+ conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
2370
+ /**
2371
+ * 应用名称, 用于确定要更新哪个应用
2372
+ * 规则: 遵循 k8s 命名
2373
+ */
2374
+ name: Scalars['String']['input'];
2375
+ /**
2376
+ * 应用所在的 namespace, 用于确定要更新哪个应用
2377
+ * 规则: 非空
2378
+ */
2379
+ namespace: Scalars['String']['input'];
2380
+ /** plugins 要使用的插件列表 */
2381
+ plugins?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
2382
+ };
2383
+ export type UpdateApplicationPromptInput = {
2384
+ /**
2385
+ * 应用名称, 用于确定要更新哪个应用
2386
+ * 规则: 遵循 k8s 命名
2387
+ */
2388
+ name: Scalars['String']['input'];
2389
+ /**
2390
+ * 应用所在的 namespace, 用于确定要更新哪个应用
2391
+ * 规则: 非空
2392
+ */
2393
+ namespace: Scalars['String']['input'];
2394
+ /** systemPrompt 系统级别的 Prompt */
2395
+ systemPrompt?: InputMaybe<Scalars['String']['input']>;
2396
+ /** userPrompt 用户级别的 Prompt */
2397
+ userPrompt?: InputMaybe<Scalars['String']['input']>;
2161
2398
  };
2162
2399
  /** 数据集更新的输入 */
2163
2400
  export type UpdateDatasetInput = {
@@ -2346,6 +2583,42 @@ export type UpdateModelServiceInput = {
2346
2583
  */
2347
2584
  types?: InputMaybe<Scalars['String']['input']>;
2348
2585
  };
2586
+ export type UpdatePluginInput = {
2587
+ /** 添加一些辅助性记录信息,如果要更新,请传递完整内容 */
2588
+ annotations?: InputMaybe<Scalars['Map']['input']>;
2589
+ /** 用户提供openapi格式的API文档 */
2590
+ apiDoc?: InputMaybe<Scalars['String']['input']>;
2591
+ /**
2592
+ * 如果不需要认证,这个字段必须要填写
2593
+ * 目前只有BasicAuth和Bearer Token支持。
2594
+ * auth的格式Basic xxxx, Bearer xxxx。
2595
+ */
2596
+ authSecret?: InputMaybe<Scalars['String']['input']>;
2597
+ /** 插件所属的分类 */
2598
+ category?: InputMaybe<Scalars['String']['input']>;
2599
+ /** 描述信息 */
2600
+ description?: InputMaybe<Scalars['String']['input']>;
2601
+ /** 展示名,别名 */
2602
+ displayName: Scalars['String']['input'];
2603
+ /** 插件是否已经开启,如果关闭,在所有的智能体都是不可用的 */
2604
+ enabled?: InputMaybe<Scalars['Boolean']['input']>;
2605
+ /** 插件图标,base64格式图片 */
2606
+ icon: Scalars['String']['input'];
2607
+ /** 一些用于标记,选择的的标签,如果要更新,请传递完整内容 */
2608
+ labels?: InputMaybe<Scalars['Map']['input']>;
2609
+ /**
2610
+ * 应用名称, 用于确定要更新哪个应用
2611
+ * 规则: 遵循 k8s 命名
2612
+ */
2613
+ name: Scalars['String']['input'];
2614
+ /**
2615
+ * 应用所在的 namespace, 用于确定要更新哪个应用
2616
+ * 规则: 非空
2617
+ */
2618
+ namespace: Scalars['String']['input'];
2619
+ /** 插件类型 */
2620
+ type?: InputMaybe<Scalars['String']['input']>;
2621
+ };
2349
2622
  export type UpdateRagInput = {
2350
2623
  annotations?: InputMaybe<Scalars['Map']['input']>;
2351
2624
  application?: InputMaybe<TypedObjectReferenceInput>;
@@ -2691,6 +2964,7 @@ export type CreateApplicationMutation = {
2691
2964
  displayName?: string | null;
2692
2965
  description?: string | null;
2693
2966
  icon?: string | null;
2967
+ background?: string | null;
2694
2968
  creator?: string | null;
2695
2969
  creationTimestamp?: any | null;
2696
2970
  updateTimestamp?: any | null;
@@ -2719,6 +2993,7 @@ export type UpdateApplicationMutation = {
2719
2993
  displayName?: string | null;
2720
2994
  description?: string | null;
2721
2995
  icon?: string | null;
2996
+ background?: string | null;
2722
2997
  creator?: string | null;
2723
2998
  creationTimestamp?: any | null;
2724
2999
  updateTimestamp?: any | null;
@@ -2783,6 +3058,7 @@ export type UpdateApplicationConfigMutation = {
2783
3058
  displayName?: string | null;
2784
3059
  description?: string | null;
2785
3060
  icon?: string | null;
3061
+ background?: string | null;
2786
3062
  creator?: string | null;
2787
3063
  creationTimestamp?: any | null;
2788
3064
  updateTimestamp?: any | null;
@@ -2792,10 +3068,10 @@ export type UpdateApplicationConfigMutation = {
2792
3068
  category?: Array<string | null> | null;
2793
3069
  notReadyReasonCode?: string | null;
2794
3070
  } | null;
2795
- tools?: Array<{
2796
- __typename?: 'Tool';
2797
- name?: string | null;
2798
- params?: any | null;
3071
+ plugins?: Array<{
3072
+ __typename?: 'Plugin';
3073
+ name: string;
3074
+ namespace: string;
2799
3075
  } | null> | null;
2800
3076
  };
2801
3077
  } | null;
@@ -2819,6 +3095,7 @@ export type ReleaseApplicationMutation = {
2819
3095
  displayName?: string | null;
2820
3096
  description?: string | null;
2821
3097
  icon?: string | null;
3098
+ background?: string | null;
2822
3099
  creator?: string | null;
2823
3100
  creationTimestamp?: any | null;
2824
3101
  updateTimestamp?: any | null;
@@ -2841,6 +3118,56 @@ export type CreateOrUpdateApplicationPromptMutation = {
2841
3118
  createOrUpdateApplicationPrompt?: any | null;
2842
3119
  } | null;
2843
3120
  };
3121
+ export type UpdateApplicationPromptMutationVariables = Exact<{
3122
+ input: UpdateApplicationPromptInput;
3123
+ }>;
3124
+ export type UpdateApplicationPromptMutation = {
3125
+ __typename?: 'Mutation';
3126
+ Application?: {
3127
+ __typename?: 'ApplicationMutation';
3128
+ updateApplicationPrompt?: any | null;
3129
+ } | null;
3130
+ };
3131
+ export type UpdateApplicationModelMutationVariables = Exact<{
3132
+ input: UpdateApplicationModelInput;
3133
+ }>;
3134
+ export type UpdateApplicationModelMutation = {
3135
+ __typename?: 'Mutation';
3136
+ Application?: {
3137
+ __typename?: 'ApplicationMutation';
3138
+ updateApplicationModel?: any | null;
3139
+ } | null;
3140
+ };
3141
+ export type UpdateApplicationPluginMutationVariables = Exact<{
3142
+ input: UpdateApplicationPluginInput;
3143
+ }>;
3144
+ export type UpdateApplicationPluginMutation = {
3145
+ __typename?: 'Mutation';
3146
+ Application?: {
3147
+ __typename?: 'ApplicationMutation';
3148
+ updateApplicationPlugin?: any | null;
3149
+ } | null;
3150
+ };
3151
+ export type UpdateApplicationKnowledgeBaseMutationVariables = Exact<{
3152
+ input: UpdateApplicationKnowledgebaseInput;
3153
+ }>;
3154
+ export type UpdateApplicationKnowledgeBaseMutation = {
3155
+ __typename?: 'Mutation';
3156
+ Application?: {
3157
+ __typename?: 'ApplicationMutation';
3158
+ updateApplicationKnowledgeBase?: any | null;
3159
+ } | null;
3160
+ };
3161
+ export type UpdateApplicationDocumentLoaderMutationVariables = Exact<{
3162
+ input: UpdateApplicationDocumentLoaderInput;
3163
+ }>;
3164
+ export type UpdateApplicationDocumentLoaderMutation = {
3165
+ __typename?: 'Mutation';
3166
+ Application?: {
3167
+ __typename?: 'ApplicationMutation';
3168
+ updateApplicationDocumentLoader?: any | null;
3169
+ } | null;
3170
+ };
2844
3171
  export type DeleteApplicationPromptMutationVariables = Exact<{
2845
3172
  namespacedname: Scalars['String']['input'];
2846
3173
  ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
@@ -2896,6 +3223,7 @@ export type GetApplicationQuery = {
2896
3223
  displayName?: string | null;
2897
3224
  description?: string | null;
2898
3225
  icon?: string | null;
3226
+ background?: string | null;
2899
3227
  creator?: string | null;
2900
3228
  creationTimestamp?: any | null;
2901
3229
  updateTimestamp?: any | null;
@@ -2905,10 +3233,10 @@ export type GetApplicationQuery = {
2905
3233
  category?: Array<string | null> | null;
2906
3234
  notReadyReasonCode?: string | null;
2907
3235
  } | null;
2908
- tools?: Array<{
2909
- __typename?: 'Tool';
2910
- name?: string | null;
2911
- params?: any | null;
3236
+ plugins?: Array<{
3237
+ __typename?: 'Plugin';
3238
+ name: string;
3239
+ namespace: string;
2912
3240
  } | null> | null;
2913
3241
  };
2914
3242
  } | null;
@@ -2936,6 +3264,7 @@ export type ListApplicationsQuery = {
2936
3264
  displayName?: string | null;
2937
3265
  description?: string | null;
2938
3266
  icon?: string | null;
3267
+ background?: string | null;
2939
3268
  creator?: string | null;
2940
3269
  creationTimestamp?: any | null;
2941
3270
  updateTimestamp?: any | null;
@@ -2964,6 +3293,8 @@ export type ListApplicationsQuery = {
2964
3293
  __typename?: 'ModelService';
2965
3294
  } | {
2966
3295
  __typename?: 'Node';
3296
+ } | {
3297
+ __typename?: 'Plugin';
2967
3298
  } | {
2968
3299
  __typename?: 'RAG';
2969
3300
  } | {
@@ -3017,6 +3348,8 @@ export type ListApplicationPromptQuery = {
3017
3348
  __typename?: 'ModelService';
3018
3349
  } | {
3019
3350
  __typename?: 'Node';
3351
+ } | {
3352
+ __typename?: 'Plugin';
3020
3353
  } | {
3021
3354
  __typename?: 'RAG';
3022
3355
  } | {
@@ -3375,6 +3708,8 @@ export type ListDatasetsQuery = {
3375
3708
  __typename?: 'ModelService';
3376
3709
  } | {
3377
3710
  __typename?: 'Node';
3711
+ } | {
3712
+ __typename?: 'Plugin';
3378
3713
  } | {
3379
3714
  __typename?: 'RAG';
3380
3715
  } | {
@@ -3414,6 +3749,8 @@ export type ListDatasetsQuery = {
3414
3749
  __typename?: 'ModelService';
3415
3750
  } | {
3416
3751
  __typename?: 'Node';
3752
+ } | {
3753
+ __typename?: 'Plugin';
3417
3754
  } | {
3418
3755
  __typename?: 'RAG';
3419
3756
  } | {
@@ -3472,6 +3809,8 @@ export type GetDatasetQuery = {
3472
3809
  __typename?: 'ModelService';
3473
3810
  } | {
3474
3811
  __typename?: 'Node';
3812
+ } | {
3813
+ __typename?: 'Plugin';
3475
3814
  } | {
3476
3815
  __typename?: 'RAG';
3477
3816
  } | {
@@ -3707,6 +4046,8 @@ export type ListDatasourcesQuery = {
3707
4046
  __typename: 'ModelService';
3708
4047
  } | {
3709
4048
  __typename: 'Node';
4049
+ } | {
4050
+ __typename: 'Plugin';
3710
4051
  } | {
3711
4052
  __typename: 'RAG';
3712
4053
  } | {
@@ -3888,6 +4229,8 @@ export type ListEmbeddersQuery = {
3888
4229
  __typename?: 'ModelService';
3889
4230
  } | {
3890
4231
  __typename?: 'Node';
4232
+ } | {
4233
+ __typename?: 'Plugin';
3891
4234
  } | {
3892
4235
  __typename?: 'RAG';
3893
4236
  } | {
@@ -4006,6 +4349,8 @@ export type ListKnowledgeBasesQuery = {
4006
4349
  __typename?: 'ModelService';
4007
4350
  } | {
4008
4351
  __typename?: 'Node';
4352
+ } | {
4353
+ __typename?: 'Plugin';
4009
4354
  } | {
4010
4355
  __typename?: 'RAG';
4011
4356
  } | {
@@ -4258,6 +4603,8 @@ export type ListLlMsQuery = {
4258
4603
  __typename?: 'ModelService';
4259
4604
  } | {
4260
4605
  __typename?: 'Node';
4606
+ } | {
4607
+ __typename?: 'Plugin';
4261
4608
  } | {
4262
4609
  __typename?: 'RAG';
4263
4610
  } | {
@@ -4376,6 +4723,8 @@ export type ListModelsQuery = {
4376
4723
  __typename?: 'ModelService';
4377
4724
  } | {
4378
4725
  __typename?: 'Node';
4726
+ } | {
4727
+ __typename?: 'Plugin';
4379
4728
  } | {
4380
4729
  __typename?: 'RAG';
4381
4730
  } | {
@@ -4390,6 +4739,8 @@ export type ListModelsQuery = {
4390
4739
  __typename: 'ModelService';
4391
4740
  } | {
4392
4741
  __typename: 'Node';
4742
+ } | {
4743
+ __typename: 'Plugin';
4393
4744
  } | {
4394
4745
  __typename: 'RAG';
4395
4746
  } | {
@@ -4463,6 +4814,8 @@ export type GetModelQuery = {
4463
4814
  __typename?: 'ModelService';
4464
4815
  } | {
4465
4816
  __typename?: 'Node';
4817
+ } | {
4818
+ __typename?: 'Plugin';
4466
4819
  } | {
4467
4820
  __typename?: 'RAG';
4468
4821
  } | {
@@ -4698,6 +5051,8 @@ export type ListModelServicesQuery = {
4698
5051
  baseUrl: string;
4699
5052
  } | {
4700
5053
  __typename: 'Node';
5054
+ } | {
5055
+ __typename: 'Plugin';
4701
5056
  } | {
4702
5057
  __typename: 'RAG';
4703
5058
  } | {
@@ -4761,6 +5116,8 @@ export type ListNodesQuery = {
4761
5116
  __typename: 'Node';
4762
5117
  name: string;
4763
5118
  labels?: any | null;
5119
+ } | {
5120
+ __typename: 'Plugin';
4764
5121
  } | {
4765
5122
  __typename: 'RAG';
4766
5123
  } | {
@@ -4773,6 +5130,172 @@ export type ListNodesQuery = {
4773
5130
  };
4774
5131
  } | null;
4775
5132
  };
5133
+ export type ListPluginsQueryVariables = Exact<{
5134
+ input: ListPluginInput;
5135
+ }>;
5136
+ export type ListPluginsQuery = {
5137
+ __typename?: 'Query';
5138
+ Plugin?: {
5139
+ __typename?: 'PluginQuery';
5140
+ listPlugins: {
5141
+ __typename?: 'PaginatedResult';
5142
+ totalCount: number;
5143
+ hasNextPage: boolean;
5144
+ nodes?: Array<{
5145
+ __typename: 'ApplicationMetadata';
5146
+ } | {
5147
+ __typename: 'ApplicationPrompt';
5148
+ } | {
5149
+ __typename: 'Dataset';
5150
+ } | {
5151
+ __typename: 'Datasource';
5152
+ } | {
5153
+ __typename: 'Embedder';
5154
+ } | {
5155
+ __typename: 'F';
5156
+ } | {
5157
+ __typename: 'KnowledgeBase';
5158
+ } | {
5159
+ __typename: 'LLM';
5160
+ } | {
5161
+ __typename: 'Model';
5162
+ } | {
5163
+ __typename: 'ModelService';
5164
+ } | {
5165
+ __typename: 'Node';
5166
+ } | {
5167
+ __typename: 'Plugin';
5168
+ id?: string | null;
5169
+ creationTimestamp?: any | null;
5170
+ name: string;
5171
+ namespace: string;
5172
+ systemPlugin?: boolean | null;
5173
+ labels?: any | null;
5174
+ annotations?: any | null;
5175
+ creator?: string | null;
5176
+ displayName?: string | null;
5177
+ description?: string | null;
5178
+ type?: string | null;
5179
+ icon?: string | null;
5180
+ status?: string | null;
5181
+ updateTimestamp?: any | null;
5182
+ category: string;
5183
+ apiDoc: string;
5184
+ authSecret?: string | null;
5185
+ enabled: boolean;
5186
+ } | {
5187
+ __typename: 'RAG';
5188
+ } | {
5189
+ __typename: 'RayCluster';
5190
+ } | {
5191
+ __typename: 'VersionedDataset';
5192
+ } | {
5193
+ __typename: 'Worker';
5194
+ }> | null;
5195
+ };
5196
+ } | null;
5197
+ };
5198
+ export type GetPluginQueryVariables = Exact<{
5199
+ name: Scalars['String']['input'];
5200
+ namespace: Scalars['String']['input'];
5201
+ }>;
5202
+ export type GetPluginQuery = {
5203
+ __typename?: 'Query';
5204
+ Plugin?: {
5205
+ __typename?: 'PluginQuery';
5206
+ getPlugin: {
5207
+ __typename?: 'Plugin';
5208
+ id?: string | null;
5209
+ creationTimestamp?: any | null;
5210
+ name: string;
5211
+ namespace: string;
5212
+ systemPlugin?: boolean | null;
5213
+ labels?: any | null;
5214
+ annotations?: any | null;
5215
+ creator?: string | null;
5216
+ displayName?: string | null;
5217
+ description?: string | null;
5218
+ type?: string | null;
5219
+ icon?: string | null;
5220
+ status?: string | null;
5221
+ updateTimestamp?: any | null;
5222
+ category: string;
5223
+ apiDoc: string;
5224
+ authSecret?: string | null;
5225
+ enabled: boolean;
5226
+ };
5227
+ } | null;
5228
+ };
5229
+ export type CreatePluginMutationVariables = Exact<{
5230
+ input: CreatePluginInput;
5231
+ }>;
5232
+ export type CreatePluginMutation = {
5233
+ __typename?: 'Mutation';
5234
+ Plugin?: {
5235
+ __typename?: 'PluginMutation';
5236
+ createPlugin: {
5237
+ __typename?: 'Plugin';
5238
+ id?: string | null;
5239
+ creationTimestamp?: any | null;
5240
+ name: string;
5241
+ namespace: string;
5242
+ systemPlugin?: boolean | null;
5243
+ labels?: any | null;
5244
+ annotations?: any | null;
5245
+ creator?: string | null;
5246
+ displayName?: string | null;
5247
+ description?: string | null;
5248
+ type?: string | null;
5249
+ icon?: string | null;
5250
+ status?: string | null;
5251
+ updateTimestamp?: any | null;
5252
+ category: string;
5253
+ apiDoc: string;
5254
+ authSecret?: string | null;
5255
+ enabled: boolean;
5256
+ };
5257
+ } | null;
5258
+ };
5259
+ export type UpdatePluginMutationVariables = Exact<{
5260
+ input: UpdatePluginInput;
5261
+ }>;
5262
+ export type UpdatePluginMutation = {
5263
+ __typename?: 'Mutation';
5264
+ Plugin?: {
5265
+ __typename?: 'PluginMutation';
5266
+ updatePlugin: {
5267
+ __typename?: 'Plugin';
5268
+ id?: string | null;
5269
+ creationTimestamp?: any | null;
5270
+ name: string;
5271
+ namespace: string;
5272
+ systemPlugin?: boolean | null;
5273
+ labels?: any | null;
5274
+ annotations?: any | null;
5275
+ creator?: string | null;
5276
+ displayName?: string | null;
5277
+ description?: string | null;
5278
+ type?: string | null;
5279
+ icon?: string | null;
5280
+ status?: string | null;
5281
+ updateTimestamp?: any | null;
5282
+ category: string;
5283
+ apiDoc: string;
5284
+ authSecret?: string | null;
5285
+ enabled: boolean;
5286
+ };
5287
+ } | null;
5288
+ };
5289
+ export type DeletePluginMutationVariables = Exact<{
5290
+ input: DeleteCommonInput;
5291
+ }>;
5292
+ export type DeletePluginMutation = {
5293
+ __typename?: 'Mutation';
5294
+ Plugin?: {
5295
+ __typename?: 'PluginMutation';
5296
+ deletePlugin?: any | null;
5297
+ } | null;
5298
+ };
4776
5299
  export type ListRagQueryVariables = Exact<{
4777
5300
  input: ListRagInput;
4778
5301
  }>;
@@ -4806,6 +5329,8 @@ export type ListRagQuery = {
4806
5329
  __typename?: 'ModelService';
4807
5330
  } | {
4808
5331
  __typename?: 'Node';
5332
+ } | {
5333
+ __typename?: 'Plugin';
4809
5334
  } | {
4810
5335
  __typename?: 'RAG';
4811
5336
  name: string;
@@ -5197,6 +5722,8 @@ export type ListRayClustersQuery = {
5197
5722
  __typename: 'ModelService';
5198
5723
  } | {
5199
5724
  __typename: 'Node';
5725
+ } | {
5726
+ __typename: 'Plugin';
5200
5727
  } | {
5201
5728
  __typename: 'RAG';
5202
5729
  } | {
@@ -5319,6 +5846,8 @@ export type GetVersionedDatasetQuery = {
5319
5846
  __typename?: 'ModelService';
5320
5847
  } | {
5321
5848
  __typename?: 'Node';
5849
+ } | {
5850
+ __typename?: 'Plugin';
5322
5851
  } | {
5323
5852
  __typename?: 'RAG';
5324
5853
  } | {
@@ -5366,6 +5895,8 @@ export type ListVersionedDatasetsQuery = {
5366
5895
  __typename?: 'ModelService';
5367
5896
  } | {
5368
5897
  __typename?: 'Node';
5898
+ } | {
5899
+ __typename?: 'Plugin';
5369
5900
  } | {
5370
5901
  __typename?: 'RAG';
5371
5902
  } | {
@@ -5420,6 +5951,8 @@ export type ListVersionedDatasetsQuery = {
5420
5951
  __typename?: 'ModelService';
5421
5952
  } | {
5422
5953
  __typename?: 'Node';
5954
+ } | {
5955
+ __typename?: 'Plugin';
5423
5956
  } | {
5424
5957
  __typename?: 'RAG';
5425
5958
  } | {
@@ -5469,6 +6002,8 @@ export type ListWorkersQuery = {
5469
6002
  __typename: 'ModelService';
5470
6003
  } | {
5471
6004
  __typename: 'Node';
6005
+ } | {
6006
+ __typename: 'Plugin';
5472
6007
  } | {
5473
6008
  __typename: 'RAG';
5474
6009
  } | {
@@ -5698,6 +6233,11 @@ export declare const DeleteApplicationDocument: import("../node_modules/.pnpm/gr
5698
6233
  export declare const UpdateApplicationConfigDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5699
6234
  export declare const ReleaseApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5700
6235
  export declare const CreateOrUpdateApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6236
+ export declare const UpdateApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6237
+ export declare const UpdateApplicationModelDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6238
+ export declare const UpdateApplicationPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6239
+ export declare const UpdateApplicationKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6240
+ export declare const UpdateApplicationDocumentLoaderDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5701
6241
  export declare const DeleteApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5702
6242
  export declare const GetApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5703
6243
  export declare const ListApplicationsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -5749,6 +6289,11 @@ export declare const GetModelServiceDocument: import("../node_modules/.pnpm/grap
5749
6289
  export declare const ListModelServicesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5750
6290
  export declare const CheckModelServiceDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5751
6291
  export declare const ListNodesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6292
+ export declare const ListPluginsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6293
+ export declare const GetPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6294
+ export declare const CreatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6295
+ export declare const UpdatePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6296
+ export declare const DeletePluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5752
6297
  export declare const ListRagDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5753
6298
  export declare const GetRagDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5754
6299
  export declare const CreateRagDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -5773,6 +6318,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5773
6318
  updateApplicationConfig(variables: UpdateApplicationConfigMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationConfigMutation>;
5774
6319
  releaseApplication(variables: ReleaseApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<ReleaseApplicationMutation>;
5775
6320
  createOrUpdateApplicationPrompt(variables: CreateOrUpdateApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateOrUpdateApplicationPromptMutation>;
6321
+ updateApplicationPrompt(variables: UpdateApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationPromptMutation>;
6322
+ updateApplicationModel(variables: UpdateApplicationModelMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationModelMutation>;
6323
+ updateApplicationPlugin(variables: UpdateApplicationPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationPluginMutation>;
6324
+ updateApplicationKnowledgeBase(variables: UpdateApplicationKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationKnowledgeBaseMutation>;
6325
+ updateApplicationDocumentLoader(variables: UpdateApplicationDocumentLoaderMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationDocumentLoaderMutation>;
5776
6326
  deleteApplicationPrompt(variables: DeleteApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteApplicationPromptMutation>;
5777
6327
  getApplication(variables: GetApplicationQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetApplicationQuery>;
5778
6328
  listApplications(variables: ListApplicationsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationsQuery>;
@@ -5824,6 +6374,11 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5824
6374
  listModelServices(variables?: ListModelServicesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListModelServicesQuery>;
5825
6375
  checkModelService(variables: CheckModelServiceQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<CheckModelServiceQuery>;
5826
6376
  listNodes(variables?: ListNodesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListNodesQuery>;
6377
+ listPlugins(variables: ListPluginsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListPluginsQuery>;
6378
+ getPlugin(variables: GetPluginQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetPluginQuery>;
6379
+ createPlugin(variables: CreatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreatePluginMutation>;
6380
+ updatePlugin(variables: UpdatePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdatePluginMutation>;
6381
+ deletePlugin(variables: DeletePluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeletePluginMutation>;
5827
6382
  listRAG(variables: ListRagQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListRagQuery>;
5828
6383
  getRAG(variables: GetRagQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetRagQuery>;
5829
6384
  createRAG(variables: CreateRagMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateRagMutation>;
@@ -5873,6 +6428,8 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
5873
6428
  useListModelServices(variables?: ListModelServicesQueryVariables, config?: SWRConfigInterface<ListModelServicesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListModelServicesQuery, ClientError>;
5874
6429
  useCheckModelService(variables: CheckModelServiceQueryVariables, config?: SWRConfigInterface<CheckModelServiceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckModelServiceQuery, ClientError>;
5875
6430
  useListNodes(variables?: ListNodesQueryVariables, config?: SWRConfigInterface<ListNodesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListNodesQuery, ClientError>;
6431
+ useListPlugins(variables: ListPluginsQueryVariables, config?: SWRConfigInterface<ListPluginsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListPluginsQuery, ClientError>;
6432
+ useGetPlugin(variables: GetPluginQueryVariables, config?: SWRConfigInterface<GetPluginQuery, ClientError>): import("./useSWR").SWRResponsePro<GetPluginQuery, ClientError>;
5876
6433
  useListRag(variables: ListRagQueryVariables, config?: SWRConfigInterface<ListRagQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRagQuery, ClientError>;
5877
6434
  useGetRag(variables: GetRagQueryVariables, config?: SWRConfigInterface<GetRagQuery, ClientError>): import("./useSWR").SWRResponsePro<GetRagQuery, ClientError>;
5878
6435
  useListRayClusters(variables: ListRayClustersQueryVariables, config?: SWRConfigInterface<ListRayClustersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListRayClustersQuery, ClientError>;
@@ -5901,6 +6458,21 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
5901
6458
  namespacedname: string;
5902
6459
  input?: InputMaybe<ApplicationPromptInput | ApplicationPromptInput[]> | undefined;
5903
6460
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateOrUpdateApplicationPromptMutation>;
6461
+ updateApplicationPrompt(variables: Exact<{
6462
+ input: UpdateApplicationPromptInput;
6463
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationPromptMutation>;
6464
+ updateApplicationModel(variables: Exact<{
6465
+ input: UpdateApplicationModelInput;
6466
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationModelMutation>;
6467
+ updateApplicationPlugin(variables: Exact<{
6468
+ input: UpdateApplicationPluginInput;
6469
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationPluginMutation>;
6470
+ updateApplicationKnowledgeBase(variables: Exact<{
6471
+ input: UpdateApplicationKnowledgebaseInput;
6472
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationKnowledgeBaseMutation>;
6473
+ updateApplicationDocumentLoader(variables: Exact<{
6474
+ input: UpdateApplicationDocumentLoaderInput;
6475
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationDocumentLoaderMutation>;
5904
6476
  deleteApplicationPrompt(variables: Exact<{
5905
6477
  namespacedname: string;
5906
6478
  ids?: InputMaybe<string | string[]> | undefined;
@@ -6071,6 +6643,22 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6071
6643
  listNodes(variables?: Exact<{
6072
6644
  input?: InputMaybe<ListNodeInput> | undefined;
6073
6645
  }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListNodesQuery>;
6646
+ listPlugins(variables: Exact<{
6647
+ input: ListPluginInput;
6648
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListPluginsQuery>;
6649
+ getPlugin(variables: Exact<{
6650
+ name: string;
6651
+ namespace: string;
6652
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetPluginQuery>;
6653
+ createPlugin(variables: Exact<{
6654
+ input: CreatePluginInput;
6655
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreatePluginMutation>;
6656
+ updatePlugin(variables: Exact<{
6657
+ input: UpdatePluginInput;
6658
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdatePluginMutation>;
6659
+ deletePlugin(variables: Exact<{
6660
+ input: DeleteCommonInput;
6661
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeletePluginMutation>;
6074
6662
  listRAG(variables: Exact<{
6075
6663
  input: ListRagInput;
6076
6664
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListRagQuery>;