@yuntijs/arcadia-bff-sdk 1.2.3 → 1.2.5
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/esm/sdk.d.ts +63 -0
- package/dist/esm/sdk.js +11 -9
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -107,6 +107,8 @@ export type Application = {
|
|
|
107
107
|
enableMultiQuery?: Maybe<Scalars['Boolean']['output']>;
|
|
108
108
|
/** enableRerank 是否启用 rerank */
|
|
109
109
|
enableRerank?: Maybe<Scalars['Boolean']['output']>;
|
|
110
|
+
/** enableUploadFile 是否开启对话上传文档功能 */
|
|
111
|
+
enableUploadFile?: Maybe<Scalars['Boolean']['output']>;
|
|
110
112
|
/** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
111
113
|
knowledgebase?: Maybe<Scalars['String']['output']>;
|
|
112
114
|
/** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
|
|
@@ -304,6 +306,8 @@ export type CreateDatasourceInput = {
|
|
|
304
306
|
namespace: Scalars['String']['input'];
|
|
305
307
|
/** 数据源为对象存储类型时的输入 */
|
|
306
308
|
ossinput?: InputMaybe<OssInput>;
|
|
309
|
+
/** 数据源为Postgresql时的输入 */
|
|
310
|
+
pginput?: InputMaybe<PgInput>;
|
|
307
311
|
/** 数据源为Web数据时的输入 */
|
|
308
312
|
webinput?: InputMaybe<WebInput>;
|
|
309
313
|
};
|
|
@@ -857,6 +861,11 @@ export type Datasource = {
|
|
|
857
861
|
* 规则: 非空代表当前数据源为对象存储数据源
|
|
858
862
|
*/
|
|
859
863
|
oss?: Maybe<Oss>;
|
|
864
|
+
/**
|
|
865
|
+
* Postgresql访问信息
|
|
866
|
+
* 规则: 非空代表当前数据源为Postgresql数据源
|
|
867
|
+
*/
|
|
868
|
+
pg?: Maybe<Pg>;
|
|
860
869
|
/** 数据源连接状态 */
|
|
861
870
|
status?: Maybe<Scalars['String']['output']>;
|
|
862
871
|
/** 数据源类型 */
|
|
@@ -1016,6 +1025,8 @@ export type F = {
|
|
|
1016
1025
|
size?: Maybe<Scalars['String']['output']>;
|
|
1017
1026
|
/** 文件更新时间,如果没有导入成功,这个字段为空 */
|
|
1018
1027
|
time?: Maybe<Scalars['Time']['output']>;
|
|
1028
|
+
/** 文件版本列表 */
|
|
1029
|
+
versions?: Maybe<Array<Scalars['String']['output']>>;
|
|
1019
1030
|
};
|
|
1020
1031
|
export type FileDetails = {
|
|
1021
1032
|
__typename?: 'FileDetails';
|
|
@@ -1037,6 +1048,7 @@ export type FileFilter = {
|
|
|
1037
1048
|
sortBy?: InputMaybe<Scalars['String']['input']>;
|
|
1038
1049
|
};
|
|
1039
1050
|
export type FileGroup = {
|
|
1051
|
+
files?: InputMaybe<Array<FileWithVersionInput>>;
|
|
1040
1052
|
/** 用到的文件路径,注意⚠️ 一定不要加bucket的名字 */
|
|
1041
1053
|
paths?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1042
1054
|
/** 数据源的基础信息 */
|
|
@@ -1046,6 +1058,15 @@ export type FileItem = {
|
|
|
1046
1058
|
name: Scalars['String']['input'];
|
|
1047
1059
|
size?: InputMaybe<Scalars['String']['input']>;
|
|
1048
1060
|
};
|
|
1061
|
+
export type FileWithVersion = {
|
|
1062
|
+
__typename?: 'FileWithVersion';
|
|
1063
|
+
path: Scalars['String']['output'];
|
|
1064
|
+
version?: Maybe<Scalars['String']['output']>;
|
|
1065
|
+
};
|
|
1066
|
+
export type FileWithVersionInput = {
|
|
1067
|
+
path: Scalars['String']['input'];
|
|
1068
|
+
version?: InputMaybe<Scalars['String']['input']>;
|
|
1069
|
+
};
|
|
1049
1070
|
/**
|
|
1050
1071
|
* GPT
|
|
1051
1072
|
* GPT应用需要的信息
|
|
@@ -1069,10 +1090,17 @@ export type Gpt = {
|
|
|
1069
1090
|
/** 对话开场白 */
|
|
1070
1091
|
prologue?: Maybe<Scalars['String']['output']>;
|
|
1071
1092
|
};
|
|
1093
|
+
export type GptCategory = {
|
|
1094
|
+
__typename?: 'GPTCategory';
|
|
1095
|
+
id: Scalars['String']['output'];
|
|
1096
|
+
name: Scalars['String']['output'];
|
|
1097
|
+
nameEn: Scalars['String']['output'];
|
|
1098
|
+
};
|
|
1072
1099
|
export type GptQuery = {
|
|
1073
1100
|
__typename?: 'GPTQuery';
|
|
1074
1101
|
getGPT: Gpt;
|
|
1075
1102
|
listGPT: PaginatedResult;
|
|
1103
|
+
listGPTCategory: Array<Maybe<GptCategory>>;
|
|
1076
1104
|
};
|
|
1077
1105
|
export type GptQueryGetGptArgs = {
|
|
1078
1106
|
name: Scalars['String']['input'];
|
|
@@ -1731,6 +1759,15 @@ export type PersistentVolumeClaimSpecInput = {
|
|
|
1731
1759
|
volumeMode?: InputMaybe<Scalars['String']['input']>;
|
|
1732
1760
|
volumeName?: InputMaybe<Scalars['String']['input']>;
|
|
1733
1761
|
};
|
|
1762
|
+
/** Postgresql的使用信息 */
|
|
1763
|
+
export type Pg = {
|
|
1764
|
+
__typename?: 'Pg';
|
|
1765
|
+
/** 所用的数据库名称 */
|
|
1766
|
+
database?: Maybe<Scalars['String']['output']>;
|
|
1767
|
+
};
|
|
1768
|
+
export type PgInput = {
|
|
1769
|
+
database: Scalars['String']['input'];
|
|
1770
|
+
};
|
|
1734
1771
|
export type Query = {
|
|
1735
1772
|
__typename?: 'Query';
|
|
1736
1773
|
Application?: Maybe<ApplicationQuery>;
|
|
@@ -2038,6 +2075,8 @@ export type UpdateApplicationConfigInput = {
|
|
|
2038
2075
|
enableMultiQuery?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2039
2076
|
/** enableRerank 是否启用 rerank */
|
|
2040
2077
|
enableRerank?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2078
|
+
/** enableUploadFile 是否开启对话上传文档功能 */
|
|
2079
|
+
enableUploadFile?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2041
2080
|
/** knowledgebase 指当前知识库应用使用的知识库,即 Kind 为 KnowledgeBase 的 CR 的名称,目前一个应用只支持0或1个知识库 */
|
|
2042
2081
|
knowledgebase?: InputMaybe<Scalars['String']['input']>;
|
|
2043
2082
|
/** llm 指当前知识库应用使用的模型服务,即 Kind 为 LLM 的 CR 的名称 */
|
|
@@ -2150,6 +2189,8 @@ export type UpdateDatasourceInput = {
|
|
|
2150
2189
|
namespace: Scalars['String']['input'];
|
|
2151
2190
|
/** 数据源为对象存储类型时的输入 */
|
|
2152
2191
|
ossinput?: InputMaybe<OssInput>;
|
|
2192
|
+
/** 数据源为Postgresql时的输入 */
|
|
2193
|
+
pginput?: InputMaybe<PgInput>;
|
|
2153
2194
|
/** 数据源为Web数据时的输入 */
|
|
2154
2195
|
webinput?: InputMaybe<WebInput>;
|
|
2155
2196
|
};
|
|
@@ -2576,6 +2617,8 @@ export type Filedetail = {
|
|
|
2576
2617
|
timeCost: Scalars['Int']['output'];
|
|
2577
2618
|
/** 最新处理时间 */
|
|
2578
2619
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2620
|
+
/** 文件版本,""或者"null"的情况表示是文件最新版本。 */
|
|
2621
|
+
version: Scalars['String']['output'];
|
|
2579
2622
|
};
|
|
2580
2623
|
/**
|
|
2581
2624
|
* 文件组
|
|
@@ -2584,6 +2627,7 @@ export type Filedetail = {
|
|
|
2584
2627
|
*/
|
|
2585
2628
|
export type Filegroup = {
|
|
2586
2629
|
__typename?: 'filegroup';
|
|
2630
|
+
files?: Maybe<Array<FileWithVersion>>;
|
|
2587
2631
|
/** 路径数组 */
|
|
2588
2632
|
path?: Maybe<Array<Scalars['String']['output']>>;
|
|
2589
2633
|
/** 源;目前仅支持版本数据集,即 Kind为 VersionedDataset */
|
|
@@ -2605,6 +2649,7 @@ export type Filegroupdetail = {
|
|
|
2605
2649
|
};
|
|
2606
2650
|
/** 源文件输入 */
|
|
2607
2651
|
export type Filegroupinput = {
|
|
2652
|
+
files?: InputMaybe<Array<FileWithVersionInput>>;
|
|
2608
2653
|
/** 路径 */
|
|
2609
2654
|
path?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2610
2655
|
/** 数据源字段 */
|
|
@@ -2700,6 +2745,7 @@ export type UpdateApplicationConfigMutation = {
|
|
|
2700
2745
|
rerankModel?: string | null;
|
|
2701
2746
|
enableMultiQuery?: boolean | null;
|
|
2702
2747
|
chatTimeout?: number | null;
|
|
2748
|
+
enableUploadFile?: boolean | null;
|
|
2703
2749
|
chunkSize?: number | null;
|
|
2704
2750
|
chunkOverlap?: number | null;
|
|
2705
2751
|
batchSize?: number | null;
|
|
@@ -2757,6 +2803,7 @@ export type GetApplicationQuery = {
|
|
|
2757
2803
|
rerankModel?: string | null;
|
|
2758
2804
|
enableMultiQuery?: boolean | null;
|
|
2759
2805
|
chatTimeout?: number | null;
|
|
2806
|
+
enableUploadFile?: boolean | null;
|
|
2760
2807
|
chunkSize?: number | null;
|
|
2761
2808
|
chunkOverlap?: number | null;
|
|
2762
2809
|
batchSize?: number | null;
|
|
@@ -3361,6 +3408,10 @@ export type CreateDatasourceMutation = {
|
|
|
3361
3408
|
bucket?: string | null;
|
|
3362
3409
|
object?: string | null;
|
|
3363
3410
|
} | null;
|
|
3411
|
+
pg?: {
|
|
3412
|
+
__typename?: 'Pg';
|
|
3413
|
+
database?: string | null;
|
|
3414
|
+
} | null;
|
|
3364
3415
|
web?: {
|
|
3365
3416
|
__typename?: 'Web';
|
|
3366
3417
|
recommendIntervalTime?: number | null;
|
|
@@ -3403,6 +3454,10 @@ export type UpdateDatasourceMutation = {
|
|
|
3403
3454
|
bucket?: string | null;
|
|
3404
3455
|
object?: string | null;
|
|
3405
3456
|
} | null;
|
|
3457
|
+
pg?: {
|
|
3458
|
+
__typename?: 'Pg';
|
|
3459
|
+
database?: string | null;
|
|
3460
|
+
} | null;
|
|
3406
3461
|
web?: {
|
|
3407
3462
|
__typename?: 'Web';
|
|
3408
3463
|
recommendIntervalTime?: number | null;
|
|
@@ -3463,6 +3518,10 @@ export type ListDatasourcesQuery = {
|
|
|
3463
3518
|
bucket?: string | null;
|
|
3464
3519
|
object?: string | null;
|
|
3465
3520
|
} | null;
|
|
3521
|
+
pg?: {
|
|
3522
|
+
__typename?: 'Pg';
|
|
3523
|
+
database?: string | null;
|
|
3524
|
+
} | null;
|
|
3466
3525
|
web?: {
|
|
3467
3526
|
__typename?: 'Web';
|
|
3468
3527
|
recommendIntervalTime?: number | null;
|
|
@@ -3841,6 +3900,7 @@ export type ListKnowledgeBasesQuery = {
|
|
|
3841
3900
|
size: string;
|
|
3842
3901
|
updateTimestamp?: any | null;
|
|
3843
3902
|
timeCost: number;
|
|
3903
|
+
version: string;
|
|
3844
3904
|
} | null> | null;
|
|
3845
3905
|
} | null> | null;
|
|
3846
3906
|
} | {
|
|
@@ -3918,6 +3978,7 @@ export type GetKnowledgeBaseQuery = {
|
|
|
3918
3978
|
size: string;
|
|
3919
3979
|
updateTimestamp?: any | null;
|
|
3920
3980
|
timeCost: number;
|
|
3981
|
+
version: string;
|
|
3921
3982
|
} | null> | null;
|
|
3922
3983
|
} | null> | null;
|
|
3923
3984
|
};
|
|
@@ -3977,6 +4038,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
3977
4038
|
size: string;
|
|
3978
4039
|
updateTimestamp?: any | null;
|
|
3979
4040
|
timeCost: number;
|
|
4041
|
+
version: string;
|
|
3980
4042
|
} | null> | null;
|
|
3981
4043
|
} | null> | null;
|
|
3982
4044
|
};
|
|
@@ -4036,6 +4098,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
4036
4098
|
size: string;
|
|
4037
4099
|
updateTimestamp?: any | null;
|
|
4038
4100
|
timeCost: number;
|
|
4101
|
+
version: string;
|
|
4039
4102
|
} | null> | null;
|
|
4040
4103
|
} | null> | null;
|
|
4041
4104
|
};
|
package/dist/esm/sdk.js
CHANGED
|
@@ -115,6 +115,8 @@ import useSWR from "./useSWR";
|
|
|
115
115
|
|
|
116
116
|
/** 文件输入 */
|
|
117
117
|
|
|
118
|
+
/** Postgresql的使用信息 */
|
|
119
|
+
|
|
118
120
|
/** RAG评估结构 */
|
|
119
121
|
|
|
120
122
|
/** RayCluster集群 */
|
|
@@ -172,8 +174,8 @@ import useSWR from "./useSWR";
|
|
|
172
174
|
export var CreateApplicationDocument = gql(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n mutation createApplication($input: CreateApplicationMetadataInput!) {\n Application {\n createApplication(input: $input) {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n }\n}\n "])));
|
|
173
175
|
export var UpdateApplicationDocument = gql(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n mutation updateApplication($input: UpdateApplicationMetadataInput!) {\n Application {\n updateApplication(input: $input) {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n }\n}\n "])));
|
|
174
176
|
export var DeleteApplicationDocument = gql(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n mutation deleteApplication($input: DeleteCommonInput!) {\n Application {\n deleteApplication(input: $input)\n }\n}\n "])));
|
|
175
|
-
export var UpdateApplicationConfigDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateApplicationConfig($input: UpdateApplicationConfigInput!) {\n Application {\n updateApplicationConfig(input: $input) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
|
|
176
|
-
export var GetApplicationDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n query getApplication($name: String!, $namespace: String!) {\n Application {\n getApplication(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
|
|
177
|
+
export var UpdateApplicationConfigDocument = gql(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n mutation updateApplicationConfig($input: UpdateApplicationConfigInput!) {\n Application {\n updateApplicationConfig(input: $input) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n enableUploadFile\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
|
|
178
|
+
export var GetApplicationDocument = gql(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n query getApplication($name: String!, $namespace: String!) {\n Application {\n getApplication(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n prologue\n model\n llm\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebase\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n showRespInfo\n showRetrievalInfo\n showNextGuide\n tools {\n name\n params\n }\n enableRerank\n rerankModel\n enableMultiQuery\n chatTimeout\n enableUploadFile\n chunkSize\n chunkOverlap\n batchSize\n }\n }\n}\n "])));
|
|
177
179
|
export var ListApplicationsDocument = gql(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n query listApplications($input: ListCommonInput!) {\n Application {\n listApplicationMetadata(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on ApplicationMetadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n status\n category\n }\n }\n }\n }\n}\n "])));
|
|
178
180
|
export var AllDataProcessListByPageDocument = gql(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n query allDataProcessListByPage($input: AllDataProcessListByPageInput!) {\n dataProcess {\n allDataProcessListByPage(input: $input) {\n status\n data {\n id\n name\n status\n pre_data_set_name\n pre_data_set_version\n post_data_set_name\n post_data_set_version\n start_datetime\n end_datetime\n error_msg\n }\n message\n }\n }\n}\n "])));
|
|
179
181
|
export var AllDataProcessListByCountDocument = gql(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n query allDataProcessListByCount($input: AllDataProcessListByCountInput!) {\n dataProcess {\n allDataProcessListByCount(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
@@ -190,10 +192,10 @@ export var GetDatasetDocument = gql(_templateObject18 || (_templateObject18 = _t
|
|
|
190
192
|
export var CreateDatasetDocument = gql(_templateObject19 || (_templateObject19 = _taggedTemplateLiteral(["\n mutation createDataset($input: CreateDatasetInput) {\n Dataset {\n createDataset(input: $input) {\n name\n displayName\n labels\n }\n }\n}\n "])));
|
|
191
193
|
export var UpdateDatasetDocument = gql(_templateObject20 || (_templateObject20 = _taggedTemplateLiteral(["\n mutation updateDataset($input: UpdateDatasetInput) {\n Dataset {\n updateDataset(input: $input) {\n name\n displayName\n labels\n }\n }\n}\n "])));
|
|
192
194
|
export var DeleteDatasetsDocument = gql(_templateObject21 || (_templateObject21 = _taggedTemplateLiteral(["\n mutation deleteDatasets($input: DeleteCommonInput) {\n Dataset {\n deleteDatasets(input: $input)\n }\n}\n "])));
|
|
193
|
-
export var CreateDatasourceDocument = gql(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n mutation createDatasource($input: CreateDatasourceInput!) {\n Datasource {\n createDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
194
|
-
export var UpdateDatasourceDocument = gql(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n mutation updateDatasource($input: UpdateDatasourceInput) {\n Datasource {\n updateDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
195
|
+
export var CreateDatasourceDocument = gql(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n mutation createDatasource($input: CreateDatasourceInput!) {\n Datasource {\n createDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n pg {\n database\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
196
|
+
export var UpdateDatasourceDocument = gql(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n mutation updateDatasource($input: UpdateDatasourceInput) {\n Datasource {\n updateDatasource(input: $input) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n pg {\n database\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
195
197
|
export var DeleteDatasourcesDocument = gql(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n mutation deleteDatasources($input: DeleteCommonInput!) {\n Datasource {\n deleteDatasources(input: $input)\n }\n}\n "])));
|
|
196
|
-
export var ListDatasourcesDocument = gql(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n query listDatasources($input: ListCommonInput!) {\n Datasource {\n listDatasources(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Datasource {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
198
|
+
export var ListDatasourcesDocument = gql(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n query listDatasources($input: ListCommonInput!) {\n Datasource {\n listDatasources(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Datasource {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n pg {\n database\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
197
199
|
export var GetDatasourceDocument = gql(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n query getDatasource($name: String!, $namespace: String!) {\n Datasource {\n getDatasource(name: $name, namespace: $namespace) {\n id\n name\n namespace\n creator\n displayName\n description\n endpoint {\n url\n authSecret {\n kind\n name\n }\n insecure\n }\n type\n oss {\n bucket\n object\n }\n web {\n recommendIntervalTime\n }\n creationTimestamp\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
198
200
|
export var CheckDatasourceDocument = gql(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n query checkDatasource($input: CreateDatasourceInput!) {\n Datasource {\n checkDatasource(input: $input) {\n name\n namespace\n status\n message\n }\n }\n}\n "])));
|
|
199
201
|
export var CreateEmbedderDocument = gql(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n mutation createEmbedder($input: CreateEmbedderInput!) {\n Embedder {\n createEmbedder(input: $input) {\n name\n namespace\n labels\n annotations\n displayName\n description\n type\n baseUrl\n models\n provider\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|
|
@@ -203,10 +205,10 @@ export var ListEmbeddersDocument = gql(_templateObject31 || (_templateObject31 =
|
|
|
203
205
|
export var GetEmbedderDocument = gql(_templateObject32 || (_templateObject32 = _taggedTemplateLiteral(["\n query getEmbedder($name: String!, $namespace: String!) {\n Embedder {\n getEmbedder(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n }\n }\n}\n "])));
|
|
204
206
|
export var GetGptDocument = gql(_templateObject33 || (_templateObject33 = _taggedTemplateLiteral(["\n query getGPT($name: String!) {\n GPT {\n getGPT(name: $name) {\n name\n displayName\n description\n hot\n creator\n category\n icon\n prologue\n }\n }\n}\n "])));
|
|
205
207
|
export var ListGpTsDocument = gql(_templateObject34 || (_templateObject34 = _taggedTemplateLiteral(["\n query listGPTs($input: ListGPTInput!) {\n GPT {\n listGPT(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on GPT {\n name\n displayName\n description\n hot\n creator\n category\n icon\n prologue\n }\n }\n }\n }\n}\n "])));
|
|
206
|
-
export var ListKnowledgeBasesDocument = gql(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n query listKnowledgeBases($input: ListKnowledgeBaseInput!) {\n KnowledgeBase {\n listKnowledgeBases(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBase {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
207
|
-
export var GetKnowledgeBaseDocument = gql(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n query getKnowledgeBase($name: String!, $namespace: String!) {\n KnowledgeBase {\n getKnowledgeBase(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n }\n }\n }\n }\n}\n "])));
|
|
208
|
-
export var CreateKnowledgeBaseDocument = gql(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n }\n }\n }\n }\n}\n "])));
|
|
209
|
-
export var UpdateKnowledgeBaseDocument = gql(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n }\n }\n }\n }\n}\n "])));
|
|
208
|
+
export var ListKnowledgeBasesDocument = gql(_templateObject35 || (_templateObject35 = _taggedTemplateLiteral(["\n query listKnowledgeBases($input: ListKnowledgeBaseInput!) {\n KnowledgeBase {\n listKnowledgeBases(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on KnowledgeBase {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
209
|
+
export var GetKnowledgeBaseDocument = gql(_templateObject36 || (_templateObject36 = _taggedTemplateLiteral(["\n query getKnowledgeBase($name: String!, $namespace: String!) {\n KnowledgeBase {\n getKnowledgeBase(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n }\n }\n }\n }\n}\n "])));
|
|
210
|
+
export var CreateKnowledgeBaseDocument = gql(_templateObject37 || (_templateObject37 = _taggedTemplateLiteral(["\n mutation createKnowledgeBase($input: CreateKnowledgeBaseInput!) {\n KnowledgeBase {\n createKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n }\n }\n }\n }\n}\n "])));
|
|
211
|
+
export var UpdateKnowledgeBaseDocument = gql(_templateObject38 || (_templateObject38 = _taggedTemplateLiteral(["\n mutation updateKnowledgeBase($input: UpdateKnowledgeBaseInput) {\n KnowledgeBase {\n updateKnowledgeBase(input: $input) {\n id\n creationTimestamp\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n chunkSize\n chunkOverlap\n batchSize\n status\n reason\n message\n updateTimestamp\n embedder {\n kind\n name\n namespace\n displayName\n }\n embedderType\n vectorStore {\n kind\n name\n }\n fileGroupDetails {\n source {\n kind\n name\n }\n filedetails {\n path\n phase\n fileType\n count\n size\n updateTimestamp\n timeCost\n version\n }\n }\n }\n }\n}\n "])));
|
|
210
212
|
export var DeleteKnowledgeBaseDocument = gql(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
|
|
211
213
|
export var ListLlMsDocument = gql(_templateObject40 || (_templateObject40 = _taggedTemplateLiteral(["\n query listLLMs($input: ListCommonInput!) {\n LLM {\n listLLMs(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on LLM {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n }\n }\n}\n "])));
|
|
212
214
|
export var GetLlmDocument = gql(_templateObject41 || (_templateObject41 = _taggedTemplateLiteral(["\n query getLLM($name: String!, $namespace: String!) {\n LLM {\n getLLM(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n displayName\n description\n baseUrl\n models\n provider\n type\n updateTimestamp\n status\n message\n }\n }\n}\n "])));
|