import type { LoraTune_Output } from "./LoraTune_Output"; import type { NullTune } from "./NullTune"; import type { TuneResult } from "./TuneResult"; import type { TuneStatus } from "./TuneStatus"; import type { TuneType } from "./TuneType"; /** * A tune base class. */ export type Tune = { /** * The time this LoRA tune was created. */ created_at: string; /** * The time this LoRA tune was deleted. */ deleted_at?: string | null; /** * The description of the tune. */ description: string; /** * Tune details. */ details: LoraTune_Output | NullTune; /** * The ID of the LoRA tune. */ id: string; /** * The name of the tune. */ name: string; /** * The output LoRA IDs, if the task was successful. */ output_lora_ids: Array; /** * Tune result. */ result?: TuneResult | null; /** * The status of the associated task. */ status: TuneStatus; /** * The details of the status, only used when the associated task failed. */ status_details: string; /** * The time the LoRA tune succeeded. */ succeeded_at?: string | null; /** * The tenant who requested the LoRA tune. */ tenant_id: string; /** * The type of this tune. */ tune_type: TuneType; /** * The time this LoRA tune was updated. */ updated_at: string; };