FineTunes

interface FineTunes

Manage fine-tuning jobs to tailor a model to your specific training data.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun cancel(fineTuneId: FineTuneId): FineTune?

Immediately cancel a fine-tune job.

Link copied to clipboard
abstract suspend fun delete(fineTuneModel: ModelId): Boolean

Delete a fine-tuned model. You must have the Owner role in your organization.

Link copied to clipboard
abstract suspend fun fineTune(fineTuneId: FineTuneId): FineTune?

Gets info about to fine-tune job.

abstract suspend fun fineTune(request: FineTuneRequest): FineTune

Creates a job that fine-tunes a specified model from a given dataset.

Link copied to clipboard
abstract suspend fun fineTuneEvents(fineTuneId: FineTuneId): List<FineTuneEvent>

Get fine-grained status updates for fine-tune job.

Link copied to clipboard
abstract fun fineTuneEventsFlow(fineTuneId: FineTuneId): Flow<FineTuneEvent>

Get fine-grained status updates for fine-tune job.

Link copied to clipboard
abstract suspend fun fineTunes(): List<FineTune>

List your organization's fine-tuning jobs.