@yuntijs/arcadia-bff-sdk 1.2.21 → 1.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/sdk.d.ts CHANGED
@@ -109,13 +109,8 @@ export type Application = {
109
109
  enableRerank?: Maybe<Scalars['Boolean']['output']>;
110
110
  /** enableUploadFile 是否开启对话上传文档功能 */
111
111
  enableUploadFile?: Maybe<Scalars['Boolean']['output']>;
112
- /**
113
- * knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库
114
- * @deprecated Use knowledgebases
115
- */
112
+ /** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
116
113
  knowledgebase?: Maybe<Scalars['String']['output']>;
117
- /** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,支持选择零个或一个或多个 */
118
- knowledgebases?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
119
114
  /** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
120
115
  llm: Scalars['String']['output'];
121
116
  /** maxLength 最大响应长度 */
@@ -208,26 +203,60 @@ export type ApplicationMetadata = {
208
203
  export type ApplicationMutation = {
209
204
  __typename?: 'ApplicationMutation';
210
205
  createApplication: ApplicationMetadata;
206
+ createOrUpdateApplicationPrompt?: Maybe<Scalars['Void']['output']>;
211
207
  deleteApplication?: Maybe<Scalars['Void']['output']>;
208
+ deleteApplicationPrompt?: Maybe<Scalars['Void']['output']>;
209
+ releaseApplication: ApplicationMetadata;
212
210
  updateApplication: ApplicationMetadata;
213
211
  updateApplicationConfig: Application;
214
212
  };
215
213
  export type ApplicationMutationCreateApplicationArgs = {
216
214
  input: CreateApplicationMetadataInput;
217
215
  };
216
+ export type ApplicationMutationCreateOrUpdateApplicationPromptArgs = {
217
+ input?: InputMaybe<Array<ApplicationPromptInput>>;
218
+ namespacedname: Scalars['String']['input'];
219
+ };
218
220
  export type ApplicationMutationDeleteApplicationArgs = {
219
221
  input: DeleteCommonInput;
220
222
  };
223
+ export type ApplicationMutationDeleteApplicationPromptArgs = {
224
+ ids?: InputMaybe<Array<Scalars['String']['input']>>;
225
+ namespacedname: Scalars['String']['input'];
226
+ };
227
+ export type ApplicationMutationReleaseApplicationArgs = {
228
+ isPublic: Scalars['Boolean']['input'];
229
+ name: Scalars['String']['input'];
230
+ namespace: Scalars['String']['input'];
231
+ };
221
232
  export type ApplicationMutationUpdateApplicationArgs = {
222
233
  input: UpdateApplicationMetadataInput;
223
234
  };
224
235
  export type ApplicationMutationUpdateApplicationConfigArgs = {
225
236
  input: UpdateApplicationConfigInput;
226
237
  };
238
+ export type ApplicationPrompt = {
239
+ __typename?: 'ApplicationPrompt';
240
+ content: Scalars['String']['output'];
241
+ createdAt: Scalars['Time']['output'];
242
+ id: Scalars['String']['output'];
243
+ namespacedname: Scalars['String']['output'];
244
+ updatedAt: Scalars['Time']['output'];
245
+ };
246
+ export type ApplicationPromptInput = {
247
+ /** prompt的内容,更新或者创建的时候必须填写 */
248
+ content: Scalars['String']['input'];
249
+ /** 记录的ID,创建的时候可以不用填写,更新必须填写 */
250
+ id?: InputMaybe<Scalars['String']['input']>;
251
+ };
227
252
  export type ApplicationQuery = {
228
253
  __typename?: 'ApplicationQuery';
229
254
  getApplication: Application;
255
+ getGPTStore: GptStore;
230
256
  listApplicationMetadata: PaginatedResult;
257
+ listApplicationPrompt: PaginatedResult;
258
+ /** migrated from GPT */
259
+ listGPTCategory: Array<Maybe<GptCategory>>;
231
260
  };
232
261
  export type ApplicationQueryGetApplicationArgs = {
233
262
  name: Scalars['String']['input'];
@@ -236,6 +265,11 @@ export type ApplicationQueryGetApplicationArgs = {
236
265
  export type ApplicationQueryListApplicationMetadataArgs = {
237
266
  input: ListCommonInput;
238
267
  };
268
+ export type ApplicationQueryListApplicationPromptArgs = {
269
+ namespacedname: Scalars['String']['input'];
270
+ page?: InputMaybe<Scalars['Int']['input']>;
271
+ size?: InputMaybe<Scalars['Int']['input']>;
272
+ };
239
273
  export type CheckDataProcessTaskNameInput = {
240
274
  name: Scalars['String']['input'];
241
275
  namespace: Scalars['String']['input'];
@@ -537,6 +571,8 @@ export type CreateWorkerInput = {
537
571
  * 规则: 必填
538
572
  */
539
573
  resources: ResourcesInput;
574
+ /** PVC 配置信息 */
575
+ storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
540
576
  /**
541
577
  * Worker类型
542
578
  * 支持两种类型:
@@ -1091,50 +1127,6 @@ export type FileWithVersionInput = {
1091
1127
  path: Scalars['String']['input'];
1092
1128
  version?: InputMaybe<Scalars['String']['input']>;
1093
1129
  };
1094
- /**
1095
- * GPT
1096
- * GPT应用需要的信息
1097
- */
1098
- export type Gpt = {
1099
- __typename?: 'GPT';
1100
- /** category:gpt所属分类 */
1101
- category?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1102
- /** creator: 创造者 */
1103
- creator?: Maybe<Scalars['String']['output']>;
1104
- /** description: 描述信息 */
1105
- description?: Maybe<Scalars['String']['output']>;
1106
- /** displayName: 展示名称 */
1107
- displayName?: Maybe<Scalars['String']['output']>;
1108
- /** enableUploadFile 是否开启对话上传文档功能 */
1109
- enableUploadFile?: Maybe<Scalars['Boolean']['output']>;
1110
- /** hot: 热度 */
1111
- hot?: Maybe<Scalars['Int64']['output']>;
1112
- /** icon: base64的图标 */
1113
- icon?: Maybe<Scalars['String']['output']>;
1114
- /** isRecommended, 是否推荐 */
1115
- isRecommended?: Maybe<Scalars['Boolean']['output']>;
1116
- /** name: 集群内唯一名称,实际是app的 namespace/name */
1117
- name?: Maybe<Scalars['String']['output']>;
1118
- /**
1119
- * notReadyReasonCode: 用于指明当前gpt状态不正常的原因。状态码要和应用中同字段保持一致。
1120
- * 可选值:
1121
- * - 空:就绪,gpt 可以使用
1122
- * - VectorStoreIsNotReady: 向量数据库没有就绪
1123
- * - EmbedderIsNotReady: embedder服务没有就绪
1124
- * - KnowledgeBaseNotReady: 知识库未就绪,指向量数据库和embedder出错之外的其他情况
1125
- * - LLMNotReady: 模型服务没有就绪
1126
- * - ConfigError: 应用配置错误,比如写了多个Output节点,比如节点名称重复等其他错误
1127
- */
1128
- notReadyReasonCode?: Maybe<Scalars['String']['output']>;
1129
- /** 对话开场白 */
1130
- prologue?: Maybe<Scalars['String']['output']>;
1131
- /** showNextGuide 下一步引导,即是否在chat界面显示下一步引导 */
1132
- showNextGuide?: Maybe<Scalars['Boolean']['output']>;
1133
- /** showRespInfo 查看关联信息配置,即是否在chat界面显示关联信息 */
1134
- showRespInfo?: Maybe<Scalars['Boolean']['output']>;
1135
- /** showRetrievalInfo 查看引用配置,即是否在chat界面显示引用信息 */
1136
- showRetrievalInfo?: Maybe<Scalars['Boolean']['output']>;
1137
- };
1138
1130
  /** GPTCategory in gpt store */
1139
1131
  export type GptCategory = {
1140
1132
  __typename?: 'GPTCategory';
@@ -1142,20 +1134,6 @@ export type GptCategory = {
1142
1134
  name: Scalars['String']['output'];
1143
1135
  nameEn: Scalars['String']['output'];
1144
1136
  };
1145
- export type GptQuery = {
1146
- __typename?: 'GPTQuery';
1147
- getGPT: Gpt;
1148
- /** get the gpt store info */
1149
- getGPTStore: GptStore;
1150
- listGPT: PaginatedResult;
1151
- listGPTCategory: Array<Maybe<GptCategory>>;
1152
- };
1153
- export type GptQueryGetGptArgs = {
1154
- name: Scalars['String']['input'];
1155
- };
1156
- export type GptQueryListGptArgs = {
1157
- input: ListGptInput;
1158
- };
1159
1137
  export type GptStore = {
1160
1138
  __typename?: 'GPTStore';
1161
1139
  public_namespace: Scalars['String']['output'];
@@ -1364,25 +1342,6 @@ export type ListDatasetInput = {
1364
1342
  */
1365
1343
  pageSize?: InputMaybe<Scalars['Int']['input']>;
1366
1344
  };
1367
- export type ListGptInput = {
1368
- /**
1369
- * category: gpt所属分类
1370
- * 规则:分类和关键词同时使用时是and的关系;不填时会默认返回推荐分类的结果
1371
- */
1372
- category?: InputMaybe<Scalars['String']['input']>;
1373
- /** 关键词: 模糊匹配 */
1374
- keyword?: InputMaybe<Scalars['String']['input']>;
1375
- /**
1376
- * 分页页码,
1377
- * 规则: 从1开始,默认是1
1378
- */
1379
- page?: InputMaybe<Scalars['Int']['input']>;
1380
- /**
1381
- * 每页数量,
1382
- * 规则: 默认10,值为-1返回全部
1383
- */
1384
- pageSize?: InputMaybe<Scalars['Int']['input']>;
1385
- };
1386
1345
  /** 知识库分页列表查询的输入 */
1387
1346
  export type ListKnowledgeBaseInput = {
1388
1347
  displayName?: InputMaybe<Scalars['String']['input']>;
@@ -1767,7 +1726,7 @@ export type OssInput = {
1767
1726
  bucket: Scalars['String']['input'];
1768
1727
  object?: InputMaybe<Scalars['String']['input']>;
1769
1728
  };
1770
- export type PageNode = ApplicationMetadata | Dataset | Datasource | Embedder | F | Gpt | KnowledgeBase | Llm | Model | ModelService | Node | Rag | RayCluster | VersionedDataset | Worker;
1729
+ export type PageNode = ApplicationMetadata | ApplicationPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Rag | RayCluster | VersionedDataset | Worker;
1771
1730
  export type PaginatedDataProcessItem = {
1772
1731
  __typename?: 'PaginatedDataProcessItem';
1773
1732
  data?: Maybe<Array<DataProcessItem>>;
@@ -1827,7 +1786,6 @@ export type Query = {
1827
1786
  Dataset?: Maybe<DatasetQuery>;
1828
1787
  Datasource?: Maybe<DatasourceQuery>;
1829
1788
  Embedder?: Maybe<EmbedderQuery>;
1830
- GPT?: Maybe<GptQuery>;
1831
1789
  KnowledgeBase?: Maybe<KnowledgeBaseQuery>;
1832
1790
  LLM?: Maybe<LlmQuery>;
1833
1791
  Model?: Maybe<ModelQuery>;
@@ -2132,8 +2090,6 @@ export type UpdateApplicationConfigInput = {
2132
2090
  enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
2133
2091
  /** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
2134
2092
  knowledgebase?: InputMaybe<Scalars['String']['input']>;
2135
- /** knowledgebases 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,支持选择零个或一个或多个 */
2136
- knowledgebases?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2137
2093
  /** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
2138
2094
  llm: Scalars['String']['input'];
2139
2095
  /** maxLength 最大响应长度 */
@@ -2612,6 +2568,8 @@ export type Worker = {
2612
2568
  * - Error: 异常
2613
2569
  */
2614
2570
  status?: Maybe<Scalars['String']['output']>;
2571
+ /** PVC 配置信息 */
2572
+ storage?: Maybe<PersistentVolumeClaimSpec>;
2615
2573
  /**
2616
2574
  * Worker类型
2617
2575
  * 支持两种类型:
@@ -2799,7 +2757,6 @@ export type UpdateApplicationConfigMutation = {
2799
2757
  maxTokens?: number | null;
2800
2758
  conversionWindowSize?: number | null;
2801
2759
  knowledgebase?: string | null;
2802
- knowledgebases?: Array<string | null> | null;
2803
2760
  scoreThreshold?: number | null;
2804
2761
  numDocuments?: number | null;
2805
2762
  docNullReturn?: string | null;
@@ -2843,6 +2800,58 @@ export type UpdateApplicationConfigMutation = {
2843
2800
  };
2844
2801
  } | null;
2845
2802
  };
2803
+ export type ReleaseApplicationMutationVariables = Exact<{
2804
+ name: Scalars['String']['input'];
2805
+ namespace: Scalars['String']['input'];
2806
+ isPublic: Scalars['Boolean']['input'];
2807
+ }>;
2808
+ export type ReleaseApplicationMutation = {
2809
+ __typename?: 'Mutation';
2810
+ Application?: {
2811
+ __typename?: 'ApplicationMutation';
2812
+ releaseApplication: {
2813
+ __typename?: 'ApplicationMetadata';
2814
+ name: string;
2815
+ namespace: string;
2816
+ id?: string | null;
2817
+ labels?: any | null;
2818
+ annotations?: any | null;
2819
+ displayName?: string | null;
2820
+ description?: string | null;
2821
+ icon?: string | null;
2822
+ creator?: string | null;
2823
+ creationTimestamp?: any | null;
2824
+ updateTimestamp?: any | null;
2825
+ isPublic?: boolean | null;
2826
+ isRecommended?: boolean | null;
2827
+ status?: string | null;
2828
+ category?: Array<string | null> | null;
2829
+ notReadyReasonCode?: string | null;
2830
+ };
2831
+ } | null;
2832
+ };
2833
+ export type CreateOrUpdateApplicationPromptMutationVariables = Exact<{
2834
+ namespacedname: Scalars['String']['input'];
2835
+ input?: InputMaybe<Array<ApplicationPromptInput> | ApplicationPromptInput>;
2836
+ }>;
2837
+ export type CreateOrUpdateApplicationPromptMutation = {
2838
+ __typename?: 'Mutation';
2839
+ Application?: {
2840
+ __typename?: 'ApplicationMutation';
2841
+ createOrUpdateApplicationPrompt?: any | null;
2842
+ } | null;
2843
+ };
2844
+ export type DeleteApplicationPromptMutationVariables = Exact<{
2845
+ namespacedname: Scalars['String']['input'];
2846
+ ids?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
2847
+ }>;
2848
+ export type DeleteApplicationPromptMutation = {
2849
+ __typename?: 'Mutation';
2850
+ Application?: {
2851
+ __typename?: 'ApplicationMutation';
2852
+ deleteApplicationPrompt?: any | null;
2853
+ } | null;
2854
+ };
2846
2855
  export type GetApplicationQueryVariables = Exact<{
2847
2856
  name: Scalars['String']['input'];
2848
2857
  namespace: Scalars['String']['input'];
@@ -2861,7 +2870,6 @@ export type GetApplicationQuery = {
2861
2870
  maxTokens?: number | null;
2862
2871
  conversionWindowSize?: number | null;
2863
2872
  knowledgebase?: string | null;
2864
- knowledgebases?: Array<string | null> | null;
2865
2873
  scoreThreshold?: number | null;
2866
2874
  numDocuments?: number | null;
2867
2875
  docNullReturn?: string | null;
@@ -2936,6 +2944,8 @@ export type ListApplicationsQuery = {
2936
2944
  status?: string | null;
2937
2945
  category?: Array<string | null> | null;
2938
2946
  notReadyReasonCode?: string | null;
2947
+ } | {
2948
+ __typename?: 'ApplicationPrompt';
2939
2949
  } | {
2940
2950
  __typename?: 'Dataset';
2941
2951
  } | {
@@ -2945,7 +2955,58 @@ export type ListApplicationsQuery = {
2945
2955
  } | {
2946
2956
  __typename?: 'F';
2947
2957
  } | {
2948
- __typename?: 'GPT';
2958
+ __typename?: 'KnowledgeBase';
2959
+ } | {
2960
+ __typename?: 'LLM';
2961
+ } | {
2962
+ __typename?: 'Model';
2963
+ } | {
2964
+ __typename?: 'ModelService';
2965
+ } | {
2966
+ __typename?: 'Node';
2967
+ } | {
2968
+ __typename?: 'RAG';
2969
+ } | {
2970
+ __typename?: 'RayCluster';
2971
+ } | {
2972
+ __typename?: 'VersionedDataset';
2973
+ } | {
2974
+ __typename?: 'Worker';
2975
+ }> | null;
2976
+ };
2977
+ } | null;
2978
+ };
2979
+ export type ListApplicationPromptQueryVariables = Exact<{
2980
+ namespacedname: Scalars['String']['input'];
2981
+ page?: InputMaybe<Scalars['Int']['input']>;
2982
+ size?: InputMaybe<Scalars['Int']['input']>;
2983
+ }>;
2984
+ export type ListApplicationPromptQuery = {
2985
+ __typename?: 'Query';
2986
+ Application?: {
2987
+ __typename?: 'ApplicationQuery';
2988
+ listApplicationPrompt: {
2989
+ __typename?: 'PaginatedResult';
2990
+ totalCount: number;
2991
+ page?: number | null;
2992
+ pageSize?: number | null;
2993
+ nodes?: Array<{
2994
+ __typename?: 'ApplicationMetadata';
2995
+ } | {
2996
+ __typename?: 'ApplicationPrompt';
2997
+ id: string;
2998
+ namespacedname: string;
2999
+ content: string;
3000
+ createdAt: any;
3001
+ updatedAt: any;
3002
+ } | {
3003
+ __typename?: 'Dataset';
3004
+ } | {
3005
+ __typename?: 'Datasource';
3006
+ } | {
3007
+ __typename?: 'Embedder';
3008
+ } | {
3009
+ __typename?: 'F';
2949
3010
  } | {
2950
3011
  __typename?: 'KnowledgeBase';
2951
3012
  } | {
@@ -2968,6 +3029,35 @@ export type ListApplicationsQuery = {
2968
3029
  };
2969
3030
  } | null;
2970
3031
  };
3032
+ export type ListGptCategoryQueryVariables = Exact<{
3033
+ [key: string]: never;
3034
+ }>;
3035
+ export type ListGptCategoryQuery = {
3036
+ __typename?: 'Query';
3037
+ Application?: {
3038
+ __typename?: 'ApplicationQuery';
3039
+ listGPTCategory: Array<{
3040
+ __typename?: 'GPTCategory';
3041
+ id: string;
3042
+ name: string;
3043
+ nameEn: string;
3044
+ } | null>;
3045
+ } | null;
3046
+ };
3047
+ export type GetGptStoreQueryVariables = Exact<{
3048
+ [key: string]: never;
3049
+ }>;
3050
+ export type GetGptStoreQuery = {
3051
+ __typename?: 'Query';
3052
+ Application?: {
3053
+ __typename?: 'ApplicationQuery';
3054
+ getGPTStore: {
3055
+ __typename?: 'GPTStore';
3056
+ url: string;
3057
+ public_namespace: string;
3058
+ };
3059
+ } | null;
3060
+ };
2971
3061
  export type AllDataProcessListByPageQueryVariables = Exact<{
2972
3062
  input: AllDataProcessListByPageInput;
2973
3063
  }>;
@@ -3247,6 +3337,8 @@ export type ListDatasetsQuery = {
3247
3337
  hasNextPage: boolean;
3248
3338
  nodes?: Array<{
3249
3339
  __typename?: 'ApplicationMetadata';
3340
+ } | {
3341
+ __typename?: 'ApplicationPrompt';
3250
3342
  } | {
3251
3343
  __typename?: 'Dataset';
3252
3344
  name: string;
@@ -3263,6 +3355,8 @@ export type ListDatasetsQuery = {
3263
3355
  hasNextPage: boolean;
3264
3356
  nodes?: Array<{
3265
3357
  __typename?: 'ApplicationMetadata';
3358
+ } | {
3359
+ __typename?: 'ApplicationPrompt';
3266
3360
  } | {
3267
3361
  __typename?: 'Dataset';
3268
3362
  } | {
@@ -3271,8 +3365,6 @@ export type ListDatasetsQuery = {
3271
3365
  __typename?: 'Embedder';
3272
3366
  } | {
3273
3367
  __typename?: 'F';
3274
- } | {
3275
- __typename?: 'GPT';
3276
3368
  } | {
3277
3369
  __typename?: 'KnowledgeBase';
3278
3370
  } | {
@@ -3312,8 +3404,6 @@ export type ListDatasetsQuery = {
3312
3404
  __typename?: 'Embedder';
3313
3405
  } | {
3314
3406
  __typename?: 'F';
3315
- } | {
3316
- __typename?: 'GPT';
3317
3407
  } | {
3318
3408
  __typename?: 'KnowledgeBase';
3319
3409
  } | {
@@ -3362,6 +3452,8 @@ export type GetDatasetQuery = {
3362
3452
  hasNextPage: boolean;
3363
3453
  nodes?: Array<{
3364
3454
  __typename?: 'ApplicationMetadata';
3455
+ } | {
3456
+ __typename?: 'ApplicationPrompt';
3365
3457
  } | {
3366
3458
  __typename?: 'Dataset';
3367
3459
  } | {
@@ -3370,8 +3462,6 @@ export type GetDatasetQuery = {
3370
3462
  __typename?: 'Embedder';
3371
3463
  } | {
3372
3464
  __typename?: 'F';
3373
- } | {
3374
- __typename?: 'GPT';
3375
3465
  } | {
3376
3466
  __typename?: 'KnowledgeBase';
3377
3467
  } | {
@@ -3563,6 +3653,8 @@ export type ListDatasourcesQuery = {
3563
3653
  hasNextPage: boolean;
3564
3654
  nodes?: Array<{
3565
3655
  __typename: 'ApplicationMetadata';
3656
+ } | {
3657
+ __typename: 'ApplicationPrompt';
3566
3658
  } | {
3567
3659
  __typename: 'Dataset';
3568
3660
  } | {
@@ -3605,8 +3697,6 @@ export type ListDatasourcesQuery = {
3605
3697
  __typename: 'Embedder';
3606
3698
  } | {
3607
3699
  __typename: 'F';
3608
- } | {
3609
- __typename: 'GPT';
3610
3700
  } | {
3611
3701
  __typename: 'KnowledgeBase';
3612
3702
  } | {
@@ -3765,6 +3855,8 @@ export type ListEmbeddersQuery = {
3765
3855
  hasNextPage: boolean;
3766
3856
  nodes?: Array<{
3767
3857
  __typename?: 'ApplicationMetadata';
3858
+ } | {
3859
+ __typename?: 'ApplicationPrompt';
3768
3860
  } | {
3769
3861
  __typename?: 'Dataset';
3770
3862
  } | {
@@ -3786,8 +3878,6 @@ export type ListEmbeddersQuery = {
3786
3878
  message?: string | null;
3787
3879
  } | {
3788
3880
  __typename?: 'F';
3789
- } | {
3790
- __typename?: 'GPT';
3791
3881
  } | {
3792
3882
  __typename?: 'KnowledgeBase';
3793
3883
  } | {
@@ -3834,122 +3924,6 @@ export type GetEmbedderQuery = {
3834
3924
  };
3835
3925
  } | null;
3836
3926
  };
3837
- export type GetGptQueryVariables = Exact<{
3838
- name: Scalars['String']['input'];
3839
- }>;
3840
- export type GetGptQuery = {
3841
- __typename?: 'Query';
3842
- GPT?: {
3843
- __typename?: 'GPTQuery';
3844
- getGPT: {
3845
- __typename?: 'GPT';
3846
- name?: string | null;
3847
- displayName?: string | null;
3848
- description?: string | null;
3849
- hot?: any | null;
3850
- creator?: string | null;
3851
- isRecommended?: boolean | null;
3852
- category?: Array<string | null> | null;
3853
- icon?: string | null;
3854
- prologue?: string | null;
3855
- showRespInfo?: boolean | null;
3856
- showRetrievalInfo?: boolean | null;
3857
- showNextGuide?: boolean | null;
3858
- enableUploadFile?: boolean | null;
3859
- notReadyReasonCode?: string | null;
3860
- };
3861
- } | null;
3862
- };
3863
- export type ListGpTsQueryVariables = Exact<{
3864
- input: ListGptInput;
3865
- }>;
3866
- export type ListGpTsQuery = {
3867
- __typename?: 'Query';
3868
- GPT?: {
3869
- __typename?: 'GPTQuery';
3870
- listGPT: {
3871
- __typename?: 'PaginatedResult';
3872
- page?: number | null;
3873
- pageSize?: number | null;
3874
- totalCount: number;
3875
- hasNextPage: boolean;
3876
- nodes?: Array<{
3877
- __typename?: 'ApplicationMetadata';
3878
- } | {
3879
- __typename?: 'Dataset';
3880
- } | {
3881
- __typename?: 'Datasource';
3882
- } | {
3883
- __typename?: 'Embedder';
3884
- } | {
3885
- __typename?: 'F';
3886
- } | {
3887
- __typename?: 'GPT';
3888
- name?: string | null;
3889
- displayName?: string | null;
3890
- description?: string | null;
3891
- hot?: any | null;
3892
- creator?: string | null;
3893
- isRecommended?: boolean | null;
3894
- category?: Array<string | null> | null;
3895
- icon?: string | null;
3896
- prologue?: string | null;
3897
- showRespInfo?: boolean | null;
3898
- showRetrievalInfo?: boolean | null;
3899
- showNextGuide?: boolean | null;
3900
- enableUploadFile?: boolean | null;
3901
- notReadyReasonCode?: string | null;
3902
- } | {
3903
- __typename?: 'KnowledgeBase';
3904
- } | {
3905
- __typename?: 'LLM';
3906
- } | {
3907
- __typename?: 'Model';
3908
- } | {
3909
- __typename?: 'ModelService';
3910
- } | {
3911
- __typename?: 'Node';
3912
- } | {
3913
- __typename?: 'RAG';
3914
- } | {
3915
- __typename?: 'RayCluster';
3916
- } | {
3917
- __typename?: 'VersionedDataset';
3918
- } | {
3919
- __typename?: 'Worker';
3920
- }> | null;
3921
- };
3922
- } | null;
3923
- };
3924
- export type ListGptCategoryQueryVariables = Exact<{
3925
- [key: string]: never;
3926
- }>;
3927
- export type ListGptCategoryQuery = {
3928
- __typename?: 'Query';
3929
- GPT?: {
3930
- __typename?: 'GPTQuery';
3931
- listGPTCategory: Array<{
3932
- __typename?: 'GPTCategory';
3933
- id: string;
3934
- name: string;
3935
- nameEn: string;
3936
- } | null>;
3937
- } | null;
3938
- };
3939
- export type GetGptStoreQueryVariables = Exact<{
3940
- [key: string]: never;
3941
- }>;
3942
- export type GetGptStoreQuery = {
3943
- __typename?: 'Query';
3944
- GPT?: {
3945
- __typename?: 'GPTQuery';
3946
- getGPTStore: {
3947
- __typename?: 'GPTStore';
3948
- url: string;
3949
- public_namespace: string;
3950
- };
3951
- } | null;
3952
- };
3953
3927
  export type ListKnowledgeBasesQueryVariables = Exact<{
3954
3928
  input: ListKnowledgeBaseInput;
3955
3929
  }>;
@@ -3963,6 +3937,8 @@ export type ListKnowledgeBasesQuery = {
3963
3937
  hasNextPage: boolean;
3964
3938
  nodes?: Array<{
3965
3939
  __typename?: 'ApplicationMetadata';
3940
+ } | {
3941
+ __typename?: 'ApplicationPrompt';
3966
3942
  } | {
3967
3943
  __typename?: 'Dataset';
3968
3944
  } | {
@@ -3971,8 +3947,6 @@ export type ListKnowledgeBasesQuery = {
3971
3947
  __typename?: 'Embedder';
3972
3948
  } | {
3973
3949
  __typename?: 'F';
3974
- } | {
3975
- __typename?: 'GPT';
3976
3950
  } | {
3977
3951
  __typename?: 'KnowledgeBase';
3978
3952
  id?: string | null;
@@ -4251,6 +4225,8 @@ export type ListLlMsQuery = {
4251
4225
  hasNextPage: boolean;
4252
4226
  nodes?: Array<{
4253
4227
  __typename?: 'ApplicationMetadata';
4228
+ } | {
4229
+ __typename?: 'ApplicationPrompt';
4254
4230
  } | {
4255
4231
  __typename?: 'Dataset';
4256
4232
  } | {
@@ -4259,8 +4235,6 @@ export type ListLlMsQuery = {
4259
4235
  __typename?: 'Embedder';
4260
4236
  } | {
4261
4237
  __typename?: 'F';
4262
- } | {
4263
- __typename?: 'GPT';
4264
4238
  } | {
4265
4239
  __typename?: 'KnowledgeBase';
4266
4240
  } | {
@@ -4336,6 +4310,8 @@ export type ListModelsQuery = {
4336
4310
  hasNextPage: boolean;
4337
4311
  nodes?: Array<{
4338
4312
  __typename: 'ApplicationMetadata';
4313
+ } | {
4314
+ __typename: 'ApplicationPrompt';
4339
4315
  } | {
4340
4316
  __typename: 'Dataset';
4341
4317
  } | {
@@ -4344,8 +4320,6 @@ export type ListModelsQuery = {
4344
4320
  __typename: 'Embedder';
4345
4321
  } | {
4346
4322
  __typename: 'F';
4347
- } | {
4348
- __typename: 'GPT';
4349
4323
  } | {
4350
4324
  __typename: 'KnowledgeBase';
4351
4325
  } | {
@@ -4376,6 +4350,8 @@ export type ListModelsQuery = {
4376
4350
  hasNextPage: boolean;
4377
4351
  nodes?: Array<{
4378
4352
  __typename?: 'ApplicationMetadata';
4353
+ } | {
4354
+ __typename?: 'ApplicationPrompt';
4379
4355
  } | {
4380
4356
  __typename?: 'Dataset';
4381
4357
  } | {
@@ -4390,8 +4366,6 @@ export type ListModelsQuery = {
4390
4366
  count?: string | null;
4391
4367
  size?: string | null;
4392
4368
  creationTimestamp?: any | null;
4393
- } | {
4394
- __typename?: 'GPT';
4395
4369
  } | {
4396
4370
  __typename?: 'KnowledgeBase';
4397
4371
  } | {
@@ -4463,6 +4437,8 @@ export type GetModelQuery = {
4463
4437
  hasNextPage: boolean;
4464
4438
  nodes?: Array<{
4465
4439
  __typename?: 'ApplicationMetadata';
4440
+ } | {
4441
+ __typename?: 'ApplicationPrompt';
4466
4442
  } | {
4467
4443
  __typename?: 'Dataset';
4468
4444
  } | {
@@ -4477,8 +4453,6 @@ export type GetModelQuery = {
4477
4453
  count?: string | null;
4478
4454
  size?: string | null;
4479
4455
  creationTimestamp?: any | null;
4480
- } | {
4481
- __typename?: 'GPT';
4482
4456
  } | {
4483
4457
  __typename?: 'KnowledgeBase';
4484
4458
  } | {
@@ -4686,6 +4660,8 @@ export type ListModelServicesQuery = {
4686
4660
  hasNextPage: boolean;
4687
4661
  nodes?: Array<{
4688
4662
  __typename: 'ApplicationMetadata';
4663
+ } | {
4664
+ __typename: 'ApplicationPrompt';
4689
4665
  } | {
4690
4666
  __typename: 'Dataset';
4691
4667
  } | {
@@ -4694,8 +4670,6 @@ export type ListModelServicesQuery = {
4694
4670
  __typename: 'Embedder';
4695
4671
  } | {
4696
4672
  __typename: 'F';
4697
- } | {
4698
- __typename: 'GPT';
4699
4673
  } | {
4700
4674
  __typename: 'KnowledgeBase';
4701
4675
  } | {
@@ -4765,6 +4739,8 @@ export type ListNodesQuery = {
4765
4739
  hasNextPage: boolean;
4766
4740
  nodes?: Array<{
4767
4741
  __typename: 'ApplicationMetadata';
4742
+ } | {
4743
+ __typename: 'ApplicationPrompt';
4768
4744
  } | {
4769
4745
  __typename: 'Dataset';
4770
4746
  } | {
@@ -4773,8 +4749,6 @@ export type ListNodesQuery = {
4773
4749
  __typename: 'Embedder';
4774
4750
  } | {
4775
4751
  __typename: 'F';
4776
- } | {
4777
- __typename: 'GPT';
4778
4752
  } | {
4779
4753
  __typename: 'KnowledgeBase';
4780
4754
  } | {
@@ -4812,6 +4786,8 @@ export type ListRagQuery = {
4812
4786
  hasNextPage: boolean;
4813
4787
  nodes?: Array<{
4814
4788
  __typename?: 'ApplicationMetadata';
4789
+ } | {
4790
+ __typename?: 'ApplicationPrompt';
4815
4791
  } | {
4816
4792
  __typename?: 'Dataset';
4817
4793
  } | {
@@ -4820,8 +4796,6 @@ export type ListRagQuery = {
4820
4796
  __typename?: 'Embedder';
4821
4797
  } | {
4822
4798
  __typename?: 'F';
4823
- } | {
4824
- __typename?: 'GPT';
4825
4799
  } | {
4826
4800
  __typename?: 'KnowledgeBase';
4827
4801
  } | {
@@ -5203,6 +5177,8 @@ export type ListRayClustersQuery = {
5203
5177
  hasNextPage: boolean;
5204
5178
  nodes?: Array<{
5205
5179
  __typename: 'ApplicationMetadata';
5180
+ } | {
5181
+ __typename: 'ApplicationPrompt';
5206
5182
  } | {
5207
5183
  __typename: 'Dataset';
5208
5184
  } | {
@@ -5211,8 +5187,6 @@ export type ListRayClustersQuery = {
5211
5187
  __typename: 'Embedder';
5212
5188
  } | {
5213
5189
  __typename: 'F';
5214
- } | {
5215
- __typename: 'GPT';
5216
5190
  } | {
5217
5191
  __typename: 'KnowledgeBase';
5218
5192
  } | {
@@ -5317,6 +5291,8 @@ export type GetVersionedDatasetQuery = {
5317
5291
  hasNextPage: boolean;
5318
5292
  nodes?: Array<{
5319
5293
  __typename?: 'ApplicationMetadata';
5294
+ } | {
5295
+ __typename?: 'ApplicationPrompt';
5320
5296
  } | {
5321
5297
  __typename?: 'Dataset';
5322
5298
  } | {
@@ -5333,8 +5309,6 @@ export type GetVersionedDatasetQuery = {
5333
5309
  versions?: Array<string> | null;
5334
5310
  latestVersion?: string | null;
5335
5311
  creationTimestamp?: any | null;
5336
- } | {
5337
- __typename?: 'GPT';
5338
5312
  } | {
5339
5313
  __typename?: 'KnowledgeBase';
5340
5314
  } | {
@@ -5372,6 +5346,8 @@ export type ListVersionedDatasetsQuery = {
5372
5346
  hasNextPage: boolean;
5373
5347
  nodes?: Array<{
5374
5348
  __typename?: 'ApplicationMetadata';
5349
+ } | {
5350
+ __typename?: 'ApplicationPrompt';
5375
5351
  } | {
5376
5352
  __typename?: 'Dataset';
5377
5353
  } | {
@@ -5380,8 +5356,6 @@ export type ListVersionedDatasetsQuery = {
5380
5356
  __typename?: 'Embedder';
5381
5357
  } | {
5382
5358
  __typename?: 'F';
5383
- } | {
5384
- __typename?: 'GPT';
5385
5359
  } | {
5386
5360
  __typename?: 'KnowledgeBase';
5387
5361
  } | {
@@ -5418,6 +5392,8 @@ export type ListVersionedDatasetsQuery = {
5418
5392
  hasNextPage: boolean;
5419
5393
  nodes?: Array<{
5420
5394
  __typename?: 'ApplicationMetadata';
5395
+ } | {
5396
+ __typename?: 'ApplicationPrompt';
5421
5397
  } | {
5422
5398
  __typename?: 'Dataset';
5423
5399
  } | {
@@ -5434,8 +5410,6 @@ export type ListVersionedDatasetsQuery = {
5434
5410
  versions?: Array<string> | null;
5435
5411
  latestVersion?: string | null;
5436
5412
  creationTimestamp?: any | null;
5437
- } | {
5438
- __typename?: 'GPT';
5439
5413
  } | {
5440
5414
  __typename?: 'KnowledgeBase';
5441
5415
  } | {
@@ -5475,6 +5449,8 @@ export type ListWorkersQuery = {
5475
5449
  hasNextPage: boolean;
5476
5450
  nodes?: Array<{
5477
5451
  __typename: 'ApplicationMetadata';
5452
+ } | {
5453
+ __typename: 'ApplicationPrompt';
5478
5454
  } | {
5479
5455
  __typename: 'Dataset';
5480
5456
  } | {
@@ -5483,8 +5459,6 @@ export type ListWorkersQuery = {
5483
5459
  __typename: 'Embedder';
5484
5460
  } | {
5485
5461
  __typename: 'F';
5486
- } | {
5487
- __typename: 'GPT';
5488
5462
  } | {
5489
5463
  __typename: 'KnowledgeBase';
5490
5464
  } | {
@@ -5589,6 +5563,16 @@ export type GetWorkerQuery = {
5589
5563
  operator: string;
5590
5564
  values: Array<string>;
5591
5565
  } | null> | null;
5566
+ storage?: {
5567
+ __typename?: 'PersistentVolumeClaimSpec';
5568
+ accessModes: Array<string>;
5569
+ storageClassName?: string | null;
5570
+ resources?: {
5571
+ __typename?: 'Resource';
5572
+ limits?: any | null;
5573
+ requests?: any | null;
5574
+ } | null;
5575
+ } | null;
5592
5576
  };
5593
5577
  } | null;
5594
5578
  };
@@ -5637,6 +5621,16 @@ export type CreateWorkerMutation = {
5637
5621
  operator: string;
5638
5622
  values: Array<string>;
5639
5623
  } | null> | null;
5624
+ storage?: {
5625
+ __typename?: 'PersistentVolumeClaimSpec';
5626
+ accessModes: Array<string>;
5627
+ storageClassName?: string | null;
5628
+ resources?: {
5629
+ __typename?: 'Resource';
5630
+ limits?: any | null;
5631
+ requests?: any | null;
5632
+ } | null;
5633
+ } | null;
5640
5634
  };
5641
5635
  } | null;
5642
5636
  };
@@ -5702,8 +5696,14 @@ export declare const CreateApplicationDocument: import("../node_modules/.pnpm/gr
5702
5696
  export declare const UpdateApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5703
5697
  export declare const DeleteApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5704
5698
  export declare const UpdateApplicationConfigDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5699
+ export declare const ReleaseApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5700
+ export declare const CreateOrUpdateApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5701
+ export declare const DeleteApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5705
5702
  export declare const GetApplicationDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5706
5703
  export declare const ListApplicationsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5704
+ export declare const ListApplicationPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5705
+ export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5706
+ export declare const GetGptStoreDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5707
5707
  export declare const AllDataProcessListByPageDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5708
5708
  export declare const AllDataProcessListByCountDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5709
5709
  export declare const DataProcessSupportTypeDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -5730,10 +5730,6 @@ export declare const UpdateEmbedderDocument: import("../node_modules/.pnpm/graph
5730
5730
  export declare const DeleteEmbeddersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5731
5731
  export declare const ListEmbeddersDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5732
5732
  export declare const GetEmbedderDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5733
- export declare const GetGptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5734
- export declare const ListGpTsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5735
- export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5736
- export declare const GetGptStoreDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5737
5733
  export declare const ListKnowledgeBasesDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5738
5734
  export declare const GetKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
5739
5735
  export declare const CreateKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -5775,8 +5771,14 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5775
5771
  updateApplication(variables: UpdateApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationMutation>;
5776
5772
  deleteApplication(variables: DeleteApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteApplicationMutation>;
5777
5773
  updateApplicationConfig(variables: UpdateApplicationConfigMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateApplicationConfigMutation>;
5774
+ releaseApplication(variables: ReleaseApplicationMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<ReleaseApplicationMutation>;
5775
+ createOrUpdateApplicationPrompt(variables: CreateOrUpdateApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateOrUpdateApplicationPromptMutation>;
5776
+ deleteApplicationPrompt(variables: DeleteApplicationPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteApplicationPromptMutation>;
5778
5777
  getApplication(variables: GetApplicationQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetApplicationQuery>;
5779
5778
  listApplications(variables: ListApplicationsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationsQuery>;
5779
+ listApplicationPrompt(variables: ListApplicationPromptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListApplicationPromptQuery>;
5780
+ listGPTCategory(variables?: ListGptCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGptCategoryQuery>;
5781
+ getGPTStore(variables?: GetGptStoreQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptStoreQuery>;
5780
5782
  allDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<AllDataProcessListByPageQuery>;
5781
5783
  allDataProcessListByCount(variables: AllDataProcessListByCountQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<AllDataProcessListByCountQuery>;
5782
5784
  dataProcessSupportType(variables?: DataProcessSupportTypeQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<DataProcessSupportTypeQuery>;
@@ -5803,10 +5805,6 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
5803
5805
  deleteEmbedders(variables: DeleteEmbeddersMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteEmbeddersMutation>;
5804
5806
  listEmbedders(variables: ListEmbeddersQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListEmbeddersQuery>;
5805
5807
  getEmbedder(variables: GetEmbedderQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetEmbedderQuery>;
5806
- getGPT(variables: GetGptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptQuery>;
5807
- listGPTs(variables: ListGpTsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGpTsQuery>;
5808
- listGPTCategory(variables?: ListGptCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGptCategoryQuery>;
5809
- getGPTStore(variables?: GetGptStoreQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetGptStoreQuery>;
5810
5808
  listKnowledgeBases(variables: ListKnowledgeBasesQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListKnowledgeBasesQuery>;
5811
5809
  getKnowledgeBase(variables: GetKnowledgeBaseQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetKnowledgeBaseQuery>;
5812
5810
  createKnowledgeBase(variables: CreateKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<CreateKnowledgeBaseMutation>;
@@ -5847,6 +5845,9 @@ export type Sdk = ReturnType<typeof getSdk>;
5847
5845
  export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
5848
5846
  useGetApplication(variables: GetApplicationQueryVariables, config?: SWRConfigInterface<GetApplicationQuery, ClientError>): import("./useSWR").SWRResponsePro<GetApplicationQuery, ClientError>;
5849
5847
  useListApplications(variables: ListApplicationsQueryVariables, config?: SWRConfigInterface<ListApplicationsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListApplicationsQuery, ClientError>;
5848
+ useListApplicationPrompt(variables: ListApplicationPromptQueryVariables, config?: SWRConfigInterface<ListApplicationPromptQuery, ClientError>): import("./useSWR").SWRResponsePro<ListApplicationPromptQuery, ClientError>;
5849
+ useListGptCategory(variables?: ListGptCategoryQueryVariables, config?: SWRConfigInterface<ListGptCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGptCategoryQuery, ClientError>;
5850
+ useGetGptStore(variables?: GetGptStoreQueryVariables, config?: SWRConfigInterface<GetGptStoreQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptStoreQuery, ClientError>;
5850
5851
  useAllDataProcessListByPage(variables: AllDataProcessListByPageQueryVariables, config?: SWRConfigInterface<AllDataProcessListByPageQuery, ClientError>): import("./useSWR").SWRResponsePro<AllDataProcessListByPageQuery, ClientError>;
5851
5852
  useAllDataProcessListByCount(variables: AllDataProcessListByCountQueryVariables, config?: SWRConfigInterface<AllDataProcessListByCountQuery, ClientError>): import("./useSWR").SWRResponsePro<AllDataProcessListByCountQuery, ClientError>;
5852
5853
  useDataProcessSupportType(variables?: DataProcessSupportTypeQueryVariables, config?: SWRConfigInterface<DataProcessSupportTypeQuery, ClientError>): import("./useSWR").SWRResponsePro<DataProcessSupportTypeQuery, ClientError>;
@@ -5862,10 +5863,6 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
5862
5863
  useCheckDatasource(variables: CheckDatasourceQueryVariables, config?: SWRConfigInterface<CheckDatasourceQuery, ClientError>): import("./useSWR").SWRResponsePro<CheckDatasourceQuery, ClientError>;
5863
5864
  useListEmbedders(variables: ListEmbeddersQueryVariables, config?: SWRConfigInterface<ListEmbeddersQuery, ClientError>): import("./useSWR").SWRResponsePro<ListEmbeddersQuery, ClientError>;
5864
5865
  useGetEmbedder(variables: GetEmbedderQueryVariables, config?: SWRConfigInterface<GetEmbedderQuery, ClientError>): import("./useSWR").SWRResponsePro<GetEmbedderQuery, ClientError>;
5865
- useGetGpt(variables: GetGptQueryVariables, config?: SWRConfigInterface<GetGptQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptQuery, ClientError>;
5866
- useListGpTs(variables: ListGpTsQueryVariables, config?: SWRConfigInterface<ListGpTsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGpTsQuery, ClientError>;
5867
- useListGptCategory(variables?: ListGptCategoryQueryVariables, config?: SWRConfigInterface<ListGptCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGptCategoryQuery, ClientError>;
5868
- useGetGptStore(variables?: GetGptStoreQueryVariables, config?: SWRConfigInterface<GetGptStoreQuery, ClientError>): import("./useSWR").SWRResponsePro<GetGptStoreQuery, ClientError>;
5869
5866
  useListKnowledgeBases(variables: ListKnowledgeBasesQueryVariables, config?: SWRConfigInterface<ListKnowledgeBasesQuery, ClientError>): import("./useSWR").SWRResponsePro<ListKnowledgeBasesQuery, ClientError>;
5870
5867
  useGetKnowledgeBase(variables: GetKnowledgeBaseQueryVariables, config?: SWRConfigInterface<GetKnowledgeBaseQuery, ClientError>): import("./useSWR").SWRResponsePro<GetKnowledgeBaseQuery, ClientError>;
5871
5868
  useListLlMs(variables: ListLlMsQueryVariables, config?: SWRConfigInterface<ListLlMsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListLlMsQuery, ClientError>;
@@ -5895,6 +5892,19 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
5895
5892
  updateApplicationConfig(variables: Exact<{
5896
5893
  input: UpdateApplicationConfigInput;
5897
5894
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<UpdateApplicationConfigMutation>;
5895
+ releaseApplication(variables: Exact<{
5896
+ name: string;
5897
+ namespace: string;
5898
+ isPublic: boolean;
5899
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseApplicationMutation>;
5900
+ createOrUpdateApplicationPrompt(variables: Exact<{
5901
+ namespacedname: string;
5902
+ input?: InputMaybe<ApplicationPromptInput | ApplicationPromptInput[]> | undefined;
5903
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<CreateOrUpdateApplicationPromptMutation>;
5904
+ deleteApplicationPrompt(variables: Exact<{
5905
+ namespacedname: string;
5906
+ ids?: InputMaybe<string | string[]> | undefined;
5907
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteApplicationPromptMutation>;
5898
5908
  getApplication(variables: Exact<{
5899
5909
  name: string;
5900
5910
  namespace: string;
@@ -5902,6 +5912,17 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
5902
5912
  listApplications(variables: Exact<{
5903
5913
  input: ListCommonInput;
5904
5914
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListApplicationsQuery>;
5915
+ listApplicationPrompt(variables: Exact<{
5916
+ namespacedname: string;
5917
+ page?: InputMaybe<number> | undefined;
5918
+ size?: InputMaybe<number> | undefined;
5919
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListApplicationPromptQuery>;
5920
+ listGPTCategory(variables?: Exact<{
5921
+ [key: string]: never;
5922
+ }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListGptCategoryQuery>;
5923
+ getGPTStore(variables?: Exact<{
5924
+ [key: string]: never;
5925
+ }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetGptStoreQuery>;
5905
5926
  allDataProcessListByPage(variables: Exact<{
5906
5927
  input: AllDataProcessListByPageInput;
5907
5928
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<AllDataProcessListByPageQuery>;
@@ -5987,18 +6008,6 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
5987
6008
  name: string;
5988
6009
  namespace: string;
5989
6010
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetEmbedderQuery>;
5990
- getGPT(variables: Exact<{
5991
- name: string;
5992
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetGptQuery>;
5993
- listGPTs(variables: Exact<{
5994
- input: ListGptInput;
5995
- }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListGpTsQuery>;
5996
- listGPTCategory(variables?: Exact<{
5997
- [key: string]: never;
5998
- }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListGptCategoryQuery>;
5999
- getGPTStore(variables?: Exact<{
6000
- [key: string]: never;
6001
- }> | undefined, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetGptStoreQuery>;
6002
6011
  listKnowledgeBases(variables: Exact<{
6003
6012
  input: ListKnowledgeBaseInput;
6004
6013
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListKnowledgeBasesQuery>;