Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/fine-tuning/jobs/jobs.ts>Jobs

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Latest
class Jobs
extends APIResource
import { Jobs } from "https://deno.land/x/openai@v4.69.0/resources/fine-tuning/jobs/jobs.ts";

Properties

checkpoints: CheckpointsAPI.Checkpoints

Methods

cancel(fineTuningJobId: string, options?: Core.RequestOptions): Core.APIPromise<FineTuningJob>

Immediately cancel a fine-tune job.

create(body: JobCreateParams, options?: Core.RequestOptions): Core.APIPromise<FineTuningJob>

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.

Learn more about fine-tuning

list(query?: JobListParams, options?: Core.RequestOptions): Core.PagePromise<FineTuningJobsPage, FineTuningJob>

List your organization's fine-tuning jobs

list(options?: Core.RequestOptions): Core.PagePromise<FineTuningJobsPage, FineTuningJob>
listEvents(
fineTuningJobId: string,
query?: JobListEventsParams,
options?: Core.RequestOptions,
): Core.PagePromise<FineTuningJobEventsPage, FineTuningJobEvent>

Get status updates for a fine-tuning job.

listEvents(fineTuningJobId: string, options?: Core.RequestOptions): Core.PagePromise<FineTuningJobEventsPage, FineTuningJobEvent>
retrieve(fineTuningJobId: string, options?: Core.RequestOptions): Core.APIPromise<FineTuningJob>

Get info about a fine-tuning job.

Learn more about fine-tuning