import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FineTuningError, FineTuningError$Outbound } from "./finetuningerror.js"; import { IntegrationObject, IntegrationObject$Outbound } from "./integrationobject.js"; import { JobStatus } from "./jobstatus.js"; import { Method, Method$Outbound } from "./method.js"; export type FineTuningJobBatchSize = string | number; export type FineTuningJobLearningRateMultiplier = string | number; export type FineTuningJobNEpochs = string | number; export type FineTuningJobHyperparameters = { batchSize?: string | number | null | undefined; learningRateMultiplier?: string | number | null | undefined; nEpochs?: string | number | null | undefined; }; export type FineTuningJob = { id: string; object: "fine_tuning.job"; createdAt: number; model: string; trainingFile: string; validationFile?: string | null | undefined; fineTunedModel?: string | null | undefined; organizationId: string; status: JobStatus; resultFiles: Array; seed: number; hyperparameters: FineTuningJobHyperparameters; method?: Method | null | undefined; finishedAt?: number | null | undefined; estimatedFinish?: number | null | undefined; trainedTokens?: number | null | undefined; error?: FineTuningError | null | undefined; integrations?: Array | null | undefined; metadata?: { [k: string]: string; } | null | undefined; suffix?: string | null | undefined; }; /** @internal */ export declare const FineTuningJobBatchSize$inboundSchema: z.ZodType; /** @internal */ export type FineTuningJobBatchSize$Outbound = string | number; /** @internal */ export declare const FineTuningJobBatchSize$outboundSchema: z.ZodType; export declare function fineTuningJobBatchSizeToJSON(fineTuningJobBatchSize: FineTuningJobBatchSize): string; export declare function fineTuningJobBatchSizeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FineTuningJobLearningRateMultiplier$inboundSchema: z.ZodType; /** @internal */ export type FineTuningJobLearningRateMultiplier$Outbound = string | number; /** @internal */ export declare const FineTuningJobLearningRateMultiplier$outboundSchema: z.ZodType; export declare function fineTuningJobLearningRateMultiplierToJSON(fineTuningJobLearningRateMultiplier: FineTuningJobLearningRateMultiplier): string; export declare function fineTuningJobLearningRateMultiplierFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FineTuningJobNEpochs$inboundSchema: z.ZodType; /** @internal */ export type FineTuningJobNEpochs$Outbound = string | number; /** @internal */ export declare const FineTuningJobNEpochs$outboundSchema: z.ZodType; export declare function fineTuningJobNEpochsToJSON(fineTuningJobNEpochs: FineTuningJobNEpochs): string; export declare function fineTuningJobNEpochsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FineTuningJobHyperparameters$inboundSchema: z.ZodType; /** @internal */ export type FineTuningJobHyperparameters$Outbound = { batch_size?: string | number | null | undefined; learning_rate_multiplier?: string | number | null | undefined; n_epochs?: string | number | null | undefined; }; /** @internal */ export declare const FineTuningJobHyperparameters$outboundSchema: z.ZodType; export declare function fineTuningJobHyperparametersToJSON(fineTuningJobHyperparameters: FineTuningJobHyperparameters): string; export declare function fineTuningJobHyperparametersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FineTuningJob$inboundSchema: z.ZodType; /** @internal */ export type FineTuningJob$Outbound = { id: string; object: "fine_tuning.job"; created_at: number; model: string; training_file: string; validation_file?: string | null | undefined; fine_tuned_model?: string | null | undefined; organization_id: string; status: string; result_files: Array; seed: number; hyperparameters: FineTuningJobHyperparameters$Outbound; method?: Method$Outbound | null | undefined; finished_at?: number | null | undefined; estimated_finish?: number | null | undefined; trained_tokens?: number | null | undefined; error?: FineTuningError$Outbound | null | undefined; integrations?: Array | null | undefined; metadata?: { [k: string]: string; } | null | undefined; suffix?: string | null | undefined; }; /** @internal */ export declare const FineTuningJob$outboundSchema: z.ZodType; export declare function fineTuningJobToJSON(fineTuningJob: FineTuningJob): string; export declare function fineTuningJobFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=finetuningjob.d.ts.map