@yuntijs/arcadia-bff-sdk 1.2.33 → 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/index.d.ts +150 -174
- package/dist/cjs/sdk.d.ts +279 -499
- package/dist/cjs/sdk.js +122 -198
- package/dist/cjs/taro.d.ts +111 -129
- package/dist/esm/index.d.ts +150 -174
- package/dist/esm/sdk.d.ts +279 -499
- package/dist/esm/sdk.js +133 -145
- package/dist/esm/taro.d.ts +111 -129
- 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 */
|
|
@@ -202,96 +175,98 @@ export type ApplicationMetadata = {
|
|
|
202
175
|
/** 更新时间 */
|
|
203
176
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
204
177
|
};
|
|
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>>;
|
|
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
|
|
198
|
+
export type AgentMutationDeleteAgentArgs = {
|
|
228
199
|
input: DeleteCommonInput;
|
|
229
200
|
};
|
|
230
|
-
export type
|
|
201
|
+
export type AgentMutationDeleteAgentPromptArgs = {
|
|
231
202
|
ids?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
232
203
|
namespacedname: Scalars['String']['input'];
|
|
233
204
|
};
|
|
234
|
-
export type
|
|
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
|
|
240
|
-
input:
|
|
241
|
-
};
|
|
242
|
-
export type ApplicationMutationUpdateApplicationConfigArgs = {
|
|
243
|
-
input: UpdateApplicationConfigInput;
|
|
210
|
+
export type AgentMutationUpdateAgentArgs = {
|
|
211
|
+
input: UpdateAgentMetadataInput;
|
|
244
212
|
};
|
|
245
|
-
export type
|
|
246
|
-
input:
|
|
213
|
+
export type AgentMutationUpdateAgentKnowledgeBaseArgs = {
|
|
214
|
+
input: UpdateAgentKnowledgebaseInput;
|
|
247
215
|
};
|
|
248
|
-
export type
|
|
249
|
-
input:
|
|
216
|
+
export type AgentMutationUpdateAgentModelArgs = {
|
|
217
|
+
input: UpdateAgentModelInput;
|
|
250
218
|
};
|
|
251
|
-
export type
|
|
252
|
-
input:
|
|
219
|
+
export type AgentMutationUpdateAgentPluginArgs = {
|
|
220
|
+
input: UpdateAgentPluginInput;
|
|
253
221
|
};
|
|
254
|
-
export type
|
|
255
|
-
input:
|
|
222
|
+
export type AgentMutationUpdateAgentPromptArgs = {
|
|
223
|
+
input: UpdateAgentPromptInput;
|
|
256
224
|
};
|
|
257
|
-
export type
|
|
258
|
-
|
|
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
|
|
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
|
|
275
|
-
__typename?: '
|
|
276
|
-
|
|
239
|
+
export type AgentQuery = {
|
|
240
|
+
__typename?: 'AgentQuery';
|
|
241
|
+
getAgent: Agent;
|
|
277
242
|
getGPTStore: GptStore;
|
|
278
|
-
|
|
279
|
-
|
|
243
|
+
listAgentMetadata: PaginatedResult;
|
|
244
|
+
listAgentPrompt: PaginatedResult;
|
|
280
245
|
/** migrated from GPT */
|
|
281
246
|
listGPTCategory: Array<Maybe<GptCategory>>;
|
|
282
247
|
};
|
|
283
|
-
export type
|
|
248
|
+
export type AgentQueryGetAgentArgs = {
|
|
284
249
|
name: Scalars['String']['input'];
|
|
285
250
|
namespace: Scalars['String']['input'];
|
|
286
251
|
};
|
|
287
|
-
export type
|
|
252
|
+
export type AgentQueryListAgentMetadataArgs = {
|
|
288
253
|
input: ListCommonInput;
|
|
289
254
|
};
|
|
290
|
-
export type
|
|
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
|
|
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
|
|
317
|
-
icon
|
|
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 命名
|
|
@@ -1762,7 +1733,7 @@ export type ModelServiceQueryListModelServicesArgs = {
|
|
|
1762
1733
|
};
|
|
1763
1734
|
export type Mutation = {
|
|
1764
1735
|
__typename?: 'Mutation';
|
|
1765
|
-
|
|
1736
|
+
Agent?: Maybe<AgentMutation>;
|
|
1766
1737
|
Dataset?: Maybe<DatasetMutation>;
|
|
1767
1738
|
Datasource?: Maybe<DatasourceMutation>;
|
|
1768
1739
|
Embedder?: Maybe<EmbedderMutation>;
|
|
@@ -1815,7 +1786,7 @@ export type OssInput = {
|
|
|
1815
1786
|
bucket: Scalars['String']['input'];
|
|
1816
1787
|
object?: InputMaybe<Scalars['String']['input']>;
|
|
1817
1788
|
};
|
|
1818
|
-
export type PageNode =
|
|
1789
|
+
export type PageNode = AgentMetadata | AgentPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
|
|
1819
1790
|
export type PaginatedDataProcessItem = {
|
|
1820
1791
|
__typename?: 'PaginatedDataProcessItem';
|
|
1821
1792
|
data?: Maybe<Array<DataProcessItem>>;
|
|
@@ -1970,7 +1941,7 @@ export type PluginQueryListPluginsArgs = {
|
|
|
1970
1941
|
};
|
|
1971
1942
|
export type Query = {
|
|
1972
1943
|
__typename?: 'Query';
|
|
1973
|
-
|
|
1944
|
+
Agent?: Maybe<AgentQuery>;
|
|
1974
1945
|
Dataset?: Maybe<DatasetQuery>;
|
|
1975
1946
|
Datasource?: Maybe<DatasourceQuery>;
|
|
1976
1947
|
Embedder?: Maybe<EmbedderQuery>;
|
|
@@ -1996,7 +1967,7 @@ export type Rag = {
|
|
|
1996
1967
|
/** 添加一些辅助性记录信息 */
|
|
1997
1968
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
1998
1969
|
/** 获取评估流程选择的应用 */
|
|
1999
|
-
application:
|
|
1970
|
+
application: Agent;
|
|
2000
1971
|
/** 评估完成时间, 如果没有完成这,这个字段没有值 */
|
|
2001
1972
|
completeTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2002
1973
|
/** 创建时间 */
|
|
@@ -2203,103 +2174,9 @@ export type TypedObjectReferenceInput = {
|
|
|
2203
2174
|
name: Scalars['String']['input'];
|
|
2204
2175
|
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
2205
2176
|
};
|
|
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']>;
|
|
2235
|
-
/**
|
|
2236
|
-
* 应用名称, 用于确定要更新哪个应用
|
|
2237
|
-
* 规则: 遵循 k8s 命名
|
|
2238
|
-
*/
|
|
2239
|
-
name: Scalars['String']['input'];
|
|
2240
|
-
/**
|
|
2241
|
-
* 应用所在的 namespace, 用于确定要更新哪个应用
|
|
2242
|
-
* 规则: 非空
|
|
2243
|
-
*/
|
|
2244
|
-
namespace: Scalars['String']['input'];
|
|
2245
|
-
/** numDocuments 最终返回结果的引用上限 */
|
|
2246
|
-
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
|
-
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
2254
|
-
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
|
-
};
|
|
2268
|
-
export type UpdateApplicationDocumentLoaderInput = {
|
|
2269
|
-
/** batchSize 上传文档做批量处理时的批次大小 */
|
|
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']>;
|
|
2177
|
+
export type UpdateAgentKnowledgebaseInput = {
|
|
2178
|
+
/** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
2179
|
+
knowledgebases?: InputMaybe<Array<TypedObjectReferenceInput>>;
|
|
2303
2180
|
/**
|
|
2304
2181
|
* 应用名称, 用于确定要更新哪个应用
|
|
2305
2182
|
* 规则: 遵循 k8s 命名
|
|
@@ -2312,38 +2189,26 @@ export type UpdateApplicationKnowledgebaseInput = {
|
|
|
2312
2189
|
namespace: Scalars['String']['input'];
|
|
2313
2190
|
/** numDocuments 最终返回结果的引用上限 */
|
|
2314
2191
|
numDocuments?: InputMaybe<Scalars['Int']['input']>;
|
|
2315
|
-
/** rerankModel rerank 模型,enableRerank 为 true 时起效,为空时使用默认 rerank 模型 */
|
|
2316
|
-
rerankModel?: InputMaybe<Scalars['String']['input']>;
|
|
2317
2192
|
/** scoreThreshold 最终返回结果的最低相似度 */
|
|
2318
2193
|
scoreThreshold?: InputMaybe<Scalars['Float']['input']>;
|
|
2319
|
-
/** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
|
|
2320
|
-
showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2321
|
-
/** temperature 温度 */
|
|
2322
|
-
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
2323
2194
|
};
|
|
2324
|
-
export type
|
|
2325
|
-
/**
|
|
2326
|
-
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
2327
|
-
/** Background, 智能体对话背景,base64 格式图片 */
|
|
2195
|
+
export type UpdateAgentMetadataInput = {
|
|
2196
|
+
/** Background, 智能体对话背景,图片访问路径 */
|
|
2328
2197
|
background?: InputMaybe<Scalars['String']['input']>;
|
|
2329
2198
|
/** category:所属分类 */
|
|
2330
2199
|
category?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
2331
|
-
/** chatTimeout 对话超时,单位秒,不填为默认 60s */
|
|
2332
|
-
chatTimeout?: InputMaybe<Scalars['Float']['input']>;
|
|
2333
2200
|
/** 描述信息 */
|
|
2334
2201
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2335
2202
|
/** 展示名,别名 */
|
|
2336
2203
|
displayName: Scalars['String']['input'];
|
|
2337
2204
|
/** 空搜索回复 */
|
|
2338
2205
|
docNullReturn?: InputMaybe<Scalars['String']['input']>;
|
|
2339
|
-
/** Icon,应用头像,
|
|
2340
|
-
icon
|
|
2206
|
+
/** Icon,应用头像, 图片访问路径 */
|
|
2207
|
+
icon?: InputMaybe<Scalars['String']['input']>;
|
|
2341
2208
|
/** IsPublic, 是否发布,即是否公开提供服务 */
|
|
2342
2209
|
isPublic?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2343
2210
|
/** isRecommended, 是否推荐 */
|
|
2344
2211
|
isRecommended?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2345
|
-
/** 一些用于标记,选择的的标签,如果要更新,请传递完整内容 */
|
|
2346
|
-
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
2347
2212
|
/**
|
|
2348
2213
|
* 应用名称, 用于确定要更新哪个应用
|
|
2349
2214
|
* 规则: 遵循 k8s 命名
|
|
@@ -2356,12 +2221,12 @@ export type UpdateApplicationMetadataInput = {
|
|
|
2356
2221
|
namespace: Scalars['String']['input'];
|
|
2357
2222
|
/** 对话开场白 */
|
|
2358
2223
|
prologue?: InputMaybe<Scalars['String']['input']>;
|
|
2359
|
-
/**
|
|
2360
|
-
|
|
2224
|
+
/** 是否启用"下一步"引导 */
|
|
2225
|
+
showNextGuide?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2361
2226
|
/** 看引用配置,即是否在chat界面显示引用信息 */
|
|
2362
2227
|
showRetrievalInfo?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2363
2228
|
};
|
|
2364
|
-
export type
|
|
2229
|
+
export type UpdateAgentModelInput = {
|
|
2365
2230
|
/** conversionWindowSize 对话轮次 */
|
|
2366
2231
|
conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2367
2232
|
/** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
|
|
@@ -2385,9 +2250,7 @@ export type UpdateApplicationModelInput = {
|
|
|
2385
2250
|
/** temperature 温度 */
|
|
2386
2251
|
temperature?: InputMaybe<Scalars['Float']['input']>;
|
|
2387
2252
|
};
|
|
2388
|
-
export type
|
|
2389
|
-
/** conversionWindowSize 对话轮次 */
|
|
2390
|
-
conversionWindowSize?: InputMaybe<Scalars['Int']['input']>;
|
|
2253
|
+
export type UpdateAgentPluginInput = {
|
|
2391
2254
|
/**
|
|
2392
2255
|
* 应用名称, 用于确定要更新哪个应用
|
|
2393
2256
|
* 规则: 遵循 k8s 命名
|
|
@@ -2401,7 +2264,7 @@ export type UpdateApplicationPluginInput = {
|
|
|
2401
2264
|
/** plugins 要使用的插件列表 */
|
|
2402
2265
|
plugins?: InputMaybe<Array<InputMaybe<TypedObjectReferenceInput>>>;
|
|
2403
2266
|
};
|
|
2404
|
-
export type
|
|
2267
|
+
export type UpdateAgentPromptInput = {
|
|
2405
2268
|
/**
|
|
2406
2269
|
* 应用名称, 用于确定要更新哪个应用
|
|
2407
2270
|
* 规则: 遵循 k8s 命名
|
|
@@ -2964,15 +2827,15 @@ export type Filegroupinput = {
|
|
|
2964
2827
|
/** 数据源字段 */
|
|
2965
2828
|
source: TypedObjectReferenceInput;
|
|
2966
2829
|
};
|
|
2967
|
-
export type
|
|
2968
|
-
input:
|
|
2830
|
+
export type CreateAgentMutationVariables = Exact<{
|
|
2831
|
+
input: CreateAgentMetadataInput;
|
|
2969
2832
|
}>;
|
|
2970
|
-
export type
|
|
2833
|
+
export type CreateAgentMutation = {
|
|
2971
2834
|
__typename?: 'Mutation';
|
|
2972
|
-
|
|
2973
|
-
__typename?: '
|
|
2974
|
-
|
|
2975
|
-
__typename?: '
|
|
2835
|
+
Agent?: {
|
|
2836
|
+
__typename?: 'AgentMutation';
|
|
2837
|
+
createAgent: {
|
|
2838
|
+
__typename?: 'AgentMetadata';
|
|
2976
2839
|
name: string;
|
|
2977
2840
|
namespace: string;
|
|
2978
2841
|
id?: string | null;
|
|
@@ -2993,15 +2856,15 @@ export type CreateApplicationMutation = {
|
|
|
2993
2856
|
};
|
|
2994
2857
|
} | null;
|
|
2995
2858
|
};
|
|
2996
|
-
export type
|
|
2997
|
-
input:
|
|
2859
|
+
export type UpdateAgentMutationVariables = Exact<{
|
|
2860
|
+
input: UpdateAgentMetadataInput;
|
|
2998
2861
|
}>;
|
|
2999
|
-
export type
|
|
2862
|
+
export type UpdateAgentMutation = {
|
|
3000
2863
|
__typename?: 'Mutation';
|
|
3001
|
-
|
|
3002
|
-
__typename?: '
|
|
3003
|
-
|
|
3004
|
-
__typename?: '
|
|
2864
|
+
Agent?: {
|
|
2865
|
+
__typename?: 'AgentMutation';
|
|
2866
|
+
updateAgent: {
|
|
2867
|
+
__typename?: 'AgentMetadata';
|
|
3005
2868
|
name: string;
|
|
3006
2869
|
namespace: string;
|
|
3007
2870
|
id?: string | null;
|
|
@@ -3022,88 +2885,27 @@ export type UpdateApplicationMutation = {
|
|
|
3022
2885
|
};
|
|
3023
2886
|
} | null;
|
|
3024
2887
|
};
|
|
3025
|
-
export type
|
|
2888
|
+
export type DeleteAgentMutationVariables = Exact<{
|
|
3026
2889
|
input: DeleteCommonInput;
|
|
3027
2890
|
}>;
|
|
3028
|
-
export type
|
|
2891
|
+
export type DeleteAgentMutation = {
|
|
3029
2892
|
__typename?: 'Mutation';
|
|
3030
|
-
|
|
3031
|
-
__typename?: '
|
|
3032
|
-
|
|
2893
|
+
Agent?: {
|
|
2894
|
+
__typename?: 'AgentMutation';
|
|
2895
|
+
deleteAgent?: any | null;
|
|
3033
2896
|
} | null;
|
|
3034
2897
|
};
|
|
3035
|
-
export type
|
|
3036
|
-
input: UpdateApplicationConfigInput;
|
|
3037
|
-
}>;
|
|
3038
|
-
export type UpdateApplicationConfigMutation = {
|
|
3039
|
-
__typename?: 'Mutation';
|
|
3040
|
-
Application?: {
|
|
3041
|
-
__typename?: 'ApplicationMutation';
|
|
3042
|
-
updateApplicationConfig: {
|
|
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
|
-
};
|
|
3094
|
-
} | null;
|
|
3095
|
-
};
|
|
3096
|
-
export type ReleaseApplicationMutationVariables = Exact<{
|
|
2898
|
+
export type ReleaseAgentMutationVariables = Exact<{
|
|
3097
2899
|
name: Scalars['String']['input'];
|
|
3098
2900
|
namespace: Scalars['String']['input'];
|
|
3099
2901
|
isPublic: Scalars['Boolean']['input'];
|
|
3100
2902
|
}>;
|
|
3101
|
-
export type
|
|
2903
|
+
export type ReleaseAgentMutation = {
|
|
3102
2904
|
__typename?: 'Mutation';
|
|
3103
|
-
|
|
3104
|
-
__typename?: '
|
|
3105
|
-
|
|
3106
|
-
__typename?: '
|
|
2905
|
+
Agent?: {
|
|
2906
|
+
__typename?: 'AgentMutation';
|
|
2907
|
+
releaseAgent: {
|
|
2908
|
+
__typename?: 'AgentMetadata';
|
|
3107
2909
|
name: string;
|
|
3108
2910
|
namespace: string;
|
|
3109
2911
|
id?: string | null;
|
|
@@ -3124,88 +2926,78 @@ export type ReleaseApplicationMutation = {
|
|
|
3124
2926
|
};
|
|
3125
2927
|
} | null;
|
|
3126
2928
|
};
|
|
3127
|
-
export type
|
|
2929
|
+
export type CreateOrUpdateAgentPromptMutationVariables = Exact<{
|
|
3128
2930
|
namespacedname: Scalars['String']['input'];
|
|
3129
|
-
input?: InputMaybe<Array<
|
|
2931
|
+
input?: InputMaybe<Array<AgentPromptInput> | AgentPromptInput>;
|
|
3130
2932
|
}>;
|
|
3131
|
-
export type
|
|
2933
|
+
export type CreateOrUpdateAgentPromptMutation = {
|
|
3132
2934
|
__typename?: 'Mutation';
|
|
3133
|
-
|
|
3134
|
-
__typename?: '
|
|
3135
|
-
|
|
2935
|
+
Agent?: {
|
|
2936
|
+
__typename?: 'AgentMutation';
|
|
2937
|
+
createOrUpdateAgentPrompt?: any | null;
|
|
3136
2938
|
} | null;
|
|
3137
2939
|
};
|
|
3138
|
-
export type
|
|
3139
|
-
input:
|
|
2940
|
+
export type UpdateAgentPromptMutationVariables = Exact<{
|
|
2941
|
+
input: UpdateAgentPromptInput;
|
|
3140
2942
|
}>;
|
|
3141
|
-
export type
|
|
2943
|
+
export type UpdateAgentPromptMutation = {
|
|
3142
2944
|
__typename?: 'Mutation';
|
|
3143
|
-
|
|
3144
|
-
__typename?: '
|
|
3145
|
-
|
|
2945
|
+
Agent?: {
|
|
2946
|
+
__typename?: 'AgentMutation';
|
|
2947
|
+
updateAgentPrompt?: any | null;
|
|
3146
2948
|
} | null;
|
|
3147
2949
|
};
|
|
3148
|
-
export type
|
|
3149
|
-
input:
|
|
2950
|
+
export type UpdateAgentModelMutationVariables = Exact<{
|
|
2951
|
+
input: UpdateAgentModelInput;
|
|
3150
2952
|
}>;
|
|
3151
|
-
export type
|
|
2953
|
+
export type UpdateAgentModelMutation = {
|
|
3152
2954
|
__typename?: 'Mutation';
|
|
3153
|
-
|
|
3154
|
-
__typename?: '
|
|
3155
|
-
|
|
2955
|
+
Agent?: {
|
|
2956
|
+
__typename?: 'AgentMutation';
|
|
2957
|
+
updateAgentModel?: any | null;
|
|
3156
2958
|
} | null;
|
|
3157
2959
|
};
|
|
3158
|
-
export type
|
|
3159
|
-
input:
|
|
2960
|
+
export type UpdateAgentPluginMutationVariables = Exact<{
|
|
2961
|
+
input: UpdateAgentPluginInput;
|
|
3160
2962
|
}>;
|
|
3161
|
-
export type
|
|
2963
|
+
export type UpdateAgentPluginMutation = {
|
|
3162
2964
|
__typename?: 'Mutation';
|
|
3163
|
-
|
|
3164
|
-
__typename?: '
|
|
3165
|
-
|
|
2965
|
+
Agent?: {
|
|
2966
|
+
__typename?: 'AgentMutation';
|
|
2967
|
+
updateAgentPlugin?: any | null;
|
|
3166
2968
|
} | null;
|
|
3167
2969
|
};
|
|
3168
|
-
export type
|
|
3169
|
-
input:
|
|
2970
|
+
export type UpdateAgentKnowledgeBaseMutationVariables = Exact<{
|
|
2971
|
+
input: UpdateAgentKnowledgebaseInput;
|
|
3170
2972
|
}>;
|
|
3171
|
-
export type
|
|
2973
|
+
export type UpdateAgentKnowledgeBaseMutation = {
|
|
3172
2974
|
__typename?: 'Mutation';
|
|
3173
|
-
|
|
3174
|
-
__typename?: '
|
|
3175
|
-
|
|
2975
|
+
Agent?: {
|
|
2976
|
+
__typename?: 'AgentMutation';
|
|
2977
|
+
updateAgentKnowledgeBase?: any | null;
|
|
3176
2978
|
} | null;
|
|
3177
2979
|
};
|
|
3178
|
-
export type
|
|
3179
|
-
input: UpdateApplicationDocumentLoaderInput;
|
|
3180
|
-
}>;
|
|
3181
|
-
export type UpdateApplicationDocumentLoaderMutation = {
|
|
3182
|
-
__typename?: 'Mutation';
|
|
3183
|
-
Application?: {
|
|
3184
|
-
__typename?: 'ApplicationMutation';
|
|
3185
|
-
updateApplicationDocumentLoader?: any | null;
|
|
3186
|
-
} | null;
|
|
3187
|
-
};
|
|
3188
|
-
export type DeleteApplicationPromptMutationVariables = Exact<{
|
|
2980
|
+
export type DeleteAgentPromptMutationVariables = Exact<{
|
|
3189
2981
|
namespacedname: Scalars['String']['input'];
|
|
3190
2982
|
ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
3191
2983
|
}>;
|
|
3192
|
-
export type
|
|
2984
|
+
export type DeleteAgentPromptMutation = {
|
|
3193
2985
|
__typename?: 'Mutation';
|
|
3194
|
-
|
|
3195
|
-
__typename?: '
|
|
3196
|
-
|
|
2986
|
+
Agent?: {
|
|
2987
|
+
__typename?: 'AgentMutation';
|
|
2988
|
+
deleteAgentPrompt?: any | null;
|
|
3197
2989
|
} | null;
|
|
3198
2990
|
};
|
|
3199
|
-
export type
|
|
2991
|
+
export type GetAgentQueryVariables = Exact<{
|
|
3200
2992
|
name: Scalars['String']['input'];
|
|
3201
2993
|
namespace: Scalars['String']['input'];
|
|
3202
2994
|
}>;
|
|
3203
|
-
export type
|
|
2995
|
+
export type GetAgentQuery = {
|
|
3204
2996
|
__typename?: 'Query';
|
|
3205
|
-
|
|
3206
|
-
__typename?: '
|
|
3207
|
-
|
|
3208
|
-
__typename?: '
|
|
2997
|
+
Agent?: {
|
|
2998
|
+
__typename?: 'AgentQuery';
|
|
2999
|
+
getAgent: {
|
|
3000
|
+
__typename?: 'Agent';
|
|
3209
3001
|
prologue?: string | null;
|
|
3210
3002
|
model?: string | null;
|
|
3211
3003
|
llm: string;
|
|
@@ -3213,25 +3005,15 @@ export type GetApplicationQuery = {
|
|
|
3213
3005
|
maxLength?: number | null;
|
|
3214
3006
|
maxTokens?: number | null;
|
|
3215
3007
|
conversionWindowSize?: number | null;
|
|
3216
|
-
knowledgebase?: string | null;
|
|
3217
3008
|
scoreThreshold?: number | null;
|
|
3218
3009
|
numDocuments?: number | null;
|
|
3219
3010
|
docNullReturn?: string | null;
|
|
3220
3011
|
userPrompt?: string | null;
|
|
3221
3012
|
systemPrompt?: string | null;
|
|
3222
|
-
showRespInfo?: boolean | null;
|
|
3223
3013
|
showRetrievalInfo?: boolean | null;
|
|
3224
3014
|
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
3015
|
metadata?: {
|
|
3234
|
-
__typename?: '
|
|
3016
|
+
__typename?: 'AgentMetadata';
|
|
3235
3017
|
name: string;
|
|
3236
3018
|
namespace: string;
|
|
3237
3019
|
id?: string | null;
|
|
@@ -3250,6 +3032,11 @@ export type GetApplicationQuery = {
|
|
|
3250
3032
|
category?: Array<string | null> | null;
|
|
3251
3033
|
notReadyReasonCode?: string | null;
|
|
3252
3034
|
} | null;
|
|
3035
|
+
knowledgebases?: Array<{
|
|
3036
|
+
__typename?: 'TypedObjectReference';
|
|
3037
|
+
name: string;
|
|
3038
|
+
namespace?: string | null;
|
|
3039
|
+
}> | null;
|
|
3253
3040
|
plugins?: Array<{
|
|
3254
3041
|
__typename?: 'Plugin';
|
|
3255
3042
|
name: string;
|
|
@@ -3258,21 +3045,21 @@ export type GetApplicationQuery = {
|
|
|
3258
3045
|
};
|
|
3259
3046
|
} | null;
|
|
3260
3047
|
};
|
|
3261
|
-
export type
|
|
3048
|
+
export type ListAgentsQueryVariables = Exact<{
|
|
3262
3049
|
input: ListCommonInput;
|
|
3263
3050
|
}>;
|
|
3264
|
-
export type
|
|
3051
|
+
export type ListAgentsQuery = {
|
|
3265
3052
|
__typename?: 'Query';
|
|
3266
|
-
|
|
3267
|
-
__typename?: '
|
|
3268
|
-
|
|
3053
|
+
Agent?: {
|
|
3054
|
+
__typename?: 'AgentQuery';
|
|
3055
|
+
listAgentMetadata: {
|
|
3269
3056
|
__typename?: 'PaginatedResult';
|
|
3270
3057
|
page?: number | null;
|
|
3271
3058
|
pageSize?: number | null;
|
|
3272
3059
|
totalCount: number;
|
|
3273
3060
|
hasNextPage: boolean;
|
|
3274
3061
|
nodes?: Array<{
|
|
3275
|
-
__typename?: '
|
|
3062
|
+
__typename?: 'AgentMetadata';
|
|
3276
3063
|
name: string;
|
|
3277
3064
|
namespace: string;
|
|
3278
3065
|
id?: string | null;
|
|
@@ -3291,7 +3078,7 @@ export type ListApplicationsQuery = {
|
|
|
3291
3078
|
category?: Array<string | null> | null;
|
|
3292
3079
|
notReadyReasonCode?: string | null;
|
|
3293
3080
|
} | {
|
|
3294
|
-
__typename?: '
|
|
3081
|
+
__typename?: 'AgentPrompt';
|
|
3295
3082
|
} | {
|
|
3296
3083
|
__typename?: 'Dataset';
|
|
3297
3084
|
} | {
|
|
@@ -3324,24 +3111,24 @@ export type ListApplicationsQuery = {
|
|
|
3324
3111
|
};
|
|
3325
3112
|
} | null;
|
|
3326
3113
|
};
|
|
3327
|
-
export type
|
|
3114
|
+
export type ListAgentPromptQueryVariables = Exact<{
|
|
3328
3115
|
namespacedname: Scalars['String']['input'];
|
|
3329
3116
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
3330
3117
|
size?: InputMaybe<Scalars['Int']['input']>;
|
|
3331
3118
|
}>;
|
|
3332
|
-
export type
|
|
3119
|
+
export type ListAgentPromptQuery = {
|
|
3333
3120
|
__typename?: 'Query';
|
|
3334
|
-
|
|
3335
|
-
__typename?: '
|
|
3336
|
-
|
|
3121
|
+
Agent?: {
|
|
3122
|
+
__typename?: 'AgentQuery';
|
|
3123
|
+
listAgentPrompt: {
|
|
3337
3124
|
__typename?: 'PaginatedResult';
|
|
3338
3125
|
totalCount: number;
|
|
3339
3126
|
page?: number | null;
|
|
3340
3127
|
pageSize?: number | null;
|
|
3341
3128
|
nodes?: Array<{
|
|
3342
|
-
__typename?: '
|
|
3129
|
+
__typename?: 'AgentMetadata';
|
|
3343
3130
|
} | {
|
|
3344
|
-
__typename?: '
|
|
3131
|
+
__typename?: 'AgentPrompt';
|
|
3345
3132
|
id: string;
|
|
3346
3133
|
namespacedname: string;
|
|
3347
3134
|
content: string;
|
|
@@ -3384,8 +3171,8 @@ export type ListGptCategoryQueryVariables = Exact<{
|
|
|
3384
3171
|
}>;
|
|
3385
3172
|
export type ListGptCategoryQuery = {
|
|
3386
3173
|
__typename?: 'Query';
|
|
3387
|
-
|
|
3388
|
-
__typename?: '
|
|
3174
|
+
Agent?: {
|
|
3175
|
+
__typename?: 'AgentQuery';
|
|
3389
3176
|
listGPTCategory: Array<{
|
|
3390
3177
|
__typename?: 'GPTCategory';
|
|
3391
3178
|
id: string;
|
|
@@ -3399,8 +3186,8 @@ export type GetGptStoreQueryVariables = Exact<{
|
|
|
3399
3186
|
}>;
|
|
3400
3187
|
export type GetGptStoreQuery = {
|
|
3401
3188
|
__typename?: 'Query';
|
|
3402
|
-
|
|
3403
|
-
__typename?: '
|
|
3189
|
+
Agent?: {
|
|
3190
|
+
__typename?: 'AgentQuery';
|
|
3404
3191
|
getGPTStore: {
|
|
3405
3192
|
__typename?: 'GPTStore';
|
|
3406
3193
|
url: string;
|
|
@@ -3686,9 +3473,9 @@ export type ListDatasetsQuery = {
|
|
|
3686
3473
|
totalCount: number;
|
|
3687
3474
|
hasNextPage: boolean;
|
|
3688
3475
|
nodes?: Array<{
|
|
3689
|
-
__typename?: '
|
|
3476
|
+
__typename?: 'AgentMetadata';
|
|
3690
3477
|
} | {
|
|
3691
|
-
__typename?: '
|
|
3478
|
+
__typename?: 'AgentPrompt';
|
|
3692
3479
|
} | {
|
|
3693
3480
|
__typename?: 'Dataset';
|
|
3694
3481
|
name: string;
|
|
@@ -3704,9 +3491,9 @@ export type ListDatasetsQuery = {
|
|
|
3704
3491
|
totalCount: number;
|
|
3705
3492
|
hasNextPage: boolean;
|
|
3706
3493
|
nodes?: Array<{
|
|
3707
|
-
__typename?: '
|
|
3494
|
+
__typename?: 'AgentMetadata';
|
|
3708
3495
|
} | {
|
|
3709
|
-
__typename?: '
|
|
3496
|
+
__typename?: 'AgentPrompt';
|
|
3710
3497
|
} | {
|
|
3711
3498
|
__typename?: 'Dataset';
|
|
3712
3499
|
} | {
|
|
@@ -3805,9 +3592,9 @@ export type GetDatasetQuery = {
|
|
|
3805
3592
|
totalCount: number;
|
|
3806
3593
|
hasNextPage: boolean;
|
|
3807
3594
|
nodes?: Array<{
|
|
3808
|
-
__typename?: '
|
|
3595
|
+
__typename?: 'AgentMetadata';
|
|
3809
3596
|
} | {
|
|
3810
|
-
__typename?: '
|
|
3597
|
+
__typename?: 'AgentPrompt';
|
|
3811
3598
|
} | {
|
|
3812
3599
|
__typename?: 'Dataset';
|
|
3813
3600
|
} | {
|
|
@@ -4008,9 +3795,9 @@ export type ListDatasourcesQuery = {
|
|
|
4008
3795
|
totalCount: number;
|
|
4009
3796
|
hasNextPage: boolean;
|
|
4010
3797
|
nodes?: Array<{
|
|
4011
|
-
__typename: '
|
|
3798
|
+
__typename: 'AgentMetadata';
|
|
4012
3799
|
} | {
|
|
4013
|
-
__typename: '
|
|
3800
|
+
__typename: 'AgentPrompt';
|
|
4014
3801
|
} | {
|
|
4015
3802
|
__typename: 'Dataset';
|
|
4016
3803
|
} | {
|
|
@@ -4212,9 +3999,9 @@ export type ListEmbeddersQuery = {
|
|
|
4212
3999
|
totalCount: number;
|
|
4213
4000
|
hasNextPage: boolean;
|
|
4214
4001
|
nodes?: Array<{
|
|
4215
|
-
__typename?: '
|
|
4002
|
+
__typename?: 'AgentMetadata';
|
|
4216
4003
|
} | {
|
|
4217
|
-
__typename?: '
|
|
4004
|
+
__typename?: 'AgentPrompt';
|
|
4218
4005
|
} | {
|
|
4219
4006
|
__typename?: 'Dataset';
|
|
4220
4007
|
} | {
|
|
@@ -4296,9 +4083,9 @@ export type ListKnowledgeBasesQuery = {
|
|
|
4296
4083
|
totalCount: number;
|
|
4297
4084
|
hasNextPage: boolean;
|
|
4298
4085
|
nodes?: Array<{
|
|
4299
|
-
__typename?: '
|
|
4086
|
+
__typename?: 'AgentMetadata';
|
|
4300
4087
|
} | {
|
|
4301
|
-
__typename?: '
|
|
4088
|
+
__typename?: 'AgentPrompt';
|
|
4302
4089
|
} | {
|
|
4303
4090
|
__typename?: 'Dataset';
|
|
4304
4091
|
} | {
|
|
@@ -4586,9 +4373,9 @@ export type ListLlMsQuery = {
|
|
|
4586
4373
|
totalCount: number;
|
|
4587
4374
|
hasNextPage: boolean;
|
|
4588
4375
|
nodes?: Array<{
|
|
4589
|
-
__typename?: '
|
|
4376
|
+
__typename?: 'AgentMetadata';
|
|
4590
4377
|
} | {
|
|
4591
|
-
__typename?: '
|
|
4378
|
+
__typename?: 'AgentPrompt';
|
|
4592
4379
|
} | {
|
|
4593
4380
|
__typename?: 'Dataset';
|
|
4594
4381
|
} | {
|
|
@@ -4673,9 +4460,9 @@ export type ListModelsQuery = {
|
|
|
4673
4460
|
totalCount: number;
|
|
4674
4461
|
hasNextPage: boolean;
|
|
4675
4462
|
nodes?: Array<{
|
|
4676
|
-
__typename: '
|
|
4463
|
+
__typename: 'AgentMetadata';
|
|
4677
4464
|
} | {
|
|
4678
|
-
__typename: '
|
|
4465
|
+
__typename: 'AgentPrompt';
|
|
4679
4466
|
} | {
|
|
4680
4467
|
__typename: 'Dataset';
|
|
4681
4468
|
} | {
|
|
@@ -4713,9 +4500,9 @@ export type ListModelsQuery = {
|
|
|
4713
4500
|
totalCount: number;
|
|
4714
4501
|
hasNextPage: boolean;
|
|
4715
4502
|
nodes?: Array<{
|
|
4716
|
-
__typename?: '
|
|
4503
|
+
__typename?: 'AgentMetadata';
|
|
4717
4504
|
} | {
|
|
4718
|
-
__typename?: '
|
|
4505
|
+
__typename?: 'AgentPrompt';
|
|
4719
4506
|
} | {
|
|
4720
4507
|
__typename?: 'Dataset';
|
|
4721
4508
|
} | {
|
|
@@ -4804,9 +4591,9 @@ export type GetModelQuery = {
|
|
|
4804
4591
|
totalCount: number;
|
|
4805
4592
|
hasNextPage: boolean;
|
|
4806
4593
|
nodes?: Array<{
|
|
4807
|
-
__typename?: '
|
|
4594
|
+
__typename?: 'AgentMetadata';
|
|
4808
4595
|
} | {
|
|
4809
|
-
__typename?: '
|
|
4596
|
+
__typename?: 'AgentPrompt';
|
|
4810
4597
|
} | {
|
|
4811
4598
|
__typename?: 'Dataset';
|
|
4812
4599
|
} | {
|
|
@@ -5029,9 +4816,9 @@ export type ListModelServicesQuery = {
|
|
|
5029
4816
|
totalCount: number;
|
|
5030
4817
|
hasNextPage: boolean;
|
|
5031
4818
|
nodes?: Array<{
|
|
5032
|
-
__typename: '
|
|
4819
|
+
__typename: 'AgentMetadata';
|
|
5033
4820
|
} | {
|
|
5034
|
-
__typename: '
|
|
4821
|
+
__typename: 'AgentPrompt';
|
|
5035
4822
|
} | {
|
|
5036
4823
|
__typename: 'Dataset';
|
|
5037
4824
|
} | {
|
|
@@ -5110,9 +4897,9 @@ export type ListNodesQuery = {
|
|
|
5110
4897
|
totalCount: number;
|
|
5111
4898
|
hasNextPage: boolean;
|
|
5112
4899
|
nodes?: Array<{
|
|
5113
|
-
__typename: '
|
|
4900
|
+
__typename: 'AgentMetadata';
|
|
5114
4901
|
} | {
|
|
5115
|
-
__typename: '
|
|
4902
|
+
__typename: 'AgentPrompt';
|
|
5116
4903
|
} | {
|
|
5117
4904
|
__typename: 'Dataset';
|
|
5118
4905
|
} | {
|
|
@@ -5159,9 +4946,9 @@ export type ListPluginsQuery = {
|
|
|
5159
4946
|
totalCount: number;
|
|
5160
4947
|
hasNextPage: boolean;
|
|
5161
4948
|
nodes?: Array<{
|
|
5162
|
-
__typename: '
|
|
4949
|
+
__typename: 'AgentMetadata';
|
|
5163
4950
|
} | {
|
|
5164
|
-
__typename: '
|
|
4951
|
+
__typename: 'AgentPrompt';
|
|
5165
4952
|
} | {
|
|
5166
4953
|
__typename: 'Dataset';
|
|
5167
4954
|
} | {
|
|
@@ -5360,9 +5147,9 @@ export type ListRagQuery = {
|
|
|
5360
5147
|
totalCount: number;
|
|
5361
5148
|
hasNextPage: boolean;
|
|
5362
5149
|
nodes?: Array<{
|
|
5363
|
-
__typename?: '
|
|
5150
|
+
__typename?: 'AgentMetadata';
|
|
5364
5151
|
} | {
|
|
5365
|
-
__typename?: '
|
|
5152
|
+
__typename?: 'AgentPrompt';
|
|
5366
5153
|
} | {
|
|
5367
5154
|
__typename?: 'Dataset';
|
|
5368
5155
|
} | {
|
|
@@ -5529,7 +5316,7 @@ export type GetRagQuery = {
|
|
|
5529
5316
|
} | null;
|
|
5530
5317
|
};
|
|
5531
5318
|
application: {
|
|
5532
|
-
__typename?: '
|
|
5319
|
+
__typename?: 'Agent';
|
|
5533
5320
|
prologue?: string | null;
|
|
5534
5321
|
model?: string | null;
|
|
5535
5322
|
llm: string;
|
|
@@ -5537,16 +5324,14 @@ export type GetRagQuery = {
|
|
|
5537
5324
|
maxLength?: number | null;
|
|
5538
5325
|
maxTokens?: number | null;
|
|
5539
5326
|
conversionWindowSize?: number | null;
|
|
5540
|
-
knowledgebase?: string | null;
|
|
5541
5327
|
scoreThreshold?: number | null;
|
|
5542
5328
|
numDocuments?: number | null;
|
|
5543
5329
|
docNullReturn?: string | null;
|
|
5544
5330
|
userPrompt?: string | null;
|
|
5545
|
-
showRespInfo?: boolean | null;
|
|
5546
5331
|
showRetrievalInfo?: boolean | null;
|
|
5547
5332
|
showNextGuide?: boolean | null;
|
|
5548
5333
|
metadata?: {
|
|
5549
|
-
__typename?: '
|
|
5334
|
+
__typename?: 'AgentMetadata';
|
|
5550
5335
|
name: string;
|
|
5551
5336
|
namespace: string;
|
|
5552
5337
|
id?: string | null;
|
|
@@ -5561,6 +5346,11 @@ export type GetRagQuery = {
|
|
|
5561
5346
|
isPublic?: boolean | null;
|
|
5562
5347
|
status?: string | null;
|
|
5563
5348
|
} | null;
|
|
5349
|
+
knowledgebases?: Array<{
|
|
5350
|
+
__typename?: 'TypedObjectReference';
|
|
5351
|
+
name: string;
|
|
5352
|
+
namespace?: string | null;
|
|
5353
|
+
}> | null;
|
|
5564
5354
|
};
|
|
5565
5355
|
datasets: Array<{
|
|
5566
5356
|
__typename?: 'RAGDataset';
|
|
@@ -5753,9 +5543,9 @@ export type ListRayClustersQuery = {
|
|
|
5753
5543
|
totalCount: number;
|
|
5754
5544
|
hasNextPage: boolean;
|
|
5755
5545
|
nodes?: Array<{
|
|
5756
|
-
__typename: '
|
|
5546
|
+
__typename: 'AgentMetadata';
|
|
5757
5547
|
} | {
|
|
5758
|
-
__typename: '
|
|
5548
|
+
__typename: 'AgentPrompt';
|
|
5759
5549
|
} | {
|
|
5760
5550
|
__typename: 'Dataset';
|
|
5761
5551
|
} | {
|
|
@@ -5869,9 +5659,9 @@ export type GetVersionedDatasetQuery = {
|
|
|
5869
5659
|
totalCount: number;
|
|
5870
5660
|
hasNextPage: boolean;
|
|
5871
5661
|
nodes?: Array<{
|
|
5872
|
-
__typename?: '
|
|
5662
|
+
__typename?: 'AgentMetadata';
|
|
5873
5663
|
} | {
|
|
5874
|
-
__typename?: '
|
|
5664
|
+
__typename?: 'AgentPrompt';
|
|
5875
5665
|
} | {
|
|
5876
5666
|
__typename?: 'Dataset';
|
|
5877
5667
|
} | {
|
|
@@ -5926,9 +5716,9 @@ export type ListVersionedDatasetsQuery = {
|
|
|
5926
5716
|
totalCount: number;
|
|
5927
5717
|
hasNextPage: boolean;
|
|
5928
5718
|
nodes?: Array<{
|
|
5929
|
-
__typename?: '
|
|
5719
|
+
__typename?: 'AgentMetadata';
|
|
5930
5720
|
} | {
|
|
5931
|
-
__typename?: '
|
|
5721
|
+
__typename?: 'AgentPrompt';
|
|
5932
5722
|
} | {
|
|
5933
5723
|
__typename?: 'Dataset';
|
|
5934
5724
|
} | {
|
|
@@ -5974,9 +5764,9 @@ export type ListVersionedDatasetsQuery = {
|
|
|
5974
5764
|
totalCount: number;
|
|
5975
5765
|
hasNextPage: boolean;
|
|
5976
5766
|
nodes?: Array<{
|
|
5977
|
-
__typename?: '
|
|
5767
|
+
__typename?: 'AgentMetadata';
|
|
5978
5768
|
} | {
|
|
5979
|
-
__typename?: '
|
|
5769
|
+
__typename?: 'AgentPrompt';
|
|
5980
5770
|
} | {
|
|
5981
5771
|
__typename?: 'Dataset';
|
|
5982
5772
|
} | {
|
|
@@ -6033,9 +5823,9 @@ export type ListWorkersQuery = {
|
|
|
6033
5823
|
totalCount: number;
|
|
6034
5824
|
hasNextPage: boolean;
|
|
6035
5825
|
nodes?: Array<{
|
|
6036
|
-
__typename: '
|
|
5826
|
+
__typename: 'AgentMetadata';
|
|
6037
5827
|
} | {
|
|
6038
|
-
__typename: '
|
|
5828
|
+
__typename: 'AgentPrompt';
|
|
6039
5829
|
} | {
|
|
6040
5830
|
__typename: 'Dataset';
|
|
6041
5831
|
} | {
|
|
@@ -6279,21 +6069,19 @@ export type DeleteWorkersMutation = {
|
|
|
6279
6069
|
deleteWorkers?: any | null;
|
|
6280
6070
|
} | null;
|
|
6281
6071
|
};
|
|
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 ListApplicationsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6296
|
-
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;
|
|
6297
6085
|
export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6298
6086
|
export declare const GetGptStoreDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6299
6087
|
export declare const AllDataProcessListByPageDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
@@ -6365,21 +6153,19 @@ export declare const UpdateWorkerDocument: import("../node_modules/.pnpm/graphql
|
|
|
6365
6153
|
export declare const DeleteWorkersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
|
|
6366
6154
|
export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
|
|
6367
6155
|
export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
6368
|
-
|
|
6369
|
-
|
|
6370
|
-
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
listApplications(variables: ListApplicationsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationsQuery>;
|
|
6382
|
-
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>;
|
|
6383
6169
|
listGPTCategory(variables?: ListGptCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGptCategoryQuery>;
|
|
6384
6170
|
getGPTStore(variables?: GetGptStoreQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptStoreQuery>;
|
|
6385
6171
|
allDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<AllDataProcessListByPageQuery>;
|
|
@@ -6452,9 +6238,9 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
|
|
|
6452
6238
|
};
|
|
6453
6239
|
export type Sdk = ReturnType<typeof getSdk>;
|
|
6454
6240
|
export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
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>;
|
|
6458
6244
|
useListGptCategory(variables?: ListGptCategoryQueryVariables, config?: SWRConfigInterface<ListGptCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGptCategoryQuery, ClientError>;
|
|
6459
6245
|
useGetGptStore(variables?: GetGptStoreQueryVariables, config?: SWRConfigInterface<GetGptStoreQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptStoreQuery, ClientError>;
|
|
6460
6246
|
useAllDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, config?: SWRConfigInterface<AllDataProcessListByPageQuery, ClientError>): import("./useSWR").SWRResponsePro<AllDataProcessListByPageQuery, ClientError>;
|
|
@@ -6492,58 +6278,52 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
6492
6278
|
useListVersionedDatasets(variables: ListVersionedDatasetsQueryVariables, config?: SWRConfigInterface<ListVersionedDatasetsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListVersionedDatasetsQuery, ClientError>;
|
|
6493
6279
|
useListWorkers(variables: ListWorkersQueryVariables, config?: SWRConfigInterface<ListWorkersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListWorkersQuery, ClientError>;
|
|
6494
6280
|
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
|
-
|
|
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<{
|
|
6502
6288
|
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<{
|
|
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<{
|
|
6508
6291
|
name: string;
|
|
6509
6292
|
namespace: string;
|
|
6510
6293
|
isPublic: boolean;
|
|
6511
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6512
|
-
|
|
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<{
|
|
6513
6296
|
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<{
|
|
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<{
|
|
6532
6312
|
namespacedname: string;
|
|
6533
6313
|
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
|
-
|
|
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<{
|
|
6536
6316
|
name: string;
|
|
6537
6317
|
namespace: string;
|
|
6538
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6539
|
-
|
|
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<{
|
|
6540
6320
|
input: ListCommonInput;
|
|
6541
|
-
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<
|
|
6542
|
-
|
|
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<{
|
|
6543
6323
|
namespacedname: string;
|
|
6544
6324
|
page?: InputMaybe<number> | undefined;
|
|
6545
6325
|
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<
|
|
6326
|
+
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentPromptQuery>;
|
|
6547
6327
|
listGPTCategory(variables?: Exact<{
|
|
6548
6328
|
[key: string]: never;
|
|
6549
6329
|
}> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListGptCategoryQuery>;
|