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

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

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

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 job that fine-tunes a specified 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,
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