commonMain.com.xebia.functional.openai.generated.model.FineTuningJobCheckpoint.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xef-openai-client Show documentation
Show all versions of xef-openai-client Show documentation
Building applications with LLMs through composability in Kotlin
The newest version!
/**
*
* Please note:
* This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* Do not edit this file manually.
*
*/
@file:Suppress(
"ArrayInDataClass",
"EnumEntryName",
"RemoveRedundantQualifierName",
"UnusedImport"
)
package com.xebia.functional.openai.generated.model
import com.xebia.functional.openai.generated.model.FineTuningJobCheckpointMetrics
import kotlinx.serialization.Serializable
import kotlinx.serialization.SerialName
import kotlinx.serialization.Contextual
import kotlin.js.JsName
import kotlinx.serialization.json.*
/**
* The `fine_tuning.job.checkpoint` object represents a model checkpoint for a fine-tuning job that is ready to use.
*
* @param id The checkpoint identifier, which can be referenced in the API endpoints.
* @param createdAt The Unix timestamp (in seconds) for when the checkpoint was created.
* @param fineTunedModelCheckpoint The name of the fine-tuned checkpoint model that is created.
* @param stepNumber The step number that the checkpoint was created at.
* @param metrics
* @param fineTuningJobId The name of the fine-tuning job that this checkpoint was created from.
* @param `object` The object type, which is always \"fine_tuning.job.checkpoint\".
*/
@Serializable
data class FineTuningJobCheckpoint (
/* The checkpoint identifier, which can be referenced in the API endpoints. */
@SerialName(value = "id") val id: kotlin.String,
/* The Unix timestamp (in seconds) for when the checkpoint was created. */
@SerialName(value = "created_at") val createdAt: kotlin.Int,
/* The name of the fine-tuned checkpoint model that is created. */
@SerialName(value = "fine_tuned_model_checkpoint") val fineTunedModelCheckpoint: kotlin.String,
/* The step number that the checkpoint was created at. */
@SerialName(value = "step_number") val stepNumber: kotlin.Int,
@SerialName(value = "metrics") val metrics: FineTuningJobCheckpointMetrics,
/* The name of the fine-tuning job that this checkpoint was created from. */
@SerialName(value = "fine_tuning_job_id") val fineTuningJobId: kotlin.String,
/* The object type, which is always \"fine_tuning.job.checkpoint\". */
@SerialName(value = "object") val `object`: FineTuningJobCheckpoint.`Object`
) {
/**
* The object type, which is always \"fine_tuning.job.checkpoint\".
*
* Values: fine_tuning_job_checkpoint
*/
@Serializable
enum class `Object`(val value: kotlin.String) {
@SerialName(value = "fine_tuning.job.checkpoint") fine_tuning_job_checkpoint("fine_tuning.job.checkpoint");
}
}