@yuntijs/arcadia-bff-sdk 1.2.105 → 1.2.107
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 +21 -5
- package/dist/cjs/sdk.js +9 -0
- package/dist/esm/sdk.d.ts +21 -5
- package/dist/esm/sdk.js +5 -5
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -2792,6 +2792,10 @@ export type Sft = {
|
|
|
2792
2792
|
chatMatchExpressions?: Maybe<Array<Maybe<NodeSelectorRequirement>>>;
|
|
2793
2793
|
/** SFT 微调对话测试所使用的资源 */
|
|
2794
2794
|
chatResources?: Maybe<Resources>;
|
|
2795
|
+
/** SFT 微调测试对话 Pod 状态 */
|
|
2796
|
+
chatStatus?: Maybe<Scalars['String']['output']>;
|
|
2797
|
+
/** SFT 微淘测试对话状态的辅助信息 */
|
|
2798
|
+
chatStatusMessage?: Maybe<Scalars['String']['output']>;
|
|
2795
2799
|
/** 微调完成时间, 记录微调任务完成的时间(不包括合并导出,未完成则该字段为空) */
|
|
2796
2800
|
completeTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2797
2801
|
/** 创建时间 */
|
|
@@ -2870,17 +2874,18 @@ export type Sft = {
|
|
|
2870
2874
|
* - "preparing":微调任务准备中
|
|
2871
2875
|
* - "processing":微调任务正在进行中
|
|
2872
2876
|
* - "standby":微调完成,可供测试对话或导出
|
|
2873
|
-
* - "exporting"
|
|
2877
|
+
* - "exporting": 微调后模型合并导出中
|
|
2874
2878
|
* - "closed":微调任务流程全部结束,已关闭
|
|
2875
2879
|
* - 异常:
|
|
2876
2880
|
* - "failed":微调失败
|
|
2877
|
-
* - "
|
|
2881
|
+
* - "pending":微调任务中断
|
|
2882
|
+
* - "suspended": 微调任务被终止
|
|
2878
2883
|
* - "unknown":未知状态
|
|
2879
2884
|
*/
|
|
2880
2885
|
status: Scalars['String']['output'];
|
|
2881
2886
|
/** SFT 微调阶段之间需要通过pvc传递数据 */
|
|
2882
2887
|
storage: PersistentVolumeClaimSpec;
|
|
2883
|
-
/** SFT
|
|
2888
|
+
/** SFT 微调任务是否被取消,true 表示已被取消,false 表示没有 */
|
|
2884
2889
|
suspend: Scalars['Boolean']['output'];
|
|
2885
2890
|
/**
|
|
2886
2891
|
* SFT 微调任务的类型:
|
|
@@ -3014,8 +3019,8 @@ export type ShareGptMessage = {
|
|
|
3014
3019
|
value: Scalars['String']['output'];
|
|
3015
3020
|
};
|
|
3016
3021
|
export type ShareGptMessageInput = {
|
|
3017
|
-
|
|
3018
|
-
|
|
3022
|
+
from: Scalars['String']['input'];
|
|
3023
|
+
value: Scalars['String']['input'];
|
|
3019
3024
|
};
|
|
3020
3025
|
export type StructuredFileInfo = {
|
|
3021
3026
|
__typename?: 'StructuredFileInfo';
|
|
@@ -3148,6 +3153,8 @@ export type TuningVersionedDatasetContent = {
|
|
|
3148
3153
|
createdAt: Scalars['Time']['output'];
|
|
3149
3154
|
/** 训练数据集版本的具体数据 */
|
|
3150
3155
|
data: ContentTemplate;
|
|
3156
|
+
/** 训练数据集数据类型 */
|
|
3157
|
+
dataType?: Maybe<Scalars['String']['output']>;
|
|
3151
3158
|
/** 训练数据集版本的 ShareGPT 格式数据的具体内容 */
|
|
3152
3159
|
shareGPTData: ShareGptContentTemplate;
|
|
3153
3160
|
updatedAt: Scalars['Time']['output'];
|
|
@@ -8368,6 +8375,7 @@ export type GetVersionContentQuery = {
|
|
|
8368
8375
|
} | {
|
|
8369
8376
|
__typename?: 'TuningVersionedDatasetContent';
|
|
8370
8377
|
ID: string;
|
|
8378
|
+
dataType?: string | null;
|
|
8371
8379
|
createdAt: any;
|
|
8372
8380
|
updatedAt: any;
|
|
8373
8381
|
data: {
|
|
@@ -8602,6 +8610,8 @@ export type ListSftQuery = {
|
|
|
8602
8610
|
exportDescription?: string | null;
|
|
8603
8611
|
exportPartSize?: number | null;
|
|
8604
8612
|
chatAdditionalEnvs?: any | null;
|
|
8613
|
+
chatStatus?: string | null;
|
|
8614
|
+
chatStatusMessage?: string | null;
|
|
8605
8615
|
storage: {
|
|
8606
8616
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
8607
8617
|
accessModes: Array<string>;
|
|
@@ -8739,6 +8749,8 @@ export type GetSftQuery = {
|
|
|
8739
8749
|
exportDescription?: string | null;
|
|
8740
8750
|
exportPartSize?: number | null;
|
|
8741
8751
|
chatAdditionalEnvs?: any | null;
|
|
8752
|
+
chatStatus?: string | null;
|
|
8753
|
+
chatStatusMessage?: string | null;
|
|
8742
8754
|
storage: {
|
|
8743
8755
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
8744
8756
|
accessModes: Array<string>;
|
|
@@ -8919,6 +8931,8 @@ export type CreateSftMutation = {
|
|
|
8919
8931
|
exportDescription?: string | null;
|
|
8920
8932
|
exportPartSize?: number | null;
|
|
8921
8933
|
chatAdditionalEnvs?: any | null;
|
|
8934
|
+
chatStatus?: string | null;
|
|
8935
|
+
chatStatusMessage?: string | null;
|
|
8922
8936
|
storage: {
|
|
8923
8937
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
8924
8938
|
accessModes: Array<string>;
|
|
@@ -9040,6 +9054,8 @@ export type UpdateSftMutation = {
|
|
|
9040
9054
|
exportDescription?: string | null;
|
|
9041
9055
|
exportPartSize?: number | null;
|
|
9042
9056
|
chatAdditionalEnvs?: any | null;
|
|
9057
|
+
chatStatus?: string | null;
|
|
9058
|
+
chatStatusMessage?: string | null;
|
|
9043
9059
|
storage: {
|
|
9044
9060
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
9045
9061
|
accessModes: Array<string>;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -2562,6 +2562,7 @@ var GetVersionContentDocument = import_graphql_tag.default`
|
|
|
2562
2562
|
nodes {
|
|
2563
2563
|
... on TuningVersionedDatasetContent {
|
|
2564
2564
|
ID
|
|
2565
|
+
dataType
|
|
2565
2566
|
data {
|
|
2566
2567
|
instruction
|
|
2567
2568
|
output
|
|
@@ -2779,6 +2780,8 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2779
2780
|
values
|
|
2780
2781
|
}
|
|
2781
2782
|
chatAdditionalEnvs
|
|
2783
|
+
chatStatus
|
|
2784
|
+
chatStatusMessage
|
|
2782
2785
|
}
|
|
2783
2786
|
}
|
|
2784
2787
|
}
|
|
@@ -2887,6 +2890,8 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2887
2890
|
values
|
|
2888
2891
|
}
|
|
2889
2892
|
chatAdditionalEnvs
|
|
2893
|
+
chatStatus
|
|
2894
|
+
chatStatusMessage
|
|
2890
2895
|
}
|
|
2891
2896
|
}
|
|
2892
2897
|
}
|
|
@@ -3037,6 +3042,8 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
3037
3042
|
values
|
|
3038
3043
|
}
|
|
3039
3044
|
chatAdditionalEnvs
|
|
3045
|
+
chatStatus
|
|
3046
|
+
chatStatusMessage
|
|
3040
3047
|
}
|
|
3041
3048
|
}
|
|
3042
3049
|
}
|
|
@@ -3143,6 +3150,8 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
3143
3150
|
values
|
|
3144
3151
|
}
|
|
3145
3152
|
chatAdditionalEnvs
|
|
3153
|
+
chatStatus
|
|
3154
|
+
chatStatusMessage
|
|
3146
3155
|
}
|
|
3147
3156
|
}
|
|
3148
3157
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -2792,6 +2792,10 @@ export type Sft = {
|
|
|
2792
2792
|
chatMatchExpressions?: Maybe<Array<Maybe<NodeSelectorRequirement>>>;
|
|
2793
2793
|
/** SFT 微调对话测试所使用的资源 */
|
|
2794
2794
|
chatResources?: Maybe<Resources>;
|
|
2795
|
+
/** SFT 微调测试对话 Pod 状态 */
|
|
2796
|
+
chatStatus?: Maybe<Scalars['String']['output']>;
|
|
2797
|
+
/** SFT 微淘测试对话状态的辅助信息 */
|
|
2798
|
+
chatStatusMessage?: Maybe<Scalars['String']['output']>;
|
|
2795
2799
|
/** 微调完成时间, 记录微调任务完成的时间(不包括合并导出,未完成则该字段为空) */
|
|
2796
2800
|
completeTimestamp?: Maybe<Scalars['Time']['output']>;
|
|
2797
2801
|
/** 创建时间 */
|
|
@@ -2870,17 +2874,18 @@ export type Sft = {
|
|
|
2870
2874
|
* - "preparing":微调任务准备中
|
|
2871
2875
|
* - "processing":微调任务正在进行中
|
|
2872
2876
|
* - "standby":微调完成,可供测试对话或导出
|
|
2873
|
-
* - "exporting"
|
|
2877
|
+
* - "exporting": 微调后模型合并导出中
|
|
2874
2878
|
* - "closed":微调任务流程全部结束,已关闭
|
|
2875
2879
|
* - 异常:
|
|
2876
2880
|
* - "failed":微调失败
|
|
2877
|
-
* - "
|
|
2881
|
+
* - "pending":微调任务中断
|
|
2882
|
+
* - "suspended": 微调任务被终止
|
|
2878
2883
|
* - "unknown":未知状态
|
|
2879
2884
|
*/
|
|
2880
2885
|
status: Scalars['String']['output'];
|
|
2881
2886
|
/** SFT 微调阶段之间需要通过pvc传递数据 */
|
|
2882
2887
|
storage: PersistentVolumeClaimSpec;
|
|
2883
|
-
/** SFT
|
|
2888
|
+
/** SFT 微调任务是否被取消,true 表示已被取消,false 表示没有 */
|
|
2884
2889
|
suspend: Scalars['Boolean']['output'];
|
|
2885
2890
|
/**
|
|
2886
2891
|
* SFT 微调任务的类型:
|
|
@@ -3014,8 +3019,8 @@ export type ShareGptMessage = {
|
|
|
3014
3019
|
value: Scalars['String']['output'];
|
|
3015
3020
|
};
|
|
3016
3021
|
export type ShareGptMessageInput = {
|
|
3017
|
-
|
|
3018
|
-
|
|
3022
|
+
from: Scalars['String']['input'];
|
|
3023
|
+
value: Scalars['String']['input'];
|
|
3019
3024
|
};
|
|
3020
3025
|
export type StructuredFileInfo = {
|
|
3021
3026
|
__typename?: 'StructuredFileInfo';
|
|
@@ -3148,6 +3153,8 @@ export type TuningVersionedDatasetContent = {
|
|
|
3148
3153
|
createdAt: Scalars['Time']['output'];
|
|
3149
3154
|
/** 训练数据集版本的具体数据 */
|
|
3150
3155
|
data: ContentTemplate;
|
|
3156
|
+
/** 训练数据集数据类型 */
|
|
3157
|
+
dataType?: Maybe<Scalars['String']['output']>;
|
|
3151
3158
|
/** 训练数据集版本的 ShareGPT 格式数据的具体内容 */
|
|
3152
3159
|
shareGPTData: ShareGptContentTemplate;
|
|
3153
3160
|
updatedAt: Scalars['Time']['output'];
|
|
@@ -8368,6 +8375,7 @@ export type GetVersionContentQuery = {
|
|
|
8368
8375
|
} | {
|
|
8369
8376
|
__typename?: 'TuningVersionedDatasetContent';
|
|
8370
8377
|
ID: string;
|
|
8378
|
+
dataType?: string | null;
|
|
8371
8379
|
createdAt: any;
|
|
8372
8380
|
updatedAt: any;
|
|
8373
8381
|
data: {
|
|
@@ -8602,6 +8610,8 @@ export type ListSftQuery = {
|
|
|
8602
8610
|
exportDescription?: string | null;
|
|
8603
8611
|
exportPartSize?: number | null;
|
|
8604
8612
|
chatAdditionalEnvs?: any | null;
|
|
8613
|
+
chatStatus?: string | null;
|
|
8614
|
+
chatStatusMessage?: string | null;
|
|
8605
8615
|
storage: {
|
|
8606
8616
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
8607
8617
|
accessModes: Array<string>;
|
|
@@ -8739,6 +8749,8 @@ export type GetSftQuery = {
|
|
|
8739
8749
|
exportDescription?: string | null;
|
|
8740
8750
|
exportPartSize?: number | null;
|
|
8741
8751
|
chatAdditionalEnvs?: any | null;
|
|
8752
|
+
chatStatus?: string | null;
|
|
8753
|
+
chatStatusMessage?: string | null;
|
|
8742
8754
|
storage: {
|
|
8743
8755
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
8744
8756
|
accessModes: Array<string>;
|
|
@@ -8919,6 +8931,8 @@ export type CreateSftMutation = {
|
|
|
8919
8931
|
exportDescription?: string | null;
|
|
8920
8932
|
exportPartSize?: number | null;
|
|
8921
8933
|
chatAdditionalEnvs?: any | null;
|
|
8934
|
+
chatStatus?: string | null;
|
|
8935
|
+
chatStatusMessage?: string | null;
|
|
8922
8936
|
storage: {
|
|
8923
8937
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
8924
8938
|
accessModes: Array<string>;
|
|
@@ -9040,6 +9054,8 @@ export type UpdateSftMutation = {
|
|
|
9040
9054
|
exportDescription?: string | null;
|
|
9041
9055
|
exportPartSize?: number | null;
|
|
9042
9056
|
chatAdditionalEnvs?: any | null;
|
|
9057
|
+
chatStatus?: string | null;
|
|
9058
|
+
chatStatusMessage?: string | null;
|
|
9043
9059
|
storage: {
|
|
9044
9060
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
9045
9061
|
accessModes: Array<string>;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -260,7 +260,7 @@ export var GetRerankerDocument = gql(_templateObject98 || (_templateObject98 = _
|
|
|
260
260
|
export var ListTuningDataSetDocument = gql(_templateObject99 || (_templateObject99 = _taggedTemplateLiteral(["\n query listTuningDataSet($namespace: String!, $options: ListOptionInput) {\n TuningDataSet {\n listTuningDataSet(namespace: $namespace, options: $options) {\n totalCount\n nodes {\n ... on TuningDataSet {\n ID\n name\n namespace\n creator\n type\n dataType\n createdAt\n updatedAt\n versions {\n totalCount\n nodes {\n ... on TuningVersionedDataset {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n }\n }\n }\n }\n }\n }\n }\n}\n "])));
|
|
261
261
|
export var GetTuningDataSetDocument = gql(_templateObject100 || (_templateObject100 = _taggedTemplateLiteral(["\n query getTuningDataSet($id: String!) {\n TuningDataSet {\n getTuningDataSet(id: $id) {\n ID\n name\n namespace\n creator\n type\n dataType\n createdAt\n updatedAt\n versions {\n totalCount\n nodes {\n ... on TuningVersionedDataset {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n }\n }\n }\n }\n }\n}\n "])));
|
|
262
262
|
export var GetVersionDocument = gql(_templateObject101 || (_templateObject101 = _taggedTemplateLiteral(["\n query getVersion($id: String!) {\n TuningDataSet {\n getVersion(id: $id) {\n ID\n description\n version\n creator\n createdAt\n updatedAt\n contentCount\n files {\n totalCount\n nodes {\n ... on TuningVersionedDatasetFiles {\n ID\n fileName\n size\n count\n status\n createdAt\n updatedAt\n msg\n }\n }\n }\n }\n }\n}\n "])));
|
|
263
|
-
export var GetVersionContentDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n query getVersionContent($id: String!, $input: ListCommonInput) {\n TuningDataSet {\n getVersionContent(id: $id, input: $input) {\n totalCount\n nodes {\n ... on TuningVersionedDatasetContent {\n ID\n data {\n instruction\n output\n input\n system\n history\n }\n shareGPTData {\n conversations {\n ... on ShareGPTMessage {\n from\n value\n }\n }\n system\n }\n createdAt\n updatedAt\n }\n }\n }\n }\n}\n "])));
|
|
263
|
+
export var GetVersionContentDocument = gql(_templateObject102 || (_templateObject102 = _taggedTemplateLiteral(["\n query getVersionContent($id: String!, $input: ListCommonInput) {\n TuningDataSet {\n getVersionContent(id: $id, input: $input) {\n totalCount\n nodes {\n ... on TuningVersionedDatasetContent {\n ID\n dataType\n data {\n instruction\n output\n input\n system\n history\n }\n shareGPTData {\n conversations {\n ... on ShareGPTMessage {\n from\n value\n }\n }\n system\n }\n createdAt\n updatedAt\n }\n }\n }\n }\n}\n "])));
|
|
264
264
|
export var CreateTuningDataSetDocument = gql(_templateObject103 || (_templateObject103 = _taggedTemplateLiteral(["\n mutation createTuningDataSet($input: CreateTuningDataSetInput!) {\n TuningDataSet {\n createTuningDataSet(input: $input) {\n datasetID\n versionIDs\n }\n }\n}\n "])));
|
|
265
265
|
export var UpdateTuningDataSetDocument = gql(_templateObject104 || (_templateObject104 = _taggedTemplateLiteral(["\n mutation updateTuningDataSet($id: String!, $newName: String!) {\n TuningDataSet {\n updateTuningDataSet(id: $id, newName: $newName)\n }\n}\n "])));
|
|
266
266
|
export var DeleteTuningDataSetDocument = gql(_templateObject105 || (_templateObject105 = _taggedTemplateLiteral(["\n mutation deleteTuningDataSet($id: [String!]) {\n TuningDataSet {\n deleteTuningDataSet(id: $id)\n }\n}\n "])));
|
|
@@ -273,14 +273,14 @@ export var UpdateShareGptContentDocument = gql(_templateObject111 || (_templateO
|
|
|
273
273
|
export var DeleteContentDocument = gql(_templateObject112 || (_templateObject112 = _taggedTemplateLiteral(["\n mutation deleteContent($contentIDs: [String!]) {\n TuningDataSet {\n deleteContent(contentIDs: $contentIDs)\n }\n}\n "])));
|
|
274
274
|
export var DeleteVersionAllContentDocument = gql(_templateObject113 || (_templateObject113 = _taggedTemplateLiteral(["\n mutation deleteVersionAllContent($id: String!) {\n TuningDataSet {\n deleteVersionAllContent(id: $id)\n }\n}\n "])));
|
|
275
275
|
export var LoadVersionFilesDocument = gql(_templateObject114 || (_templateObject114 = _taggedTemplateLiteral(["\n mutation loadVersionFiles($id: String!, $files: [String!]) {\n TuningDataSet {\n loadVersionFiles(id: $id, files: $files)\n }\n}\n "])));
|
|
276
|
-
export var ListSftDocument = gql(_templateObject115 || (_templateObject115 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n }\n }\n }\n }\n}\n "])));
|
|
277
|
-
export var GetSftDocument = gql(_templateObject116 || (_templateObject116 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n }\n }\n}\n "])));
|
|
276
|
+
export var ListSftDocument = gql(_templateObject115 || (_templateObject115 = _taggedTemplateLiteral(["\n query listSFT($input: ListCommonInput!) {\n SFT {\n listSFT(input: $input) {\n totalCount\n hasNextPage\n nodes {\n ... on SFT {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n chatStatus\n chatStatusMessage\n }\n }\n }\n }\n}\n "])));
|
|
277
|
+
export var GetSftDocument = gql(_templateObject116 || (_templateObject116 = _taggedTemplateLiteral(["\n query getSFT($name: String!, $namespace: String!) {\n SFT {\n getSFT(name: $name, namespace: $namespace) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n chatStatus\n chatStatusMessage\n }\n }\n}\n "])));
|
|
278
278
|
export var ListSftMetricDocument = gql(_templateObject117 || (_templateObject117 = _taggedTemplateLiteral(["\n query listSFTMetric($kind: String!) {\n SFT {\n listSFTMetric(kind: $kind) {\n ... on SFTMetric {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n }\n }\n}\n "])));
|
|
279
279
|
export var GetSftMonitorDocument = gql(_templateObject118 || (_templateObject118 = _taggedTemplateLiteral(["\n query getSFTMonitor($name: String!, $namespace: String!) {\n SFT {\n getSFTMonitor(name: $name, namespace: $namespace)\n }\n}\n "])));
|
|
280
280
|
export var GetSftChatterDocument = gql(_templateObject119 || (_templateObject119 = _taggedTemplateLiteral(["\n query getSFTChatter($name: String!, $namespace: String!) {\n SFT {\n getSFTChatter(name: $name, namespace: $namespace)\n }\n}\n "])));
|
|
281
281
|
export var GetExportedSftDocument = gql(_templateObject120 || (_templateObject120 = _taggedTemplateLiteral(["\n query getExportedSFT($name: String!, $namespace: String!) {\n SFT {\n getExportedSFT(name: $name, namespace: $namespace) {\n name\n displayName\n description\n partSize\n }\n }\n}\n "])));
|
|
282
|
-
export var CreateSftDocument = gql(_templateObject121 || (_templateObject121 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n }\n }\n}\n "])));
|
|
283
|
-
export var UpdateSftDocument = gql(_templateObject122 || (_templateObject122 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n }\n }\n}\n "])));
|
|
282
|
+
export var CreateSftDocument = gql(_templateObject121 || (_templateObject121 = _taggedTemplateLiteral(["\n mutation createSFT($input: CreateSFTInput!) {\n SFT {\n createSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n chatStatus\n chatStatusMessage\n }\n }\n}\n "])));
|
|
283
|
+
export var UpdateSftDocument = gql(_templateObject122 || (_templateObject122 = _taggedTemplateLiteral(["\n mutation updateSFT($input: UpdateSFTInput!) {\n SFT {\n updateSFT(input: $input) {\n name\n namespace\n labels\n annotations\n creator\n displayName\n description\n creationTimestamp\n completeTimestamp\n exportTimestamp\n exportCompleteTimestamp\n type\n storage {\n accessModes\n selector {\n matchLabels\n matchExpressions {\n key\n values\n operator\n }\n }\n resources {\n limits\n requests\n }\n volumeName\n storageClassName\n volumeMode\n datasource {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n dataSourceRef {\n apiGroup\n kind\n name\n namespace\n displayName\n }\n }\n datasets {\n ... on SFTDataset {\n source\n sourceID\n version\n id\n }\n }\n baseModel {\n kind\n name\n namespace\n displayName\n }\n serviceAccountName\n suspend\n status\n phase\n phaseMessage\n metrics {\n metricKind\n metricName\n metricNameZH\n metricValue\n metricDefaultValue\n metricType\n metricValidValues\n metricDescription\n }\n resources {\n cpu\n memory\n nvidiaGPU\n }\n matchExpressions {\n key\n operator\n values\n }\n additionalEnvs\n exportName\n exportDescription\n exportPartSize\n chatResources {\n cpu\n memory\n nvidiaGPU\n }\n chatMatchExpressions {\n key\n operator\n values\n }\n chatAdditionalEnvs\n chatStatus\n chatStatusMessage\n }\n }\n}\n "])));
|
|
284
284
|
export var DeleteSftDocument = gql(_templateObject123 || (_templateObject123 = _taggedTemplateLiteral(["\n mutation deleteSFT($input: DeleteCommonInput!) {\n SFT {\n deleteSFT(input: $input)\n }\n}\n "])));
|
|
285
285
|
export var ExportSftDocument = gql(_templateObject124 || (_templateObject124 = _taggedTemplateLiteral(["\n mutation exportSFT($name: String!, $namespace: String!, $input: ExportSFTInput!) {\n SFT {\n exportSFT(name: $name, namespace: $namespace, input: $input)\n }\n}\n "])));
|
|
286
286
|
export var ChatSftDocument = gql(_templateObject125 || (_templateObject125 = _taggedTemplateLiteral(["\n mutation chatSFT($input: ChatSFTInput!) {\n SFT {\n chatSFT(input: $input)\n }\n}\n "])));
|