@yuntijs/arcadia-bff-sdk 1.2.33 → 1.2.35
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/index.d.ts +252 -178
- package/dist/cjs/sdk.d.ts +652 -501
- package/dist/cjs/sdk.js +230 -193
- package/dist/cjs/taro.d.ts +184 -132
- package/dist/esm/index.d.ts +252 -178
- package/dist/esm/sdk.d.ts +652 -501
- package/dist/esm/sdk.js +162 -141
- package/dist/esm/taro.d.ts +184 -132
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
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
|
-
*
|
|
79
|
+
* Agent
|
|
90
80
|
* 应用完整信息
|
|
91
81
|
*/
|
|
92
|
-
export type
|
|
93
|
-
__typename?: '
|
|
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
|
-
/**
|
|
107
|
-
|
|
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
|
-
|
|
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
|
-
*
|
|
120
|
+
* Agent
|
|
148
121
|
* 应用 Metadata
|
|
149
122
|
*/
|
|
150
|
-
export type
|
|
151
|
-
__typename?: '
|
|
123
|
+
export type AgentMetadata = {
|
|
124
|
+
__typename?: 'AgentMetadata';
|
|
152
125
|
/** 添加一些辅助性记录信息 */
|
|
153
126
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
154
127
|
/** Background, 图片ID */
|
|
@@ -197,101 +170,156 @@ export type ApplicationMetadata = {
|
|
|
197
170
|
* - ConfigError: 应用配置错误,比如写了多个Output节点,比如节点名称重复等其他错误
|
|
198
171
|
*/
|
|
199
172
|
notReadyReasonCode?: Maybe<Scalars['String']['output']>;
|
|
173
|
+
/** 智能体在每个平台的发布情况,true表示已经发布,false未发布 */
|
|
174
|
+
platformStatus?: Maybe<Scalars['Map']['output']>;
|
|
175
|
+
/** 智能体支持发布的平台列表 */
|
|
176
|
+
platforms?: Maybe<Array<Platform>>;
|
|
200
177
|
/** 应用状态 */
|
|
201
178
|
status?: Maybe<Scalars['String']['output']>;
|
|
202
179
|
/** 更新时间 */
|
|
203
180
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
204
181
|
};
|
|
205
|
-
export type
|
|
206
|
-
__typename?: '
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
export type ApplicationMutationCreateOrUpdateApplicationPromptArgs = {
|
|
224
|
-
input?: InputMaybe<Array<ApplicationPromptInput>>;
|
|
182
|
+
export type AgentMutation = {
|
|
183
|
+
__typename?: 'AgentMutation';
|
|
184
|
+
createAgent: AgentMetadata;
|
|
185
|
+
createOrUpdateAgentPrompt?: Maybe<Scalars['Void']['output']>;
|
|
186
|
+
deleteAgent?: Maybe<Scalars['Void']['output']>;
|
|
187
|
+
deleteAgentPrompt?: Maybe<Scalars['Void']['output']>;
|
|
188
|
+
releaseAgent: AgentMetadata;
|
|
189
|
+
updateAgent: AgentMetadata;
|
|
190
|
+
updateAgentKnowledgeBase?: Maybe<Scalars['Void']['output']>;
|
|
191
|
+
updateAgentModel?: Maybe<Scalars['Void']['output']>;
|
|
192
|
+
updateAgentPlugin?: Maybe<Scalars['Void']['output']>;
|
|
193
|
+
updateAgentPrompt?: Maybe<Scalars['Void']['output']>;
|
|
194
|
+
};
|
|
195
|
+
export type AgentMutationCreateAgentArgs = {
|
|
196
|
+
input: CreateAgentMetadataInput;
|
|
197
|
+
};
|
|
198
|
+
export type AgentMutationCreateOrUpdateAgentPromptArgs = {
|
|
199
|
+
input?: InputMaybe<Array<AgentPromptInput>>;
|
|
225
200
|
namespacedname: Scalars['String']['input'];
|
|
226
201
|
};
|
|
227
|
-
export type
|
|
202
|
+
export type AgentMutationDeleteAgentArgs = {
|
|
228
203
|
input: DeleteCommonInput;
|
|
229
204
|
};
|
|
230
|
-
export type
|
|
205
|
+
export type AgentMutationDeleteAgentPromptArgs = {
|
|
231
206
|
ids?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
232
207
|
namespacedname: Scalars['String']['input'];
|
|
233
208
|
};
|
|
234
|
-
export type
|
|
235
|
-
|
|
209
|
+
export type AgentMutationReleaseAgentArgs = {
|
|
210
|
+
input: ReleaseAgentInput;
|
|
236
211
|
name: Scalars['String']['input'];
|
|
237
212
|
namespace: Scalars['String']['input'];
|
|
238
213
|
};
|
|
239
|
-
export type
|
|
240
|
-
input:
|
|
241
|
-
};
|
|
242
|
-
export type ApplicationMutationUpdateApplicationConfigArgs = {
|
|
243
|
-
input: UpdateApplicationConfigInput;
|
|
244
|
-
};
|
|
245
|
-
export type ApplicationMutationUpdateApplicationDocumentLoaderArgs = {
|
|
246
|
-
input: UpdateApplicationDocumentLoaderInput;
|
|
214
|
+
export type AgentMutationUpdateAgentArgs = {
|
|
215
|
+
input: UpdateAgentMetadataInput;
|
|
247
216
|
};
|
|
248
|
-
export type
|
|
249
|
-
input:
|
|
217
|
+
export type AgentMutationUpdateAgentKnowledgeBaseArgs = {
|
|
218
|
+
input: UpdateAgentKnowledgebaseInput;
|
|
250
219
|
};
|
|
251
|
-
export type
|
|
252
|
-
input:
|
|
220
|
+
export type AgentMutationUpdateAgentModelArgs = {
|
|
221
|
+
input: UpdateAgentModelInput;
|
|
253
222
|
};
|
|
254
|
-
export type
|
|
255
|
-
input:
|
|
223
|
+
export type AgentMutationUpdateAgentPluginArgs = {
|
|
224
|
+
input: UpdateAgentPluginInput;
|
|
256
225
|
};
|
|
257
|
-
export type
|
|
258
|
-
input:
|
|
226
|
+
export type AgentMutationUpdateAgentPromptArgs = {
|
|
227
|
+
input: UpdateAgentPromptInput;
|
|
259
228
|
};
|
|
260
|
-
export type
|
|
261
|
-
__typename?: '
|
|
229
|
+
export type AgentPrompt = {
|
|
230
|
+
__typename?: 'AgentPrompt';
|
|
262
231
|
content: Scalars['String']['output'];
|
|
263
232
|
createdAt: Scalars['Time']['output'];
|
|
264
233
|
id: Scalars['String']['output'];
|
|
265
234
|
namespacedname: Scalars['String']['output'];
|
|
266
235
|
updatedAt: Scalars['Time']['output'];
|
|
267
236
|
};
|
|
268
|
-
export type
|
|
237
|
+
export type AgentPromptInput = {
|
|
269
238
|
/** prompt的内容,更新或者创建的时候必须填写 */
|
|
270
239
|
content: Scalars['String']['input'];
|
|
271
240
|
/** 记录的ID,创建的时候可以不用填写,更新必须填写 */
|
|
272
241
|
id?: InputMaybe<Scalars['String']['input']>;
|
|
273
242
|
};
|
|
274
|
-
export type
|
|
275
|
-
__typename?: '
|
|
276
|
-
|
|
243
|
+
export type AgentQuery = {
|
|
244
|
+
__typename?: 'AgentQuery';
|
|
245
|
+
getAgent: Agent;
|
|
246
|
+
getAgentLatestReleaseInEachPlatform: PaginatedResult;
|
|
247
|
+
getAgentReleaseHistory: PaginatedResult;
|
|
277
248
|
getGPTStore: GptStore;
|
|
278
|
-
|
|
279
|
-
|
|
249
|
+
listAgentMetadata: PaginatedResult;
|
|
250
|
+
listAgentPrompt: PaginatedResult;
|
|
280
251
|
/** migrated from GPT */
|
|
281
252
|
listGPTCategory: Array<Maybe<GptCategory>>;
|
|
282
253
|
};
|
|
283
|
-
export type
|
|
254
|
+
export type AgentQueryGetAgentArgs = {
|
|
255
|
+
name: Scalars['String']['input'];
|
|
256
|
+
namespace: Scalars['String']['input'];
|
|
257
|
+
};
|
|
258
|
+
export type AgentQueryGetAgentLatestReleaseInEachPlatformArgs = {
|
|
284
259
|
name: Scalars['String']['input'];
|
|
285
260
|
namespace: Scalars['String']['input'];
|
|
286
261
|
};
|
|
287
|
-
export type
|
|
262
|
+
export type AgentQueryGetAgentReleaseHistoryArgs = {
|
|
263
|
+
name: Scalars['String']['input'];
|
|
264
|
+
namespace: Scalars['String']['input'];
|
|
265
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
266
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
267
|
+
};
|
|
268
|
+
export type AgentQueryListAgentMetadataArgs = {
|
|
288
269
|
input: ListCommonInput;
|
|
289
270
|
};
|
|
290
|
-
export type
|
|
271
|
+
export type AgentQueryListAgentPromptArgs = {
|
|
291
272
|
namespacedname: Scalars['String']['input'];
|
|
292
273
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
293
274
|
size?: InputMaybe<Scalars['Int']['input']>;
|
|
294
275
|
};
|
|
276
|
+
export type AgentRelease = {
|
|
277
|
+
__typename?: 'AgentRelease';
|
|
278
|
+
/** 发布时间 */
|
|
279
|
+
createdAt?: Maybe<Scalars['Time']['output']>;
|
|
280
|
+
/** 发布记录的id */
|
|
281
|
+
id: Scalars['String']['output'];
|
|
282
|
+
/** 发布日志 */
|
|
283
|
+
log?: Maybe<Scalars['String']['output']>;
|
|
284
|
+
/** 智能体名字 */
|
|
285
|
+
name: Scalars['String']['output'];
|
|
286
|
+
/** 智能体所在namespace */
|
|
287
|
+
namesapce: Scalars['String']['output'];
|
|
288
|
+
/** 发布到的平台 */
|
|
289
|
+
platform: Scalars['String']['output'];
|
|
290
|
+
/** 智能体在平台的发布状态 */
|
|
291
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
292
|
+
/** 发布用户 */
|
|
293
|
+
username?: Maybe<Scalars['String']['output']>;
|
|
294
|
+
};
|
|
295
|
+
export type AgentReleaseHistory = {
|
|
296
|
+
__typename?: 'AgentReleaseHistory';
|
|
297
|
+
/** 发布日期 */
|
|
298
|
+
date: Scalars['String']['output'];
|
|
299
|
+
/** 子项 */
|
|
300
|
+
items?: Maybe<Array<AgentReleaseHistoryItem>>;
|
|
301
|
+
};
|
|
302
|
+
export type AgentReleaseHistoryItem = {
|
|
303
|
+
__typename?: 'AgentReleaseHistoryItem';
|
|
304
|
+
/** 发布日志 */
|
|
305
|
+
log?: Maybe<Scalars['String']['output']>;
|
|
306
|
+
/** 发布的平台信息,以及发布状态 */
|
|
307
|
+
platforms?: Maybe<Array<PlatformWithStatus>>;
|
|
308
|
+
/** 发布时间 */
|
|
309
|
+
time?: Maybe<Scalars['String']['output']>;
|
|
310
|
+
/** 发布者 */
|
|
311
|
+
username?: Maybe<Scalars['String']['output']>;
|
|
312
|
+
};
|
|
313
|
+
export type AllDataProcessListByCountInput = {
|
|
314
|
+
keyword: Scalars['String']['input'];
|
|
315
|
+
namespace: Scalars['String']['input'];
|
|
316
|
+
};
|
|
317
|
+
export type AllDataProcessListByPageInput = {
|
|
318
|
+
keyword: Scalars['String']['input'];
|
|
319
|
+
namespace: Scalars['String']['input'];
|
|
320
|
+
pageIndex: Scalars['Int']['input'];
|
|
321
|
+
pageSize: Scalars['Int']['input'];
|
|
322
|
+
};
|
|
295
323
|
export type CheckDataProcessTaskNameInput = {
|
|
296
324
|
name: Scalars['String']['input'];
|
|
297
325
|
namespace: Scalars['String']['input'];
|
|
@@ -302,10 +330,8 @@ export type CountDataProcessItem = {
|
|
|
302
330
|
message: Scalars['String']['output'];
|
|
303
331
|
status: Scalars['Int']['output'];
|
|
304
332
|
};
|
|
305
|
-
export type
|
|
306
|
-
/**
|
|
307
|
-
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
308
|
-
/** Background, 智能体对话背景图片,存放于 minio 的路径地址 */
|
|
333
|
+
export type CreateAgentMetadataInput = {
|
|
334
|
+
/** Background, 智能体对话背景图片(存放于 minio 的路径地址) */
|
|
309
335
|
background?: InputMaybe<Scalars['String']['input']>;
|
|
310
336
|
/** category:所属分类 */
|
|
311
337
|
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
@@ -313,14 +339,12 @@ export type CreateApplicationMetadataInput = {
|
|
|
313
339
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
314
340
|
/** 展示名,别名 */
|
|
315
341
|
displayName: Scalars['String']['input'];
|
|
316
|
-
/** Icon
|
|
317
|
-
icon
|
|
342
|
+
/** Icon,应用头像(存放于 minio 的路径地址) */
|
|
343
|
+
icon?: InputMaybe<Scalars['String']['input']>;
|
|
318
344
|
/** IsPublic, 是否发布,即是否公开提供服务 */
|
|
319
345
|
isPublic?: InputMaybe<Scalars['Boolean']['input']>;
|
|
320
346
|
/** isRecommended, 是否推荐 */
|
|
321
347
|
isRecommended?: InputMaybe<Scalars['Boolean']['input']>;
|
|
322
|
-
/** 一些用于标记,选择的的标签 */
|
|
323
|
-
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
324
348
|
/**
|
|
325
349
|
* 应用名称
|
|
326
350
|
* 规则: 遵循 k8s 命名
|
|
@@ -1762,7 +1786,7 @@ export type ModelServiceQueryListModelServicesArgs = {
|
|
|
1762
1786
|
};
|
|
1763
1787
|
export type Mutation = {
|
|
1764
1788
|
__typename?: 'Mutation';
|
|
1765
|
-
|
|
1789
|
+
Agent?: Maybe<AgentMutation>;
|
|
1766
1790
|
Dataset?: Maybe<DatasetMutation>;
|
|
1767
1791
|
Datasource?: Maybe<DatasourceMutation>;
|
|
1768
1792
|
Embedder?: Maybe<EmbedderMutation>;
|
|
@@ -1815,7 +1839,7 @@ export type OssInput = {
|
|
|
1815
1839
|
bucket: Scalars['String']['input'];
|
|
1816
1840
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
1817
1841
|
};
|
|
1818
|
-
export type PageNode =
|
|
1842
|
+
export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
|
|
1819
1843
|
export type PaginatedDataProcessItem = {
|
|
1820
1844
|
__typename?: 'PaginatedDataProcessItem';
|
|
1821
1845
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -1869,6 +1893,32 @@ export type Pg = {
|
|
|
1869
1893
|
export type PgInput = {
|
|
1870
1894
|
database: Scalars['String']['input'];
|
|
1871
1895
|
};
|
|
1896
|
+
export type Platform = {
|
|
1897
|
+
__typename?: 'Platform';
|
|
1898
|
+
/** 平台的展示名称 */
|
|
1899
|
+
displayName?: Maybe<Scalars['String']['output']>;
|
|
1900
|
+
/**
|
|
1901
|
+
* 平台的icon, 也是放到公共的图片存储下面, 可以指定具体名字
|
|
1902
|
+
* 可以没有
|
|
1903
|
+
*/
|
|
1904
|
+
icon?: Maybe<Scalars['String']['output']>;
|
|
1905
|
+
/** 平台的唯一名称 */
|
|
1906
|
+
name: Scalars['String']['output'];
|
|
1907
|
+
};
|
|
1908
|
+
export type PlatformWithStatus = {
|
|
1909
|
+
__typename?: 'PlatformWithStatus';
|
|
1910
|
+
/** 平台的展示名称 */
|
|
1911
|
+
displayName?: Maybe<Scalars['String']['output']>;
|
|
1912
|
+
/**
|
|
1913
|
+
* 平台的icon, 也是放到公共的图片存储下面, 可以指定具体名字
|
|
1914
|
+
* 可以没有
|
|
1915
|
+
*/
|
|
1916
|
+
icon?: Maybe<Scalars['String']['output']>;
|
|
1917
|
+
/** 平台的唯一名称 */
|
|
1918
|
+
name: Scalars['String']['output'];
|
|
1919
|
+
/** 智能体在该平台的发布状态 */
|
|
1920
|
+
status: Scalars['String']['output'];
|
|
1921
|
+
};
|
|
1872
1922
|
export type Plugin = {
|
|
1873
1923
|
__typename?: 'Plugin';
|
|
1874
1924
|
/** 添加一些辅助性记录信息 */
|
|
@@ -1970,7 +2020,7 @@ export type PluginQueryListPluginsArgs = {
|
|
|
1970
2020
|
};
|
|
1971
2021
|
export type Query = {
|
|
1972
2022
|
__typename?: 'Query';
|
|
1973
|
-
|
|
2023
|
+
Agent?: Maybe<AgentQuery>;
|
|
1974
2024
|
Dataset?: Maybe<DatasetQuery>;
|
|
1975
2025
|
Datasource?: Maybe<DatasourceQuery>;
|
|
1976
2026
|
Embedder?: Maybe<EmbedderQuery>;
|
|
@@ -1996,7 +2046,7 @@ export type Rag = {
|
|
|
1996
2046
|
/** 添加一些辅助性记录信息 */
|
|
1997
2047
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
1998
2048
|
/** 获取评估流程选择的应用 */
|
|
1999
|
-
application:
|
|
2049
|
+
application: Agent;
|
|
2000
2050
|
/** 评估完成时间, 如果没有完成这,这个字段没有值 */
|
|
2001
2051
|
completeTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2002
2052
|
/** 创建时间 */
|
|
@@ -2134,6 +2184,17 @@ export type RayClusterQuery = {
|
|
|
2134
2184
|
export type RayClusterQueryListRayClustersArgs = {
|
|
2135
2185
|
input: ListCommonInput;
|
|
2136
2186
|
};
|
|
2187
|
+
export type ReleaseAgentInput = {
|
|
2188
|
+
/** 发布的时候,发布日志是必须填写的 */
|
|
2189
|
+
Log?: InputMaybe<Scalars['String']['input']>;
|
|
2190
|
+
Platforms?: InputMaybe<Array<ReleaseAgentInputItem>>;
|
|
2191
|
+
};
|
|
2192
|
+
export type ReleaseAgentInputItem = {
|
|
2193
|
+
/** 是否发布 */
|
|
2194
|
+
IsPublic: Scalars['Boolean']['input'];
|
|
2195
|
+
/** 发布的平台 */
|
|
2196
|
+
Platform: Scalars['String']['input'];
|
|
2197
|
+
};
|
|
2137
2198
|
export type RemoveDuplicateConfig = {
|
|
2138
2199
|
embedding_model: Scalars['String']['input'];
|
|
2139
2200
|
embedding_name: Scalars['String']['input'];
|
|
@@ -2203,35 +2264,9 @@ export type TypedObjectReferenceInput = {
|
|
|
2203
2264
|
name: Scalars['String']['input'];
|
|
2204
2265
|
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
2205
2266
|
};
|
|
2206
|
-
export type
|
|
2207
|
-
/**
|
|
2208
|
-
|
|
2209
|
-
/** chatTimeout 对话超时,单位秒,不填为默认 60s */
|
|
2210
|
-
chatTimeout?: InputMaybe<Scalars['Float']['input']>;
|
|
2211
|
-
/** chunkOverlap 上传文档作文档拆分时相邻块的交集 */
|
|
2212
|
-
chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
|
|
2213
|
-
/** chunkSize 上传文档做文档拆分时的块大小 */
|
|
2214
|
-
chunkSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2215
|
-
/** conversionWindowSize 对话轮次 */
|
|
2216
|
-
conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2217
|
-
/** docNullReturn 空搜索回复 */
|
|
2218
|
-
docNullReturn?: InputMaybe<Scalars['String']['input']>;
|
|
2219
|
-
/** enableMultiQuery 是否启用多查询 */
|
|
2220
|
-
enableMultiQuery?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2221
|
-
/** enableRerank 是否启用 rerank */
|
|
2222
|
-
enableRerank?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2223
|
-
/** enableUploadFile 是否开启对话上传文档功能 */
|
|
2224
|
-
enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2225
|
-
/** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
2226
|
-
knowledgebase?: InputMaybe<Scalars['String']['input']>;
|
|
2227
|
-
/** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
|
|
2228
|
-
llm: Scalars['String']['input'];
|
|
2229
|
-
/** maxLength 最大响应长度 */
|
|
2230
|
-
maxLength?: InputMaybe<Scalars['Int']['input']>;
|
|
2231
|
-
/** maxTokens 最大输出token */
|
|
2232
|
-
maxTokens?: InputMaybe<Scalars['Int']['input']>;
|
|
2233
|
-
/** model 指具体使用的模型名称,比如 gpt-3.5-turbo 或者 chatglm_turbo */
|
|
2234
|
-
model?: InputMaybe<Scalars['String']['input']>;
|
|
2267
|
+
export type UpdateAgentKnowledgebaseInput = {
|
|
2268
|
+
/** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
2269
|
+
knowledgebases?: InputMaybe<Array<TypedObjectReferenceInput>>;
|
|
2235
2270
|
/**
|
|
2236
2271
|
* 应用名称, 用于确定要更新哪个应用
|
|
2237
2272
|
* 规则: 遵循 k8s 命名
|
|
@@ -2244,106 +2279,26 @@ export type UpdateApplicationConfigInput = {
|
|
|
2244
2279
|
namespace: Scalars['String']['input'];
|
|
2245
2280
|
/** numDocuments 最终返回结果的引用上限 */
|
|
2246
2281
|
numDocuments?: InputMaybe<Scalars['Int']['input']>;
|
|
2247
|
-
/** plugins 要使用的插件列表 */
|
|
2248
|
-
plugins?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
|
|
2249
|
-
/** 对话开场白 */
|
|
2250
|
-
prologue?: InputMaybe<Scalars['String']['input']>;
|
|
2251
|
-
/** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
|
|
2252
|
-
rerankModel?: InputMaybe<Scalars['String']['input']>;
|
|
2253
2282
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
2254
2283
|
scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
2255
|
-
/** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
|
|
2256
|
-
showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2257
|
-
/** showRespInfo 查看关联信息配置,即是否在chat界面显示关联信息 */
|
|
2258
|
-
showRespInfo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2259
|
-
/** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
|
|
2260
|
-
showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2261
|
-
/** systemPrompt 系统级别的 Prompt */
|
|
2262
|
-
systemPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
2263
|
-
/** temperature 温度 */
|
|
2264
|
-
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
2265
|
-
/** userPrompt 用户级别的 Prompt */
|
|
2266
|
-
userPrompt?: InputMaybe<Scalars['String']['input']>;
|
|
2267
2284
|
};
|
|
2268
|
-
export type
|
|
2269
|
-
/**
|
|
2270
|
-
batchSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2271
|
-
/** chunkOverlap 上传文档作文档拆分时相邻块的交集 */
|
|
2272
|
-
chunkOverlap?: InputMaybe<Scalars['Int']['input']>;
|
|
2273
|
-
/** chunkSize 上传文档做文档拆分时的块大小 */
|
|
2274
|
-
chunkSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2275
|
-
/** enableUploadFile 是否开启对话上传文档功能 */
|
|
2276
|
-
enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2277
|
-
/**
|
|
2278
|
-
* 应用名称, 用于确定要更新哪个应用
|
|
2279
|
-
* 规则: 遵循 k8s 命名
|
|
2280
|
-
*/
|
|
2281
|
-
name: Scalars['String']['input'];
|
|
2282
|
-
/**
|
|
2283
|
-
* 应用所在的 namespace, 用于确定要更新哪个应用
|
|
2284
|
-
* 规则: 非空
|
|
2285
|
-
*/
|
|
2286
|
-
namespace: Scalars['String']['input'];
|
|
2287
|
-
};
|
|
2288
|
-
export type UpdateApplicationKnowledgebaseInput = {
|
|
2289
|
-
/** conversionWindowSize 对话轮次 */
|
|
2290
|
-
conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2291
|
-
/** enableMultiQuery 是否启用多查询 */
|
|
2292
|
-
enableMultiQuery?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2293
|
-
/** enableRerank 是否启用 rerank */
|
|
2294
|
-
enableRerank?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2295
|
-
/** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
2296
|
-
knowledgebase?: InputMaybe<Scalars['String']['input']>;
|
|
2297
|
-
/** maxLength 最大响应长度 */
|
|
2298
|
-
maxLength?: InputMaybe<Scalars['Int']['input']>;
|
|
2299
|
-
/** maxTokens 最大输出token */
|
|
2300
|
-
maxTokens?: InputMaybe<Scalars['Int']['input']>;
|
|
2301
|
-
/** 模型名字 */
|
|
2302
|
-
model?: InputMaybe<Scalars['String']['input']>;
|
|
2303
|
-
/**
|
|
2304
|
-
* 应用名称, 用于确定要更新哪个应用
|
|
2305
|
-
* 规则: 遵循 k8s 命名
|
|
2306
|
-
*/
|
|
2307
|
-
name: Scalars['String']['input'];
|
|
2308
|
-
/**
|
|
2309
|
-
* 应用所在的 namespace, 用于确定要更新哪个应用
|
|
2310
|
-
* 规则: 非空
|
|
2311
|
-
*/
|
|
2312
|
-
namespace: Scalars['String']['input'];
|
|
2313
|
-
/** numDocuments 最终返回结果的引用上限 */
|
|
2314
|
-
numDocuments?: InputMaybe<Scalars['Int']['input']>;
|
|
2315
|
-
/** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
|
|
2316
|
-
rerankModel?: InputMaybe<Scalars['String']['input']>;
|
|
2317
|
-
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
2318
|
-
scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
2319
|
-
/** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
|
|
2320
|
-
showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2321
|
-
/** temperature 温度 */
|
|
2322
|
-
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
2323
|
-
};
|
|
2324
|
-
export type UpdateApplicationMetadataInput = {
|
|
2325
|
-
/** 添加一些辅助性记录信息,如果要更新,请传递完整内容 */
|
|
2326
|
-
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
2327
|
-
/** Background, 智能体对话背景,base64 格式图片 */
|
|
2285
|
+
export type UpdateAgentMetadataInput = {
|
|
2286
|
+
/** Background, 智能体对话背景,图片访问路径 */
|
|
2328
2287
|
background?: InputMaybe<Scalars['String']['input']>;
|
|
2329
2288
|
/** category:所属分类 */
|
|
2330
2289
|
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
2331
|
-
/** chatTimeout 对话超时,单位秒,不填为默认 60s */
|
|
2332
|
-
chatTimeout?: InputMaybe<Scalars['Float']['input']>;
|
|
2333
2290
|
/** 描述信息 */
|
|
2334
2291
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2335
2292
|
/** 展示名,别名 */
|
|
2336
2293
|
displayName: Scalars['String']['input'];
|
|
2337
2294
|
/** 空搜索回复 */
|
|
2338
2295
|
docNullReturn?: InputMaybe<Scalars['String']['input']>;
|
|
2339
|
-
/** Icon,应用头像,
|
|
2340
|
-
icon
|
|
2296
|
+
/** Icon,应用头像, 图片访问路径 */
|
|
2297
|
+
icon?: InputMaybe<Scalars['String']['input']>;
|
|
2341
2298
|
/** IsPublic, 是否发布,即是否公开提供服务 */
|
|
2342
2299
|
isPublic?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2343
2300
|
/** isRecommended, 是否推荐 */
|
|
2344
2301
|
isRecommended?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2345
|
-
/** 一些用于标记,选择的的标签,如果要更新,请传递完整内容 */
|
|
2346
|
-
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
2347
2302
|
/**
|
|
2348
2303
|
* 应用名称, 用于确定要更新哪个应用
|
|
2349
2304
|
* 规则: 遵循 k8s 命名
|
|
@@ -2356,12 +2311,12 @@ export type UpdateApplicationMetadataInput = {
|
|
|
2356
2311
|
namespace: Scalars['String']['input'];
|
|
2357
2312
|
/** 对话开场白 */
|
|
2358
2313
|
prologue?: InputMaybe<Scalars['String']['input']>;
|
|
2359
|
-
/**
|
|
2360
|
-
|
|
2314
|
+
/** 是否启用"下一步"引导 */
|
|
2315
|
+
showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2361
2316
|
/** 看引用配置,即是否在chat界面显示引用信息 */
|
|
2362
2317
|
showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2363
2318
|
};
|
|
2364
|
-
export type
|
|
2319
|
+
export type UpdateAgentModelInput = {
|
|
2365
2320
|
/** conversionWindowSize 对话轮次 */
|
|
2366
2321
|
conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2367
2322
|
/** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
|
|
@@ -2385,9 +2340,7 @@ export type UpdateApplicationModelInput = {
|
|
|
2385
2340
|
/** temperature 温度 */
|
|
2386
2341
|
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
2387
2342
|
};
|
|
2388
|
-
export type
|
|
2389
|
-
/** conversionWindowSize 对话轮次 */
|
|
2390
|
-
conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2343
|
+
export type UpdateAgentPluginInput = {
|
|
2391
2344
|
/**
|
|
2392
2345
|
* 应用名称, 用于确定要更新哪个应用
|
|
2393
2346
|
* 规则: 遵循 k8s 命名
|
|
@@ -2401,7 +2354,7 @@ export type UpdateApplicationPluginInput = {
|
|
|
2401
2354
|
/** plugins 要使用的插件列表 */
|
|
2402
2355
|
plugins?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
|
|
2403
2356
|
};
|
|
2404
|
-
export type
|
|
2357
|
+
export type UpdateAgentPromptInput = {
|
|
2405
2358
|
/**
|
|
2406
2359
|
* 应用名称, 用于确定要更新哪个应用
|
|
2407
2360
|
* 规则: 遵循 k8s 命名
|
|
@@ -2964,15 +2917,15 @@ export type Filegroupinput = {
|
|
|
2964
2917
|
/** 数据源字段 */
|
|
2965
2918
|
source: TypedObjectReferenceInput;
|
|
2966
2919
|
};
|
|
2967
|
-
export type
|
|
2968
|
-
input:
|
|
2920
|
+
export type CreateAgentMutationVariables = Exact<{
|
|
2921
|
+
input: CreateAgentMetadataInput;
|
|
2969
2922
|
}>;
|
|
2970
|
-
export type
|
|
2923
|
+
export type CreateAgentMutation = {
|
|
2971
2924
|
__typename?: 'Mutation';
|
|
2972
|
-
|
|
2973
|
-
__typename?: '
|
|
2974
|
-
|
|
2975
|
-
__typename?: '
|
|
2925
|
+
Agent?: {
|
|
2926
|
+
__typename?: 'AgentMutation';
|
|
2927
|
+
createAgent: {
|
|
2928
|
+
__typename?: 'AgentMetadata';
|
|
2976
2929
|
name: string;
|
|
2977
2930
|
namespace: string;
|
|
2978
2931
|
id?: string | null;
|
|
@@ -2993,15 +2946,15 @@ export type CreateApplicationMutation = {
|
|
|
2993
2946
|
};
|
|
2994
2947
|
} | null;
|
|
2995
2948
|
};
|
|
2996
|
-
export type
|
|
2997
|
-
input:
|
|
2949
|
+
export type UpdateAgentMutationVariables = Exact<{
|
|
2950
|
+
input: UpdateAgentMetadataInput;
|
|
2998
2951
|
}>;
|
|
2999
|
-
export type
|
|
2952
|
+
export type UpdateAgentMutation = {
|
|
3000
2953
|
__typename?: 'Mutation';
|
|
3001
|
-
|
|
3002
|
-
__typename?: '
|
|
3003
|
-
|
|
3004
|
-
__typename?: '
|
|
2954
|
+
Agent?: {
|
|
2955
|
+
__typename?: 'AgentMutation';
|
|
2956
|
+
updateAgent: {
|
|
2957
|
+
__typename?: 'AgentMetadata';
|
|
3005
2958
|
name: string;
|
|
3006
2959
|
namespace: string;
|
|
3007
2960
|
id?: string | null;
|
|
@@ -3019,91 +2972,37 @@ export type UpdateApplicationMutation = {
|
|
|
3019
2972
|
status?: string | null;
|
|
3020
2973
|
category?: Array<string | null> | null;
|
|
3021
2974
|
notReadyReasonCode?: string | null;
|
|
2975
|
+
platformStatus?: any | null;
|
|
2976
|
+
platforms?: Array<{
|
|
2977
|
+
__typename?: 'Platform';
|
|
2978
|
+
icon?: string | null;
|
|
2979
|
+
name: string;
|
|
2980
|
+
displayName?: string | null;
|
|
2981
|
+
}> | null;
|
|
3022
2982
|
};
|
|
3023
2983
|
} | null;
|
|
3024
2984
|
};
|
|
3025
|
-
export type
|
|
2985
|
+
export type DeleteAgentMutationVariables = Exact<{
|
|
3026
2986
|
input: DeleteCommonInput;
|
|
3027
2987
|
}>;
|
|
3028
|
-
export type
|
|
3029
|
-
__typename?: 'Mutation';
|
|
3030
|
-
Application?: {
|
|
3031
|
-
__typename?: 'ApplicationMutation';
|
|
3032
|
-
deleteApplication?: any | null;
|
|
3033
|
-
} | null;
|
|
3034
|
-
};
|
|
3035
|
-
export type UpdateApplicationConfigMutationVariables = Exact<{
|
|
3036
|
-
input: UpdateApplicationConfigInput;
|
|
3037
|
-
}>;
|
|
3038
|
-
export type UpdateApplicationConfigMutation = {
|
|
2988
|
+
export type DeleteAgentMutation = {
|
|
3039
2989
|
__typename?: 'Mutation';
|
|
3040
|
-
|
|
3041
|
-
__typename?: '
|
|
3042
|
-
|
|
3043
|
-
__typename?: 'Application';
|
|
3044
|
-
prologue?: string | null;
|
|
3045
|
-
model?: string | null;
|
|
3046
|
-
llm: string;
|
|
3047
|
-
temperature?: number | null;
|
|
3048
|
-
maxLength?: number | null;
|
|
3049
|
-
maxTokens?: number | null;
|
|
3050
|
-
conversionWindowSize?: number | null;
|
|
3051
|
-
knowledgebase?: string | null;
|
|
3052
|
-
scoreThreshold?: number | null;
|
|
3053
|
-
numDocuments?: number | null;
|
|
3054
|
-
docNullReturn?: string | null;
|
|
3055
|
-
userPrompt?: string | null;
|
|
3056
|
-
systemPrompt?: string | null;
|
|
3057
|
-
showRespInfo?: boolean | null;
|
|
3058
|
-
showRetrievalInfo?: boolean | null;
|
|
3059
|
-
showNextGuide?: boolean | null;
|
|
3060
|
-
enableRerank?: boolean | null;
|
|
3061
|
-
rerankModel?: string | null;
|
|
3062
|
-
enableMultiQuery?: boolean | null;
|
|
3063
|
-
chatTimeout?: number | null;
|
|
3064
|
-
enableUploadFile?: boolean | null;
|
|
3065
|
-
chunkSize?: number | null;
|
|
3066
|
-
chunkOverlap?: number | null;
|
|
3067
|
-
batchSize?: number | null;
|
|
3068
|
-
metadata?: {
|
|
3069
|
-
__typename?: 'ApplicationMetadata';
|
|
3070
|
-
name: string;
|
|
3071
|
-
namespace: string;
|
|
3072
|
-
id?: string | null;
|
|
3073
|
-
labels?: any | null;
|
|
3074
|
-
annotations?: any | null;
|
|
3075
|
-
displayName?: string | null;
|
|
3076
|
-
description?: string | null;
|
|
3077
|
-
icon?: string | null;
|
|
3078
|
-
background?: string | null;
|
|
3079
|
-
creator?: string | null;
|
|
3080
|
-
creationTimestamp?: any | null;
|
|
3081
|
-
updateTimestamp?: any | null;
|
|
3082
|
-
isPublic?: boolean | null;
|
|
3083
|
-
isRecommended?: boolean | null;
|
|
3084
|
-
status?: string | null;
|
|
3085
|
-
category?: Array<string | null> | null;
|
|
3086
|
-
notReadyReasonCode?: string | null;
|
|
3087
|
-
} | null;
|
|
3088
|
-
plugins?: Array<{
|
|
3089
|
-
__typename?: 'Plugin';
|
|
3090
|
-
name: string;
|
|
3091
|
-
namespace: string;
|
|
3092
|
-
} | null> | null;
|
|
3093
|
-
};
|
|
2990
|
+
Agent?: {
|
|
2991
|
+
__typename?: 'AgentMutation';
|
|
2992
|
+
deleteAgent?: any | null;
|
|
3094
2993
|
} | null;
|
|
3095
2994
|
};
|
|
3096
|
-
export type
|
|
2995
|
+
export type ReleaseAgentMutationVariables = Exact<{
|
|
3097
2996
|
name: Scalars['String']['input'];
|
|
3098
2997
|
namespace: Scalars['String']['input'];
|
|
3099
|
-
|
|
2998
|
+
input: ReleaseAgentInput;
|
|
3100
2999
|
}>;
|
|
3101
|
-
export type
|
|
3000
|
+
export type ReleaseAgentMutation = {
|
|
3102
3001
|
__typename?: 'Mutation';
|
|
3103
|
-
|
|
3104
|
-
__typename?: '
|
|
3105
|
-
|
|
3106
|
-
__typename?: '
|
|
3002
|
+
Agent?: {
|
|
3003
|
+
__typename?: 'AgentMutation';
|
|
3004
|
+
releaseAgent: {
|
|
3005
|
+
__typename?: 'AgentMetadata';
|
|
3107
3006
|
name: string;
|
|
3108
3007
|
namespace: string;
|
|
3109
3008
|
id?: string | null;
|
|
@@ -3121,91 +3020,113 @@ export type ReleaseApplicationMutation = {
|
|
|
3121
3020
|
status?: string | null;
|
|
3122
3021
|
category?: Array<string | null> | null;
|
|
3123
3022
|
notReadyReasonCode?: string | null;
|
|
3023
|
+
platformStatus?: any | null;
|
|
3024
|
+
platforms?: Array<{
|
|
3025
|
+
__typename?: 'Platform';
|
|
3026
|
+
icon?: string | null;
|
|
3027
|
+
name: string;
|
|
3028
|
+
displayName?: string | null;
|
|
3029
|
+
}> | null;
|
|
3124
3030
|
};
|
|
3125
3031
|
} | null;
|
|
3126
3032
|
};
|
|
3127
|
-
export type
|
|
3033
|
+
export type CreateOrUpdateAgentPromptMutationVariables = Exact<{
|
|
3128
3034
|
namespacedname: Scalars['String']['input'];
|
|
3129
|
-
input?: InputMaybe<Array<
|
|
3035
|
+
input?: InputMaybe<Array<AgentPromptInput> | AgentPromptInput>;
|
|
3130
3036
|
}>;
|
|
3131
|
-
export type
|
|
3037
|
+
export type CreateOrUpdateAgentPromptMutation = {
|
|
3132
3038
|
__typename?: 'Mutation';
|
|
3133
|
-
|
|
3134
|
-
__typename?: '
|
|
3135
|
-
|
|
3039
|
+
Agent?: {
|
|
3040
|
+
__typename?: 'AgentMutation';
|
|
3041
|
+
createOrUpdateAgentPrompt?: any | null;
|
|
3136
3042
|
} | null;
|
|
3137
3043
|
};
|
|
3138
|
-
export type
|
|
3139
|
-
input:
|
|
3044
|
+
export type UpdateAgentPromptMutationVariables = Exact<{
|
|
3045
|
+
input: UpdateAgentPromptInput;
|
|
3140
3046
|
}>;
|
|
3141
|
-
export type
|
|
3047
|
+
export type UpdateAgentPromptMutation = {
|
|
3142
3048
|
__typename?: 'Mutation';
|
|
3143
|
-
|
|
3144
|
-
__typename?: '
|
|
3145
|
-
|
|
3049
|
+
Agent?: {
|
|
3050
|
+
__typename?: 'AgentMutation';
|
|
3051
|
+
updateAgentPrompt?: any | null;
|
|
3146
3052
|
} | null;
|
|
3147
3053
|
};
|
|
3148
|
-
export type
|
|
3149
|
-
input:
|
|
3054
|
+
export type UpdateAgentModelMutationVariables = Exact<{
|
|
3055
|
+
input: UpdateAgentModelInput;
|
|
3150
3056
|
}>;
|
|
3151
|
-
export type
|
|
3057
|
+
export type UpdateAgentModelMutation = {
|
|
3152
3058
|
__typename?: 'Mutation';
|
|
3153
|
-
|
|
3154
|
-
__typename?: '
|
|
3155
|
-
|
|
3059
|
+
Agent?: {
|
|
3060
|
+
__typename?: 'AgentMutation';
|
|
3061
|
+
updateAgentModel?: any | null;
|
|
3156
3062
|
} | null;
|
|
3157
3063
|
};
|
|
3158
|
-
export type
|
|
3159
|
-
input:
|
|
3064
|
+
export type UpdateAgentPluginMutationVariables = Exact<{
|
|
3065
|
+
input: UpdateAgentPluginInput;
|
|
3160
3066
|
}>;
|
|
3161
|
-
export type
|
|
3067
|
+
export type UpdateAgentPluginMutation = {
|
|
3162
3068
|
__typename?: 'Mutation';
|
|
3163
|
-
|
|
3164
|
-
__typename?: '
|
|
3165
|
-
|
|
3069
|
+
Agent?: {
|
|
3070
|
+
__typename?: 'AgentMutation';
|
|
3071
|
+
updateAgentPlugin?: any | null;
|
|
3166
3072
|
} | null;
|
|
3167
3073
|
};
|
|
3168
|
-
export type
|
|
3169
|
-
input:
|
|
3074
|
+
export type UpdateAgentKnowledgeBaseMutationVariables = Exact<{
|
|
3075
|
+
input: UpdateAgentKnowledgebaseInput;
|
|
3170
3076
|
}>;
|
|
3171
|
-
export type
|
|
3077
|
+
export type UpdateAgentKnowledgeBaseMutation = {
|
|
3172
3078
|
__typename?: 'Mutation';
|
|
3173
|
-
|
|
3174
|
-
__typename?: '
|
|
3175
|
-
|
|
3079
|
+
Agent?: {
|
|
3080
|
+
__typename?: 'AgentMutation';
|
|
3081
|
+
updateAgentKnowledgeBase?: any | null;
|
|
3176
3082
|
} | null;
|
|
3177
3083
|
};
|
|
3178
|
-
export type
|
|
3179
|
-
|
|
3084
|
+
export type DeleteAgentPromptMutationVariables = Exact<{
|
|
3085
|
+
namespacedname: Scalars['String']['input'];
|
|
3086
|
+
ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
3180
3087
|
}>;
|
|
3181
|
-
export type
|
|
3088
|
+
export type DeleteAgentPromptMutation = {
|
|
3182
3089
|
__typename?: 'Mutation';
|
|
3183
|
-
|
|
3184
|
-
__typename?: '
|
|
3185
|
-
|
|
3090
|
+
Agent?: {
|
|
3091
|
+
__typename?: 'AgentMutation';
|
|
3092
|
+
deleteAgentPrompt?: any | null;
|
|
3186
3093
|
} | null;
|
|
3187
3094
|
};
|
|
3188
|
-
export type
|
|
3189
|
-
|
|
3190
|
-
|
|
3095
|
+
export type GetAgentReleaseStatusQueryVariables = Exact<{
|
|
3096
|
+
name: Scalars['String']['input'];
|
|
3097
|
+
namespace: Scalars['String']['input'];
|
|
3191
3098
|
}>;
|
|
3192
|
-
export type
|
|
3193
|
-
__typename?: '
|
|
3194
|
-
|
|
3195
|
-
__typename?: '
|
|
3196
|
-
|
|
3099
|
+
export type GetAgentReleaseStatusQuery = {
|
|
3100
|
+
__typename?: 'Query';
|
|
3101
|
+
Agent?: {
|
|
3102
|
+
__typename?: 'AgentQuery';
|
|
3103
|
+
getAgent: {
|
|
3104
|
+
__typename?: 'Agent';
|
|
3105
|
+
metadata?: {
|
|
3106
|
+
__typename?: 'AgentMetadata';
|
|
3107
|
+
name: string;
|
|
3108
|
+
namespace: string;
|
|
3109
|
+
platformStatus?: any | null;
|
|
3110
|
+
platforms?: Array<{
|
|
3111
|
+
__typename?: 'Platform';
|
|
3112
|
+
icon?: string | null;
|
|
3113
|
+
name: string;
|
|
3114
|
+
displayName?: string | null;
|
|
3115
|
+
}> | null;
|
|
3116
|
+
} | null;
|
|
3117
|
+
};
|
|
3197
3118
|
} | null;
|
|
3198
3119
|
};
|
|
3199
|
-
export type
|
|
3120
|
+
export type GetAgentQueryVariables = Exact<{
|
|
3200
3121
|
name: Scalars['String']['input'];
|
|
3201
3122
|
namespace: Scalars['String']['input'];
|
|
3202
3123
|
}>;
|
|
3203
|
-
export type
|
|
3124
|
+
export type GetAgentQuery = {
|
|
3204
3125
|
__typename?: 'Query';
|
|
3205
|
-
|
|
3206
|
-
__typename?: '
|
|
3207
|
-
|
|
3208
|
-
__typename?: '
|
|
3126
|
+
Agent?: {
|
|
3127
|
+
__typename?: 'AgentQuery';
|
|
3128
|
+
getAgent: {
|
|
3129
|
+
__typename?: 'Agent';
|
|
3209
3130
|
prologue?: string | null;
|
|
3210
3131
|
model?: string | null;
|
|
3211
3132
|
llm: string;
|
|
@@ -3213,25 +3134,15 @@ export type GetApplicationQuery = {
|
|
|
3213
3134
|
maxLength?: number | null;
|
|
3214
3135
|
maxTokens?: number | null;
|
|
3215
3136
|
conversionWindowSize?: number | null;
|
|
3216
|
-
knowledgebase?: string | null;
|
|
3217
3137
|
scoreThreshold?: number | null;
|
|
3218
3138
|
numDocuments?: number | null;
|
|
3219
3139
|
docNullReturn?: string | null;
|
|
3220
3140
|
userPrompt?: string | null;
|
|
3221
3141
|
systemPrompt?: string | null;
|
|
3222
|
-
showRespInfo?: boolean | null;
|
|
3223
3142
|
showRetrievalInfo?: boolean | null;
|
|
3224
3143
|
showNextGuide?: boolean | null;
|
|
3225
|
-
enableRerank?: boolean | null;
|
|
3226
|
-
rerankModel?: string | null;
|
|
3227
|
-
enableMultiQuery?: boolean | null;
|
|
3228
|
-
chatTimeout?: number | null;
|
|
3229
|
-
enableUploadFile?: boolean | null;
|
|
3230
|
-
chunkSize?: number | null;
|
|
3231
|
-
chunkOverlap?: number | null;
|
|
3232
|
-
batchSize?: number | null;
|
|
3233
3144
|
metadata?: {
|
|
3234
|
-
__typename?: '
|
|
3145
|
+
__typename?: 'AgentMetadata';
|
|
3235
3146
|
name: string;
|
|
3236
3147
|
namespace: string;
|
|
3237
3148
|
id?: string | null;
|
|
@@ -3249,7 +3160,19 @@ export type GetApplicationQuery = {
|
|
|
3249
3160
|
status?: string | null;
|
|
3250
3161
|
category?: Array<string | null> | null;
|
|
3251
3162
|
notReadyReasonCode?: string | null;
|
|
3163
|
+
platformStatus?: any | null;
|
|
3164
|
+
platforms?: Array<{
|
|
3165
|
+
__typename?: 'Platform';
|
|
3166
|
+
icon?: string | null;
|
|
3167
|
+
name: string;
|
|
3168
|
+
displayName?: string | null;
|
|
3169
|
+
}> | null;
|
|
3252
3170
|
} | null;
|
|
3171
|
+
knowledgebases?: Array<{
|
|
3172
|
+
__typename?: 'TypedObjectReference';
|
|
3173
|
+
name: string;
|
|
3174
|
+
namespace?: string | null;
|
|
3175
|
+
}> | null;
|
|
3253
3176
|
plugins?: Array<{
|
|
3254
3177
|
__typename?: 'Plugin';
|
|
3255
3178
|
name: string;
|
|
@@ -3258,21 +3181,149 @@ export type GetApplicationQuery = {
|
|
|
3258
3181
|
};
|
|
3259
3182
|
} | null;
|
|
3260
3183
|
};
|
|
3261
|
-
export type
|
|
3184
|
+
export type GetAgentLatestReleaseInEachPlatformQueryVariables = Exact<{
|
|
3185
|
+
name: Scalars['String']['input'];
|
|
3186
|
+
namespace: Scalars['String']['input'];
|
|
3187
|
+
}>;
|
|
3188
|
+
export type GetAgentLatestReleaseInEachPlatformQuery = {
|
|
3189
|
+
__typename?: 'Query';
|
|
3190
|
+
Agent?: {
|
|
3191
|
+
__typename?: 'AgentQuery';
|
|
3192
|
+
getAgentLatestReleaseInEachPlatform: {
|
|
3193
|
+
__typename?: 'PaginatedResult';
|
|
3194
|
+
hasNextPage: boolean;
|
|
3195
|
+
totalCount: number;
|
|
3196
|
+
nodes?: Array<{
|
|
3197
|
+
__typename?: 'AgentMetadata';
|
|
3198
|
+
} | {
|
|
3199
|
+
__typename?: 'AgentPrompt';
|
|
3200
|
+
} | {
|
|
3201
|
+
__typename?: 'AgentRelease';
|
|
3202
|
+
id: string;
|
|
3203
|
+
platform: string;
|
|
3204
|
+
name: string;
|
|
3205
|
+
namesapce: string;
|
|
3206
|
+
status?: string | null;
|
|
3207
|
+
log?: string | null;
|
|
3208
|
+
createdAt?: any | null;
|
|
3209
|
+
username?: string | null;
|
|
3210
|
+
} | {
|
|
3211
|
+
__typename?: 'AgentReleaseHistory';
|
|
3212
|
+
} | {
|
|
3213
|
+
__typename?: 'Dataset';
|
|
3214
|
+
} | {
|
|
3215
|
+
__typename?: 'Datasource';
|
|
3216
|
+
} | {
|
|
3217
|
+
__typename?: 'Embedder';
|
|
3218
|
+
} | {
|
|
3219
|
+
__typename?: 'F';
|
|
3220
|
+
} | {
|
|
3221
|
+
__typename?: 'KnowledgeBase';
|
|
3222
|
+
} | {
|
|
3223
|
+
__typename?: 'LLM';
|
|
3224
|
+
} | {
|
|
3225
|
+
__typename?: 'Model';
|
|
3226
|
+
} | {
|
|
3227
|
+
__typename?: 'ModelService';
|
|
3228
|
+
} | {
|
|
3229
|
+
__typename?: 'Node';
|
|
3230
|
+
} | {
|
|
3231
|
+
__typename?: 'Plugin';
|
|
3232
|
+
} | {
|
|
3233
|
+
__typename?: 'RAG';
|
|
3234
|
+
} | {
|
|
3235
|
+
__typename?: 'RayCluster';
|
|
3236
|
+
} | {
|
|
3237
|
+
__typename?: 'VersionedDataset';
|
|
3238
|
+
} | {
|
|
3239
|
+
__typename?: 'Worker';
|
|
3240
|
+
}> | null;
|
|
3241
|
+
};
|
|
3242
|
+
} | null;
|
|
3243
|
+
};
|
|
3244
|
+
export type GetAgentReleaseHistoryQueryVariables = Exact<{
|
|
3245
|
+
name: Scalars['String']['input'];
|
|
3246
|
+
namespace: Scalars['String']['input'];
|
|
3247
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3248
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
3249
|
+
}>;
|
|
3250
|
+
export type GetAgentReleaseHistoryQuery = {
|
|
3251
|
+
__typename?: 'Query';
|
|
3252
|
+
Agent?: {
|
|
3253
|
+
__typename?: 'AgentQuery';
|
|
3254
|
+
getAgentReleaseHistory: {
|
|
3255
|
+
__typename?: 'PaginatedResult';
|
|
3256
|
+
hasNextPage: boolean;
|
|
3257
|
+
totalCount: number;
|
|
3258
|
+
nodes?: Array<{
|
|
3259
|
+
__typename?: 'AgentMetadata';
|
|
3260
|
+
} | {
|
|
3261
|
+
__typename?: 'AgentPrompt';
|
|
3262
|
+
} | {
|
|
3263
|
+
__typename?: 'AgentRelease';
|
|
3264
|
+
} | {
|
|
3265
|
+
__typename?: 'AgentReleaseHistory';
|
|
3266
|
+
date: string;
|
|
3267
|
+
items?: Array<{
|
|
3268
|
+
__typename?: 'AgentReleaseHistoryItem';
|
|
3269
|
+
log?: string | null;
|
|
3270
|
+
time?: string | null;
|
|
3271
|
+
username?: string | null;
|
|
3272
|
+
platforms?: Array<{
|
|
3273
|
+
__typename?: 'PlatformWithStatus';
|
|
3274
|
+
name: string;
|
|
3275
|
+
displayName?: string | null;
|
|
3276
|
+
icon?: string | null;
|
|
3277
|
+
status: string;
|
|
3278
|
+
}> | null;
|
|
3279
|
+
}> | null;
|
|
3280
|
+
} | {
|
|
3281
|
+
__typename?: 'Dataset';
|
|
3282
|
+
} | {
|
|
3283
|
+
__typename?: 'Datasource';
|
|
3284
|
+
} | {
|
|
3285
|
+
__typename?: 'Embedder';
|
|
3286
|
+
} | {
|
|
3287
|
+
__typename?: 'F';
|
|
3288
|
+
} | {
|
|
3289
|
+
__typename?: 'KnowledgeBase';
|
|
3290
|
+
} | {
|
|
3291
|
+
__typename?: 'LLM';
|
|
3292
|
+
} | {
|
|
3293
|
+
__typename?: 'Model';
|
|
3294
|
+
} | {
|
|
3295
|
+
__typename?: 'ModelService';
|
|
3296
|
+
} | {
|
|
3297
|
+
__typename?: 'Node';
|
|
3298
|
+
} | {
|
|
3299
|
+
__typename?: 'Plugin';
|
|
3300
|
+
} | {
|
|
3301
|
+
__typename?: 'RAG';
|
|
3302
|
+
} | {
|
|
3303
|
+
__typename?: 'RayCluster';
|
|
3304
|
+
} | {
|
|
3305
|
+
__typename?: 'VersionedDataset';
|
|
3306
|
+
} | {
|
|
3307
|
+
__typename?: 'Worker';
|
|
3308
|
+
}> | null;
|
|
3309
|
+
};
|
|
3310
|
+
} | null;
|
|
3311
|
+
};
|
|
3312
|
+
export type ListAgentsQueryVariables = Exact<{
|
|
3262
3313
|
input: ListCommonInput;
|
|
3263
3314
|
}>;
|
|
3264
|
-
export type
|
|
3315
|
+
export type ListAgentsQuery = {
|
|
3265
3316
|
__typename?: 'Query';
|
|
3266
|
-
|
|
3267
|
-
__typename?: '
|
|
3268
|
-
|
|
3317
|
+
Agent?: {
|
|
3318
|
+
__typename?: 'AgentQuery';
|
|
3319
|
+
listAgentMetadata: {
|
|
3269
3320
|
__typename?: 'PaginatedResult';
|
|
3270
3321
|
page?: number | null;
|
|
3271
3322
|
pageSize?: number | null;
|
|
3272
3323
|
totalCount: number;
|
|
3273
3324
|
hasNextPage: boolean;
|
|
3274
3325
|
nodes?: Array<{
|
|
3275
|
-
__typename?: '
|
|
3326
|
+
__typename?: 'AgentMetadata';
|
|
3276
3327
|
name: string;
|
|
3277
3328
|
namespace: string;
|
|
3278
3329
|
id?: string | null;
|
|
@@ -3291,7 +3342,11 @@ export type ListApplicationsQuery = {
|
|
|
3291
3342
|
category?: Array<string | null> | null;
|
|
3292
3343
|
notReadyReasonCode?: string | null;
|
|
3293
3344
|
} | {
|
|
3294
|
-
__typename?: '
|
|
3345
|
+
__typename?: 'AgentPrompt';
|
|
3346
|
+
} | {
|
|
3347
|
+
__typename?: 'AgentRelease';
|
|
3348
|
+
} | {
|
|
3349
|
+
__typename?: 'AgentReleaseHistory';
|
|
3295
3350
|
} | {
|
|
3296
3351
|
__typename?: 'Dataset';
|
|
3297
3352
|
} | {
|
|
@@ -3324,29 +3379,33 @@ export type ListApplicationsQuery = {
|
|
|
3324
3379
|
};
|
|
3325
3380
|
} | null;
|
|
3326
3381
|
};
|
|
3327
|
-
export type
|
|
3382
|
+
export type ListAgentPromptQueryVariables = Exact<{
|
|
3328
3383
|
namespacedname: Scalars['String']['input'];
|
|
3329
3384
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3330
3385
|
size?: InputMaybe<Scalars['Int']['input']>;
|
|
3331
3386
|
}>;
|
|
3332
|
-
export type
|
|
3387
|
+
export type ListAgentPromptQuery = {
|
|
3333
3388
|
__typename?: 'Query';
|
|
3334
|
-
|
|
3335
|
-
__typename?: '
|
|
3336
|
-
|
|
3389
|
+
Agent?: {
|
|
3390
|
+
__typename?: 'AgentQuery';
|
|
3391
|
+
listAgentPrompt: {
|
|
3337
3392
|
__typename?: 'PaginatedResult';
|
|
3338
3393
|
totalCount: number;
|
|
3339
3394
|
page?: number | null;
|
|
3340
3395
|
pageSize?: number | null;
|
|
3341
3396
|
nodes?: Array<{
|
|
3342
|
-
__typename?: '
|
|
3397
|
+
__typename?: 'AgentMetadata';
|
|
3343
3398
|
} | {
|
|
3344
|
-
__typename?: '
|
|
3399
|
+
__typename?: 'AgentPrompt';
|
|
3345
3400
|
id: string;
|
|
3346
3401
|
namespacedname: string;
|
|
3347
3402
|
content: string;
|
|
3348
3403
|
createdAt: any;
|
|
3349
3404
|
updatedAt: any;
|
|
3405
|
+
} | {
|
|
3406
|
+
__typename?: 'AgentRelease';
|
|
3407
|
+
} | {
|
|
3408
|
+
__typename?: 'AgentReleaseHistory';
|
|
3350
3409
|
} | {
|
|
3351
3410
|
__typename?: 'Dataset';
|
|
3352
3411
|
} | {
|
|
@@ -3384,8 +3443,8 @@ export type ListGptCategoryQueryVariables = Exact<{
|
|
|
3384
3443
|
}>;
|
|
3385
3444
|
export type ListGptCategoryQuery = {
|
|
3386
3445
|
__typename?: 'Query';
|
|
3387
|
-
|
|
3388
|
-
__typename?: '
|
|
3446
|
+
Agent?: {
|
|
3447
|
+
__typename?: 'AgentQuery';
|
|
3389
3448
|
listGPTCategory: Array<{
|
|
3390
3449
|
__typename?: 'GPTCategory';
|
|
3391
3450
|
id: string;
|
|
@@ -3399,8 +3458,8 @@ export type GetGptStoreQueryVariables = Exact<{
|
|
|
3399
3458
|
}>;
|
|
3400
3459
|
export type GetGptStoreQuery = {
|
|
3401
3460
|
__typename?: 'Query';
|
|
3402
|
-
|
|
3403
|
-
__typename?: '
|
|
3461
|
+
Agent?: {
|
|
3462
|
+
__typename?: 'AgentQuery';
|
|
3404
3463
|
getGPTStore: {
|
|
3405
3464
|
__typename?: 'GPTStore';
|
|
3406
3465
|
url: string;
|
|
@@ -3686,9 +3745,13 @@ export type ListDatasetsQuery = {
|
|
|
3686
3745
|
totalCount: number;
|
|
3687
3746
|
hasNextPage: boolean;
|
|
3688
3747
|
nodes?: Array<{
|
|
3689
|
-
__typename?: '
|
|
3748
|
+
__typename?: 'AgentMetadata';
|
|
3749
|
+
} | {
|
|
3750
|
+
__typename?: 'AgentPrompt';
|
|
3751
|
+
} | {
|
|
3752
|
+
__typename?: 'AgentRelease';
|
|
3690
3753
|
} | {
|
|
3691
|
-
__typename?: '
|
|
3754
|
+
__typename?: 'AgentReleaseHistory';
|
|
3692
3755
|
} | {
|
|
3693
3756
|
__typename?: 'Dataset';
|
|
3694
3757
|
name: string;
|
|
@@ -3704,9 +3767,13 @@ export type ListDatasetsQuery = {
|
|
|
3704
3767
|
totalCount: number;
|
|
3705
3768
|
hasNextPage: boolean;
|
|
3706
3769
|
nodes?: Array<{
|
|
3707
|
-
__typename?: '
|
|
3770
|
+
__typename?: 'AgentMetadata';
|
|
3771
|
+
} | {
|
|
3772
|
+
__typename?: 'AgentPrompt';
|
|
3773
|
+
} | {
|
|
3774
|
+
__typename?: 'AgentRelease';
|
|
3708
3775
|
} | {
|
|
3709
|
-
__typename?: '
|
|
3776
|
+
__typename?: 'AgentReleaseHistory';
|
|
3710
3777
|
} | {
|
|
3711
3778
|
__typename?: 'Dataset';
|
|
3712
3779
|
} | {
|
|
@@ -3805,9 +3872,13 @@ export type GetDatasetQuery = {
|
|
|
3805
3872
|
totalCount: number;
|
|
3806
3873
|
hasNextPage: boolean;
|
|
3807
3874
|
nodes?: Array<{
|
|
3808
|
-
__typename?: '
|
|
3875
|
+
__typename?: 'AgentMetadata';
|
|
3809
3876
|
} | {
|
|
3810
|
-
__typename?: '
|
|
3877
|
+
__typename?: 'AgentPrompt';
|
|
3878
|
+
} | {
|
|
3879
|
+
__typename?: 'AgentRelease';
|
|
3880
|
+
} | {
|
|
3881
|
+
__typename?: 'AgentReleaseHistory';
|
|
3811
3882
|
} | {
|
|
3812
3883
|
__typename?: 'Dataset';
|
|
3813
3884
|
} | {
|
|
@@ -4008,9 +4079,13 @@ export type ListDatasourcesQuery = {
|
|
|
4008
4079
|
totalCount: number;
|
|
4009
4080
|
hasNextPage: boolean;
|
|
4010
4081
|
nodes?: Array<{
|
|
4011
|
-
__typename: '
|
|
4082
|
+
__typename: 'AgentMetadata';
|
|
4083
|
+
} | {
|
|
4084
|
+
__typename: 'AgentPrompt';
|
|
4012
4085
|
} | {
|
|
4013
|
-
__typename: '
|
|
4086
|
+
__typename: 'AgentRelease';
|
|
4087
|
+
} | {
|
|
4088
|
+
__typename: 'AgentReleaseHistory';
|
|
4014
4089
|
} | {
|
|
4015
4090
|
__typename: 'Dataset';
|
|
4016
4091
|
} | {
|
|
@@ -4212,9 +4287,13 @@ export type ListEmbeddersQuery = {
|
|
|
4212
4287
|
totalCount: number;
|
|
4213
4288
|
hasNextPage: boolean;
|
|
4214
4289
|
nodes?: Array<{
|
|
4215
|
-
__typename?: '
|
|
4290
|
+
__typename?: 'AgentMetadata';
|
|
4291
|
+
} | {
|
|
4292
|
+
__typename?: 'AgentPrompt';
|
|
4293
|
+
} | {
|
|
4294
|
+
__typename?: 'AgentRelease';
|
|
4216
4295
|
} | {
|
|
4217
|
-
__typename?: '
|
|
4296
|
+
__typename?: 'AgentReleaseHistory';
|
|
4218
4297
|
} | {
|
|
4219
4298
|
__typename?: 'Dataset';
|
|
4220
4299
|
} | {
|
|
@@ -4296,9 +4375,13 @@ export type ListKnowledgeBasesQuery = {
|
|
|
4296
4375
|
totalCount: number;
|
|
4297
4376
|
hasNextPage: boolean;
|
|
4298
4377
|
nodes?: Array<{
|
|
4299
|
-
__typename?: '
|
|
4378
|
+
__typename?: 'AgentMetadata';
|
|
4300
4379
|
} | {
|
|
4301
|
-
__typename?: '
|
|
4380
|
+
__typename?: 'AgentPrompt';
|
|
4381
|
+
} | {
|
|
4382
|
+
__typename?: 'AgentRelease';
|
|
4383
|
+
} | {
|
|
4384
|
+
__typename?: 'AgentReleaseHistory';
|
|
4302
4385
|
} | {
|
|
4303
4386
|
__typename?: 'Dataset';
|
|
4304
4387
|
} | {
|
|
@@ -4586,9 +4669,13 @@ export type ListLlMsQuery = {
|
|
|
4586
4669
|
totalCount: number;
|
|
4587
4670
|
hasNextPage: boolean;
|
|
4588
4671
|
nodes?: Array<{
|
|
4589
|
-
__typename?: '
|
|
4672
|
+
__typename?: 'AgentMetadata';
|
|
4673
|
+
} | {
|
|
4674
|
+
__typename?: 'AgentPrompt';
|
|
4590
4675
|
} | {
|
|
4591
|
-
__typename?: '
|
|
4676
|
+
__typename?: 'AgentRelease';
|
|
4677
|
+
} | {
|
|
4678
|
+
__typename?: 'AgentReleaseHistory';
|
|
4592
4679
|
} | {
|
|
4593
4680
|
__typename?: 'Dataset';
|
|
4594
4681
|
} | {
|
|
@@ -4673,9 +4760,13 @@ export type ListModelsQuery = {
|
|
|
4673
4760
|
totalCount: number;
|
|
4674
4761
|
hasNextPage: boolean;
|
|
4675
4762
|
nodes?: Array<{
|
|
4676
|
-
__typename: '
|
|
4763
|
+
__typename: 'AgentMetadata';
|
|
4764
|
+
} | {
|
|
4765
|
+
__typename: 'AgentPrompt';
|
|
4766
|
+
} | {
|
|
4767
|
+
__typename: 'AgentRelease';
|
|
4677
4768
|
} | {
|
|
4678
|
-
__typename: '
|
|
4769
|
+
__typename: 'AgentReleaseHistory';
|
|
4679
4770
|
} | {
|
|
4680
4771
|
__typename: 'Dataset';
|
|
4681
4772
|
} | {
|
|
@@ -4713,9 +4804,13 @@ export type ListModelsQuery = {
|
|
|
4713
4804
|
totalCount: number;
|
|
4714
4805
|
hasNextPage: boolean;
|
|
4715
4806
|
nodes?: Array<{
|
|
4716
|
-
__typename?: '
|
|
4807
|
+
__typename?: 'AgentMetadata';
|
|
4717
4808
|
} | {
|
|
4718
|
-
__typename?: '
|
|
4809
|
+
__typename?: 'AgentPrompt';
|
|
4810
|
+
} | {
|
|
4811
|
+
__typename?: 'AgentRelease';
|
|
4812
|
+
} | {
|
|
4813
|
+
__typename?: 'AgentReleaseHistory';
|
|
4719
4814
|
} | {
|
|
4720
4815
|
__typename?: 'Dataset';
|
|
4721
4816
|
} | {
|
|
@@ -4804,9 +4899,13 @@ export type GetModelQuery = {
|
|
|
4804
4899
|
totalCount: number;
|
|
4805
4900
|
hasNextPage: boolean;
|
|
4806
4901
|
nodes?: Array<{
|
|
4807
|
-
__typename?: '
|
|
4902
|
+
__typename?: 'AgentMetadata';
|
|
4903
|
+
} | {
|
|
4904
|
+
__typename?: 'AgentPrompt';
|
|
4808
4905
|
} | {
|
|
4809
|
-
__typename?: '
|
|
4906
|
+
__typename?: 'AgentRelease';
|
|
4907
|
+
} | {
|
|
4908
|
+
__typename?: 'AgentReleaseHistory';
|
|
4810
4909
|
} | {
|
|
4811
4910
|
__typename?: 'Dataset';
|
|
4812
4911
|
} | {
|
|
@@ -5029,9 +5128,13 @@ export type ListModelServicesQuery = {
|
|
|
5029
5128
|
totalCount: number;
|
|
5030
5129
|
hasNextPage: boolean;
|
|
5031
5130
|
nodes?: Array<{
|
|
5032
|
-
__typename: '
|
|
5131
|
+
__typename: 'AgentMetadata';
|
|
5132
|
+
} | {
|
|
5133
|
+
__typename: 'AgentPrompt';
|
|
5134
|
+
} | {
|
|
5135
|
+
__typename: 'AgentRelease';
|
|
5033
5136
|
} | {
|
|
5034
|
-
__typename: '
|
|
5137
|
+
__typename: 'AgentReleaseHistory';
|
|
5035
5138
|
} | {
|
|
5036
5139
|
__typename: 'Dataset';
|
|
5037
5140
|
} | {
|
|
@@ -5110,9 +5213,13 @@ export type ListNodesQuery = {
|
|
|
5110
5213
|
totalCount: number;
|
|
5111
5214
|
hasNextPage: boolean;
|
|
5112
5215
|
nodes?: Array<{
|
|
5113
|
-
__typename: '
|
|
5216
|
+
__typename: 'AgentMetadata';
|
|
5114
5217
|
} | {
|
|
5115
|
-
__typename: '
|
|
5218
|
+
__typename: 'AgentPrompt';
|
|
5219
|
+
} | {
|
|
5220
|
+
__typename: 'AgentRelease';
|
|
5221
|
+
} | {
|
|
5222
|
+
__typename: 'AgentReleaseHistory';
|
|
5116
5223
|
} | {
|
|
5117
5224
|
__typename: 'Dataset';
|
|
5118
5225
|
} | {
|
|
@@ -5159,9 +5266,13 @@ export type ListPluginsQuery = {
|
|
|
5159
5266
|
totalCount: number;
|
|
5160
5267
|
hasNextPage: boolean;
|
|
5161
5268
|
nodes?: Array<{
|
|
5162
|
-
__typename: '
|
|
5269
|
+
__typename: 'AgentMetadata';
|
|
5270
|
+
} | {
|
|
5271
|
+
__typename: 'AgentPrompt';
|
|
5163
5272
|
} | {
|
|
5164
|
-
__typename: '
|
|
5273
|
+
__typename: 'AgentRelease';
|
|
5274
|
+
} | {
|
|
5275
|
+
__typename: 'AgentReleaseHistory';
|
|
5165
5276
|
} | {
|
|
5166
5277
|
__typename: 'Dataset';
|
|
5167
5278
|
} | {
|
|
@@ -5360,9 +5471,13 @@ export type ListRagQuery = {
|
|
|
5360
5471
|
totalCount: number;
|
|
5361
5472
|
hasNextPage: boolean;
|
|
5362
5473
|
nodes?: Array<{
|
|
5363
|
-
__typename?: '
|
|
5474
|
+
__typename?: 'AgentMetadata';
|
|
5475
|
+
} | {
|
|
5476
|
+
__typename?: 'AgentPrompt';
|
|
5364
5477
|
} | {
|
|
5365
|
-
__typename?: '
|
|
5478
|
+
__typename?: 'AgentRelease';
|
|
5479
|
+
} | {
|
|
5480
|
+
__typename?: 'AgentReleaseHistory';
|
|
5366
5481
|
} | {
|
|
5367
5482
|
__typename?: 'Dataset';
|
|
5368
5483
|
} | {
|
|
@@ -5529,7 +5644,7 @@ export type GetRagQuery = {
|
|
|
5529
5644
|
} | null;
|
|
5530
5645
|
};
|
|
5531
5646
|
application: {
|
|
5532
|
-
__typename?: '
|
|
5647
|
+
__typename?: 'Agent';
|
|
5533
5648
|
prologue?: string | null;
|
|
5534
5649
|
model?: string | null;
|
|
5535
5650
|
llm: string;
|
|
@@ -5537,16 +5652,14 @@ export type GetRagQuery = {
|
|
|
5537
5652
|
maxLength?: number | null;
|
|
5538
5653
|
maxTokens?: number | null;
|
|
5539
5654
|
conversionWindowSize?: number | null;
|
|
5540
|
-
knowledgebase?: string | null;
|
|
5541
5655
|
scoreThreshold?: number | null;
|
|
5542
5656
|
numDocuments?: number | null;
|
|
5543
5657
|
docNullReturn?: string | null;
|
|
5544
5658
|
userPrompt?: string | null;
|
|
5545
|
-
showRespInfo?: boolean | null;
|
|
5546
5659
|
showRetrievalInfo?: boolean | null;
|
|
5547
5660
|
showNextGuide?: boolean | null;
|
|
5548
5661
|
metadata?: {
|
|
5549
|
-
__typename?: '
|
|
5662
|
+
__typename?: 'AgentMetadata';
|
|
5550
5663
|
name: string;
|
|
5551
5664
|
namespace: string;
|
|
5552
5665
|
id?: string | null;
|
|
@@ -5561,6 +5674,11 @@ export type GetRagQuery = {
|
|
|
5561
5674
|
isPublic?: boolean | null;
|
|
5562
5675
|
status?: string | null;
|
|
5563
5676
|
} | null;
|
|
5677
|
+
knowledgebases?: Array<{
|
|
5678
|
+
__typename?: 'TypedObjectReference';
|
|
5679
|
+
name: string;
|
|
5680
|
+
namespace?: string | null;
|
|
5681
|
+
}> | null;
|
|
5564
5682
|
};
|
|
5565
5683
|
datasets: Array<{
|
|
5566
5684
|
__typename?: 'RAGDataset';
|
|
@@ -5753,9 +5871,13 @@ export type ListRayClustersQuery = {
|
|
|
5753
5871
|
totalCount: number;
|
|
5754
5872
|
hasNextPage: boolean;
|
|
5755
5873
|
nodes?: Array<{
|
|
5756
|
-
__typename: '
|
|
5874
|
+
__typename: 'AgentMetadata';
|
|
5875
|
+
} | {
|
|
5876
|
+
__typename: 'AgentPrompt';
|
|
5757
5877
|
} | {
|
|
5758
|
-
__typename: '
|
|
5878
|
+
__typename: 'AgentRelease';
|
|
5879
|
+
} | {
|
|
5880
|
+
__typename: 'AgentReleaseHistory';
|
|
5759
5881
|
} | {
|
|
5760
5882
|
__typename: 'Dataset';
|
|
5761
5883
|
} | {
|
|
@@ -5869,9 +5991,13 @@ export type GetVersionedDatasetQuery = {
|
|
|
5869
5991
|
totalCount: number;
|
|
5870
5992
|
hasNextPage: boolean;
|
|
5871
5993
|
nodes?: Array<{
|
|
5872
|
-
__typename?: '
|
|
5994
|
+
__typename?: 'AgentMetadata';
|
|
5995
|
+
} | {
|
|
5996
|
+
__typename?: 'AgentPrompt';
|
|
5997
|
+
} | {
|
|
5998
|
+
__typename?: 'AgentRelease';
|
|
5873
5999
|
} | {
|
|
5874
|
-
__typename?: '
|
|
6000
|
+
__typename?: 'AgentReleaseHistory';
|
|
5875
6001
|
} | {
|
|
5876
6002
|
__typename?: 'Dataset';
|
|
5877
6003
|
} | {
|
|
@@ -5926,9 +6052,13 @@ export type ListVersionedDatasetsQuery = {
|
|
|
5926
6052
|
totalCount: number;
|
|
5927
6053
|
hasNextPage: boolean;
|
|
5928
6054
|
nodes?: Array<{
|
|
5929
|
-
__typename?: '
|
|
6055
|
+
__typename?: 'AgentMetadata';
|
|
6056
|
+
} | {
|
|
6057
|
+
__typename?: 'AgentPrompt';
|
|
6058
|
+
} | {
|
|
6059
|
+
__typename?: 'AgentRelease';
|
|
5930
6060
|
} | {
|
|
5931
|
-
__typename?: '
|
|
6061
|
+
__typename?: 'AgentReleaseHistory';
|
|
5932
6062
|
} | {
|
|
5933
6063
|
__typename?: 'Dataset';
|
|
5934
6064
|
} | {
|
|
@@ -5974,9 +6104,13 @@ export type ListVersionedDatasetsQuery = {
|
|
|
5974
6104
|
totalCount: number;
|
|
5975
6105
|
hasNextPage: boolean;
|
|
5976
6106
|
nodes?: Array<{
|
|
5977
|
-
__typename?: '
|
|
6107
|
+
__typename?: 'AgentMetadata';
|
|
5978
6108
|
} | {
|
|
5979
|
-
__typename?: '
|
|
6109
|
+
__typename?: 'AgentPrompt';
|
|
6110
|
+
} | {
|
|
6111
|
+
__typename?: 'AgentRelease';
|
|
6112
|
+
} | {
|
|
6113
|
+
__typename?: 'AgentReleaseHistory';
|
|
5980
6114
|
} | {
|
|
5981
6115
|
__typename?: 'Dataset';
|
|
5982
6116
|
} | {
|
|
@@ -6033,9 +6167,13 @@ export type ListWorkersQuery = {
|
|
|
6033
6167
|
totalCount: number;
|
|
6034
6168
|
hasNextPage: boolean;
|
|
6035
6169
|
nodes?: Array<{
|
|
6036
|
-
__typename: '
|
|
6170
|
+
__typename: 'AgentMetadata';
|
|
6171
|
+
} | {
|
|
6172
|
+
__typename: 'AgentPrompt';
|
|
6037
6173
|
} | {
|
|
6038
|
-
__typename: '
|
|
6174
|
+
__typename: 'AgentRelease';
|
|
6175
|
+
} | {
|
|
6176
|
+
__typename: 'AgentReleaseHistory';
|
|
6039
6177
|
} | {
|
|
6040
6178
|
__typename: 'Dataset';
|
|
6041
6179
|
} | {
|
|
@@ -6279,21 +6417,22 @@ export type DeleteWorkersMutation = {
|
|
|
6279
6417
|
deleteWorkers?: any | null;
|
|
6280
6418
|
} | null;
|
|
6281
6419
|
};
|
|
6282
|
-
export declare const
|
|
6283
|
-
export declare const
|
|
6284
|
-
export declare const
|
|
6285
|
-
export declare const
|
|
6286
|
-
export declare const
|
|
6287
|
-
export declare const
|
|
6288
|
-
export declare const
|
|
6289
|
-
export declare const
|
|
6290
|
-
export declare const
|
|
6291
|
-
export declare const
|
|
6292
|
-
export declare const
|
|
6293
|
-
export declare const
|
|
6294
|
-
export declare const
|
|
6295
|
-
export declare const
|
|
6296
|
-
export declare const
|
|
6420
|
+
export declare const CreateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6421
|
+
export declare const UpdateAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6422
|
+
export declare const DeleteAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6423
|
+
export declare const ReleaseAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6424
|
+
export declare const CreateOrUpdateAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6425
|
+
export declare const UpdateAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6426
|
+
export declare const UpdateAgentModelDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6427
|
+
export declare const UpdateAgentPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6428
|
+
export declare const UpdateAgentKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6429
|
+
export declare const DeleteAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6430
|
+
export declare const GetAgentReleaseStatusDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6431
|
+
export declare const GetAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6432
|
+
export declare const GetAgentLatestReleaseInEachPlatformDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6433
|
+
export declare const GetAgentReleaseHistoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6434
|
+
export declare const ListAgentsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6435
|
+
export declare const ListAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6297
6436
|
export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6298
6437
|
export declare const GetGptStoreDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6299
6438
|
export declare const AllDataProcessListByPageDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6365,21 +6504,22 @@ export declare const UpdateWorkerDocument: import("../node_modules/.pnpm/graphql
|
|
|
6365
6504
|
export declare const DeleteWorkersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6366
6505
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
6367
6506
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6507
|
+
createAgent(variables: CreateAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateAgentMutation>;
|
|
6508
|
+
updateAgent(variables: UpdateAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentMutation>;
|
|
6509
|
+
deleteAgent(variables: DeleteAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentMutation>;
|
|
6510
|
+
releaseAgent(variables: ReleaseAgentMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<ReleaseAgentMutation>;
|
|
6511
|
+
createOrUpdateAgentPrompt(variables: CreateOrUpdateAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateOrUpdateAgentPromptMutation>;
|
|
6512
|
+
updateAgentPrompt(variables: UpdateAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPromptMutation>;
|
|
6513
|
+
updateAgentModel(variables: UpdateAgentModelMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentModelMutation>;
|
|
6514
|
+
updateAgentPlugin(variables: UpdateAgentPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPluginMutation>;
|
|
6515
|
+
updateAgentKnowledgeBase(variables: UpdateAgentKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentKnowledgeBaseMutation>;
|
|
6516
|
+
deleteAgentPrompt(variables: DeleteAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentPromptMutation>;
|
|
6517
|
+
getAgentReleaseStatus(variables: GetAgentReleaseStatusQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentReleaseStatusQuery>;
|
|
6518
|
+
getAgent(variables: GetAgentQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentQuery>;
|
|
6519
|
+
getAgentLatestReleaseInEachPlatform(variables: GetAgentLatestReleaseInEachPlatformQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentLatestReleaseInEachPlatformQuery>;
|
|
6520
|
+
getAgentReleaseHistory(variables: GetAgentReleaseHistoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentReleaseHistoryQuery>;
|
|
6521
|
+
listAgents(variables: ListAgentsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentsQuery>;
|
|
6522
|
+
listAgentPrompt(variables: ListAgentPromptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentPromptQuery>;
|
|
6383
6523
|
listGPTCategory(variables?: ListGptCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGptCategoryQuery>;
|
|
6384
6524
|
getGPTStore(variables?: GetGptStoreQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptStoreQuery>;
|
|
6385
6525
|
allDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<AllDataProcessListByPageQuery>;
|
|
@@ -6452,9 +6592,12 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6452
6592
|
};
|
|
6453
6593
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
6454
6594
|
export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6595
|
+
useGetAgentReleaseStatus(variables: GetAgentReleaseStatusQueryVariables, config?: SWRConfigInterface<GetAgentReleaseStatusQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentReleaseStatusQuery, ClientError>;
|
|
6596
|
+
useGetAgent(variables: GetAgentQueryVariables, config?: SWRConfigInterface<GetAgentQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentQuery, ClientError>;
|
|
6597
|
+
useGetAgentLatestReleaseInEachPlatform(variables: GetAgentLatestReleaseInEachPlatformQueryVariables, config?: SWRConfigInterface<GetAgentLatestReleaseInEachPlatformQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentLatestReleaseInEachPlatformQuery, ClientError>;
|
|
6598
|
+
useGetAgentReleaseHistory(variables: GetAgentReleaseHistoryQueryVariables, config?: SWRConfigInterface<GetAgentReleaseHistoryQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentReleaseHistoryQuery, ClientError>;
|
|
6599
|
+
useListAgents(variables: ListAgentsQueryVariables, config?: SWRConfigInterface<ListAgentsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentsQuery, ClientError>;
|
|
6600
|
+
useListAgentPrompt(variables: ListAgentPromptQueryVariables, config?: SWRConfigInterface<ListAgentPromptQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentPromptQuery, ClientError>;
|
|
6458
6601
|
useListGptCategory(variables?: ListGptCategoryQueryVariables, config?: SWRConfigInterface<ListGptCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGptCategoryQuery, ClientError>;
|
|
6459
6602
|
useGetGptStore(variables?: GetGptStoreQueryVariables, config?: SWRConfigInterface<GetGptStoreQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptStoreQuery, ClientError>;
|
|
6460
6603
|
useAllDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, config?: SWRConfigInterface<AllDataProcessListByPageQuery, ClientError>): import("./useSWR").SWRResponsePro<AllDataProcessListByPageQuery, ClientError>;
|
|
@@ -6492,58 +6635,66 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6492
6635
|
useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
|
|
6493
6636
|
useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
|
|
6494
6637
|
useGetWorker(variables: GetWorkerQueryVariables, config?: SWRConfigInterface<GetWorkerQuery, ClientError>): import("./useSWR").SWRResponsePro<GetWorkerQuery, ClientError>;
|
|
6495
|
-
|
|
6496
|
-
input:
|
|
6497
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6498
|
-
|
|
6499
|
-
input:
|
|
6500
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6501
|
-
|
|
6638
|
+
createAgent(variables: Exact<{
|
|
6639
|
+
input: CreateAgentMetadataInput;
|
|
6640
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateAgentMutation>;
|
|
6641
|
+
updateAgent(variables: Exact<{
|
|
6642
|
+
input: UpdateAgentMetadataInput;
|
|
6643
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentMutation>;
|
|
6644
|
+
deleteAgent(variables: Exact<{
|
|
6502
6645
|
input: DeleteCommonInput;
|
|
6503
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6504
|
-
|
|
6505
|
-
input: UpdateApplicationConfigInput;
|
|
6506
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationConfigMutation>;
|
|
6507
|
-
releaseApplication(variables: Exact<{
|
|
6646
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteAgentMutation>;
|
|
6647
|
+
releaseAgent(variables: Exact<{
|
|
6508
6648
|
name: string;
|
|
6509
6649
|
namespace: string;
|
|
6510
|
-
|
|
6511
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6512
|
-
|
|
6650
|
+
input: ReleaseAgentInput;
|
|
6651
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseAgentMutation>;
|
|
6652
|
+
createOrUpdateAgentPrompt(variables: Exact<{
|
|
6513
6653
|
namespacedname: string;
|
|
6514
|
-
input?: InputMaybe<
|
|
6515
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6516
|
-
|
|
6517
|
-
input:
|
|
6518
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6519
|
-
|
|
6520
|
-
input:
|
|
6521
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6522
|
-
|
|
6523
|
-
input:
|
|
6524
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6525
|
-
|
|
6526
|
-
input:
|
|
6527
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6528
|
-
|
|
6529
|
-
input: UpdateApplicationDocumentLoaderInput;
|
|
6530
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationDocumentLoaderMutation>;
|
|
6531
|
-
deleteApplicationPrompt(variables: Exact<{
|
|
6654
|
+
input?: InputMaybe<AgentPromptInput | AgentPromptInput[]> | undefined;
|
|
6655
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateOrUpdateAgentPromptMutation>;
|
|
6656
|
+
updateAgentPrompt(variables: Exact<{
|
|
6657
|
+
input: UpdateAgentPromptInput;
|
|
6658
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentPromptMutation>;
|
|
6659
|
+
updateAgentModel(variables: Exact<{
|
|
6660
|
+
input: UpdateAgentModelInput;
|
|
6661
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentModelMutation>;
|
|
6662
|
+
updateAgentPlugin(variables: Exact<{
|
|
6663
|
+
input: UpdateAgentPluginInput;
|
|
6664
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentPluginMutation>;
|
|
6665
|
+
updateAgentKnowledgeBase(variables: Exact<{
|
|
6666
|
+
input: UpdateAgentKnowledgebaseInput;
|
|
6667
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateAgentKnowledgeBaseMutation>;
|
|
6668
|
+
deleteAgentPrompt(variables: Exact<{
|
|
6532
6669
|
namespacedname: string;
|
|
6533
6670
|
ids?: InputMaybe<string | string[]> | undefined;
|
|
6534
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6535
|
-
|
|
6671
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteAgentPromptMutation>;
|
|
6672
|
+
getAgentReleaseStatus(variables: Exact<{
|
|
6673
|
+
name: string;
|
|
6674
|
+
namespace: string;
|
|
6675
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseStatusQuery>;
|
|
6676
|
+
getAgent(variables: Exact<{
|
|
6536
6677
|
name: string;
|
|
6537
6678
|
namespace: string;
|
|
6538
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6539
|
-
|
|
6679
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentQuery>;
|
|
6680
|
+
getAgentLatestReleaseInEachPlatform(variables: Exact<{
|
|
6681
|
+
name: string;
|
|
6682
|
+
namespace: string;
|
|
6683
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentLatestReleaseInEachPlatformQuery>;
|
|
6684
|
+
getAgentReleaseHistory(variables: Exact<{
|
|
6685
|
+
name: string;
|
|
6686
|
+
namespace: string;
|
|
6687
|
+
page?: InputMaybe<number> | undefined;
|
|
6688
|
+
pageSize?: InputMaybe<number> | undefined;
|
|
6689
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseHistoryQuery>;
|
|
6690
|
+
listAgents(variables: Exact<{
|
|
6540
6691
|
input: ListCommonInput;
|
|
6541
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6542
|
-
|
|
6692
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentsQuery>;
|
|
6693
|
+
listAgentPrompt(variables: Exact<{
|
|
6543
6694
|
namespacedname: string;
|
|
6544
6695
|
page?: InputMaybe<number> | undefined;
|
|
6545
6696
|
size?: InputMaybe<number> | undefined;
|
|
6546
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6697
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentPromptQuery>;
|
|
6547
6698
|
listGPTCategory(variables?: Exact<{
|
|
6548
6699
|
[key: string]: never;
|
|
6549
6700
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListGptCategoryQuery>;
|