@yuntijs/arcadia-bff-sdk 1.2.4 → 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 +57 -0
- package/dist/esm/sdk.js +9 -7
- 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
|
@@ -306,6 +306,8 @@ export type CreateDatasourceInput = {
|
|
|
306
306
|
namespace: Scalars['String']['input'];
|
|
307
307
|
/** 数据源为对象存储类型时的输入 */
|
|
308
308
|
ossinput?: InputMaybe<OssInput>;
|
|
309
|
+
/** 数据源为Postgresql时的输入 */
|
|
310
|
+
pginput?: InputMaybe<PgInput>;
|
|
309
311
|
/** 数据源为Web数据时的输入 */
|
|
310
312
|
webinput?: InputMaybe<WebInput>;
|
|
311
313
|
};
|
|
@@ -859,6 +861,11 @@ export type Datasource = {
|
|
|
859
861
|
* 规则: 非空代表当前数据源为对象存储数据源
|
|
860
862
|
*/
|
|
861
863
|
oss?: Maybe<Oss>;
|
|
864
|
+
/**
|
|
865
|
+
* Postgresql访问信息
|
|
866
|
+
* 规则: 非空代表当前数据源为Postgresql数据源
|
|
867
|
+
*/
|
|
868
|
+
pg?: Maybe<Pg>;
|
|
862
869
|
/** 数据源连接状态 */
|
|
863
870
|
status?: Maybe<Scalars['String']['output']>;
|
|
864
871
|
/** 数据源类型 */
|
|
@@ -1018,6 +1025,8 @@ export type F = {
|
|
|
1018
1025
|
size?: Maybe<Scalars['String']['output']>;
|
|
1019
1026
|
/** 文件更新时间,如果没有导入成功,这个字段为空 */
|
|
1020
1027
|
time?: Maybe<Scalars['Time']['output']>;
|
|
1028
|
+
/** 文件版本列表 */
|
|
1029
|
+
versions?: Maybe<Array<Scalars['String']['output']>>;
|
|
1021
1030
|
};
|
|
1022
1031
|
export type FileDetails = {
|
|
1023
1032
|
__typename?: 'FileDetails';
|
|
@@ -1039,6 +1048,7 @@ export type FileFilter = {
|
|
|
1039
1048
|
sortBy?: InputMaybe<Scalars['String']['input']>;
|
|
1040
1049
|
};
|
|
1041
1050
|
export type FileGroup = {
|
|
1051
|
+
files?: InputMaybe<Array<FileWithVersionInput>>;
|
|
1042
1052
|
/** 用到的文件路径,注意⚠️ 一定不要加bucket的名字 */
|
|
1043
1053
|
paths?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1044
1054
|
/** 数据源的基础信息 */
|
|
@@ -1048,6 +1058,15 @@ export type FileItem = {
|
|
|
1048
1058
|
name: Scalars['String']['input'];
|
|
1049
1059
|
size?: InputMaybe<Scalars['String']['input']>;
|
|
1050
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
|
+
};
|
|
1051
1070
|
/**
|
|
1052
1071
|
* GPT
|
|
1053
1072
|
* GPT应用需要的信息
|
|
@@ -1071,10 +1090,17 @@ export type Gpt = {
|
|
|
1071
1090
|
/** 对话开场白 */
|
|
1072
1091
|
prologue?: Maybe<Scalars['String']['output']>;
|
|
1073
1092
|
};
|
|
1093
|
+
export type GptCategory = {
|
|
1094
|
+
__typename?: 'GPTCategory';
|
|
1095
|
+
id: Scalars['String']['output'];
|
|
1096
|
+
name: Scalars['String']['output'];
|
|
1097
|
+
nameEn: Scalars['String']['output'];
|
|
1098
|
+
};
|
|
1074
1099
|
export type GptQuery = {
|
|
1075
1100
|
__typename?: 'GPTQuery';
|
|
1076
1101
|
getGPT: Gpt;
|
|
1077
1102
|
listGPT: PaginatedResult;
|
|
1103
|
+
listGPTCategory: Array<Maybe<GptCategory>>;
|
|
1078
1104
|
};
|
|
1079
1105
|
export type GptQueryGetGptArgs = {
|
|
1080
1106
|
name: Scalars['String']['input'];
|
|
@@ -1733,6 +1759,15 @@ export type PersistentVolumeClaimSpecInput = {
|
|
|
1733
1759
|
volumeMode?: InputMaybe<Scalars['String']['input']>;
|
|
1734
1760
|
volumeName?: InputMaybe<Scalars['String']['input']>;
|
|
1735
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
|
+
};
|
|
1736
1771
|
export type Query = {
|
|
1737
1772
|
__typename?: 'Query';
|
|
1738
1773
|
Application?: Maybe<ApplicationQuery>;
|
|
@@ -2154,6 +2189,8 @@ export type UpdateDatasourceInput = {
|
|
|
2154
2189
|
namespace: Scalars['String']['input'];
|
|
2155
2190
|
/** 数据源为对象存储类型时的输入 */
|
|
2156
2191
|
ossinput?: InputMaybe<OssInput>;
|
|
2192
|
+
/** 数据源为Postgresql时的输入 */
|
|
2193
|
+
pginput?: InputMaybe<PgInput>;
|
|
2157
2194
|
/** 数据源为Web数据时的输入 */
|
|
2158
2195
|
webinput?: InputMaybe<WebInput>;
|
|
2159
2196
|
};
|
|
@@ -2580,6 +2617,8 @@ export type Filedetail = {
|
|
|
2580
2617
|
timeCost: Scalars['Int']['output'];
|
|
2581
2618
|
/** 最新处理时间 */
|
|
2582
2619
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2620
|
+
/** 文件版本,""或者"null"的情况表示是文件最新版本。 */
|
|
2621
|
+
version: Scalars['String']['output'];
|
|
2583
2622
|
};
|
|
2584
2623
|
/**
|
|
2585
2624
|
* 文件组
|
|
@@ -2588,6 +2627,7 @@ export type Filedetail = {
|
|
|
2588
2627
|
*/
|
|
2589
2628
|
export type Filegroup = {
|
|
2590
2629
|
__typename?: 'filegroup';
|
|
2630
|
+
files?: Maybe<Array<FileWithVersion>>;
|
|
2591
2631
|
/** 路径数组 */
|
|
2592
2632
|
path?: Maybe<Array<Scalars['String']['output']>>;
|
|
2593
2633
|
/** 源;目前仅支持版本数据集,即 Kind为 VersionedDataset */
|
|
@@ -2609,6 +2649,7 @@ export type Filegroupdetail = {
|
|
|
2609
2649
|
};
|
|
2610
2650
|
/** 源文件输入 */
|
|
2611
2651
|
export type Filegroupinput = {
|
|
2652
|
+
files?: InputMaybe<Array<FileWithVersionInput>>;
|
|
2612
2653
|
/** 路径 */
|
|
2613
2654
|
path?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
2614
2655
|
/** 数据源字段 */
|
|
@@ -3367,6 +3408,10 @@ export type CreateDatasourceMutation = {
|
|
|
3367
3408
|
bucket?: string | null;
|
|
3368
3409
|
object?: string | null;
|
|
3369
3410
|
} | null;
|
|
3411
|
+
pg?: {
|
|
3412
|
+
__typename?: 'Pg';
|
|
3413
|
+
database?: string | null;
|
|
3414
|
+
} | null;
|
|
3370
3415
|
web?: {
|
|
3371
3416
|
__typename?: 'Web';
|
|
3372
3417
|
recommendIntervalTime?: number | null;
|
|
@@ -3409,6 +3454,10 @@ export type UpdateDatasourceMutation = {
|
|
|
3409
3454
|
bucket?: string | null;
|
|
3410
3455
|
object?: string | null;
|
|
3411
3456
|
} | null;
|
|
3457
|
+
pg?: {
|
|
3458
|
+
__typename?: 'Pg';
|
|
3459
|
+
database?: string | null;
|
|
3460
|
+
} | null;
|
|
3412
3461
|
web?: {
|
|
3413
3462
|
__typename?: 'Web';
|
|
3414
3463
|
recommendIntervalTime?: number | null;
|
|
@@ -3469,6 +3518,10 @@ export type ListDatasourcesQuery = {
|
|
|
3469
3518
|
bucket?: string | null;
|
|
3470
3519
|
object?: string | null;
|
|
3471
3520
|
} | null;
|
|
3521
|
+
pg?: {
|
|
3522
|
+
__typename?: 'Pg';
|
|
3523
|
+
database?: string | null;
|
|
3524
|
+
} | null;
|
|
3472
3525
|
web?: {
|
|
3473
3526
|
__typename?: 'Web';
|
|
3474
3527
|
recommendIntervalTime?: number | null;
|
|
@@ -3847,6 +3900,7 @@ export type ListKnowledgeBasesQuery = {
|
|
|
3847
3900
|
size: string;
|
|
3848
3901
|
updateTimestamp?: any | null;
|
|
3849
3902
|
timeCost: number;
|
|
3903
|
+
version: string;
|
|
3850
3904
|
} | null> | null;
|
|
3851
3905
|
} | null> | null;
|
|
3852
3906
|
} | {
|
|
@@ -3924,6 +3978,7 @@ export type GetKnowledgeBaseQuery = {
|
|
|
3924
3978
|
size: string;
|
|
3925
3979
|
updateTimestamp?: any | null;
|
|
3926
3980
|
timeCost: number;
|
|
3981
|
+
version: string;
|
|
3927
3982
|
} | null> | null;
|
|
3928
3983
|
} | null> | null;
|
|
3929
3984
|
};
|
|
@@ -3983,6 +4038,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
3983
4038
|
size: string;
|
|
3984
4039
|
updateTimestamp?: any | null;
|
|
3985
4040
|
timeCost: number;
|
|
4041
|
+
version: string;
|
|
3986
4042
|
} | null> | null;
|
|
3987
4043
|
} | null> | null;
|
|
3988
4044
|
};
|
|
@@ -4042,6 +4098,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
4042
4098
|
size: string;
|
|
4043
4099
|
updateTimestamp?: any | null;
|
|
4044
4100
|
timeCost: number;
|
|
4101
|
+
version: string;
|
|
4045
4102
|
} | null> | null;
|
|
4046
4103
|
} | null> | null;
|
|
4047
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集群 */
|
|
@@ -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 "])));
|