@@ -44,7 +44,7 @@ def supervised_fine_tune(
4444 client = ctx .obj ["client" ]
4545 console = Console ()
4646
47- post_training_job = client .post_training .supervised_fine_tune (
47+ post_training_job = client .alpha . post_training .supervised_fine_tune (
4848 job_uuid = job_uuid ,
4949 model = model ,
5050 algorithm_config = algorithm_config ,
@@ -66,7 +66,7 @@ def get_training_jobs(ctx):
6666 client = ctx .obj ["client" ]
6767 console = Console ()
6868
69- post_training_jobs = client .post_training .job .list ()
69+ post_training_jobs = client .alpha . post_training .job .list ()
7070 console .print ([post_training_job .job_uuid for post_training_job in post_training_jobs ])
7171
7272
@@ -80,7 +80,7 @@ def get_training_job_status(ctx, job_uuid: str):
8080 client = ctx .obj ["client" ]
8181 console = Console ()
8282
83- job_status_reponse = client .post_training .job .status (job_uuid = job_uuid )
83+ job_status_reponse = client .alpha . post_training .job .status (job_uuid = job_uuid )
8484 console .print (job_status_reponse )
8585
8686
@@ -94,7 +94,7 @@ def get_training_job_artifacts(ctx, job_uuid: str):
9494 client = ctx .obj ["client" ]
9595 console = Console ()
9696
97- job_artifacts = client .post_training .job .artifacts (job_uuid = job_uuid )
97+ job_artifacts = client .alpha . post_training .job .artifacts (job_uuid = job_uuid )
9898 console .print (job_artifacts )
9999
100100
@@ -107,7 +107,7 @@ def cancel_training_job(ctx, job_uuid: str):
107107 """Cancel the training job"""
108108 client = ctx .obj ["client" ]
109109
110- client .post_training .job .cancel (job_uuid = job_uuid )
110+ client .alpha . post_training .job .cancel (job_uuid = job_uuid )
111111
112112
113113# Register subcommands
0 commit comments