@yuntijs/arcadia-bff-sdk 1.2.64 → 1.2.66
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 +86 -10
- package/dist/cjs/sdk.js +54 -4
- package/dist/esm/sdk.d.ts +86 -10
- package/dist/esm/sdk.js +6 -6
- 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
|
@@ -598,9 +598,11 @@ export type CreateSftInput = {
|
|
|
598
598
|
name: Scalars['String']['input'];
|
|
599
599
|
namespace: Scalars['String']['input'];
|
|
600
600
|
params?: InputMaybe<Scalars['String']['input']>;
|
|
601
|
+
resources: ResourcesInput;
|
|
601
602
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
602
603
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
603
604
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
605
|
+
type: Scalars['String']['input'];
|
|
604
606
|
};
|
|
605
607
|
export type CreateTuningDataSetInput = {
|
|
606
608
|
/** 训练数据集的名字 */
|
|
@@ -1326,6 +1328,7 @@ export type KnowledgeBaseFile = {
|
|
|
1326
1328
|
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
1327
1329
|
*/
|
|
1328
1330
|
phase?: Maybe<Scalars['String']['output']>;
|
|
1331
|
+
phaseReason?: Maybe<Scalars['String']['output']>;
|
|
1329
1332
|
/** 文件大小 */
|
|
1330
1333
|
size: Scalars['String']['output'];
|
|
1331
1334
|
/** 文件大小-字符长度 */
|
|
@@ -2477,10 +2480,10 @@ export type Sft = {
|
|
|
2477
2480
|
*/
|
|
2478
2481
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2479
2482
|
/**
|
|
2480
|
-
* SFT
|
|
2481
|
-
*
|
|
2483
|
+
* SFT 微调任务所使用的数据集信息
|
|
2484
|
+
* 规则:必填,可为复数
|
|
2482
2485
|
*/
|
|
2483
|
-
datasets: Array<
|
|
2486
|
+
datasets: Array<SftDataset>;
|
|
2484
2487
|
/** 描述信息 */
|
|
2485
2488
|
description?: Maybe<Scalars['String']['output']>;
|
|
2486
2489
|
/** 展示名 */
|
|
@@ -2522,19 +2525,40 @@ export type Sft = {
|
|
|
2522
2525
|
phase?: Maybe<Scalars['String']['output']>;
|
|
2523
2526
|
/** 当前阶段产生的辅助信息 */
|
|
2524
2527
|
phaseMessage?: Maybe<Scalars['String']['output']>;
|
|
2528
|
+
/** SFT 微调所使用的资源 */
|
|
2529
|
+
resources: Resources;
|
|
2525
2530
|
/** SFT 微调过程中用到的serviceAccount, 默认是default */
|
|
2526
2531
|
serviceAccountName: Scalars['String']['output'];
|
|
2527
|
-
/**
|
|
2532
|
+
/**
|
|
2533
|
+
* SFT 微调状态
|
|
2534
|
+
* 规则:状态分为以下几种:
|
|
2535
|
+
* - "preparing":微调任务准备中
|
|
2536
|
+
* - "processing":微调任务正在进行中
|
|
2537
|
+
* - "closed":微调任务流程全部结束,已关闭
|
|
2538
|
+
* - "standby":微调完成,可供测试对话或导出
|
|
2539
|
+
* - "exporting": 微调后模型合并导出中
|
|
2540
|
+
* - "failed":微调失败
|
|
2541
|
+
* - "suspended": 微调任务被终止
|
|
2542
|
+
*/
|
|
2528
2543
|
status: Scalars['String']['output'];
|
|
2529
2544
|
/** SFT 微调阶段之间需要通过pvc传递数据 */
|
|
2530
2545
|
storage: PersistentVolumeClaimSpec;
|
|
2531
2546
|
/** SFT 微调过程是否暂停,true 表示已经暂停,false 表示没有暂停 */
|
|
2532
2547
|
suspend: Scalars['Boolean']['output'];
|
|
2548
|
+
/**
|
|
2549
|
+
* SFT 微调任务的类型:
|
|
2550
|
+
* 规则:为 {"full", "lora", "qlora"} 之一
|
|
2551
|
+
*/
|
|
2552
|
+
type: Scalars['String']['output'];
|
|
2533
2553
|
};
|
|
2534
2554
|
export type SftDataset = {
|
|
2535
2555
|
__typename?: 'SFTDataset';
|
|
2536
|
-
|
|
2537
|
-
|
|
2556
|
+
/** SFT 版本数据集 ID(用于查询) */
|
|
2557
|
+
id: Scalars['String']['output'];
|
|
2558
|
+
/** SFT 数据集来源名 */
|
|
2559
|
+
source: Scalars['String']['output'];
|
|
2560
|
+
/** SFT 数据集版本 */
|
|
2561
|
+
version: Scalars['String']['output'];
|
|
2538
2562
|
};
|
|
2539
2563
|
export type SftMetric = {
|
|
2540
2564
|
__typename?: 'SFTMetric';
|
|
@@ -3045,9 +3069,11 @@ export type UpdateSftInput = {
|
|
|
3045
3069
|
name: Scalars['String']['input'];
|
|
3046
3070
|
namespace: Scalars['String']['input'];
|
|
3047
3071
|
params?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3072
|
+
resources: ResourcesInput;
|
|
3048
3073
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
3049
3074
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
3050
3075
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3076
|
+
type: Scalars['String']['input'];
|
|
3051
3077
|
};
|
|
3052
3078
|
export type UpdateVersionedDatasetInput = {
|
|
3053
3079
|
/** 传递方式同label */
|
|
@@ -5250,6 +5276,7 @@ export type GetKnowledgeBaseFileQuery = {
|
|
|
5250
5276
|
createTimestamp?: any | null;
|
|
5251
5277
|
updateTimestamp?: any | null;
|
|
5252
5278
|
phase?: string | null;
|
|
5279
|
+
phaseReason?: string | null;
|
|
5253
5280
|
};
|
|
5254
5281
|
} | null;
|
|
5255
5282
|
};
|
|
@@ -5297,6 +5324,7 @@ export type ListKnowledgeBaseFilesQuery = {
|
|
|
5297
5324
|
createTimestamp?: any | null;
|
|
5298
5325
|
updateTimestamp?: any | null;
|
|
5299
5326
|
phase?: string | null;
|
|
5327
|
+
phaseReason?: string | null;
|
|
5300
5328
|
} | {
|
|
5301
5329
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5302
5330
|
} | {
|
|
@@ -7557,7 +7585,7 @@ export type ListSftQuery = {
|
|
|
7557
7585
|
description?: string | null;
|
|
7558
7586
|
creationTimestamp?: any | null;
|
|
7559
7587
|
completeTimestamp?: any | null;
|
|
7560
|
-
|
|
7588
|
+
type: string;
|
|
7561
7589
|
serviceAccountName: string;
|
|
7562
7590
|
suspend: boolean;
|
|
7563
7591
|
status: string;
|
|
@@ -7601,6 +7629,12 @@ export type ListSftQuery = {
|
|
|
7601
7629
|
displayName?: string | null;
|
|
7602
7630
|
} | null;
|
|
7603
7631
|
};
|
|
7632
|
+
datasets: Array<{
|
|
7633
|
+
__typename?: 'SFTDataset';
|
|
7634
|
+
source: string;
|
|
7635
|
+
version: string;
|
|
7636
|
+
id: string;
|
|
7637
|
+
}>;
|
|
7604
7638
|
baseModel: {
|
|
7605
7639
|
__typename?: 'TypedObjectReference';
|
|
7606
7640
|
kind: string;
|
|
@@ -7619,6 +7653,12 @@ export type ListSftQuery = {
|
|
|
7619
7653
|
metricValidValues?: Array<string | null> | null;
|
|
7620
7654
|
metricDescription: string;
|
|
7621
7655
|
}>;
|
|
7656
|
+
resources: {
|
|
7657
|
+
__typename?: 'Resources';
|
|
7658
|
+
cpu?: string | null;
|
|
7659
|
+
memory?: string | null;
|
|
7660
|
+
nvidiaGPU?: string | null;
|
|
7661
|
+
};
|
|
7622
7662
|
} | {
|
|
7623
7663
|
__typename?: 'TuningDataSet';
|
|
7624
7664
|
} | {
|
|
@@ -7656,7 +7696,7 @@ export type GetSftQuery = {
|
|
|
7656
7696
|
description?: string | null;
|
|
7657
7697
|
creationTimestamp?: any | null;
|
|
7658
7698
|
completeTimestamp?: any | null;
|
|
7659
|
-
|
|
7699
|
+
type: string;
|
|
7660
7700
|
serviceAccountName: string;
|
|
7661
7701
|
suspend: boolean;
|
|
7662
7702
|
status: string;
|
|
@@ -7700,6 +7740,12 @@ export type GetSftQuery = {
|
|
|
7700
7740
|
displayName?: string | null;
|
|
7701
7741
|
} | null;
|
|
7702
7742
|
};
|
|
7743
|
+
datasets: Array<{
|
|
7744
|
+
__typename?: 'SFTDataset';
|
|
7745
|
+
source: string;
|
|
7746
|
+
version: string;
|
|
7747
|
+
id: string;
|
|
7748
|
+
}>;
|
|
7703
7749
|
baseModel: {
|
|
7704
7750
|
__typename?: 'TypedObjectReference';
|
|
7705
7751
|
kind: string;
|
|
@@ -7718,6 +7764,12 @@ export type GetSftQuery = {
|
|
|
7718
7764
|
metricValidValues?: Array<string | null> | null;
|
|
7719
7765
|
metricDescription: string;
|
|
7720
7766
|
}>;
|
|
7767
|
+
resources: {
|
|
7768
|
+
__typename?: 'Resources';
|
|
7769
|
+
cpu?: string | null;
|
|
7770
|
+
memory?: string | null;
|
|
7771
|
+
nvidiaGPU?: string | null;
|
|
7772
|
+
};
|
|
7721
7773
|
};
|
|
7722
7774
|
} | null;
|
|
7723
7775
|
};
|
|
@@ -7759,7 +7811,7 @@ export type CreateSftMutation = {
|
|
|
7759
7811
|
description?: string | null;
|
|
7760
7812
|
creationTimestamp?: any | null;
|
|
7761
7813
|
completeTimestamp?: any | null;
|
|
7762
|
-
|
|
7814
|
+
type: string;
|
|
7763
7815
|
serviceAccountName: string;
|
|
7764
7816
|
suspend: boolean;
|
|
7765
7817
|
status: string;
|
|
@@ -7803,6 +7855,12 @@ export type CreateSftMutation = {
|
|
|
7803
7855
|
displayName?: string | null;
|
|
7804
7856
|
} | null;
|
|
7805
7857
|
};
|
|
7858
|
+
datasets: Array<{
|
|
7859
|
+
__typename?: 'SFTDataset';
|
|
7860
|
+
source: string;
|
|
7861
|
+
version: string;
|
|
7862
|
+
id: string;
|
|
7863
|
+
}>;
|
|
7806
7864
|
baseModel: {
|
|
7807
7865
|
__typename?: 'TypedObjectReference';
|
|
7808
7866
|
kind: string;
|
|
@@ -7821,6 +7879,12 @@ export type CreateSftMutation = {
|
|
|
7821
7879
|
metricValidValues?: Array<string | null> | null;
|
|
7822
7880
|
metricDescription: string;
|
|
7823
7881
|
}>;
|
|
7882
|
+
resources: {
|
|
7883
|
+
__typename?: 'Resources';
|
|
7884
|
+
cpu?: string | null;
|
|
7885
|
+
memory?: string | null;
|
|
7886
|
+
nvidiaGPU?: string | null;
|
|
7887
|
+
};
|
|
7824
7888
|
};
|
|
7825
7889
|
} | null;
|
|
7826
7890
|
};
|
|
@@ -7842,7 +7906,7 @@ export type UpdateSftMutation = {
|
|
|
7842
7906
|
description?: string | null;
|
|
7843
7907
|
creationTimestamp?: any | null;
|
|
7844
7908
|
completeTimestamp?: any | null;
|
|
7845
|
-
|
|
7909
|
+
type: string;
|
|
7846
7910
|
serviceAccountName: string;
|
|
7847
7911
|
suspend: boolean;
|
|
7848
7912
|
status: string;
|
|
@@ -7886,6 +7950,12 @@ export type UpdateSftMutation = {
|
|
|
7886
7950
|
displayName?: string | null;
|
|
7887
7951
|
} | null;
|
|
7888
7952
|
};
|
|
7953
|
+
datasets: Array<{
|
|
7954
|
+
__typename?: 'SFTDataset';
|
|
7955
|
+
source: string;
|
|
7956
|
+
version: string;
|
|
7957
|
+
id: string;
|
|
7958
|
+
}>;
|
|
7889
7959
|
baseModel: {
|
|
7890
7960
|
__typename?: 'TypedObjectReference';
|
|
7891
7961
|
kind: string;
|
|
@@ -7904,6 +7974,12 @@ export type UpdateSftMutation = {
|
|
|
7904
7974
|
metricValidValues?: Array<string | null> | null;
|
|
7905
7975
|
metricDescription: string;
|
|
7906
7976
|
}>;
|
|
7977
|
+
resources: {
|
|
7978
|
+
__typename?: 'Resources';
|
|
7979
|
+
cpu?: string | null;
|
|
7980
|
+
memory?: string | null;
|
|
7981
|
+
nvidiaGPU?: string | null;
|
|
7982
|
+
};
|
|
7907
7983
|
};
|
|
7908
7984
|
} | null;
|
|
7909
7985
|
};
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -1240,6 +1240,7 @@ var GetKnowledgeBaseFileDocument = import_graphql_tag.default`
|
|
|
1240
1240
|
createTimestamp
|
|
1241
1241
|
updateTimestamp
|
|
1242
1242
|
phase
|
|
1243
|
+
phaseReason
|
|
1243
1244
|
}
|
|
1244
1245
|
}
|
|
1245
1246
|
}
|
|
@@ -1265,6 +1266,7 @@ var ListKnowledgeBaseFilesDocument = import_graphql_tag.default`
|
|
|
1265
1266
|
createTimestamp
|
|
1266
1267
|
updateTimestamp
|
|
1267
1268
|
phase
|
|
1269
|
+
phaseReason
|
|
1268
1270
|
}
|
|
1269
1271
|
}
|
|
1270
1272
|
}
|
|
@@ -2409,6 +2411,7 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2409
2411
|
description
|
|
2410
2412
|
creationTimestamp
|
|
2411
2413
|
completeTimestamp
|
|
2414
|
+
type
|
|
2412
2415
|
storage {
|
|
2413
2416
|
accessModes
|
|
2414
2417
|
selector {
|
|
@@ -2441,7 +2444,13 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2441
2444
|
displayName
|
|
2442
2445
|
}
|
|
2443
2446
|
}
|
|
2444
|
-
datasets
|
|
2447
|
+
datasets {
|
|
2448
|
+
... on SFTDataset {
|
|
2449
|
+
source
|
|
2450
|
+
version
|
|
2451
|
+
id
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2445
2454
|
baseModel {
|
|
2446
2455
|
kind
|
|
2447
2456
|
name
|
|
@@ -2463,6 +2472,11 @@ var ListSftDocument = import_graphql_tag.default`
|
|
|
2463
2472
|
metricValidValues
|
|
2464
2473
|
metricDescription
|
|
2465
2474
|
}
|
|
2475
|
+
resources {
|
|
2476
|
+
cpu
|
|
2477
|
+
memory
|
|
2478
|
+
nvidiaGPU
|
|
2479
|
+
}
|
|
2466
2480
|
}
|
|
2467
2481
|
}
|
|
2468
2482
|
}
|
|
@@ -2482,6 +2496,7 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2482
2496
|
description
|
|
2483
2497
|
creationTimestamp
|
|
2484
2498
|
completeTimestamp
|
|
2499
|
+
type
|
|
2485
2500
|
storage {
|
|
2486
2501
|
accessModes
|
|
2487
2502
|
selector {
|
|
@@ -2514,7 +2529,13 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2514
2529
|
displayName
|
|
2515
2530
|
}
|
|
2516
2531
|
}
|
|
2517
|
-
datasets
|
|
2532
|
+
datasets {
|
|
2533
|
+
... on SFTDataset {
|
|
2534
|
+
source
|
|
2535
|
+
version
|
|
2536
|
+
id
|
|
2537
|
+
}
|
|
2538
|
+
}
|
|
2518
2539
|
baseModel {
|
|
2519
2540
|
kind
|
|
2520
2541
|
name
|
|
@@ -2536,6 +2557,11 @@ var GetSftDocument = import_graphql_tag.default`
|
|
|
2536
2557
|
metricValidValues
|
|
2537
2558
|
metricDescription
|
|
2538
2559
|
}
|
|
2560
|
+
resources {
|
|
2561
|
+
cpu
|
|
2562
|
+
memory
|
|
2563
|
+
nvidiaGPU
|
|
2564
|
+
}
|
|
2539
2565
|
}
|
|
2540
2566
|
}
|
|
2541
2567
|
}
|
|
@@ -2571,6 +2597,7 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2571
2597
|
description
|
|
2572
2598
|
creationTimestamp
|
|
2573
2599
|
completeTimestamp
|
|
2600
|
+
type
|
|
2574
2601
|
storage {
|
|
2575
2602
|
accessModes
|
|
2576
2603
|
selector {
|
|
@@ -2603,7 +2630,13 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2603
2630
|
displayName
|
|
2604
2631
|
}
|
|
2605
2632
|
}
|
|
2606
|
-
datasets
|
|
2633
|
+
datasets {
|
|
2634
|
+
... on SFTDataset {
|
|
2635
|
+
source
|
|
2636
|
+
version
|
|
2637
|
+
id
|
|
2638
|
+
}
|
|
2639
|
+
}
|
|
2607
2640
|
baseModel {
|
|
2608
2641
|
kind
|
|
2609
2642
|
name
|
|
@@ -2625,6 +2658,11 @@ var CreateSftDocument = import_graphql_tag.default`
|
|
|
2625
2658
|
metricValidValues
|
|
2626
2659
|
metricDescription
|
|
2627
2660
|
}
|
|
2661
|
+
resources {
|
|
2662
|
+
cpu
|
|
2663
|
+
memory
|
|
2664
|
+
nvidiaGPU
|
|
2665
|
+
}
|
|
2628
2666
|
}
|
|
2629
2667
|
}
|
|
2630
2668
|
}
|
|
@@ -2642,6 +2680,7 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2642
2680
|
description
|
|
2643
2681
|
creationTimestamp
|
|
2644
2682
|
completeTimestamp
|
|
2683
|
+
type
|
|
2645
2684
|
storage {
|
|
2646
2685
|
accessModes
|
|
2647
2686
|
selector {
|
|
@@ -2674,7 +2713,13 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2674
2713
|
displayName
|
|
2675
2714
|
}
|
|
2676
2715
|
}
|
|
2677
|
-
datasets
|
|
2716
|
+
datasets {
|
|
2717
|
+
... on SFTDataset {
|
|
2718
|
+
source
|
|
2719
|
+
version
|
|
2720
|
+
id
|
|
2721
|
+
}
|
|
2722
|
+
}
|
|
2678
2723
|
baseModel {
|
|
2679
2724
|
kind
|
|
2680
2725
|
name
|
|
@@ -2696,6 +2741,11 @@ var UpdateSftDocument = import_graphql_tag.default`
|
|
|
2696
2741
|
metricValidValues
|
|
2697
2742
|
metricDescription
|
|
2698
2743
|
}
|
|
2744
|
+
resources {
|
|
2745
|
+
cpu
|
|
2746
|
+
memory
|
|
2747
|
+
nvidiaGPU
|
|
2748
|
+
}
|
|
2699
2749
|
}
|
|
2700
2750
|
}
|
|
2701
2751
|
}
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -598,9 +598,11 @@ export type CreateSftInput = {
|
|
|
598
598
|
name: Scalars['String']['input'];
|
|
599
599
|
namespace: Scalars['String']['input'];
|
|
600
600
|
params?: InputMaybe<Scalars['String']['input']>;
|
|
601
|
+
resources: ResourcesInput;
|
|
601
602
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
602
603
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
603
604
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
605
|
+
type: Scalars['String']['input'];
|
|
604
606
|
};
|
|
605
607
|
export type CreateTuningDataSetInput = {
|
|
606
608
|
/** 训练数据集的名字 */
|
|
@@ -1326,6 +1328,7 @@ export type KnowledgeBaseFile = {
|
|
|
1326
1328
|
* 规则: enum { Pending , Processing , Succeeded, Failed, Skipped}
|
|
1327
1329
|
*/
|
|
1328
1330
|
phase?: Maybe<Scalars['String']['output']>;
|
|
1331
|
+
phaseReason?: Maybe<Scalars['String']['output']>;
|
|
1329
1332
|
/** 文件大小 */
|
|
1330
1333
|
size: Scalars['String']['output'];
|
|
1331
1334
|
/** 文件大小-字符长度 */
|
|
@@ -2477,10 +2480,10 @@ export type Sft = {
|
|
|
2477
2480
|
*/
|
|
2478
2481
|
creator?: Maybe<Scalars['String']['output']>;
|
|
2479
2482
|
/**
|
|
2480
|
-
* SFT
|
|
2481
|
-
*
|
|
2483
|
+
* SFT 微调任务所使用的数据集信息
|
|
2484
|
+
* 规则:必填,可为复数
|
|
2482
2485
|
*/
|
|
2483
|
-
datasets: Array<
|
|
2486
|
+
datasets: Array<SftDataset>;
|
|
2484
2487
|
/** 描述信息 */
|
|
2485
2488
|
description?: Maybe<Scalars['String']['output']>;
|
|
2486
2489
|
/** 展示名 */
|
|
@@ -2522,19 +2525,40 @@ export type Sft = {
|
|
|
2522
2525
|
phase?: Maybe<Scalars['String']['output']>;
|
|
2523
2526
|
/** 当前阶段产生的辅助信息 */
|
|
2524
2527
|
phaseMessage?: Maybe<Scalars['String']['output']>;
|
|
2528
|
+
/** SFT 微调所使用的资源 */
|
|
2529
|
+
resources: Resources;
|
|
2525
2530
|
/** SFT 微调过程中用到的serviceAccount, 默认是default */
|
|
2526
2531
|
serviceAccountName: Scalars['String']['output'];
|
|
2527
|
-
/**
|
|
2532
|
+
/**
|
|
2533
|
+
* SFT 微调状态
|
|
2534
|
+
* 规则:状态分为以下几种:
|
|
2535
|
+
* - "preparing":微调任务准备中
|
|
2536
|
+
* - "processing":微调任务正在进行中
|
|
2537
|
+
* - "closed":微调任务流程全部结束,已关闭
|
|
2538
|
+
* - "standby":微调完成,可供测试对话或导出
|
|
2539
|
+
* - "exporting": 微调后模型合并导出中
|
|
2540
|
+
* - "failed":微调失败
|
|
2541
|
+
* - "suspended": 微调任务被终止
|
|
2542
|
+
*/
|
|
2528
2543
|
status: Scalars['String']['output'];
|
|
2529
2544
|
/** SFT 微调阶段之间需要通过pvc传递数据 */
|
|
2530
2545
|
storage: PersistentVolumeClaimSpec;
|
|
2531
2546
|
/** SFT 微调过程是否暂停,true 表示已经暂停,false 表示没有暂停 */
|
|
2532
2547
|
suspend: Scalars['Boolean']['output'];
|
|
2548
|
+
/**
|
|
2549
|
+
* SFT 微调任务的类型:
|
|
2550
|
+
* 规则:为 {"full", "lora", "qlora"} 之一
|
|
2551
|
+
*/
|
|
2552
|
+
type: Scalars['String']['output'];
|
|
2533
2553
|
};
|
|
2534
2554
|
export type SftDataset = {
|
|
2535
2555
|
__typename?: 'SFTDataset';
|
|
2536
|
-
|
|
2537
|
-
|
|
2556
|
+
/** SFT 版本数据集 ID(用于查询) */
|
|
2557
|
+
id: Scalars['String']['output'];
|
|
2558
|
+
/** SFT 数据集来源名 */
|
|
2559
|
+
source: Scalars['String']['output'];
|
|
2560
|
+
/** SFT 数据集版本 */
|
|
2561
|
+
version: Scalars['String']['output'];
|
|
2538
2562
|
};
|
|
2539
2563
|
export type SftMetric = {
|
|
2540
2564
|
__typename?: 'SFTMetric';
|
|
@@ -3045,9 +3069,11 @@ export type UpdateSftInput = {
|
|
|
3045
3069
|
name: Scalars['String']['input'];
|
|
3046
3070
|
namespace: Scalars['String']['input'];
|
|
3047
3071
|
params?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
3072
|
+
resources: ResourcesInput;
|
|
3048
3073
|
serviceAccountName?: InputMaybe<Scalars['String']['input']>;
|
|
3049
3074
|
storage?: InputMaybe<PersistentVolumeClaimSpecInput>;
|
|
3050
3075
|
suspend?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3076
|
+
type: Scalars['String']['input'];
|
|
3051
3077
|
};
|
|
3052
3078
|
export type UpdateVersionedDatasetInput = {
|
|
3053
3079
|
/** 传递方式同label */
|
|
@@ -5250,6 +5276,7 @@ export type GetKnowledgeBaseFileQuery = {
|
|
|
5250
5276
|
createTimestamp?: any | null;
|
|
5251
5277
|
updateTimestamp?: any | null;
|
|
5252
5278
|
phase?: string | null;
|
|
5279
|
+
phaseReason?: string | null;
|
|
5253
5280
|
};
|
|
5254
5281
|
} | null;
|
|
5255
5282
|
};
|
|
@@ -5297,6 +5324,7 @@ export type ListKnowledgeBaseFilesQuery = {
|
|
|
5297
5324
|
createTimestamp?: any | null;
|
|
5298
5325
|
updateTimestamp?: any | null;
|
|
5299
5326
|
phase?: string | null;
|
|
5327
|
+
phaseReason?: string | null;
|
|
5300
5328
|
} | {
|
|
5301
5329
|
__typename?: 'KnowledgeBaseFileChunk';
|
|
5302
5330
|
} | {
|
|
@@ -7557,7 +7585,7 @@ export type ListSftQuery = {
|
|
|
7557
7585
|
description?: string | null;
|
|
7558
7586
|
creationTimestamp?: any | null;
|
|
7559
7587
|
completeTimestamp?: any | null;
|
|
7560
|
-
|
|
7588
|
+
type: string;
|
|
7561
7589
|
serviceAccountName: string;
|
|
7562
7590
|
suspend: boolean;
|
|
7563
7591
|
status: string;
|
|
@@ -7601,6 +7629,12 @@ export type ListSftQuery = {
|
|
|
7601
7629
|
displayName?: string | null;
|
|
7602
7630
|
} | null;
|
|
7603
7631
|
};
|
|
7632
|
+
datasets: Array<{
|
|
7633
|
+
__typename?: 'SFTDataset';
|
|
7634
|
+
source: string;
|
|
7635
|
+
version: string;
|
|
7636
|
+
id: string;
|
|
7637
|
+
}>;
|
|
7604
7638
|
baseModel: {
|
|
7605
7639
|
__typename?: 'TypedObjectReference';
|
|
7606
7640
|
kind: string;
|
|
@@ -7619,6 +7653,12 @@ export type ListSftQuery = {
|
|
|
7619
7653
|
metricValidValues?: Array<string | null> | null;
|
|
7620
7654
|
metricDescription: string;
|
|
7621
7655
|
}>;
|
|
7656
|
+
resources: {
|
|
7657
|
+
__typename?: 'Resources';
|
|
7658
|
+
cpu?: string | null;
|
|
7659
|
+
memory?: string | null;
|
|
7660
|
+
nvidiaGPU?: string | null;
|
|
7661
|
+
};
|
|
7622
7662
|
} | {
|
|
7623
7663
|
__typename?: 'TuningDataSet';
|
|
7624
7664
|
} | {
|
|
@@ -7656,7 +7696,7 @@ export type GetSftQuery = {
|
|
|
7656
7696
|
description?: string | null;
|
|
7657
7697
|
creationTimestamp?: any | null;
|
|
7658
7698
|
completeTimestamp?: any | null;
|
|
7659
|
-
|
|
7699
|
+
type: string;
|
|
7660
7700
|
serviceAccountName: string;
|
|
7661
7701
|
suspend: boolean;
|
|
7662
7702
|
status: string;
|
|
@@ -7700,6 +7740,12 @@ export type GetSftQuery = {
|
|
|
7700
7740
|
displayName?: string | null;
|
|
7701
7741
|
} | null;
|
|
7702
7742
|
};
|
|
7743
|
+
datasets: Array<{
|
|
7744
|
+
__typename?: 'SFTDataset';
|
|
7745
|
+
source: string;
|
|
7746
|
+
version: string;
|
|
7747
|
+
id: string;
|
|
7748
|
+
}>;
|
|
7703
7749
|
baseModel: {
|
|
7704
7750
|
__typename?: 'TypedObjectReference';
|
|
7705
7751
|
kind: string;
|
|
@@ -7718,6 +7764,12 @@ export type GetSftQuery = {
|
|
|
7718
7764
|
metricValidValues?: Array<string | null> | null;
|
|
7719
7765
|
metricDescription: string;
|
|
7720
7766
|
}>;
|
|
7767
|
+
resources: {
|
|
7768
|
+
__typename?: 'Resources';
|
|
7769
|
+
cpu?: string | null;
|
|
7770
|
+
memory?: string | null;
|
|
7771
|
+
nvidiaGPU?: string | null;
|
|
7772
|
+
};
|
|
7721
7773
|
};
|
|
7722
7774
|
} | null;
|
|
7723
7775
|
};
|
|
@@ -7759,7 +7811,7 @@ export type CreateSftMutation = {
|
|
|
7759
7811
|
description?: string | null;
|
|
7760
7812
|
creationTimestamp?: any | null;
|
|
7761
7813
|
completeTimestamp?: any | null;
|
|
7762
|
-
|
|
7814
|
+
type: string;
|
|
7763
7815
|
serviceAccountName: string;
|
|
7764
7816
|
suspend: boolean;
|
|
7765
7817
|
status: string;
|
|
@@ -7803,6 +7855,12 @@ export type CreateSftMutation = {
|
|
|
7803
7855
|
displayName?: string | null;
|
|
7804
7856
|
} | null;
|
|
7805
7857
|
};
|
|
7858
|
+
datasets: Array<{
|
|
7859
|
+
__typename?: 'SFTDataset';
|
|
7860
|
+
source: string;
|
|
7861
|
+
version: string;
|
|
7862
|
+
id: string;
|
|
7863
|
+
}>;
|
|
7806
7864
|
baseModel: {
|
|
7807
7865
|
__typename?: 'TypedObjectReference';
|
|
7808
7866
|
kind: string;
|
|
@@ -7821,6 +7879,12 @@ export type CreateSftMutation = {
|
|
|
7821
7879
|
metricValidValues?: Array<string | null> | null;
|
|
7822
7880
|
metricDescription: string;
|
|
7823
7881
|
}>;
|
|
7882
|
+
resources: {
|
|
7883
|
+
__typename?: 'Resources';
|
|
7884
|
+
cpu?: string | null;
|
|
7885
|
+
memory?: string | null;
|
|
7886
|
+
nvidiaGPU?: string | null;
|
|
7887
|
+
};
|
|
7824
7888
|
};
|
|
7825
7889
|
} | null;
|
|
7826
7890
|
};
|
|
@@ -7842,7 +7906,7 @@ export type UpdateSftMutation = {
|
|
|
7842
7906
|
description?: string | null;
|
|
7843
7907
|
creationTimestamp?: any | null;
|
|
7844
7908
|
completeTimestamp?: any | null;
|
|
7845
|
-
|
|
7909
|
+
type: string;
|
|
7846
7910
|
serviceAccountName: string;
|
|
7847
7911
|
suspend: boolean;
|
|
7848
7912
|
status: string;
|
|
@@ -7886,6 +7950,12 @@ export type UpdateSftMutation = {
|
|
|
7886
7950
|
displayName?: string | null;
|
|
7887
7951
|
} | null;
|
|
7888
7952
|
};
|
|
7953
|
+
datasets: Array<{
|
|
7954
|
+
__typename?: 'SFTDataset';
|
|
7955
|
+
source: string;
|
|
7956
|
+
version: string;
|
|
7957
|
+
id: string;
|
|
7958
|
+
}>;
|
|
7889
7959
|
baseModel: {
|
|
7890
7960
|
__typename?: 'TypedObjectReference';
|
|
7891
7961
|
kind: string;
|
|
@@ -7904,6 +7974,12 @@ export type UpdateSftMutation = {
|
|
|
7904
7974
|
metricValidValues?: Array<string | null> | null;
|
|
7905
7975
|
metricDescription: string;
|
|
7906
7976
|
}>;
|
|
7977
|
+
resources: {
|
|
7978
|
+
__typename?: 'Resources';
|
|
7979
|
+
cpu?: string | null;
|
|
7980
|
+
memory?: string | null;
|
|
7981
|
+
nvidiaGPU?: string | null;
|
|
7982
|
+
};
|
|
7907
7983
|
};
|
|
7908
7984
|
} | null;
|
|
7909
7985
|
};
|