Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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
class Jobs
extends APIResource
import { Jobs } from "https://deno.land/x/openai@v4.45.0/resources/fine-tuning/mod.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,
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