@yuntijs/arcadia-bff-sdk 1.1.10 → 1.1.12
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 +62 -1
- package/dist/esm/sdk.js +9 -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
|
@@ -372,10 +372,21 @@ export type CreateModelInput = {
|
|
|
372
372
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
373
373
|
/** 模型资源展示名称作为显示,并提供编辑 */
|
|
374
374
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
375
|
+
/** 如果设置从modelscope或者hugginface拉取模型文件,这两个字段会返回模型名字。 */
|
|
376
|
+
huggingFaceRepo?: InputMaybe<Scalars['String']['input']>;
|
|
377
|
+
modelScopeRepo?: InputMaybe<Scalars['String']['input']>;
|
|
378
|
+
/**
|
|
379
|
+
* local: 从本地的minio来。
|
|
380
|
+
* modelscope: 从modelscope来
|
|
381
|
+
* huggingface: 从huggingface来
|
|
382
|
+
*/
|
|
383
|
+
modelSource?: InputMaybe<Scalars['String']['input']>;
|
|
375
384
|
/** 模型资源名称(不可同名) */
|
|
376
385
|
name: Scalars['String']['input'];
|
|
377
386
|
/** 模型创建命名空间 */
|
|
378
387
|
namespace: Scalars['String']['input'];
|
|
388
|
+
/** 返回模型选择的版本 */
|
|
389
|
+
revision?: InputMaybe<Scalars['String']['input']>;
|
|
379
390
|
/**
|
|
380
391
|
* 模型类型
|
|
381
392
|
* 规则: 目前支持 llm和embedding两种模型类型
|
|
@@ -505,6 +516,8 @@ export type DataProcessConfig = {
|
|
|
505
516
|
};
|
|
506
517
|
export type DataProcessConfigChildren = {
|
|
507
518
|
__typename?: 'DataProcessConfigChildren';
|
|
519
|
+
chunk_overlap?: Maybe<Scalars['Int']['output']>;
|
|
520
|
+
chunk_size?: Maybe<Scalars['Int']['output']>;
|
|
508
521
|
description?: Maybe<Scalars['String']['output']>;
|
|
509
522
|
enable?: Maybe<Scalars['String']['output']>;
|
|
510
523
|
file_progress?: Maybe<Array<Maybe<DataProcessConfigpreFileProgress>>>;
|
|
@@ -520,6 +533,8 @@ export type DataProcessConfigInfo = {
|
|
|
520
533
|
type: Scalars['String']['output'];
|
|
521
534
|
};
|
|
522
535
|
export type DataProcessConfigItem = {
|
|
536
|
+
chunk_overlap?: InputMaybe<Scalars['Int']['input']>;
|
|
537
|
+
chunk_size?: InputMaybe<Scalars['Int']['input']>;
|
|
523
538
|
llm_config?: InputMaybe<LlmConfigItem>;
|
|
524
539
|
remove_duplicate_config?: InputMaybe<RemoveDuplicateConfig>;
|
|
525
540
|
type: Scalars['String']['input'];
|
|
@@ -1208,7 +1223,7 @@ export type ListCommonInput = {
|
|
|
1208
1223
|
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1209
1224
|
/**
|
|
1210
1225
|
* 每页数量,
|
|
1211
|
-
* 规则:
|
|
1226
|
+
* 规则: -1,返回全部
|
|
1212
1227
|
*/
|
|
1213
1228
|
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1214
1229
|
};
|
|
@@ -1416,12 +1431,21 @@ export type Model = {
|
|
|
1416
1431
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
1417
1432
|
/** 模型包含文件列表 */
|
|
1418
1433
|
files: PaginatedResult;
|
|
1434
|
+
/** 如果设置从modelscope或者hugginface拉取模型文件,这两个字段会返回模型名字。 */
|
|
1435
|
+
huggingFaceRepo?: Maybe<Scalars['String']['output']>;
|
|
1419
1436
|
/** 模型id,为CR资源中的metadata.uid */
|
|
1420
1437
|
id?: Maybe<Scalars['String']['output']>;
|
|
1421
1438
|
/** 一些用于标记,选择的的标签 */
|
|
1422
1439
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
1423
1440
|
/** 详细信息 */
|
|
1424
1441
|
message?: Maybe<Scalars['String']['output']>;
|
|
1442
|
+
modelScopeRepo?: Maybe<Scalars['String']['output']>;
|
|
1443
|
+
/**
|
|
1444
|
+
* local: 从本地的minio来。
|
|
1445
|
+
* modelscope: 从modelscope来
|
|
1446
|
+
* huggingface: 从huggingface来
|
|
1447
|
+
*/
|
|
1448
|
+
modelSource?: Maybe<Scalars['String']['output']>;
|
|
1425
1449
|
/**
|
|
1426
1450
|
* 名称
|
|
1427
1451
|
* 规则: 遵循k8s命名
|
|
@@ -1433,6 +1457,8 @@ export type Model = {
|
|
|
1433
1457
|
* 规则: 非空
|
|
1434
1458
|
*/
|
|
1435
1459
|
namespace: Scalars['String']['output'];
|
|
1460
|
+
/** 返回模型选择的版本 */
|
|
1461
|
+
revision?: Maybe<Scalars['String']['output']>;
|
|
1436
1462
|
/** 状态 */
|
|
1437
1463
|
status?: Maybe<Scalars['String']['output']>;
|
|
1438
1464
|
/**
|
|
@@ -2138,12 +2164,23 @@ export type UpdateModelInput = {
|
|
|
2138
2164
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
2139
2165
|
/** 模型资源展示名称作为显示,并提供编辑 */
|
|
2140
2166
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
2167
|
+
/** 如果设置从modelscope或者hugginface拉取模型文件,这两个字段会返回模型名字。 */
|
|
2168
|
+
huggingFaceRepo?: InputMaybe<Scalars['String']['input']>;
|
|
2141
2169
|
/** 模型资标签 */
|
|
2142
2170
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
2171
|
+
modelScopeRepo?: InputMaybe<Scalars['String']['input']>;
|
|
2172
|
+
/**
|
|
2173
|
+
* local: 从本地的minio来。
|
|
2174
|
+
* modelscope: 从modelscope来
|
|
2175
|
+
* huggingface: 从huggingface来
|
|
2176
|
+
*/
|
|
2177
|
+
modelSource?: InputMaybe<Scalars['String']['input']>;
|
|
2143
2178
|
/** 模型资源名称(不可同名) */
|
|
2144
2179
|
name: Scalars['String']['input'];
|
|
2145
2180
|
/** 模型创建命名空间 */
|
|
2146
2181
|
namespace: Scalars['String']['input'];
|
|
2182
|
+
/** 返回模型选择的版本 */
|
|
2183
|
+
revision?: InputMaybe<Scalars['String']['input']>;
|
|
2147
2184
|
/**
|
|
2148
2185
|
* 模型类型
|
|
2149
2186
|
* 规则: 目前支持 llm和embedding两种模型类型
|
|
@@ -2469,6 +2506,8 @@ export type Filedetail = {
|
|
|
2469
2506
|
phase: Scalars['String']['output'];
|
|
2470
2507
|
/** 文件大小 */
|
|
2471
2508
|
size: Scalars['String']['output'];
|
|
2509
|
+
/** 最近一次成功的处理耗时 */
|
|
2510
|
+
timeCost: Scalars['Int']['output'];
|
|
2472
2511
|
/** 最新处理时间 */
|
|
2473
2512
|
updateTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2474
2513
|
};
|
|
@@ -2853,6 +2892,8 @@ export type DataProcessDetailsQuery = {
|
|
|
2853
2892
|
enable?: string | null;
|
|
2854
2893
|
zh_name?: string | null;
|
|
2855
2894
|
description?: string | null;
|
|
2895
|
+
chunk_size?: number | null;
|
|
2896
|
+
chunk_overlap?: number | null;
|
|
2856
2897
|
llm_config?: {
|
|
2857
2898
|
__typename?: 'LLMConfig';
|
|
2858
2899
|
name?: string | null;
|
|
@@ -3696,6 +3737,7 @@ export type ListKnowledgeBasesQuery = {
|
|
|
3696
3737
|
count: string;
|
|
3697
3738
|
size: string;
|
|
3698
3739
|
updateTimestamp?: any | null;
|
|
3740
|
+
timeCost: number;
|
|
3699
3741
|
} | null> | null;
|
|
3700
3742
|
} | null> | null;
|
|
3701
3743
|
} | {
|
|
@@ -3770,6 +3812,7 @@ export type GetKnowledgeBaseQuery = {
|
|
|
3770
3812
|
count: string;
|
|
3771
3813
|
size: string;
|
|
3772
3814
|
updateTimestamp?: any | null;
|
|
3815
|
+
timeCost: number;
|
|
3773
3816
|
} | null> | null;
|
|
3774
3817
|
} | null> | null;
|
|
3775
3818
|
};
|
|
@@ -3828,6 +3871,7 @@ export type CreateKnowledgeBaseMutation = {
|
|
|
3828
3871
|
count: string;
|
|
3829
3872
|
size: string;
|
|
3830
3873
|
updateTimestamp?: any | null;
|
|
3874
|
+
timeCost: number;
|
|
3831
3875
|
} | null> | null;
|
|
3832
3876
|
} | null> | null;
|
|
3833
3877
|
};
|
|
@@ -3886,6 +3930,7 @@ export type UpdateKnowledgeBaseMutation = {
|
|
|
3886
3930
|
count: string;
|
|
3887
3931
|
size: string;
|
|
3888
3932
|
updateTimestamp?: any | null;
|
|
3933
|
+
timeCost: number;
|
|
3889
3934
|
} | null> | null;
|
|
3890
3935
|
} | null> | null;
|
|
3891
3936
|
};
|
|
@@ -4027,6 +4072,10 @@ export type ListModelsQuery = {
|
|
|
4027
4072
|
message?: string | null;
|
|
4028
4073
|
types: string;
|
|
4029
4074
|
updateTimestamp?: any | null;
|
|
4075
|
+
huggingFaceRepo?: string | null;
|
|
4076
|
+
modelScopeRepo?: string | null;
|
|
4077
|
+
revision?: string | null;
|
|
4078
|
+
modelSource?: string | null;
|
|
4030
4079
|
files: {
|
|
4031
4080
|
__typename?: 'PaginatedResult';
|
|
4032
4081
|
totalCount: number;
|
|
@@ -4106,6 +4155,10 @@ export type GetModelQuery = {
|
|
|
4106
4155
|
message?: string | null;
|
|
4107
4156
|
types: string;
|
|
4108
4157
|
updateTimestamp?: any | null;
|
|
4158
|
+
huggingFaceRepo?: string | null;
|
|
4159
|
+
modelScopeRepo?: string | null;
|
|
4160
|
+
revision?: string | null;
|
|
4161
|
+
modelSource?: string | null;
|
|
4109
4162
|
files: {
|
|
4110
4163
|
__typename?: 'PaginatedResult';
|
|
4111
4164
|
totalCount: number;
|
|
@@ -4172,6 +4225,10 @@ export type CreateModelMutation = {
|
|
|
4172
4225
|
message?: string | null;
|
|
4173
4226
|
types: string;
|
|
4174
4227
|
updateTimestamp?: any | null;
|
|
4228
|
+
huggingFaceRepo?: string | null;
|
|
4229
|
+
modelScopeRepo?: string | null;
|
|
4230
|
+
revision?: string | null;
|
|
4231
|
+
modelSource?: string | null;
|
|
4175
4232
|
};
|
|
4176
4233
|
} | null;
|
|
4177
4234
|
};
|
|
@@ -4198,6 +4255,10 @@ export type UpdateModelMutation = {
|
|
|
4198
4255
|
message?: string | null;
|
|
4199
4256
|
types: string;
|
|
4200
4257
|
updateTimestamp?: any | null;
|
|
4258
|
+
huggingFaceRepo?: string | null;
|
|
4259
|
+
modelScopeRepo?: string | null;
|
|
4260
|
+
revision?: string | null;
|
|
4261
|
+
modelSource?: string | null;
|
|
4201
4262
|
};
|
|
4202
4263
|
} | null;
|
|
4203
4264
|
};
|
package/dist/esm/sdk.js
CHANGED
|
@@ -178,7 +178,7 @@ export var ListApplicationsDocument = gql(_templateObject6 || (_templateObject6
|
|
|
178
178
|
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 error_msg\n }\n message\n }\n }\n}\n "])));
|
|
179
179
|
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 "])));
|
|
180
180
|
export var DataProcessSupportTypeDocument = gql(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n query dataProcessSupportType {\n dataProcess {\n dataProcessSupportType {\n status\n data {\n name\n description\n children {\n name\n zh_name\n description\n enable\n }\n }\n message\n }\n }\n}\n "])));
|
|
181
|
-
export var DataProcessDetailsDocument = gql(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n query dataProcessDetails($input: DataProcessDetailsInput) {\n dataProcess {\n dataProcessDetails(input: $input) {\n status\n data {\n id\n status\n name\n file_type\n pre_dataset_name\n pre_dataset_version\n post_dataset_name\n post_dataset_version\n file_num\n start_time\n end_time\n creator\n error_msg\n data_process_config_info {\n type\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n remove_duplicate_config {\n similarity\n embedding_name\n embedding_model\n embedding_provider\n embedding_namespace\n }\n }\n config {\n name\n description\n file_num\n status\n children {\n name\n enable\n zh_name\n description\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n preview {\n file_name\n content {\n pre\n post\n }\n }\n file_progress {\n id\n file_name\n status\n start_time\n end_time\n progress\n }\n }\n }\n }\n message\n }\n }\n}\n "])));
|
|
181
|
+
export var DataProcessDetailsDocument = gql(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n query dataProcessDetails($input: DataProcessDetailsInput) {\n dataProcess {\n dataProcessDetails(input: $input) {\n status\n data {\n id\n status\n name\n file_type\n pre_dataset_name\n pre_dataset_version\n post_dataset_name\n post_dataset_version\n file_num\n start_time\n end_time\n creator\n error_msg\n data_process_config_info {\n type\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n remove_duplicate_config {\n similarity\n embedding_name\n embedding_model\n embedding_provider\n embedding_namespace\n }\n }\n config {\n name\n description\n file_num\n status\n children {\n name\n enable\n zh_name\n description\n chunk_size\n chunk_overlap\n llm_config {\n name\n namespace\n model\n temperature\n top_p\n max_tokens\n prompt_template\n provider\n }\n preview {\n file_name\n content {\n pre\n post\n }\n }\n file_progress {\n id\n file_name\n status\n start_time\n end_time\n progress\n }\n }\n }\n }\n message\n }\n }\n}\n "])));
|
|
182
182
|
export var CheckDataProcessTaskNameDocument = gql(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n query checkDataProcessTaskName($input: CheckDataProcessTaskNameInput) {\n dataProcess {\n checkDataProcessTaskName(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
183
183
|
export var GetLogInfoDocument = gql(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n query getLogInfo($input: DataProcessDetailsInput) {\n dataProcess {\n getLogInfo(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
184
184
|
export var DataProcessLogInfoByFileNameDocument = gql(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n query dataProcessLogInfoByFileName($input: DataProcessFileLogInput) {\n dataProcess {\n dataProcessLogInfoByFileName(input: $input) {\n status\n data\n message\n }\n }\n}\n "])));
|
|
@@ -203,17 +203,17 @@ export var ListEmbeddersDocument = gql(_templateObject31 || (_templateObject31 =
|
|
|
203
203
|
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
204
|
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
205
|
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 }\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 }\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 }\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 }\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 "])));
|
|
210
210
|
export var DeleteKnowledgeBaseDocument = gql(_templateObject39 || (_templateObject39 = _taggedTemplateLiteral(["\n mutation deleteKnowledgeBase($input: DeleteCommonInput) {\n KnowledgeBase {\n deleteKnowledgeBase(input: $input)\n }\n}\n "])));
|
|
211
211
|
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
212
|
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 "])));
|
|
213
|
-
export var ListModelsDocument = gql(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n query listModels($input: ListModelInput!, $filesInput: FileFilter) {\n Model {\n listModels(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Model {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
214
|
-
export var GetModelDocument = gql(_templateObject43 || (_templateObject43 = _taggedTemplateLiteral(["\n query getModel($name: String!, $namespace: String!, $filesInput: FileFilter) {\n Model {\n getModel(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n}\n "])));
|
|
215
|
-
export var CreateModelDocument = gql(_templateObject44 || (_templateObject44 = _taggedTemplateLiteral(["\n mutation createModel($input: CreateModelInput!) {\n Model {\n createModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n }\n }\n}\n "])));
|
|
216
|
-
export var UpdateModelDocument = gql(_templateObject45 || (_templateObject45 = _taggedTemplateLiteral(["\n mutation updateModel($input: UpdateModelInput) {\n Model {\n updateModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n }\n }\n}\n "])));
|
|
213
|
+
export var ListModelsDocument = gql(_templateObject42 || (_templateObject42 = _taggedTemplateLiteral(["\n query listModels($input: ListModelInput!, $filesInput: FileFilter) {\n Model {\n listModels(input: $input) {\n totalCount\n hasNextPage\n nodes {\n __typename\n ... on Model {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
214
|
+
export var GetModelDocument = gql(_templateObject43 || (_templateObject43 = _taggedTemplateLiteral(["\n query getModel($name: String!, $namespace: String!, $filesInput: FileFilter) {\n Model {\n getModel(name: $name, namespace: $namespace) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n files(input: $filesInput) {\n totalCount\n hasNextPage\n nodes {\n ... on F {\n path\n time\n fileType\n count\n size\n creationTimestamp\n }\n }\n }\n }\n }\n}\n "])));
|
|
215
|
+
export var CreateModelDocument = gql(_templateObject44 || (_templateObject44 = _taggedTemplateLiteral(["\n mutation createModel($input: CreateModelInput!) {\n Model {\n createModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n }\n }\n}\n "])));
|
|
216
|
+
export var UpdateModelDocument = gql(_templateObject45 || (_templateObject45 = _taggedTemplateLiteral(["\n mutation updateModel($input: UpdateModelInput) {\n Model {\n updateModel(input: $input) {\n id\n creationTimestamp\n name\n namespace\n systemModel\n labels\n annotations\n creator\n displayName\n description\n status\n message\n types\n updateTimestamp\n huggingFaceRepo\n modelScopeRepo\n revision\n modelSource\n }\n }\n}\n "])));
|
|
217
217
|
export var DeleteModelsDocument = gql(_templateObject46 || (_templateObject46 = _taggedTemplateLiteral(["\n mutation deleteModels($input: DeleteCommonInput) {\n Model {\n deleteModels(input: $input)\n }\n}\n "])));
|
|
218
218
|
export var CreateModelServiceDocument = gql(_templateObject47 || (_templateObject47 = _taggedTemplateLiteral(["\n mutation createModelService($input: CreateModelServiceInput!) {\n ModelService {\n createModelService(input: $input) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n types\n apiType\n llmModels\n embeddingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n}\n "])));
|
|
219
219
|
export var UpdateModelServiceDocument = gql(_templateObject48 || (_templateObject48 = _taggedTemplateLiteral(["\n mutation updateModelService($input: UpdateModelServiceInput) {\n ModelService {\n updateModelService(input: $input) {\n id\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n providerType\n types\n apiType\n llmModels\n embeddingModels\n creationTimestamp\n updateTimestamp\n status\n message\n baseUrl\n }\n }\n}\n "])));
|