@yuntijs/arcadia-bff-sdk 1.2.32 → 1.2.34

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
@@ -75,49 +75,26 @@ export type AddDataProcessInput = {
75
75
  pre_data_set_version: Scalars['String']['input'];
76
76
  version_data_set_name: Scalars['String']['input'];
77
77
  };
78
- export type AllDataProcessListByCountInput = {
79
- keyword: Scalars['String']['input'];
80
- namespace: Scalars['String']['input'];
81
- };
82
- export type AllDataProcessListByPageInput = {
83
- keyword: Scalars['String']['input'];
84
- namespace: Scalars['String']['input'];
85
- pageIndex: Scalars['Int']['input'];
86
- pageSize: Scalars['Int']['input'];
87
- };
88
78
  /**
89
- * Application
79
+ * Agent
90
80
  * 应用完整信息
91
81
  */
92
- export type Application = {
93
- __typename?: 'Application';
94
- /** batchSize 上传文档做批量处理时的批次大小 */
95
- batchSize?: Maybe<Scalars['Int']['output']>;
96
- /** chatTimeout 对话超时,单位秒,不填为默认 60s */
97
- chatTimeout?: Maybe<Scalars['Float']['output']>;
98
- /** chunkOverlap 上传文档作文档拆分时相邻块的交集 */
99
- chunkOverlap?: Maybe<Scalars['Int']['output']>;
100
- /** chunkSize 上传文档做文档拆分时的块大小 */
101
- chunkSize?: Maybe<Scalars['Int']['output']>;
82
+ export type Agent = {
83
+ __typename?: 'Agent';
102
84
  /** conversionWindowSize 对话轮次 */
103
85
  conversionWindowSize?: Maybe<Scalars['Int']['output']>;
104
86
  /** docNullReturn 空搜索回复 */
105
87
  docNullReturn?: Maybe<Scalars['String']['output']>;
106
- /** enableMultiQuery 是否启用多查询 */
107
- enableMultiQuery?: Maybe<Scalars['Boolean']['output']>;
108
- /** enableRerank 是否启用 rerank */
109
- enableRerank?: Maybe<Scalars['Boolean']['output']>;
110
- /** enableUploadFile 是否开启对话上传文档功能 */
111
- enableUploadFile?: Maybe<Scalars['Boolean']['output']>;
112
- /** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
113
- knowledgebase?: Maybe<Scalars['String']['output']>;
88
+ /** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
89
+ knowledgebases?: Maybe<Array<TypedObjectReference>>;
114
90
  /** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
115
91
  llm: Scalars['String']['output'];
116
92
  /** maxLength 最大响应长度 */
117
93
  maxLength?: Maybe<Scalars['Int']['output']>;
118
94
  /** maxTokens 最大输出token */
119
95
  maxTokens?: Maybe<Scalars['Int']['output']>;
120
- metadata?: Maybe<ApplicationMetadata>;
96
+ /** Applicatioin的基本信息 */
97
+ metadata?: Maybe<AgentMetadata>;
121
98
  /** model 指具体使用的模型名称,比如 gpt-3.5-turbo 或者 chatglm_turbo */
122
99
  model?: Maybe<Scalars['String']['output']>;
123
100
  /** numDocuments 最终返回结果的引用上限 */
@@ -126,14 +103,10 @@ export type Application = {
126
103
  plugins?: Maybe<Array<Maybe<Plugin>>>;
127
104
  /** 对话开场白 */
128
105
  prologue?: Maybe<Scalars['String']['output']>;
129
- /** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
130
- rerankModel?: Maybe<Scalars['String']['output']>;
131
106
  /** scoreThreshold 最终返回结果的最低相似度 */
132
107
  scoreThreshold?: Maybe<Scalars['Float']['output']>;
133
108
  /** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
134
109
  showNextGuide?: Maybe<Scalars['Boolean']['output']>;
135
- /** showRespInfo 查看关联信息配置,即是否在chat界面显示关联信息 */
136
- showRespInfo?: Maybe<Scalars['Boolean']['output']>;
137
110
  /** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
138
111
  showRetrievalInfo?: Maybe<Scalars['Boolean']['output']>;
139
112
  /** systemPrompt 系统级别的 Prompt */
@@ -144,11 +117,11 @@ export type Application = {
144
117
  userPrompt?: Maybe<Scalars['String']['output']>;
145
118
  };
146
119
  /**
147
- * Application
120
+ * Agent
148
121
  * 应用 Metadata
149
122
  */
150
- export type ApplicationMetadata = {
151
- __typename?: 'ApplicationMetadata';
123
+ export type AgentMetadata = {
124
+ __typename?: 'AgentMetadata';
152
125
  /** 添加一些辅助性记录信息 */
153
126
  annotations?: Maybe<Scalars['Map']['output']>;
154
127
  /** Background, 图片ID */
@@ -202,96 +175,98 @@ export type ApplicationMetadata = {
202
175
  /** 更新时间 */
203
176
  updateTimestamp?: Maybe<Scalars['Time']['output']>;
204
177
  };
205
- export type ApplicationMutation = {
206
- __typename?: 'ApplicationMutation';
207
- createApplication: ApplicationMetadata;
208
- createOrUpdateApplicationPrompt?: Maybe<Scalars['Void']['output']>;
209
- deleteApplication?: Maybe<Scalars['Void']['output']>;
210
- deleteApplicationPrompt?: Maybe<Scalars['Void']['output']>;
211
- releaseApplication: ApplicationMetadata;
212
- updateApplication: ApplicationMetadata;
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']>;
219
- };
220
- export type ApplicationMutationCreateApplicationArgs = {
221
- input: CreateApplicationMetadataInput;
222
- };
223
- export type ApplicationMutationCreateOrUpdateApplicationPromptArgs = {
224
- input?: InputMaybe<Array<ApplicationPromptInput>>;
178
+ export type AgentMutation = {
179
+ __typename?: 'AgentMutation';
180
+ createAgent: AgentMetadata;
181
+ createOrUpdateAgentPrompt?: Maybe<Scalars['Void']['output']>;
182
+ deleteAgent?: Maybe<Scalars['Void']['output']>;
183
+ deleteAgentPrompt?: Maybe<Scalars['Void']['output']>;
184
+ releaseAgent: AgentMetadata;
185
+ updateAgent: AgentMetadata;
186
+ updateAgentKnowledgeBase?: Maybe<Scalars['Void']['output']>;
187
+ updateAgentModel?: Maybe<Scalars['Void']['output']>;
188
+ updateAgentPlugin?: Maybe<Scalars['Void']['output']>;
189
+ updateAgentPrompt?: Maybe<Scalars['Void']['output']>;
190
+ };
191
+ export type AgentMutationCreateAgentArgs = {
192
+ input: CreateAgentMetadataInput;
193
+ };
194
+ export type AgentMutationCreateOrUpdateAgentPromptArgs = {
195
+ input?: InputMaybe<Array<AgentPromptInput>>;
225
196
  namespacedname: Scalars['String']['input'];
226
197
  };
227
- export type ApplicationMutationDeleteApplicationArgs = {
198
+ export type AgentMutationDeleteAgentArgs = {
228
199
  input: DeleteCommonInput;
229
200
  };
230
- export type ApplicationMutationDeleteApplicationPromptArgs = {
201
+ export type AgentMutationDeleteAgentPromptArgs = {
231
202
  ids?: InputMaybe<Array<Scalars['String']['input']>>;
232
203
  namespacedname: Scalars['String']['input'];
233
204
  };
234
- export type ApplicationMutationReleaseApplicationArgs = {
205
+ export type AgentMutationReleaseAgentArgs = {
235
206
  isPublic: Scalars['Boolean']['input'];
236
207
  name: Scalars['String']['input'];
237
208
  namespace: Scalars['String']['input'];
238
209
  };
239
- export type ApplicationMutationUpdateApplicationArgs = {
240
- input: UpdateApplicationMetadataInput;
241
- };
242
- export type ApplicationMutationUpdateApplicationConfigArgs = {
243
- input: UpdateApplicationConfigInput;
210
+ export type AgentMutationUpdateAgentArgs = {
211
+ input: UpdateAgentMetadataInput;
244
212
  };
245
- export type ApplicationMutationUpdateApplicationDocumentLoaderArgs = {
246
- input: UpdateApplicationDocumentLoaderInput;
213
+ export type AgentMutationUpdateAgentKnowledgeBaseArgs = {
214
+ input: UpdateAgentKnowledgebaseInput;
247
215
  };
248
- export type ApplicationMutationUpdateApplicationKnowledgeBaseArgs = {
249
- input: UpdateApplicationKnowledgebaseInput;
216
+ export type AgentMutationUpdateAgentModelArgs = {
217
+ input: UpdateAgentModelInput;
250
218
  };
251
- export type ApplicationMutationUpdateApplicationModelArgs = {
252
- input: UpdateApplicationModelInput;
219
+ export type AgentMutationUpdateAgentPluginArgs = {
220
+ input: UpdateAgentPluginInput;
253
221
  };
254
- export type ApplicationMutationUpdateApplicationPluginArgs = {
255
- input: UpdateApplicationPluginInput;
222
+ export type AgentMutationUpdateAgentPromptArgs = {
223
+ input: UpdateAgentPromptInput;
256
224
  };
257
- export type ApplicationMutationUpdateApplicationPromptArgs = {
258
- input: UpdateApplicationPromptInput;
259
- };
260
- export type ApplicationPrompt = {
261
- __typename?: 'ApplicationPrompt';
225
+ export type AgentPrompt = {
226
+ __typename?: 'AgentPrompt';
262
227
  content: Scalars['String']['output'];
263
228
  createdAt: Scalars['Time']['output'];
264
229
  id: Scalars['String']['output'];
265
230
  namespacedname: Scalars['String']['output'];
266
231
  updatedAt: Scalars['Time']['output'];
267
232
  };
268
- export type ApplicationPromptInput = {
233
+ export type AgentPromptInput = {
269
234
  /** prompt的内容,更新或者创建的时候必须填写 */
270
235
  content: Scalars['String']['input'];
271
236
  /** 记录的ID,创建的时候可以不用填写,更新必须填写 */
272
237
  id?: InputMaybe<Scalars['String']['input']>;
273
238
  };
274
- export type ApplicationQuery = {
275
- __typename?: 'ApplicationQuery';
276
- getApplication: Application;
239
+ export type AgentQuery = {
240
+ __typename?: 'AgentQuery';
241
+ getAgent: Agent;
277
242
  getGPTStore: GptStore;
278
- listApplicationMetadata: PaginatedResult;
279
- listApplicationPrompt: PaginatedResult;
243
+ listAgentMetadata: PaginatedResult;
244
+ listAgentPrompt: PaginatedResult;
280
245
  /** migrated from GPT */
281
246
  listGPTCategory: Array<Maybe<GptCategory>>;
282
247
  };
283
- export type ApplicationQueryGetApplicationArgs = {
248
+ export type AgentQueryGetAgentArgs = {
284
249
  name: Scalars['String']['input'];
285
250
  namespace: Scalars['String']['input'];
286
251
  };
287
- export type ApplicationQueryListApplicationMetadataArgs = {
252
+ export type AgentQueryListAgentMetadataArgs = {
288
253
  input: ListCommonInput;
289
254
  };
290
- export type ApplicationQueryListApplicationPromptArgs = {
255
+ export type AgentQueryListAgentPromptArgs = {
291
256
  namespacedname: Scalars['String']['input'];
292
257
  page?: InputMaybe<Scalars['Int']['input']>;
293
258
  size?: InputMaybe<Scalars['Int']['input']>;
294
259
  };
260
+ export type AllDataProcessListByCountInput = {
261
+ keyword: Scalars['String']['input'];
262
+ namespace: Scalars['String']['input'];
263
+ };
264
+ export type AllDataProcessListByPageInput = {
265
+ keyword: Scalars['String']['input'];
266
+ namespace: Scalars['String']['input'];
267
+ pageIndex: Scalars['Int']['input'];
268
+ pageSize: Scalars['Int']['input'];
269
+ };
295
270
  export type CheckDataProcessTaskNameInput = {
296
271
  name: Scalars['String']['input'];
297
272
  namespace: Scalars['String']['input'];
@@ -302,10 +277,8 @@ export type CountDataProcessItem = {
302
277
  message: Scalars['String']['output'];
303
278
  status: Scalars['Int']['output'];
304
279
  };
305
- export type CreateApplicationMetadataInput = {
306
- /** 添加一些辅助性记录信息 */
307
- annotations?: InputMaybe<Scalars['Map']['input']>;
308
- /** Background, 智能体对话背景图片,存放于 minio 的路径地址 */
280
+ export type CreateAgentMetadataInput = {
281
+ /** Background, 智能体对话背景图片(存放于 minio 的路径地址) */
309
282
  background?: InputMaybe<Scalars['String']['input']>;
310
283
  /** category:所属分类 */
311
284
  category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -313,14 +286,12 @@ export type CreateApplicationMetadataInput = {
313
286
  description?: InputMaybe<Scalars['String']['input']>;
314
287
  /** 展示名,别名 */
315
288
  displayName: Scalars['String']['input'];
316
- /** Icon,应用头像, base64格式的图片 */
317
- icon: Scalars['String']['input'];
289
+ /** Icon,应用头像(存放于 minio 的路径地址) */
290
+ icon?: InputMaybe<Scalars['String']['input']>;
318
291
  /** IsPublic, 是否发布,即是否公开提供服务 */
319
292
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
320
293
  /** isRecommended, 是否推荐 */
321
294
  isRecommended?: InputMaybe<Scalars['Boolean']['input']>;
322
- /** 一些用于标记,选择的的标签 */
323
- labels?: InputMaybe<Scalars['Map']['input']>;
324
295
  /**
325
296
  * 应用名称
326
297
  * 规则: 遵循 k8s 命名
@@ -1520,10 +1491,11 @@ export type ListPluginInput = {
1520
1491
  pageSize?: InputMaybe<Scalars['Int']['input']>;
1521
1492
  /**
1522
1493
  * 是否包含系统提供的插件
1523
- * 规则: 为true时,代表将同时获取系统提供的插件
1524
- * 规则: 默认为false
1494
+ * 规则: 为 "all" 时,提供包括该 ns 及系统插件在内的全部插件
1495
+ * 规则: 为 "system_only" 时,只展示系统插件。不展示 ns 内对应的插件
1496
+ * 规则: 默认为 "namespace_only",不展示系统插件
1525
1497
  */
1526
- systemPlugin?: InputMaybe<Scalars['Boolean']['input']>;
1498
+ selectCondition?: InputMaybe<Scalars['String']['input']>;
1527
1499
  };
1528
1500
  export type ListRagInput = {
1529
1501
  appName: Scalars['String']['input'];
@@ -1761,7 +1733,7 @@ export type ModelServiceQueryListModelServicesArgs = {
1761
1733
  };
1762
1734
  export type Mutation = {
1763
1735
  __typename?: 'Mutation';
1764
- Application?: Maybe<ApplicationMutation>;
1736
+ Agent?: Maybe<AgentMutation>;
1765
1737
  Dataset?: Maybe<DatasetMutation>;
1766
1738
  Datasource?: Maybe<DatasourceMutation>;
1767
1739
  Embedder?: Maybe<EmbedderMutation>;
@@ -1814,7 +1786,7 @@ export type OssInput = {
1814
1786
  bucket: Scalars['String']['input'];
1815
1787
  object?: InputMaybe<Scalars['String']['input']>;
1816
1788
  };
1817
- export type PageNode = ApplicationMetadata | ApplicationPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
1789
+ export type PageNode = AgentMetadata | AgentPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
1818
1790
  export type PaginatedDataProcessItem = {
1819
1791
  __typename?: 'PaginatedDataProcessItem';
1820
1792
  data?: Maybe<Array<DataProcessItem>>;
@@ -1969,7 +1941,7 @@ export type PluginQueryListPluginsArgs = {
1969
1941
  };
1970
1942
  export type Query = {
1971
1943
  __typename?: 'Query';
1972
- Application?: Maybe<ApplicationQuery>;
1944
+ Agent?: Maybe<AgentQuery>;
1973
1945
  Dataset?: Maybe<DatasetQuery>;
1974
1946
  Datasource?: Maybe<DatasourceQuery>;
1975
1947
  Embedder?: Maybe<EmbedderQuery>;
@@ -1995,7 +1967,7 @@ export type Rag = {
1995
1967
  /** 添加一些辅助性记录信息 */
1996
1968
  annotations?: Maybe<Scalars['Map']['output']>;
1997
1969
  /** 获取评估流程选择的应用 */
1998
- application: Application;
1970
+ application: Agent;
1999
1971
  /** 评估完成时间, 如果没有完成这,这个字段没有值 */
2000
1972
  completeTimestamp?: Maybe<Scalars['Time']['output']>;
2001
1973
  /** 创建时间 */
@@ -2202,35 +2174,9 @@ export type TypedObjectReferenceInput = {
2202
2174
  name: Scalars['String']['input'];
2203
2175
  namespace?: InputMaybe<Scalars['String']['input']>;
2204
2176
  };
2205
- export type UpdateApplicationConfigInput = {
2206
- /** batchSize 上传文档做批量处理时的批次大小 */
2207
- batchSize?: InputMaybe<Scalars['Int']['input']>;
2208
- /** chatTimeout 对话超时,单位秒,不填为默认 60s */
2209
- chatTimeout?: InputMaybe<Scalars['Float']['input']>;
2210
- /** chunkOverlap 上传文档作文档拆分时相邻块的交集 */
2211
- chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
2212
- /** chunkSize 上传文档做文档拆分时的块大小 */
2213
- chunkSize?: InputMaybe<Scalars['Int']['input']>;
2214
- /** conversionWindowSize 对话轮次 */
2215
- conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
2216
- /** docNullReturn 空搜索回复 */
2217
- docNullReturn?: InputMaybe<Scalars['String']['input']>;
2218
- /** enableMultiQuery 是否启用多查询 */
2219
- enableMultiQuery?: InputMaybe<Scalars['Boolean']['input']>;
2220
- /** enableRerank 是否启用 rerank */
2221
- enableRerank?: InputMaybe<Scalars['Boolean']['input']>;
2222
- /** enableUploadFile 是否开启对话上传文档功能 */
2223
- enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
2224
- /** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
2225
- knowledgebase?: InputMaybe<Scalars['String']['input']>;
2226
- /** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
2227
- llm: Scalars['String']['input'];
2228
- /** maxLength 最大响应长度 */
2229
- maxLength?: InputMaybe<Scalars['Int']['input']>;
2230
- /** maxTokens 最大输出token */
2231
- maxTokens?: InputMaybe<Scalars['Int']['input']>;
2232
- /** model 指具体使用的模型名称,比如 gpt-3.5-turbo 或者 chatglm_turbo */
2233
- model?: InputMaybe<Scalars['String']['input']>;
2177
+ export type UpdateAgentKnowledgebaseInput = {
2178
+ /** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
2179
+ knowledgebases?: InputMaybe<Array<TypedObjectReferenceInput>>;
2234
2180
  /**
2235
2181
  * 应用名称, 用于确定要更新哪个应用
2236
2182
  * 规则: 遵循 k8s 命名
@@ -2243,106 +2189,26 @@ export type UpdateApplicationConfigInput = {
2243
2189
  namespace: Scalars['String']['input'];
2244
2190
  /** numDocuments 最终返回结果的引用上限 */
2245
2191
  numDocuments?: InputMaybe<Scalars['Int']['input']>;
2246
- /** plugins 要使用的插件列表 */
2247
- plugins?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
2248
- /** 对话开场白 */
2249
- prologue?: InputMaybe<Scalars['String']['input']>;
2250
- /** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
2251
- rerankModel?: InputMaybe<Scalars['String']['input']>;
2252
2192
  /** scoreThreshold 最终返回结果的最低相似度 */
2253
2193
  scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
2254
- /** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
2255
- showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
2256
- /** showRespInfo 查看关联信息配置,即是否在chat界面显示关联信息 */
2257
- showRespInfo?: InputMaybe<Scalars['Boolean']['input']>;
2258
- /** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
2259
- showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
2260
- /** systemPrompt 系统级别的 Prompt */
2261
- systemPrompt?: InputMaybe<Scalars['String']['input']>;
2262
- /** temperature 温度 */
2263
- temperature?: InputMaybe<Scalars['Float']['input']>;
2264
- /** userPrompt 用户级别的 Prompt */
2265
- userPrompt?: InputMaybe<Scalars['String']['input']>;
2266
2194
  };
2267
- export type UpdateApplicationDocumentLoaderInput = {
2268
- /** batchSize 上传文档做批量处理时的批次大小 */
2269
- batchSize?: InputMaybe<Scalars['Int']['input']>;
2270
- /** chunkOverlap 上传文档作文档拆分时相邻块的交集 */
2271
- chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
2272
- /** chunkSize 上传文档做文档拆分时的块大小 */
2273
- chunkSize?: InputMaybe<Scalars['Int']['input']>;
2274
- /** enableUploadFile 是否开启对话上传文档功能 */
2275
- enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
2276
- /**
2277
- * 应用名称, 用于确定要更新哪个应用
2278
- * 规则: 遵循 k8s 命名
2279
- */
2280
- name: Scalars['String']['input'];
2281
- /**
2282
- * 应用所在的 namespace, 用于确定要更新哪个应用
2283
- * 规则: 非空
2284
- */
2285
- namespace: Scalars['String']['input'];
2286
- };
2287
- export type UpdateApplicationKnowledgebaseInput = {
2288
- /** conversionWindowSize 对话轮次 */
2289
- conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
2290
- /** enableMultiQuery 是否启用多查询 */
2291
- enableMultiQuery?: InputMaybe<Scalars['Boolean']['input']>;
2292
- /** enableRerank 是否启用 rerank */
2293
- enableRerank?: InputMaybe<Scalars['Boolean']['input']>;
2294
- /** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
2295
- knowledgebase?: InputMaybe<Scalars['String']['input']>;
2296
- /** maxLength 最大响应长度 */
2297
- maxLength?: InputMaybe<Scalars['Int']['input']>;
2298
- /** maxTokens 最大输出token */
2299
- maxTokens?: InputMaybe<Scalars['Int']['input']>;
2300
- /** 模型名字 */
2301
- model?: InputMaybe<Scalars['String']['input']>;
2302
- /**
2303
- * 应用名称, 用于确定要更新哪个应用
2304
- * 规则: 遵循 k8s 命名
2305
- */
2306
- name: Scalars['String']['input'];
2307
- /**
2308
- * 应用所在的 namespace, 用于确定要更新哪个应用
2309
- * 规则: 非空
2310
- */
2311
- namespace: Scalars['String']['input'];
2312
- /** numDocuments 最终返回结果的引用上限 */
2313
- numDocuments?: InputMaybe<Scalars['Int']['input']>;
2314
- /** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
2315
- rerankModel?: InputMaybe<Scalars['String']['input']>;
2316
- /** scoreThreshold 最终返回结果的最低相似度 */
2317
- scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
2318
- /** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
2319
- showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
2320
- /** temperature 温度 */
2321
- temperature?: InputMaybe<Scalars['Float']['input']>;
2322
- };
2323
- export type UpdateApplicationMetadataInput = {
2324
- /** 添加一些辅助性记录信息,如果要更新,请传递完整内容 */
2325
- annotations?: InputMaybe<Scalars['Map']['input']>;
2326
- /** Background, 智能体对话背景,base64 格式图片 */
2195
+ export type UpdateAgentMetadataInput = {
2196
+ /** Background, 智能体对话背景,图片访问路径 */
2327
2197
  background?: InputMaybe<Scalars['String']['input']>;
2328
2198
  /** category:所属分类 */
2329
2199
  category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2330
- /** chatTimeout 对话超时,单位秒,不填为默认 60s */
2331
- chatTimeout?: InputMaybe<Scalars['Float']['input']>;
2332
2200
  /** 描述信息 */
2333
2201
  description?: InputMaybe<Scalars['String']['input']>;
2334
2202
  /** 展示名,别名 */
2335
2203
  displayName: Scalars['String']['input'];
2336
2204
  /** 空搜索回复 */
2337
2205
  docNullReturn?: InputMaybe<Scalars['String']['input']>;
2338
- /** Icon,应用头像, base64格式的图片 */
2339
- icon: Scalars['String']['input'];
2206
+ /** Icon,应用头像, 图片访问路径 */
2207
+ icon?: InputMaybe<Scalars['String']['input']>;
2340
2208
  /** IsPublic, 是否发布,即是否公开提供服务 */
2341
2209
  isPublic?: InputMaybe<Scalars['Boolean']['input']>;
2342
2210
  /** isRecommended, 是否推荐 */
2343
2211
  isRecommended?: InputMaybe<Scalars['Boolean']['input']>;
2344
- /** 一些用于标记,选择的的标签,如果要更新,请传递完整内容 */
2345
- labels?: InputMaybe<Scalars['Map']['input']>;
2346
2212
  /**
2347
2213
  * 应用名称, 用于确定要更新哪个应用
2348
2214
  * 规则: 遵循 k8s 命名
@@ -2355,12 +2221,12 @@ export type UpdateApplicationMetadataInput = {
2355
2221
  namespace: Scalars['String']['input'];
2356
2222
  /** 对话开场白 */
2357
2223
  prologue?: InputMaybe<Scalars['String']['input']>;
2358
- /** 查看关联信息配置,即是否在chat界面显示关联信息 */
2359
- showRespInfo?: InputMaybe<Scalars['Boolean']['input']>;
2224
+ /** 是否启用"下一步"引导 */
2225
+ showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
2360
2226
  /** 看引用配置,即是否在chat界面显示引用信息 */
2361
2227
  showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
2362
2228
  };
2363
- export type UpdateApplicationModelInput = {
2229
+ export type UpdateAgentModelInput = {
2364
2230
  /** conversionWindowSize 对话轮次 */
2365
2231
  conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
2366
2232
  /** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
@@ -2384,9 +2250,7 @@ export type UpdateApplicationModelInput = {
2384
2250
  /** temperature 温度 */
2385
2251
  temperature?: InputMaybe<Scalars['Float']['input']>;
2386
2252
  };
2387
- export type UpdateApplicationPluginInput = {
2388
- /** conversionWindowSize 对话轮次 */
2389
- conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
2253
+ export type UpdateAgentPluginInput = {
2390
2254
  /**
2391
2255
  * 应用名称, 用于确定要更新哪个应用
2392
2256
  * 规则: 遵循 k8s 命名
@@ -2400,7 +2264,7 @@ export type UpdateApplicationPluginInput = {
2400
2264
  /** plugins 要使用的插件列表 */
2401
2265
  plugins?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
2402
2266
  };
2403
- export type UpdateApplicationPromptInput = {
2267
+ export type UpdateAgentPromptInput = {
2404
2268
  /**
2405
2269
  * 应用名称, 用于确定要更新哪个应用
2406
2270
  * 规则: 遵循 k8s 命名
@@ -2963,15 +2827,15 @@ export type Filegroupinput = {
2963
2827
  /** 数据源字段 */
2964
2828
  source: TypedObjectReferenceInput;
2965
2829
  };
2966
- export type CreateApplicationMutationVariables = Exact<{
2967
- input: CreateApplicationMetadataInput;
2830
+ export type CreateAgentMutationVariables = Exact<{
2831
+ input: CreateAgentMetadataInput;
2968
2832
  }>;
2969
- export type CreateApplicationMutation = {
2833
+ export type CreateAgentMutation = {
2970
2834
  __typename?: 'Mutation';
2971
- Application?: {
2972
- __typename?: 'ApplicationMutation';
2973
- createApplication: {
2974
- __typename?: 'ApplicationMetadata';
2835
+ Agent?: {
2836
+ __typename?: 'AgentMutation';
2837
+ createAgent: {
2838
+ __typename?: 'AgentMetadata';
2975
2839
  name: string;
2976
2840
  namespace: string;
2977
2841
  id?: string | null;
@@ -2992,15 +2856,15 @@ export type CreateApplicationMutation = {
2992
2856
  };
2993
2857
  } | null;
2994
2858
  };
2995
- export type UpdateApplicationMutationVariables = Exact<{
2996
- input: UpdateApplicationMetadataInput;
2859
+ export type UpdateAgentMutationVariables = Exact<{
2860
+ input: UpdateAgentMetadataInput;
2997
2861
  }>;
2998
- export type UpdateApplicationMutation = {
2862
+ export type UpdateAgentMutation = {
2999
2863
  __typename?: 'Mutation';
3000
- Application?: {
3001
- __typename?: 'ApplicationMutation';
3002
- updateApplication: {
3003
- __typename?: 'ApplicationMetadata';
2864
+ Agent?: {
2865
+ __typename?: 'AgentMutation';
2866
+ updateAgent: {
2867
+ __typename?: 'AgentMetadata';
3004
2868
  name: string;
3005
2869
  namespace: string;
3006
2870
  id?: string | null;
@@ -3021,88 +2885,27 @@ export type UpdateApplicationMutation = {
3021
2885
  };
3022
2886
  } | null;
3023
2887
  };
3024
- export type DeleteApplicationMutationVariables = Exact<{
2888
+ export type DeleteAgentMutationVariables = Exact<{
3025
2889
  input: DeleteCommonInput;
3026
2890
  }>;
3027
- export type DeleteApplicationMutation = {
2891
+ export type DeleteAgentMutation = {
3028
2892
  __typename?: 'Mutation';
3029
- Application?: {
3030
- __typename?: 'ApplicationMutation';
3031
- deleteApplication?: any | null;
2893
+ Agent?: {
2894
+ __typename?: 'AgentMutation';
2895
+ deleteAgent?: any | null;
3032
2896
  } | null;
3033
2897
  };
3034
- export type UpdateApplicationConfigMutationVariables = Exact<{
3035
- input: UpdateApplicationConfigInput;
3036
- }>;
3037
- export type UpdateApplicationConfigMutation = {
3038
- __typename?: 'Mutation';
3039
- Application?: {
3040
- __typename?: 'ApplicationMutation';
3041
- updateApplicationConfig: {
3042
- __typename?: 'Application';
3043
- prologue?: string | null;
3044
- model?: string | null;
3045
- llm: string;
3046
- temperature?: number | null;
3047
- maxLength?: number | null;
3048
- maxTokens?: number | null;
3049
- conversionWindowSize?: number | null;
3050
- knowledgebase?: string | null;
3051
- scoreThreshold?: number | null;
3052
- numDocuments?: number | null;
3053
- docNullReturn?: string | null;
3054
- userPrompt?: string | null;
3055
- systemPrompt?: string | null;
3056
- showRespInfo?: boolean | null;
3057
- showRetrievalInfo?: boolean | null;
3058
- showNextGuide?: boolean | null;
3059
- enableRerank?: boolean | null;
3060
- rerankModel?: string | null;
3061
- enableMultiQuery?: boolean | null;
3062
- chatTimeout?: number | null;
3063
- enableUploadFile?: boolean | null;
3064
- chunkSize?: number | null;
3065
- chunkOverlap?: number | null;
3066
- batchSize?: number | null;
3067
- metadata?: {
3068
- __typename?: 'ApplicationMetadata';
3069
- name: string;
3070
- namespace: string;
3071
- id?: string | null;
3072
- labels?: any | null;
3073
- annotations?: any | null;
3074
- displayName?: string | null;
3075
- description?: string | null;
3076
- icon?: string | null;
3077
- background?: string | null;
3078
- creator?: string | null;
3079
- creationTimestamp?: any | null;
3080
- updateTimestamp?: any | null;
3081
- isPublic?: boolean | null;
3082
- isRecommended?: boolean | null;
3083
- status?: string | null;
3084
- category?: Array<string | null> | null;
3085
- notReadyReasonCode?: string | null;
3086
- } | null;
3087
- plugins?: Array<{
3088
- __typename?: 'Plugin';
3089
- name: string;
3090
- namespace: string;
3091
- } | null> | null;
3092
- };
3093
- } | null;
3094
- };
3095
- export type ReleaseApplicationMutationVariables = Exact<{
2898
+ export type ReleaseAgentMutationVariables = Exact<{
3096
2899
  name: Scalars['String']['input'];
3097
2900
  namespace: Scalars['String']['input'];
3098
2901
  isPublic: Scalars['Boolean']['input'];
3099
2902
  }>;
3100
- export type ReleaseApplicationMutation = {
2903
+ export type ReleaseAgentMutation = {
3101
2904
  __typename?: 'Mutation';
3102
- Application?: {
3103
- __typename?: 'ApplicationMutation';
3104
- releaseApplication: {
3105
- __typename?: 'ApplicationMetadata';
2905
+ Agent?: {
2906
+ __typename?: 'AgentMutation';
2907
+ releaseAgent: {
2908
+ __typename?: 'AgentMetadata';
3106
2909
  name: string;
3107
2910
  namespace: string;
3108
2911
  id?: string | null;
@@ -3123,88 +2926,78 @@ export type ReleaseApplicationMutation = {
3123
2926
  };
3124
2927
  } | null;
3125
2928
  };
3126
- export type CreateOrUpdateApplicationPromptMutationVariables = Exact<{
2929
+ export type CreateOrUpdateAgentPromptMutationVariables = Exact<{
3127
2930
  namespacedname: Scalars['String']['input'];
3128
- input?: InputMaybe<Array<ApplicationPromptInput> | ApplicationPromptInput>;
2931
+ input?: InputMaybe<Array<AgentPromptInput> | AgentPromptInput>;
3129
2932
  }>;
3130
- export type CreateOrUpdateApplicationPromptMutation = {
2933
+ export type CreateOrUpdateAgentPromptMutation = {
3131
2934
  __typename?: 'Mutation';
3132
- Application?: {
3133
- __typename?: 'ApplicationMutation';
3134
- createOrUpdateApplicationPrompt?: any | null;
2935
+ Agent?: {
2936
+ __typename?: 'AgentMutation';
2937
+ createOrUpdateAgentPrompt?: any | null;
3135
2938
  } | null;
3136
2939
  };
3137
- export type UpdateApplicationPromptMutationVariables = Exact<{
3138
- input: UpdateApplicationPromptInput;
2940
+ export type UpdateAgentPromptMutationVariables = Exact<{
2941
+ input: UpdateAgentPromptInput;
3139
2942
  }>;
3140
- export type UpdateApplicationPromptMutation = {
2943
+ export type UpdateAgentPromptMutation = {
3141
2944
  __typename?: 'Mutation';
3142
- Application?: {
3143
- __typename?: 'ApplicationMutation';
3144
- updateApplicationPrompt?: any | null;
2945
+ Agent?: {
2946
+ __typename?: 'AgentMutation';
2947
+ updateAgentPrompt?: any | null;
3145
2948
  } | null;
3146
2949
  };
3147
- export type UpdateApplicationModelMutationVariables = Exact<{
3148
- input: UpdateApplicationModelInput;
2950
+ export type UpdateAgentModelMutationVariables = Exact<{
2951
+ input: UpdateAgentModelInput;
3149
2952
  }>;
3150
- export type UpdateApplicationModelMutation = {
2953
+ export type UpdateAgentModelMutation = {
3151
2954
  __typename?: 'Mutation';
3152
- Application?: {
3153
- __typename?: 'ApplicationMutation';
3154
- updateApplicationModel?: any | null;
2955
+ Agent?: {
2956
+ __typename?: 'AgentMutation';
2957
+ updateAgentModel?: any | null;
3155
2958
  } | null;
3156
2959
  };
3157
- export type UpdateApplicationPluginMutationVariables = Exact<{
3158
- input: UpdateApplicationPluginInput;
2960
+ export type UpdateAgentPluginMutationVariables = Exact<{
2961
+ input: UpdateAgentPluginInput;
3159
2962
  }>;
3160
- export type UpdateApplicationPluginMutation = {
2963
+ export type UpdateAgentPluginMutation = {
3161
2964
  __typename?: 'Mutation';
3162
- Application?: {
3163
- __typename?: 'ApplicationMutation';
3164
- updateApplicationPlugin?: any | null;
2965
+ Agent?: {
2966
+ __typename?: 'AgentMutation';
2967
+ updateAgentPlugin?: any | null;
3165
2968
  } | null;
3166
2969
  };
3167
- export type UpdateApplicationKnowledgeBaseMutationVariables = Exact<{
3168
- input: UpdateApplicationKnowledgebaseInput;
2970
+ export type UpdateAgentKnowledgeBaseMutationVariables = Exact<{
2971
+ input: UpdateAgentKnowledgebaseInput;
3169
2972
  }>;
3170
- export type UpdateApplicationKnowledgeBaseMutation = {
2973
+ export type UpdateAgentKnowledgeBaseMutation = {
3171
2974
  __typename?: 'Mutation';
3172
- Application?: {
3173
- __typename?: 'ApplicationMutation';
3174
- updateApplicationKnowledgeBase?: any | null;
2975
+ Agent?: {
2976
+ __typename?: 'AgentMutation';
2977
+ updateAgentKnowledgeBase?: any | null;
3175
2978
  } | null;
3176
2979
  };
3177
- export type UpdateApplicationDocumentLoaderMutationVariables = Exact<{
3178
- input: UpdateApplicationDocumentLoaderInput;
3179
- }>;
3180
- export type UpdateApplicationDocumentLoaderMutation = {
3181
- __typename?: 'Mutation';
3182
- Application?: {
3183
- __typename?: 'ApplicationMutation';
3184
- updateApplicationDocumentLoader?: any | null;
3185
- } | null;
3186
- };
3187
- export type DeleteApplicationPromptMutationVariables = Exact<{
2980
+ export type DeleteAgentPromptMutationVariables = Exact<{
3188
2981
  namespacedname: Scalars['String']['input'];
3189
2982
  ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
3190
2983
  }>;
3191
- export type DeleteApplicationPromptMutation = {
2984
+ export type DeleteAgentPromptMutation = {
3192
2985
  __typename?: 'Mutation';
3193
- Application?: {
3194
- __typename?: 'ApplicationMutation';
3195
- deleteApplicationPrompt?: any | null;
2986
+ Agent?: {
2987
+ __typename?: 'AgentMutation';
2988
+ deleteAgentPrompt?: any | null;
3196
2989
  } | null;
3197
2990
  };
3198
- export type GetApplicationQueryVariables = Exact<{
2991
+ export type GetAgentQueryVariables = Exact<{
3199
2992
  name: Scalars['String']['input'];
3200
2993
  namespace: Scalars['String']['input'];
3201
2994
  }>;
3202
- export type GetApplicationQuery = {
2995
+ export type GetAgentQuery = {
3203
2996
  __typename?: 'Query';
3204
- Application?: {
3205
- __typename?: 'ApplicationQuery';
3206
- getApplication: {
3207
- __typename?: 'Application';
2997
+ Agent?: {
2998
+ __typename?: 'AgentQuery';
2999
+ getAgent: {
3000
+ __typename?: 'Agent';
3208
3001
  prologue?: string | null;
3209
3002
  model?: string | null;
3210
3003
  llm: string;
@@ -3212,25 +3005,15 @@ export type GetApplicationQuery = {
3212
3005
  maxLength?: number | null;
3213
3006
  maxTokens?: number | null;
3214
3007
  conversionWindowSize?: number | null;
3215
- knowledgebase?: string | null;
3216
3008
  scoreThreshold?: number | null;
3217
3009
  numDocuments?: number | null;
3218
3010
  docNullReturn?: string | null;
3219
3011
  userPrompt?: string | null;
3220
3012
  systemPrompt?: string | null;
3221
- showRespInfo?: boolean | null;
3222
3013
  showRetrievalInfo?: boolean | null;
3223
3014
  showNextGuide?: boolean | null;
3224
- enableRerank?: boolean | null;
3225
- rerankModel?: string | null;
3226
- enableMultiQuery?: boolean | null;
3227
- chatTimeout?: number | null;
3228
- enableUploadFile?: boolean | null;
3229
- chunkSize?: number | null;
3230
- chunkOverlap?: number | null;
3231
- batchSize?: number | null;
3232
3015
  metadata?: {
3233
- __typename?: 'ApplicationMetadata';
3016
+ __typename?: 'AgentMetadata';
3234
3017
  name: string;
3235
3018
  namespace: string;
3236
3019
  id?: string | null;
@@ -3249,6 +3032,11 @@ export type GetApplicationQuery = {
3249
3032
  category?: Array<string | null> | null;
3250
3033
  notReadyReasonCode?: string | null;
3251
3034
  } | null;
3035
+ knowledgebases?: Array<{
3036
+ __typename?: 'TypedObjectReference';
3037
+ name: string;
3038
+ namespace?: string | null;
3039
+ }> | null;
3252
3040
  plugins?: Array<{
3253
3041
  __typename?: 'Plugin';
3254
3042
  name: string;
@@ -3257,21 +3045,21 @@ export type GetApplicationQuery = {
3257
3045
  };
3258
3046
  } | null;
3259
3047
  };
3260
- export type ListApplicationsQueryVariables = Exact<{
3048
+ export type ListAgentsQueryVariables = Exact<{
3261
3049
  input: ListCommonInput;
3262
3050
  }>;
3263
- export type ListApplicationsQuery = {
3051
+ export type ListAgentsQuery = {
3264
3052
  __typename?: 'Query';
3265
- Application?: {
3266
- __typename?: 'ApplicationQuery';
3267
- listApplicationMetadata: {
3053
+ Agent?: {
3054
+ __typename?: 'AgentQuery';
3055
+ listAgentMetadata: {
3268
3056
  __typename?: 'PaginatedResult';
3269
3057
  page?: number | null;
3270
3058
  pageSize?: number | null;
3271
3059
  totalCount: number;
3272
3060
  hasNextPage: boolean;
3273
3061
  nodes?: Array<{
3274
- __typename?: 'ApplicationMetadata';
3062
+ __typename?: 'AgentMetadata';
3275
3063
  name: string;
3276
3064
  namespace: string;
3277
3065
  id?: string | null;
@@ -3290,7 +3078,7 @@ export type ListApplicationsQuery = {
3290
3078
  category?: Array<string | null> | null;
3291
3079
  notReadyReasonCode?: string | null;
3292
3080
  } | {
3293
- __typename?: 'ApplicationPrompt';
3081
+ __typename?: 'AgentPrompt';
3294
3082
  } | {
3295
3083
  __typename?: 'Dataset';
3296
3084
  } | {
@@ -3323,24 +3111,24 @@ export type ListApplicationsQuery = {
3323
3111
  };
3324
3112
  } | null;
3325
3113
  };
3326
- export type ListApplicationPromptQueryVariables = Exact<{
3114
+ export type ListAgentPromptQueryVariables = Exact<{
3327
3115
  namespacedname: Scalars['String']['input'];
3328
3116
  page?: InputMaybe<Scalars['Int']['input']>;
3329
3117
  size?: InputMaybe<Scalars['Int']['input']>;
3330
3118
  }>;
3331
- export type ListApplicationPromptQuery = {
3119
+ export type ListAgentPromptQuery = {
3332
3120
  __typename?: 'Query';
3333
- Application?: {
3334
- __typename?: 'ApplicationQuery';
3335
- listApplicationPrompt: {
3121
+ Agent?: {
3122
+ __typename?: 'AgentQuery';
3123
+ listAgentPrompt: {
3336
3124
  __typename?: 'PaginatedResult';
3337
3125
  totalCount: number;
3338
3126
  page?: number | null;
3339
3127
  pageSize?: number | null;
3340
3128
  nodes?: Array<{
3341
- __typename?: 'ApplicationMetadata';
3129
+ __typename?: 'AgentMetadata';
3342
3130
  } | {
3343
- __typename?: 'ApplicationPrompt';
3131
+ __typename?: 'AgentPrompt';
3344
3132
  id: string;
3345
3133
  namespacedname: string;
3346
3134
  content: string;
@@ -3383,8 +3171,8 @@ export type ListGptCategoryQueryVariables = Exact<{
3383
3171
  }>;
3384
3172
  export type ListGptCategoryQuery = {
3385
3173
  __typename?: 'Query';
3386
- Application?: {
3387
- __typename?: 'ApplicationQuery';
3174
+ Agent?: {
3175
+ __typename?: 'AgentQuery';
3388
3176
  listGPTCategory: Array<{
3389
3177
  __typename?: 'GPTCategory';
3390
3178
  id: string;
@@ -3398,8 +3186,8 @@ export type GetGptStoreQueryVariables = Exact<{
3398
3186
  }>;
3399
3187
  export type GetGptStoreQuery = {
3400
3188
  __typename?: 'Query';
3401
- Application?: {
3402
- __typename?: 'ApplicationQuery';
3189
+ Agent?: {
3190
+ __typename?: 'AgentQuery';
3403
3191
  getGPTStore: {
3404
3192
  __typename?: 'GPTStore';
3405
3193
  url: string;
@@ -3685,9 +3473,9 @@ export type ListDatasetsQuery = {
3685
3473
  totalCount: number;
3686
3474
  hasNextPage: boolean;
3687
3475
  nodes?: Array<{
3688
- __typename?: 'ApplicationMetadata';
3476
+ __typename?: 'AgentMetadata';
3689
3477
  } | {
3690
- __typename?: 'ApplicationPrompt';
3478
+ __typename?: 'AgentPrompt';
3691
3479
  } | {
3692
3480
  __typename?: 'Dataset';
3693
3481
  name: string;
@@ -3703,9 +3491,9 @@ export type ListDatasetsQuery = {
3703
3491
  totalCount: number;
3704
3492
  hasNextPage: boolean;
3705
3493
  nodes?: Array<{
3706
- __typename?: 'ApplicationMetadata';
3494
+ __typename?: 'AgentMetadata';
3707
3495
  } | {
3708
- __typename?: 'ApplicationPrompt';
3496
+ __typename?: 'AgentPrompt';
3709
3497
  } | {
3710
3498
  __typename?: 'Dataset';
3711
3499
  } | {
@@ -3804,9 +3592,9 @@ export type GetDatasetQuery = {
3804
3592
  totalCount: number;
3805
3593
  hasNextPage: boolean;
3806
3594
  nodes?: Array<{
3807
- __typename?: 'ApplicationMetadata';
3595
+ __typename?: 'AgentMetadata';
3808
3596
  } | {
3809
- __typename?: 'ApplicationPrompt';
3597
+ __typename?: 'AgentPrompt';
3810
3598
  } | {
3811
3599
  __typename?: 'Dataset';
3812
3600
  } | {
@@ -4007,9 +3795,9 @@ export type ListDatasourcesQuery = {
4007
3795
  totalCount: number;
4008
3796
  hasNextPage: boolean;
4009
3797
  nodes?: Array<{
4010
- __typename: 'ApplicationMetadata';
3798
+ __typename: 'AgentMetadata';
4011
3799
  } | {
4012
- __typename: 'ApplicationPrompt';
3800
+ __typename: 'AgentPrompt';
4013
3801
  } | {
4014
3802
  __typename: 'Dataset';
4015
3803
  } | {
@@ -4211,9 +3999,9 @@ export type ListEmbeddersQuery = {
4211
3999
  totalCount: number;
4212
4000
  hasNextPage: boolean;
4213
4001
  nodes?: Array<{
4214
- __typename?: 'ApplicationMetadata';
4002
+ __typename?: 'AgentMetadata';
4215
4003
  } | {
4216
- __typename?: 'ApplicationPrompt';
4004
+ __typename?: 'AgentPrompt';
4217
4005
  } | {
4218
4006
  __typename?: 'Dataset';
4219
4007
  } | {
@@ -4295,9 +4083,9 @@ export type ListKnowledgeBasesQuery = {
4295
4083
  totalCount: number;
4296
4084
  hasNextPage: boolean;
4297
4085
  nodes?: Array<{
4298
- __typename?: 'ApplicationMetadata';
4086
+ __typename?: 'AgentMetadata';
4299
4087
  } | {
4300
- __typename?: 'ApplicationPrompt';
4088
+ __typename?: 'AgentPrompt';
4301
4089
  } | {
4302
4090
  __typename?: 'Dataset';
4303
4091
  } | {
@@ -4585,9 +4373,9 @@ export type ListLlMsQuery = {
4585
4373
  totalCount: number;
4586
4374
  hasNextPage: boolean;
4587
4375
  nodes?: Array<{
4588
- __typename?: 'ApplicationMetadata';
4376
+ __typename?: 'AgentMetadata';
4589
4377
  } | {
4590
- __typename?: 'ApplicationPrompt';
4378
+ __typename?: 'AgentPrompt';
4591
4379
  } | {
4592
4380
  __typename?: 'Dataset';
4593
4381
  } | {
@@ -4672,9 +4460,9 @@ export type ListModelsQuery = {
4672
4460
  totalCount: number;
4673
4461
  hasNextPage: boolean;
4674
4462
  nodes?: Array<{
4675
- __typename: 'ApplicationMetadata';
4463
+ __typename: 'AgentMetadata';
4676
4464
  } | {
4677
- __typename: 'ApplicationPrompt';
4465
+ __typename: 'AgentPrompt';
4678
4466
  } | {
4679
4467
  __typename: 'Dataset';
4680
4468
  } | {
@@ -4712,9 +4500,9 @@ export type ListModelsQuery = {
4712
4500
  totalCount: number;
4713
4501
  hasNextPage: boolean;
4714
4502
  nodes?: Array<{
4715
- __typename?: 'ApplicationMetadata';
4503
+ __typename?: 'AgentMetadata';
4716
4504
  } | {
4717
- __typename?: 'ApplicationPrompt';
4505
+ __typename?: 'AgentPrompt';
4718
4506
  } | {
4719
4507
  __typename?: 'Dataset';
4720
4508
  } | {
@@ -4803,9 +4591,9 @@ export type GetModelQuery = {
4803
4591
  totalCount: number;
4804
4592
  hasNextPage: boolean;
4805
4593
  nodes?: Array<{
4806
- __typename?: 'ApplicationMetadata';
4594
+ __typename?: 'AgentMetadata';
4807
4595
  } | {
4808
- __typename?: 'ApplicationPrompt';
4596
+ __typename?: 'AgentPrompt';
4809
4597
  } | {
4810
4598
  __typename?: 'Dataset';
4811
4599
  } | {
@@ -5028,9 +4816,9 @@ export type ListModelServicesQuery = {
5028
4816
  totalCount: number;
5029
4817
  hasNextPage: boolean;
5030
4818
  nodes?: Array<{
5031
- __typename: 'ApplicationMetadata';
4819
+ __typename: 'AgentMetadata';
5032
4820
  } | {
5033
- __typename: 'ApplicationPrompt';
4821
+ __typename: 'AgentPrompt';
5034
4822
  } | {
5035
4823
  __typename: 'Dataset';
5036
4824
  } | {
@@ -5109,9 +4897,9 @@ export type ListNodesQuery = {
5109
4897
  totalCount: number;
5110
4898
  hasNextPage: boolean;
5111
4899
  nodes?: Array<{
5112
- __typename: 'ApplicationMetadata';
4900
+ __typename: 'AgentMetadata';
5113
4901
  } | {
5114
- __typename: 'ApplicationPrompt';
4902
+ __typename: 'AgentPrompt';
5115
4903
  } | {
5116
4904
  __typename: 'Dataset';
5117
4905
  } | {
@@ -5158,9 +4946,9 @@ export type ListPluginsQuery = {
5158
4946
  totalCount: number;
5159
4947
  hasNextPage: boolean;
5160
4948
  nodes?: Array<{
5161
- __typename: 'ApplicationMetadata';
4949
+ __typename: 'AgentMetadata';
5162
4950
  } | {
5163
- __typename: 'ApplicationPrompt';
4951
+ __typename: 'AgentPrompt';
5164
4952
  } | {
5165
4953
  __typename: 'Dataset';
5166
4954
  } | {
@@ -5359,9 +5147,9 @@ export type ListRagQuery = {
5359
5147
  totalCount: number;
5360
5148
  hasNextPage: boolean;
5361
5149
  nodes?: Array<{
5362
- __typename?: 'ApplicationMetadata';
5150
+ __typename?: 'AgentMetadata';
5363
5151
  } | {
5364
- __typename?: 'ApplicationPrompt';
5152
+ __typename?: 'AgentPrompt';
5365
5153
  } | {
5366
5154
  __typename?: 'Dataset';
5367
5155
  } | {
@@ -5528,7 +5316,7 @@ export type GetRagQuery = {
5528
5316
  } | null;
5529
5317
  };
5530
5318
  application: {
5531
- __typename?: 'Application';
5319
+ __typename?: 'Agent';
5532
5320
  prologue?: string | null;
5533
5321
  model?: string | null;
5534
5322
  llm: string;
@@ -5536,16 +5324,14 @@ export type GetRagQuery = {
5536
5324
  maxLength?: number | null;
5537
5325
  maxTokens?: number | null;
5538
5326
  conversionWindowSize?: number | null;
5539
- knowledgebase?: string | null;
5540
5327
  scoreThreshold?: number | null;
5541
5328
  numDocuments?: number | null;
5542
5329
  docNullReturn?: string | null;
5543
5330
  userPrompt?: string | null;
5544
- showRespInfo?: boolean | null;
5545
5331
  showRetrievalInfo?: boolean | null;
5546
5332
  showNextGuide?: boolean | null;
5547
5333
  metadata?: {
5548
- __typename?: 'ApplicationMetadata';
5334
+ __typename?: 'AgentMetadata';
5549
5335
  name: string;
5550
5336
  namespace: string;
5551
5337
  id?: string | null;
@@ -5560,6 +5346,11 @@ export type GetRagQuery = {
5560
5346
  isPublic?: boolean | null;
5561
5347
  status?: string | null;
5562
5348
  } | null;
5349
+ knowledgebases?: Array<{
5350
+ __typename?: 'TypedObjectReference';
5351
+ name: string;
5352
+ namespace?: string | null;
5353
+ }> | null;
5563
5354
  };
5564
5355
  datasets: Array<{
5565
5356
  __typename?: 'RAGDataset';
@@ -5752,9 +5543,9 @@ export type ListRayClustersQuery = {
5752
5543
  totalCount: number;
5753
5544
  hasNextPage: boolean;
5754
5545
  nodes?: Array<{
5755
- __typename: 'ApplicationMetadata';
5546
+ __typename: 'AgentMetadata';
5756
5547
  } | {
5757
- __typename: 'ApplicationPrompt';
5548
+ __typename: 'AgentPrompt';
5758
5549
  } | {
5759
5550
  __typename: 'Dataset';
5760
5551
  } | {
@@ -5868,9 +5659,9 @@ export type GetVersionedDatasetQuery = {
5868
5659
  totalCount: number;
5869
5660
  hasNextPage: boolean;
5870
5661
  nodes?: Array<{
5871
- __typename?: 'ApplicationMetadata';
5662
+ __typename?: 'AgentMetadata';
5872
5663
  } | {
5873
- __typename?: 'ApplicationPrompt';
5664
+ __typename?: 'AgentPrompt';
5874
5665
  } | {
5875
5666
  __typename?: 'Dataset';
5876
5667
  } | {
@@ -5925,9 +5716,9 @@ export type ListVersionedDatasetsQuery = {
5925
5716
  totalCount: number;
5926
5717
  hasNextPage: boolean;
5927
5718
  nodes?: Array<{
5928
- __typename?: 'ApplicationMetadata';
5719
+ __typename?: 'AgentMetadata';
5929
5720
  } | {
5930
- __typename?: 'ApplicationPrompt';
5721
+ __typename?: 'AgentPrompt';
5931
5722
  } | {
5932
5723
  __typename?: 'Dataset';
5933
5724
  } | {
@@ -5973,9 +5764,9 @@ export type ListVersionedDatasetsQuery = {
5973
5764
  totalCount: number;
5974
5765
  hasNextPage: boolean;
5975
5766
  nodes?: Array<{
5976
- __typename?: 'ApplicationMetadata';
5767
+ __typename?: 'AgentMetadata';
5977
5768
  } | {
5978
- __typename?: 'ApplicationPrompt';
5769
+ __typename?: 'AgentPrompt';
5979
5770
  } | {
5980
5771
  __typename?: 'Dataset';
5981
5772
  } | {
@@ -6032,9 +5823,9 @@ export type ListWorkersQuery = {
6032
5823
  totalCount: number;
6033
5824
  hasNextPage: boolean;
6034
5825
  nodes?: Array<{
6035
- __typename: 'ApplicationMetadata';
5826
+ __typename: 'AgentMetadata';
6036
5827
  } | {
6037
- __typename: 'ApplicationPrompt';
5828
+ __typename: 'AgentPrompt';
6038
5829
  } | {
6039
5830
  __typename: 'Dataset';
6040
5831
  } | {
@@ -6278,21 +6069,19 @@ export type DeleteWorkersMutation = {
6278
6069
  deleteWorkers?: any | null;
6279
6070
  } | null;
6280
6071
  };
6281
- export declare const CreateApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6282
- export declare const UpdateApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6283
- export declare const DeleteApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6284
- export declare const UpdateApplicationConfigDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6285
- export declare const ReleaseApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6286
- export declare const CreateOrUpdateApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6287
- export declare const UpdateApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6288
- export declare const UpdateApplicationModelDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6289
- export declare const UpdateApplicationPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6290
- export declare const UpdateApplicationKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6291
- export declare const UpdateApplicationDocumentLoaderDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6292
- export declare const DeleteApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6293
- export declare const GetApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6294
- export declare const ListApplicationsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6295
- export declare const ListApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6072
+ export declare const CreateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6073
+ export declare const UpdateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6074
+ export declare const DeleteAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6075
+ export declare const ReleaseAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6076
+ export declare const CreateOrUpdateAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6077
+ export declare const UpdateAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6078
+ export declare const UpdateAgentModelDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6079
+ export declare const UpdateAgentPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6080
+ export declare const UpdateAgentKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6081
+ export declare const DeleteAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6082
+ export declare const GetAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6083
+ export declare const ListAgentsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6084
+ export declare const ListAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6296
6085
  export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6297
6086
  export declare const GetGptStoreDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6298
6087
  export declare const AllDataProcessListByPageDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -6364,21 +6153,19 @@ export declare const UpdateWorkerDocument: import("../node_modules/.pnpm/graphql
6364
6153
  export declare const DeleteWorkersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6365
6154
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
6366
6155
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
6367
- createApplication(variables: CreateApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateApplicationMutation>;
6368
- updateApplication(variables: UpdateApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationMutation>;
6369
- deleteApplication(variables: DeleteApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteApplicationMutation>;
6370
- updateApplicationConfig(variables: UpdateApplicationConfigMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationConfigMutation>;
6371
- releaseApplication(variables: ReleaseApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<ReleaseApplicationMutation>;
6372
- createOrUpdateApplicationPrompt(variables: CreateOrUpdateApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateOrUpdateApplicationPromptMutation>;
6373
- updateApplicationPrompt(variables: UpdateApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationPromptMutation>;
6374
- updateApplicationModel(variables: UpdateApplicationModelMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationModelMutation>;
6375
- updateApplicationPlugin(variables: UpdateApplicationPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationPluginMutation>;
6376
- updateApplicationKnowledgeBase(variables: UpdateApplicationKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationKnowledgeBaseMutation>;
6377
- updateApplicationDocumentLoader(variables: UpdateApplicationDocumentLoaderMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationDocumentLoaderMutation>;
6378
- deleteApplicationPrompt(variables: DeleteApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteApplicationPromptMutation>;
6379
- getApplication(variables: GetApplicationQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetApplicationQuery>;
6380
- listApplications(variables: ListApplicationsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationsQuery>;
6381
- listApplicationPrompt(variables: ListApplicationPromptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationPromptQuery>;
6156
+ createAgent(variables: CreateAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateAgentMutation>;
6157
+ updateAgent(variables: UpdateAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentMutation>;
6158
+ deleteAgent(variables: DeleteAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentMutation>;
6159
+ releaseAgent(variables: ReleaseAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<ReleaseAgentMutation>;
6160
+ createOrUpdateAgentPrompt(variables: CreateOrUpdateAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateOrUpdateAgentPromptMutation>;
6161
+ updateAgentPrompt(variables: UpdateAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPromptMutation>;
6162
+ updateAgentModel(variables: UpdateAgentModelMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentModelMutation>;
6163
+ updateAgentPlugin(variables: UpdateAgentPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPluginMutation>;
6164
+ updateAgentKnowledgeBase(variables: UpdateAgentKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentKnowledgeBaseMutation>;
6165
+ deleteAgentPrompt(variables: DeleteAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentPromptMutation>;
6166
+ getAgent(variables: GetAgentQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentQuery>;
6167
+ listAgents(variables: ListAgentsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentsQuery>;
6168
+ listAgentPrompt(variables: ListAgentPromptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentPromptQuery>;
6382
6169
  listGPTCategory(variables?: ListGptCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGptCategoryQuery>;
6383
6170
  getGPTStore(variables?: GetGptStoreQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptStoreQuery>;
6384
6171
  allDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<AllDataProcessListByPageQuery>;
@@ -6451,9 +6238,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
6451
6238
  };
6452
6239
  export type Sdk = ReturnType<typeof getSdk>;
6453
6240
  export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
6454
- useGetApplication(variables: GetApplicationQueryVariables, config?: SWRConfigInterface<GetApplicationQuery, ClientError>): import("./useSWR").SWRResponsePro<GetApplicationQuery, ClientError>;
6455
- useListApplications(variables: ListApplicationsQueryVariables, config?: SWRConfigInterface<ListApplicationsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListApplicationsQuery, ClientError>;
6456
- useListApplicationPrompt(variables: ListApplicationPromptQueryVariables, config?: SWRConfigInterface<ListApplicationPromptQuery, ClientError>): import("./useSWR").SWRResponsePro<ListApplicationPromptQuery, ClientError>;
6241
+ useGetAgent(variables: GetAgentQueryVariables, config?: SWRConfigInterface<GetAgentQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentQuery, ClientError>;
6242
+ useListAgents(variables: ListAgentsQueryVariables, config?: SWRConfigInterface<ListAgentsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentsQuery, ClientError>;
6243
+ useListAgentPrompt(variables: ListAgentPromptQueryVariables, config?: SWRConfigInterface<ListAgentPromptQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentPromptQuery, ClientError>;
6457
6244
  useListGptCategory(variables?: ListGptCategoryQueryVariables, config?: SWRConfigInterface<ListGptCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGptCategoryQuery, ClientError>;
6458
6245
  useGetGptStore(variables?: GetGptStoreQueryVariables, config?: SWRConfigInterface<GetGptStoreQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptStoreQuery, ClientError>;
6459
6246
  useAllDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, config?: SWRConfigInterface<AllDataProcessListByPageQuery, ClientError>): import("./useSWR").SWRResponsePro<AllDataProcessListByPageQuery, ClientError>;
@@ -6491,58 +6278,52 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6491
6278
  useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
6492
6279
  useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
6493
6280
  useGetWorker(variables: GetWorkerQueryVariables, config?: SWRConfigInterface<GetWorkerQuery, ClientError>): import("./useSWR").SWRResponsePro<GetWorkerQuery, ClientError>;
6494
- createApplication(variables: Exact<{
6495
- input: CreateApplicationMetadataInput;
6496
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateApplicationMutation>;
6497
- updateApplication(variables: Exact<{
6498
- input: UpdateApplicationMetadataInput;
6499
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationMutation>;
6500
- deleteApplication(variables: Exact<{
6281
+ createAgent(variables: Exact<{
6282
+ input: CreateAgentMetadataInput;
6283
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateAgentMutation>;
6284
+ updateAgent(variables: Exact<{
6285
+ input: UpdateAgentMetadataInput;
6286
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentMutation>;
6287
+ deleteAgent(variables: Exact<{
6501
6288
  input: DeleteCommonInput;
6502
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteApplicationMutation>;
6503
- updateApplicationConfig(variables: Exact<{
6504
- input: UpdateApplicationConfigInput;
6505
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationConfigMutation>;
6506
- releaseApplication(variables: Exact<{
6289
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteAgentMutation>;
6290
+ releaseAgent(variables: Exact<{
6507
6291
  name: string;
6508
6292
  namespace: string;
6509
6293
  isPublic: boolean;
6510
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseApplicationMutation>;
6511
- createOrUpdateApplicationPrompt(variables: Exact<{
6294
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseAgentMutation>;
6295
+ createOrUpdateAgentPrompt(variables: Exact<{
6512
6296
  namespacedname: string;
6513
- input?: InputMaybe<ApplicationPromptInput | ApplicationPromptInput[]> | undefined;
6514
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateOrUpdateApplicationPromptMutation>;
6515
- updateApplicationPrompt(variables: Exact<{
6516
- input: UpdateApplicationPromptInput;
6517
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationPromptMutation>;
6518
- updateApplicationModel(variables: Exact<{
6519
- input: UpdateApplicationModelInput;
6520
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationModelMutation>;
6521
- updateApplicationPlugin(variables: Exact<{
6522
- input: UpdateApplicationPluginInput;
6523
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationPluginMutation>;
6524
- updateApplicationKnowledgeBase(variables: Exact<{
6525
- input: UpdateApplicationKnowledgebaseInput;
6526
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationKnowledgeBaseMutation>;
6527
- updateApplicationDocumentLoader(variables: Exact<{
6528
- input: UpdateApplicationDocumentLoaderInput;
6529
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationDocumentLoaderMutation>;
6530
- deleteApplicationPrompt(variables: Exact<{
6297
+ input?: InputMaybe<AgentPromptInput | AgentPromptInput[]> | undefined;
6298
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateOrUpdateAgentPromptMutation>;
6299
+ updateAgentPrompt(variables: Exact<{
6300
+ input: UpdateAgentPromptInput;
6301
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentPromptMutation>;
6302
+ updateAgentModel(variables: Exact<{
6303
+ input: UpdateAgentModelInput;
6304
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentModelMutation>;
6305
+ updateAgentPlugin(variables: Exact<{
6306
+ input: UpdateAgentPluginInput;
6307
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentPluginMutation>;
6308
+ updateAgentKnowledgeBase(variables: Exact<{
6309
+ input: UpdateAgentKnowledgebaseInput;
6310
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentKnowledgeBaseMutation>;
6311
+ deleteAgentPrompt(variables: Exact<{
6531
6312
  namespacedname: string;
6532
6313
  ids?: InputMaybe<string | string[]> | undefined;
6533
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteApplicationPromptMutation>;
6534
- getApplication(variables: Exact<{
6314
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteAgentPromptMutation>;
6315
+ getAgent(variables: Exact<{
6535
6316
  name: string;
6536
6317
  namespace: string;
6537
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetApplicationQuery>;
6538
- listApplications(variables: Exact<{
6318
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentQuery>;
6319
+ listAgents(variables: Exact<{
6539
6320
  input: ListCommonInput;
6540
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListApplicationsQuery>;
6541
- listApplicationPrompt(variables: Exact<{
6321
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentsQuery>;
6322
+ listAgentPrompt(variables: Exact<{
6542
6323
  namespacedname: string;
6543
6324
  page?: InputMaybe<number> | undefined;
6544
6325
  size?: InputMaybe<number> | undefined;
6545
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListApplicationPromptQuery>;
6326
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentPromptQuery>;
6546
6327
  listGPTCategory(variables?: Exact<{
6547
6328
  [key: string]: never;
6548
6329
  }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListGptCategoryQuery>;