File tree Expand file tree Collapse file tree 5 files changed +35
-10
lines changed Expand file tree Collapse file tree 5 files changed +35
-10
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 15
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-ab60dcafb04015e34b38c2991f76f78f35eeb0860fe02ee4033c4161c297b3bc .yml
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-6e975518a2563fdb57394133f1ed9dfe426a2cf5d2fef793fd139627c93df4aa .yml
Original file line number Diff line number Diff line change @@ -54,15 +54,15 @@ export interface FileRetrieveResponse {
5454
5555 filename : string ;
5656
57- FileType : string ;
57+ FileType : 'jsonl' | 'parquet' ;
5858
5959 LineCount : number ;
6060
6161 object : string ;
6262
6363 Processed : boolean ;
6464
65- purpose : string ;
65+ purpose : 'fine-tune' ;
6666}
6767
6868export interface FileListResponse {
@@ -79,15 +79,15 @@ export namespace FileListResponse {
7979
8080 filename : string ;
8181
82- FileType : string ;
82+ FileType : 'jsonl' | 'parquet' ;
8383
8484 LineCount : number ;
8585
8686 object : string ;
8787
8888 Processed : boolean ;
8989
90- purpose : string ;
90+ purpose : 'fine-tune' ;
9191 }
9292}
9393
Original file line number Diff line number Diff line change @@ -195,11 +195,36 @@ export namespace FineTuneEvent {
195195
196196 training_offset : number ;
197197
198- type : string ;
198+ type :
199+ | 'job_pending'
200+ | 'job_start'
201+ | 'job_stopped'
202+ | 'model_downloading'
203+ | 'model_download_complete'
204+ | 'training_data_downloading'
205+ | 'training_data_download_complete'
206+ | 'validation_data_downloading'
207+ | 'validation_data_download_complete'
208+ | 'wandb_init'
209+ | 'training_start'
210+ | 'checkpoint_save'
211+ | 'billing_limit'
212+ | 'epoch_complete'
213+ | 'training_complete'
214+ | 'model_compressing'
215+ | 'model_compression_complete'
216+ | 'model_uploading'
217+ | 'model_upload_complete'
218+ | 'job_complete'
219+ | 'job_error'
220+ | 'cancel_requested'
221+ | 'job_restarted'
222+ | 'refund'
223+ | 'warning' ;
199224
200225 wandb_url : string ;
201226
202- level ?: string ;
227+ level ?: unknown ;
203228 }
204229}
205230
@@ -214,7 +239,7 @@ export interface FineTuneDownloadResponse {
214239
215240 filename ?: string ;
216241
217- object ?: string ;
242+ object ?: unknown ;
218243
219244 size ?: number ;
220245}
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export interface ImageFile {
2020
2121 model : string ;
2222
23- object : string ;
23+ object : 'list' ;
2424}
2525
2626export namespace ImageFile {
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ export namespace ModelListResponse {
2323
2424 object : string ;
2525
26- type : string ;
26+ type : 'chat' | 'language' | 'code' | 'image' | 'embedding' | 'moderation' ;
2727
2828 context_length ?: number ;
2929
You can’t perform that action at this time.
0 commit comments