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

x/openai/resources/fine-tuning/mod.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.26.0/resources/fine-tuning/mod.ts";
class Jobs
extends APIResource
import { Jobs } from "https://deno.land/x/openai@v4.26.0/resources/fine-tuning/mod.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 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,
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