@yuntijs/arcadia-bff-sdk 1.2.66 → 1.2.68
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 +54 -6
- package/dist/cjs/sdk.js +28 -0
- package/dist/esm/sdk.d.ts +54 -6
- package/dist/esm/sdk.js +4 -4
- 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
|
@@ -588,12 +588,14 @@ export type CreateRagInput = {
|
|
|
588
588
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
589
589
|
};
|
|
590
590
|
export type CreateSftInput = {
|
|
591
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
591
592
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
592
593
|
baseModel: TypedObjectReferenceInput;
|
|
593
594
|
datasets: Array<Scalars['String']['input']>;
|
|
594
595
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
595
596
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
596
597
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
598
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
597
599
|
metrics: Array<SftMetricInput>;
|
|
598
600
|
name: Scalars['String']['input'];
|
|
599
601
|
namespace: Scalars['String']['input'];
|
|
@@ -616,7 +618,7 @@ export type CreateTuningDataSetInput = {
|
|
|
616
618
|
};
|
|
617
619
|
export type CreateTuningVersionedDataSetInput = {
|
|
618
620
|
/** 训练数据集版本的描述信息 */
|
|
619
|
-
description
|
|
621
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
620
622
|
/** 训练数据集版本的版本,每个训练数据的版本不可以重复 */
|
|
621
623
|
version: Scalars['String']['input'];
|
|
622
624
|
};
|
|
@@ -2463,6 +2465,8 @@ export type ResourcesInput = {
|
|
|
2463
2465
|
};
|
|
2464
2466
|
export type Sft = {
|
|
2465
2467
|
__typename?: 'SFT';
|
|
2468
|
+
/** SFT 微调任务的附加参数 */
|
|
2469
|
+
additionalEnvs?: Maybe<Scalars['Map']['output']>;
|
|
2466
2470
|
/** 添加一些辅助性记录信息 */
|
|
2467
2471
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
2468
2472
|
/**
|
|
@@ -2490,6 +2494,8 @@ export type Sft = {
|
|
|
2490
2494
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
2491
2495
|
/** 一些用于标记,选择的的标签 */
|
|
2492
2496
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
2497
|
+
/** SFT 微调节点亲合度配置 */
|
|
2498
|
+
matchExpressions?: Maybe<Array<Maybe<NodeSelectorRequirement>>>;
|
|
2493
2499
|
/**
|
|
2494
2500
|
* SFT 微调任务指定的参数列表
|
|
2495
2501
|
* 规则:必填
|
|
@@ -2547,7 +2553,7 @@ export type Sft = {
|
|
|
2547
2553
|
suspend: Scalars['Boolean']['output'];
|
|
2548
2554
|
/**
|
|
2549
2555
|
* SFT 微调任务的类型:
|
|
2550
|
-
* 规则:为 {"full", "
|
|
2556
|
+
* 规则:为 {"full", "LoRA", "QLoRA"} 之一
|
|
2551
2557
|
*/
|
|
2552
2558
|
type: Scalars['String']['output'];
|
|
2553
2559
|
};
|
|
@@ -2557,6 +2563,8 @@ export type SftDataset = {
|
|
|
2557
2563
|
id: Scalars['String']['output'];
|
|
2558
2564
|
/** SFT 数据集来源名 */
|
|
2559
2565
|
source: Scalars['String']['output'];
|
|
2566
|
+
/** SFT 数据集 ID */
|
|
2567
|
+
sourceID: Scalars['String']['output'];
|
|
2560
2568
|
/** SFT 数据集版本 */
|
|
2561
2569
|
version: Scalars['String']['output'];
|
|
2562
2570
|
};
|
|
@@ -2600,6 +2608,12 @@ export type SftQuery = {
|
|
|
2600
2608
|
__typename?: 'SFTQuery';
|
|
2601
2609
|
getSFT: Sft;
|
|
2602
2610
|
listSFT: PaginatedResult;
|
|
2611
|
+
/**
|
|
2612
|
+
* 列出 SFT 微调任务的全部参数
|
|
2613
|
+
* 参数可选值:
|
|
2614
|
+
* - "All": 列出所有参数
|
|
2615
|
+
* - 分类:"Basic", "LoRA", "General", "QLoRA", "Dataset"
|
|
2616
|
+
*/
|
|
2603
2617
|
listSFTMetric: Array<Maybe<SftMetric>>;
|
|
2604
2618
|
};
|
|
2605
2619
|
export type SftQueryGetSftArgs = {
|
|
@@ -2721,7 +2735,7 @@ export type TuningVersionedDataset = {
|
|
|
2721
2735
|
/** 创建人 */
|
|
2722
2736
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2723
2737
|
/** 训练数据集版本描述 */
|
|
2724
|
-
description
|
|
2738
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2725
2739
|
/** 训练数据使用的文件列表 */
|
|
2726
2740
|
files: PaginatedResult;
|
|
2727
2741
|
updatedAt: Scalars['Time']['output'];
|
|
@@ -3059,12 +3073,14 @@ export type UpdateRagInput = {
|
|
|
3059
3073
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3060
3074
|
};
|
|
3061
3075
|
export type UpdateSftInput = {
|
|
3076
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
3062
3077
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
3063
3078
|
baseModel?: InputMaybe<TypedObjectReferenceInput>;
|
|
3064
3079
|
datasets: Array<Scalars['String']['input']>;
|
|
3065
3080
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3066
3081
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
3067
3082
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
3083
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
3068
3084
|
metrics: Array<SftMetricInput>;
|
|
3069
3085
|
name: Scalars['String']['input'];
|
|
3070
3086
|
namespace: Scalars['String']['input'];
|
|
@@ -7138,7 +7154,7 @@ export type ListTuningDataSetQuery = {
|
|
|
7138
7154
|
} | {
|
|
7139
7155
|
__typename?: 'TuningVersionedDataset';
|
|
7140
7156
|
ID: string;
|
|
7141
|
-
description
|
|
7157
|
+
description?: string | null;
|
|
7142
7158
|
version: string;
|
|
7143
7159
|
creator?: string | null;
|
|
7144
7160
|
createdAt: any;
|
|
@@ -7236,7 +7252,7 @@ export type GetTuningDataSetQuery = {
|
|
|
7236
7252
|
} | {
|
|
7237
7253
|
__typename?: 'TuningVersionedDataset';
|
|
7238
7254
|
ID: string;
|
|
7239
|
-
description
|
|
7255
|
+
description?: string | null;
|
|
7240
7256
|
version: string;
|
|
7241
7257
|
creator?: string | null;
|
|
7242
7258
|
createdAt: any;
|
|
@@ -7267,7 +7283,7 @@ export type GetVersionQuery = {
|
|
|
7267
7283
|
getVersion: {
|
|
7268
7284
|
__typename?: 'TuningVersionedDataset';
|
|
7269
7285
|
ID: string;
|
|
7270
|
-
description
|
|
7286
|
+
description?: string | null;
|
|
7271
7287
|
version: string;
|
|
7272
7288
|
creator?: string | null;
|
|
7273
7289
|
createdAt: any;
|
|
@@ -7591,6 +7607,7 @@ export type ListSftQuery = {
|
|
|
7591
7607
|
status: string;
|
|
7592
7608
|
phase?: string | null;
|
|
7593
7609
|
phaseMessage?: string | null;
|
|
7610
|
+
additionalEnvs?: any | null;
|
|
7594
7611
|
storage: {
|
|
7595
7612
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7596
7613
|
accessModes: Array<string>;
|
|
@@ -7632,6 +7649,7 @@ export type ListSftQuery = {
|
|
|
7632
7649
|
datasets: Array<{
|
|
7633
7650
|
__typename?: 'SFTDataset';
|
|
7634
7651
|
source: string;
|
|
7652
|
+
sourceID: string;
|
|
7635
7653
|
version: string;
|
|
7636
7654
|
id: string;
|
|
7637
7655
|
}>;
|
|
@@ -7659,6 +7677,12 @@ export type ListSftQuery = {
|
|
|
7659
7677
|
memory?: string | null;
|
|
7660
7678
|
nvidiaGPU?: string | null;
|
|
7661
7679
|
};
|
|
7680
|
+
matchExpressions?: Array<{
|
|
7681
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7682
|
+
key: string;
|
|
7683
|
+
operator: string;
|
|
7684
|
+
values: Array<string>;
|
|
7685
|
+
} | null> | null;
|
|
7662
7686
|
} | {
|
|
7663
7687
|
__typename?: 'TuningDataSet';
|
|
7664
7688
|
} | {
|
|
@@ -7702,6 +7726,7 @@ export type GetSftQuery = {
|
|
|
7702
7726
|
status: string;
|
|
7703
7727
|
phase?: string | null;
|
|
7704
7728
|
phaseMessage?: string | null;
|
|
7729
|
+
additionalEnvs?: any | null;
|
|
7705
7730
|
storage: {
|
|
7706
7731
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7707
7732
|
accessModes: Array<string>;
|
|
@@ -7743,6 +7768,7 @@ export type GetSftQuery = {
|
|
|
7743
7768
|
datasets: Array<{
|
|
7744
7769
|
__typename?: 'SFTDataset';
|
|
7745
7770
|
source: string;
|
|
7771
|
+
sourceID: string;
|
|
7746
7772
|
version: string;
|
|
7747
7773
|
id: string;
|
|
7748
7774
|
}>;
|
|
@@ -7770,6 +7796,12 @@ export type GetSftQuery = {
|
|
|
7770
7796
|
memory?: string | null;
|
|
7771
7797
|
nvidiaGPU?: string | null;
|
|
7772
7798
|
};
|
|
7799
|
+
matchExpressions?: Array<{
|
|
7800
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7801
|
+
key: string;
|
|
7802
|
+
operator: string;
|
|
7803
|
+
values: Array<string>;
|
|
7804
|
+
} | null> | null;
|
|
7773
7805
|
};
|
|
7774
7806
|
} | null;
|
|
7775
7807
|
};
|
|
@@ -7817,6 +7849,7 @@ export type CreateSftMutation = {
|
|
|
7817
7849
|
status: string;
|
|
7818
7850
|
phase?: string | null;
|
|
7819
7851
|
phaseMessage?: string | null;
|
|
7852
|
+
additionalEnvs?: any | null;
|
|
7820
7853
|
storage: {
|
|
7821
7854
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7822
7855
|
accessModes: Array<string>;
|
|
@@ -7858,6 +7891,7 @@ export type CreateSftMutation = {
|
|
|
7858
7891
|
datasets: Array<{
|
|
7859
7892
|
__typename?: 'SFTDataset';
|
|
7860
7893
|
source: string;
|
|
7894
|
+
sourceID: string;
|
|
7861
7895
|
version: string;
|
|
7862
7896
|
id: string;
|
|
7863
7897
|
}>;
|
|
@@ -7885,6 +7919,12 @@ export type CreateSftMutation = {
|
|
|
7885
7919
|
memory?: string | null;
|
|
7886
7920
|
nvidiaGPU?: string | null;
|
|
7887
7921
|
};
|
|
7922
|
+
matchExpressions?: Array<{
|
|
7923
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7924
|
+
key: string;
|
|
7925
|
+
operator: string;
|
|
7926
|
+
values: Array<string>;
|
|
7927
|
+
} | null> | null;
|
|
7888
7928
|
};
|
|
7889
7929
|
} | null;
|
|
7890
7930
|
};
|
|
@@ -7912,6 +7952,7 @@ export type UpdateSftMutation = {
|
|
|
7912
7952
|
status: string;
|
|
7913
7953
|
phase?: string | null;
|
|
7914
7954
|
phaseMessage?: string | null;
|
|
7955
|
+
additionalEnvs?: any | null;
|
|
7915
7956
|
storage: {
|
|
7916
7957
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7917
7958
|
accessModes: Array<string>;
|
|
@@ -7953,6 +7994,7 @@ export type UpdateSftMutation = {
|
|
|
7953
7994
|
datasets: Array<{
|
|
7954
7995
|
__typename?: 'SFTDataset';
|
|
7955
7996
|
source: string;
|
|
7997
|
+
sourceID: string;
|
|
7956
7998
|
version: string;
|
|
7957
7999
|
id: string;
|
|
7958
8000
|
}>;
|
|
@@ -7980,6 +8022,12 @@ export type UpdateSftMutation = {
|
|
|
7980
8022
|
memory?: string | null;
|
|
7981
8023
|
nvidiaGPU?: string | null;
|
|
7982
8024
|
};
|
|
8025
|
+
matchExpressions?: Array<{
|
|
8026
|
+
__typename?: 'NodeSelectorRequirement';
|
|
8027
|
+
key: string;
|
|
8028
|
+
operator: string;
|
|
8029
|
+
values: Array<string>;
|
|
8030
|
+
} | null> | null;
|
|
7983
8031
|
};
|
|
7984
8032
|
} | null;
|
|
7985
8033
|
};
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -2447,6 +2447,7 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2447
2447
|
datasets {
|
|
2448
2448
|
... on SFTDataset {
|
|
2449
2449
|
source
|
|
2450
|
+
sourceID
|
|
2450
2451
|
version
|
|
2451
2452
|
id
|
|
2452
2453
|
}
|
|
@@ -2477,6 +2478,12 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2477
2478
|
memory
|
|
2478
2479
|
nvidiaGPU
|
|
2479
2480
|
}
|
|
2481
|
+
matchExpressions {
|
|
2482
|
+
key
|
|
2483
|
+
operator
|
|
2484
|
+
values
|
|
2485
|
+
}
|
|
2486
|
+
additionalEnvs
|
|
2480
2487
|
}
|
|
2481
2488
|
}
|
|
2482
2489
|
}
|
|
@@ -2532,6 +2539,7 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2532
2539
|
datasets {
|
|
2533
2540
|
... on SFTDataset {
|
|
2534
2541
|
source
|
|
2542
|
+
sourceID
|
|
2535
2543
|
version
|
|
2536
2544
|
id
|
|
2537
2545
|
}
|
|
@@ -2562,6 +2570,12 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2562
2570
|
memory
|
|
2563
2571
|
nvidiaGPU
|
|
2564
2572
|
}
|
|
2573
|
+
matchExpressions {
|
|
2574
|
+
key
|
|
2575
|
+
operator
|
|
2576
|
+
values
|
|
2577
|
+
}
|
|
2578
|
+
additionalEnvs
|
|
2565
2579
|
}
|
|
2566
2580
|
}
|
|
2567
2581
|
}
|
|
@@ -2633,6 +2647,7 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2633
2647
|
datasets {
|
|
2634
2648
|
... on SFTDataset {
|
|
2635
2649
|
source
|
|
2650
|
+
sourceID
|
|
2636
2651
|
version
|
|
2637
2652
|
id
|
|
2638
2653
|
}
|
|
@@ -2663,6 +2678,12 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2663
2678
|
memory
|
|
2664
2679
|
nvidiaGPU
|
|
2665
2680
|
}
|
|
2681
|
+
matchExpressions {
|
|
2682
|
+
key
|
|
2683
|
+
operator
|
|
2684
|
+
values
|
|
2685
|
+
}
|
|
2686
|
+
additionalEnvs
|
|
2666
2687
|
}
|
|
2667
2688
|
}
|
|
2668
2689
|
}
|
|
@@ -2716,6 +2737,7 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2716
2737
|
datasets {
|
|
2717
2738
|
... on SFTDataset {
|
|
2718
2739
|
source
|
|
2740
|
+
sourceID
|
|
2719
2741
|
version
|
|
2720
2742
|
id
|
|
2721
2743
|
}
|
|
@@ -2746,6 +2768,12 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2746
2768
|
memory
|
|
2747
2769
|
nvidiaGPU
|
|
2748
2770
|
}
|
|
2771
|
+
matchExpressions {
|
|
2772
|
+
key
|
|
2773
|
+
operator
|
|
2774
|
+
values
|
|
2775
|
+
}
|
|
2776
|
+
additionalEnvs
|
|
2749
2777
|
}
|
|
2750
2778
|
}
|
|
2751
2779
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -588,12 +588,14 @@ export type CreateRagInput = {
|
|
|
588
588
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
589
589
|
};
|
|
590
590
|
export type CreateSftInput = {
|
|
591
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
591
592
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
592
593
|
baseModel: TypedObjectReferenceInput;
|
|
593
594
|
datasets: Array<Scalars['String']['input']>;
|
|
594
595
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
595
596
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
596
597
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
598
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
597
599
|
metrics: Array<SftMetricInput>;
|
|
598
600
|
name: Scalars['String']['input'];
|
|
599
601
|
namespace: Scalars['String']['input'];
|
|
@@ -616,7 +618,7 @@ export type CreateTuningDataSetInput = {
|
|
|
616
618
|
};
|
|
617
619
|
export type CreateTuningVersionedDataSetInput = {
|
|
618
620
|
/** 训练数据集版本的描述信息 */
|
|
619
|
-
description
|
|
621
|
+
description?: InputMaybe<Scalars['String']['input']>;
|
|
620
622
|
/** 训练数据集版本的版本,每个训练数据的版本不可以重复 */
|
|
621
623
|
version: Scalars['String']['input'];
|
|
622
624
|
};
|
|
@@ -2463,6 +2465,8 @@ export type ResourcesInput = {
|
|
|
2463
2465
|
};
|
|
2464
2466
|
export type Sft = {
|
|
2465
2467
|
__typename?: 'SFT';
|
|
2468
|
+
/** SFT 微调任务的附加参数 */
|
|
2469
|
+
additionalEnvs?: Maybe<Scalars['Map']['output']>;
|
|
2466
2470
|
/** 添加一些辅助性记录信息 */
|
|
2467
2471
|
annotations?: Maybe<Scalars['Map']['output']>;
|
|
2468
2472
|
/**
|
|
@@ -2490,6 +2494,8 @@ export type Sft = {
|
|
|
2490
2494
|
displayName?: Maybe<Scalars['String']['output']>;
|
|
2491
2495
|
/** 一些用于标记,选择的的标签 */
|
|
2492
2496
|
labels?: Maybe<Scalars['Map']['output']>;
|
|
2497
|
+
/** SFT 微调节点亲合度配置 */
|
|
2498
|
+
matchExpressions?: Maybe<Array<Maybe<NodeSelectorRequirement>>>;
|
|
2493
2499
|
/**
|
|
2494
2500
|
* SFT 微调任务指定的参数列表
|
|
2495
2501
|
* 规则:必填
|
|
@@ -2547,7 +2553,7 @@ export type Sft = {
|
|
|
2547
2553
|
suspend: Scalars['Boolean']['output'];
|
|
2548
2554
|
/**
|
|
2549
2555
|
* SFT 微调任务的类型:
|
|
2550
|
-
* 规则:为 {"full", "
|
|
2556
|
+
* 规则:为 {"full", "LoRA", "QLoRA"} 之一
|
|
2551
2557
|
*/
|
|
2552
2558
|
type: Scalars['String']['output'];
|
|
2553
2559
|
};
|
|
@@ -2557,6 +2563,8 @@ export type SftDataset = {
|
|
|
2557
2563
|
id: Scalars['String']['output'];
|
|
2558
2564
|
/** SFT 数据集来源名 */
|
|
2559
2565
|
source: Scalars['String']['output'];
|
|
2566
|
+
/** SFT 数据集 ID */
|
|
2567
|
+
sourceID: Scalars['String']['output'];
|
|
2560
2568
|
/** SFT 数据集版本 */
|
|
2561
2569
|
version: Scalars['String']['output'];
|
|
2562
2570
|
};
|
|
@@ -2600,6 +2608,12 @@ export type SftQuery = {
|
|
|
2600
2608
|
__typename?: 'SFTQuery';
|
|
2601
2609
|
getSFT: Sft;
|
|
2602
2610
|
listSFT: PaginatedResult;
|
|
2611
|
+
/**
|
|
2612
|
+
* 列出 SFT 微调任务的全部参数
|
|
2613
|
+
* 参数可选值:
|
|
2614
|
+
* - "All": 列出所有参数
|
|
2615
|
+
* - 分类:"Basic", "LoRA", "General", "QLoRA", "Dataset"
|
|
2616
|
+
*/
|
|
2603
2617
|
listSFTMetric: Array<Maybe<SftMetric>>;
|
|
2604
2618
|
};
|
|
2605
2619
|
export type SftQueryGetSftArgs = {
|
|
@@ -2721,7 +2735,7 @@ export type TuningVersionedDataset = {
|
|
|
2721
2735
|
/** 创建人 */
|
|
2722
2736
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2723
2737
|
/** 训练数据集版本描述 */
|
|
2724
|
-
description
|
|
2738
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
2725
2739
|
/** 训练数据使用的文件列表 */
|
|
2726
2740
|
files: PaginatedResult;
|
|
2727
2741
|
updatedAt: Scalars['Time']['output'];
|
|
@@ -3059,12 +3073,14 @@ export type UpdateRagInput = {
|
|
|
3059
3073
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3060
3074
|
};
|
|
3061
3075
|
export type UpdateSftInput = {
|
|
3076
|
+
additionalEnvs?: InputMaybe<Scalars['Map']['input']>;
|
|
3062
3077
|
annotations?: InputMaybe<Scalars['Map']['input']>;
|
|
3063
3078
|
baseModel?: InputMaybe<TypedObjectReferenceInput>;
|
|
3064
3079
|
datasets: Array<Scalars['String']['input']>;
|
|
3065
3080
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3066
3081
|
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
3067
3082
|
labels?: InputMaybe<Scalars['Map']['input']>;
|
|
3083
|
+
matchExpressions?: InputMaybe<Array<InputMaybe<NodeSelectorRequirementInput>>>;
|
|
3068
3084
|
metrics: Array<SftMetricInput>;
|
|
3069
3085
|
name: Scalars['String']['input'];
|
|
3070
3086
|
namespace: Scalars['String']['input'];
|
|
@@ -7138,7 +7154,7 @@ export type ListTuningDataSetQuery = {
|
|
|
7138
7154
|
} | {
|
|
7139
7155
|
__typename?: 'TuningVersionedDataset';
|
|
7140
7156
|
ID: string;
|
|
7141
|
-
description
|
|
7157
|
+
description?: string | null;
|
|
7142
7158
|
version: string;
|
|
7143
7159
|
creator?: string | null;
|
|
7144
7160
|
createdAt: any;
|
|
@@ -7236,7 +7252,7 @@ export type GetTuningDataSetQuery = {
|
|
|
7236
7252
|
} | {
|
|
7237
7253
|
__typename?: 'TuningVersionedDataset';
|
|
7238
7254
|
ID: string;
|
|
7239
|
-
description
|
|
7255
|
+
description?: string | null;
|
|
7240
7256
|
version: string;
|
|
7241
7257
|
creator?: string | null;
|
|
7242
7258
|
createdAt: any;
|
|
@@ -7267,7 +7283,7 @@ export type GetVersionQuery = {
|
|
|
7267
7283
|
getVersion: {
|
|
7268
7284
|
__typename?: 'TuningVersionedDataset';
|
|
7269
7285
|
ID: string;
|
|
7270
|
-
description
|
|
7286
|
+
description?: string | null;
|
|
7271
7287
|
version: string;
|
|
7272
7288
|
creator?: string | null;
|
|
7273
7289
|
createdAt: any;
|
|
@@ -7591,6 +7607,7 @@ export type ListSftQuery = {
|
|
|
7591
7607
|
status: string;
|
|
7592
7608
|
phase?: string | null;
|
|
7593
7609
|
phaseMessage?: string | null;
|
|
7610
|
+
additionalEnvs?: any | null;
|
|
7594
7611
|
storage: {
|
|
7595
7612
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7596
7613
|
accessModes: Array<string>;
|
|
@@ -7632,6 +7649,7 @@ export type ListSftQuery = {
|
|
|
7632
7649
|
datasets: Array<{
|
|
7633
7650
|
__typename?: 'SFTDataset';
|
|
7634
7651
|
source: string;
|
|
7652
|
+
sourceID: string;
|
|
7635
7653
|
version: string;
|
|
7636
7654
|
id: string;
|
|
7637
7655
|
}>;
|
|
@@ -7659,6 +7677,12 @@ export type ListSftQuery = {
|
|
|
7659
7677
|
memory?: string | null;
|
|
7660
7678
|
nvidiaGPU?: string | null;
|
|
7661
7679
|
};
|
|
7680
|
+
matchExpressions?: Array<{
|
|
7681
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7682
|
+
key: string;
|
|
7683
|
+
operator: string;
|
|
7684
|
+
values: Array<string>;
|
|
7685
|
+
} | null> | null;
|
|
7662
7686
|
} | {
|
|
7663
7687
|
__typename?: 'TuningDataSet';
|
|
7664
7688
|
} | {
|
|
@@ -7702,6 +7726,7 @@ export type GetSftQuery = {
|
|
|
7702
7726
|
status: string;
|
|
7703
7727
|
phase?: string | null;
|
|
7704
7728
|
phaseMessage?: string | null;
|
|
7729
|
+
additionalEnvs?: any | null;
|
|
7705
7730
|
storage: {
|
|
7706
7731
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7707
7732
|
accessModes: Array<string>;
|
|
@@ -7743,6 +7768,7 @@ export type GetSftQuery = {
|
|
|
7743
7768
|
datasets: Array<{
|
|
7744
7769
|
__typename?: 'SFTDataset';
|
|
7745
7770
|
source: string;
|
|
7771
|
+
sourceID: string;
|
|
7746
7772
|
version: string;
|
|
7747
7773
|
id: string;
|
|
7748
7774
|
}>;
|
|
@@ -7770,6 +7796,12 @@ export type GetSftQuery = {
|
|
|
7770
7796
|
memory?: string | null;
|
|
7771
7797
|
nvidiaGPU?: string | null;
|
|
7772
7798
|
};
|
|
7799
|
+
matchExpressions?: Array<{
|
|
7800
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7801
|
+
key: string;
|
|
7802
|
+
operator: string;
|
|
7803
|
+
values: Array<string>;
|
|
7804
|
+
} | null> | null;
|
|
7773
7805
|
};
|
|
7774
7806
|
} | null;
|
|
7775
7807
|
};
|
|
@@ -7817,6 +7849,7 @@ export type CreateSftMutation = {
|
|
|
7817
7849
|
status: string;
|
|
7818
7850
|
phase?: string | null;
|
|
7819
7851
|
phaseMessage?: string | null;
|
|
7852
|
+
additionalEnvs?: any | null;
|
|
7820
7853
|
storage: {
|
|
7821
7854
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7822
7855
|
accessModes: Array<string>;
|
|
@@ -7858,6 +7891,7 @@ export type CreateSftMutation = {
|
|
|
7858
7891
|
datasets: Array<{
|
|
7859
7892
|
__typename?: 'SFTDataset';
|
|
7860
7893
|
source: string;
|
|
7894
|
+
sourceID: string;
|
|
7861
7895
|
version: string;
|
|
7862
7896
|
id: string;
|
|
7863
7897
|
}>;
|
|
@@ -7885,6 +7919,12 @@ export type CreateSftMutation = {
|
|
|
7885
7919
|
memory?: string | null;
|
|
7886
7920
|
nvidiaGPU?: string | null;
|
|
7887
7921
|
};
|
|
7922
|
+
matchExpressions?: Array<{
|
|
7923
|
+
__typename?: 'NodeSelectorRequirement';
|
|
7924
|
+
key: string;
|
|
7925
|
+
operator: string;
|
|
7926
|
+
values: Array<string>;
|
|
7927
|
+
} | null> | null;
|
|
7888
7928
|
};
|
|
7889
7929
|
} | null;
|
|
7890
7930
|
};
|
|
@@ -7912,6 +7952,7 @@ export type UpdateSftMutation = {
|
|
|
7912
7952
|
status: string;
|
|
7913
7953
|
phase?: string | null;
|
|
7914
7954
|
phaseMessage?: string | null;
|
|
7955
|
+
additionalEnvs?: any | null;
|
|
7915
7956
|
storage: {
|
|
7916
7957
|
__typename?: 'PersistentVolumeClaimSpec';
|
|
7917
7958
|
accessModes: Array<string>;
|
|
@@ -7953,6 +7994,7 @@ export type UpdateSftMutation = {
|
|
|
7953
7994
|
datasets: Array<{
|
|
7954
7995
|
__typename?: 'SFTDataset';
|
|
7955
7996
|
source: string;
|
|
7997
|
+
sourceID: string;
|
|
7956
7998
|
version: string;
|
|
7957
7999
|
id: string;
|
|
7958
8000
|
}>;
|
|
@@ -7980,6 +8022,12 @@ export type UpdateSftMutation = {
|
|
|
7980
8022
|
memory?: string | null;
|
|
7981
8023
|
nvidiaGPU?: string | null;
|
|
7982
8024
|
};
|
|
8025
|
+
matchExpressions?: Array<{
|
|
8026
|
+
__typename?: 'NodeSelectorRequirement';
|
|
8027
|
+
key: string;
|
|
8028
|
+
operator: string;
|
|
8029
|
+
values: Array<string>;
|
|
8030
|
+
} | null> | null;
|
|
7983
8031
|
};
|
|
7984
8032
|
} | null;
|
|
7985
8033
|
};
|
package/dist/esm/sdk.js
CHANGED
|
@@ -253,11 +253,11 @@ export var UpdateContentDocument = gql(_templateObject95 || (_templateObject95 =
|
|
|
253
253
|
export var DeleteContentDocument = gql(_templateObject96 || (_templateObject96 = _taggedTemplateLiteral(["\n mutation deleteContent($contentIDs: [String!]) {\n TuningDataSet {\n deleteContent(contentIDs: $contentIDs)\n }\n}\n "])));
|
|
254
254
|
export var DeleteVersionAllContentDocument = gql(_templateObject97 || (_templateObject97 = _taggedTemplateLiteral(["\n mutation deleteVersionAllContent($id: String!) {\n TuningDataSet {\n deleteVersionAllContent(id: $id)\n }\n}\n "])));
|
|
255
255
|
export var LoadVersionFilesDocument = gql(_templateObject98 || (_templateObject98 = _taggedTemplateLiteral(["\n mutation loadVersionFiles($id: String!, $files: [String!]) {\n TuningDataSet {\n loadVersionFiles(id: $id, files: $files)\n }\n}\n "])));
|
|
256
|
-
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _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 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 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 }\n }\n }\n }\n}\n "])));
|
|
257
|
-
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _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 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 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 }\n }\n}\n "])));
|
|
256
|
+
export var ListSftDocument = gql(_templateObject99 || (_templateObject99 = _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 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 }\n }\n }\n }\n}\n "])));
|
|
257
|
+
export var GetSftDocument = gql(_templateObject100 || (_templateObject100 = _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 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 }\n }\n}\n "])));
|
|
258
258
|
export var ListSftMetricDocument = gql(_templateObject101 || (_templateObject101 = _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 "])));
|
|
259
|
-
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _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 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 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 }\n }\n}\n "])));
|
|
260
|
-
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _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 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 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 }\n }\n}\n "])));
|
|
259
|
+
export var CreateSftDocument = gql(_templateObject102 || (_templateObject102 = _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 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 }\n }\n}\n "])));
|
|
260
|
+
export var UpdateSftDocument = gql(_templateObject103 || (_templateObject103 = _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 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 }\n }\n}\n "])));
|
|
261
261
|
export var DeleteSftDocument = gql(_templateObject104 || (_templateObject104 = _taggedTemplateLiteral(["\n mutation deleteSFT($input: DeleteCommonInput!) {\n SFT {\n deleteSFT(input: $input)\n }\n}\n "])));
|
|
262
262
|
export var ExportSftDocument = gql(_templateObject105 || (_templateObject105 = _taggedTemplateLiteral(["\n mutation exportSFT($name: String!, $namespace: String!) {\n SFT {\n exportSFT(name: $name, namespace: $namespace)\n }\n}\n "])));
|
|
263
263
|
export var CreateVersionedDatasetDocument = gql(_templateObject106 || (_templateObject106 = _taggedTemplateLiteral(["\n mutation createVersionedDataset($input: CreateVersionedDatasetInput!) {\n VersionedDataset {\n createVersionedDataset(input: $input) {\n name\n displayName\n creator\n namespace\n version\n updateTimestamp\n creationTimestamp\n released\n syncStatus\n dataProcessStatus\n }\n }\n}\n "])));
|