All Bundles

Tuner

OpenAI fine tuning

Derived from: EndPoint

Operations

Cancel

Cancel a tuning job

function : Cancel(job_id:String, token:String) ~ API.OpenAI.Tuning.Tuner
Parameters
NameTypeDescription
job_idStringtuning job ID
tokenStringAPI token

Return
TypeDescription
Tunercanceled tuning reference

Create

Create a fine-turning job using an uploaded file as training data

function : Create(model:String, training_file_id:String, token:String) ~ API.OpenAI.Tuning.Tuner
Parameters
NameTypeDescription
modelStringmodel name
training_file_idStringuploaded training file ID to a file in JSONL format
tokenStringAPI token

Return
TypeDescription
Tunerfine-tuning job instance

GetCreatedAt

Unix timestamp (in seconds) of when the object instance was created

method : public : GetCreatedAt() ~ Int
Return
TypeDescription
Inttime with the object instance was created

GetFinishedAt

Unix timestamp (in seconds) of when the job finished

method : public : GetFinishedAt() ~ Int
Return
TypeDescription
Inttime with the job finished

GetId

Get object instance API ID

method : public : GetId() ~ String
Return
TypeDescription
Stringinstance ID

GetObject

Get the object type

method : public : GetObject() ~ String
Return
TypeDescription
Stringobject type

GetStatus

Get status of the tuning job

method : public : GetStatus() ~ String
Return
TypeDescription
Stringname of the training file

GetTrainingFilename

Get the name of the training file

method : public : GetTrainingFilename() ~ String
Return
TypeDescription
Stringname of the training file

ListCheckpoints

Lists checkpoints for a fine-tuning job

function : ListCheckpoints(job_id:String, token:String) ~ Vector<API.OpenAI.Tuning.Checkpoint>
Parameters
NameTypeDescription
job_idStringjob ID
tokenStringAPI token

Return
TypeDescription
Checkpoint<>job checkpoints

Lists checkpoints for a fine-tuning job

function : ListCheckpoints(job_id:String, limit:Int, token:String) ~ Vector<API.OpenAI.Tuning.Checkpoint>
Parameters
NameTypeDescription
job_idStringjob ID
limitIntnumber of jobs to retrieve
tokenStringAPI token

Return
TypeDescription
Checkpoint<>job checkpoints

ListEvents

Lists events for a job

function : ListEvents(job_id:String, token:String) ~ Vector<API.OpenAI.Tuning.Job>
Parameters
NameTypeDescription
job_idStringjob ID
tokenStringAPI token

Return
TypeDescription
Job<>job events

Lists events for a job

function : ListEvents(job_id:String, limit:Int, token:String) ~ Vector<API.OpenAI.Tuning.Job>
Parameters
NameTypeDescription
job_idStringjob ID
limitIntnumber of jobs to retrieve
tokenStringAPI token

Return
TypeDescription
Job<>job events

ListJobs

Loads a list fine-tuning jobs

function : ListJobs(token:String) ~ Vector<API.OpenAI.Tuning.Tuner>
Parameters
NameTypeDescription
tokenStringAPI token

Return
TypeDescription
Tuner<>fine-tuning jobs

Loads a list fine-tuning jobs

function : ListJobs(limit:Int, token:String) ~ Vector<API.OpenAI.Tuning.Tuner>
Parameters
NameTypeDescription
limitIntnumber of jobs to retrieve
tokenStringAPI token

Return
TypeDescription
Tuner<>fine-tuning jobs

Load

Load a tuning job

function : Load(job_id:String, token:String) ~ API.OpenAI.Tuning.Tuner
Parameters
NameTypeDescription
job_idStringtuning job ID
tokenStringAPI token

Return
TypeDescription
Tunertuning reference

ToString

String representation of the object

method : public : ToString() ~ String
Return
TypeDescription
Stringstring representation