OpenAi.FineTuning (OpenAI REST API Client v0.2.1)
Provides API endpoints related to fine tuning
Summary
Functions
Immediately cancel a fine-tune job.
Creates a fine-tuning job which begins the process of creating a new model from a given dataset.
Get status updates for a fine-tuning job.
List checkpoints for a fine-tuning job.
List your organization's fine-tuning jobs
Get info about a fine-tuning job.
Functions
Link to this function
cancel_fine_tuning_job(fine_tuning_job_id, opts \\ [])
@spec cancel_fine_tuning_job( String.t(), keyword() ) :: {:ok, OpenAi.FineTuning.Job.t()} | {:error, OpenAi.Error.error()}
Immediately cancel a fine-tune job.
Link to this function
create_fine_tuning_job(body, opts \\ [])
@spec create_fine_tuning_job( OpenAi.FineTuning.Job.CreateRequest.t(), keyword() ) :: {:ok, OpenAi.FineTuning.Job.t()} | {:error, OpenAi.Error.error()}
Creates a fine-tuning job which begins the process of creating a new model from a given dataset.
Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete.
Link to this function
list_fine_tuning_events(fine_tuning_job_id, opts \\ [])
@spec list_fine_tuning_events( String.t(), keyword() ) :: {:ok, OpenAi.FineTuning.Job.Event.ListResponse.t()} | {:error, OpenAi.Error.error()}
Get status updates for a fine-tuning job.
Options
after
: Identifier for the last event from the previous pagination request.limit
: Number of events to retrieve.
Link to this function
list_fine_tuning_job_checkpoints(fine_tuning_job_id, opts \\ [])
@spec list_fine_tuning_job_checkpoints( String.t(), keyword() ) :: {:ok, OpenAi.FineTuning.Job.Checkpoint.ListResponse.t()} | {:error, OpenAi.Error.error()}
List checkpoints for a fine-tuning job.
Options
after
: Identifier for the last checkpoint ID from the previous pagination request.limit
: Number of checkpoints to retrieve.
Link to this function
list_paginated_fine_tuning_jobs(opts \\ [])
@spec list_paginated_fine_tuning_jobs(keyword()) :: {:ok, OpenAi.FineTuning.Job.ListResponse.t()} | {:error, OpenAi.Error.error()}
List your organization's fine-tuning jobs
Options
after
: Identifier for the last job from the previous pagination request.limit
: Number of fine-tuning jobs to retrieve.
Link to this function
retrieve_fine_tuning_job(fine_tuning_job_id, opts \\ [])
@spec retrieve_fine_tuning_job( String.t(), keyword() ) :: {:ok, OpenAi.FineTuning.Job.t()} | {:error, OpenAi.Error.error()}
Get info about a fine-tuning job.