/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 3ec45df45ba9
 */
import { fineTuningJobsCancel } from "../funcs/fineTuningJobsCancel.js";
import { fineTuningJobsCreate } from "../funcs/fineTuningJobsCreate.js";
import { fineTuningJobsGet } from "../funcs/fineTuningJobsGet.js";
import { fineTuningJobsList } from "../funcs/fineTuningJobsList.js";
import { fineTuningJobsStart } from "../funcs/fineTuningJobsStart.js";
import { ClientSDK } from "../lib/sdks.js";
import { unwrapAsync } from "../types/fp.js";
export class FineTuningJobs extends ClientSDK {
    /**
     * Get Fine Tuning Jobs
     *
     * @remarks
     * Get a list of fine-tuning jobs for your organization and user.
     */
    async list(request, options) {
        return unwrapAsync(fineTuningJobsList(this, request, options));
    }
    /**
     * Create Fine Tuning Job
     *
     * @remarks
     * Create a new fine-tuning job, it will be queued for processing.
     */
    async create(request, options) {
        return unwrapAsync(fineTuningJobsCreate(this, request, options));
    }
    /**
     * Get Fine Tuning Job
     *
     * @remarks
     * Get a fine-tuned job details by its UUID.
     */
    async get(request, options) {
        return unwrapAsync(fineTuningJobsGet(this, request, options));
    }
    /**
     * Cancel Fine Tuning Job
     *
     * @remarks
     * Request the cancellation of a fine tuning job.
     */
    async cancel(request, options) {
        return unwrapAsync(fineTuningJobsCancel(this, request, options));
    }
    /**
     * Start Fine Tuning Job
     *
     * @remarks
     * Request the start of a validated fine tuning job.
     */
    async start(request, options) {
        return unwrapAsync(fineTuningJobsStart(this, request, options));
    }
}
//# sourceMappingURL=finetuningjobs.js.map