import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { IntegrationObject, IntegrationObject$Outbound } from "./integrationobject.js"; import { Method, Method$Outbound } from "./method.js"; export type HyperparametersBatchSize = string | number; export type HyperparametersLearningRateMultiplier = string | number; export type HyperparametersNEpochs = string | number; export type Hyperparameters = { batchSize?: string | number | null | undefined; learningRateMultiplier?: string | number | null | undefined; nEpochs?: string | number | null | undefined; }; export type CreateFineTuningJobRequest = { /** * The base model to fine-tune */ model: string; /** * File ID of the training data JSONL file */ trainingFile: string; /** * File ID of the validation data JSONL file */ validationFile?: string | null | undefined; /** * Suffix appended to the fine-tuned model name */ suffix?: string | null | undefined; /** * Seed for reproducibility */ seed?: number | null | undefined; /** * Deprecated: use method instead */ hyperparameters?: Hyperparameters | null | undefined; /** * Fine-tuning method configuration */ method?: Method | null | undefined; /** * External integrations */ integrations?: Array | null | undefined; /** * Up to 16 key-value pairs */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const HyperparametersBatchSize$inboundSchema: z.ZodType; /** @internal */ export type HyperparametersBatchSize$Outbound = string | number; /** @internal */ export declare const HyperparametersBatchSize$outboundSchema: z.ZodType; export declare function hyperparametersBatchSizeToJSON(hyperparametersBatchSize: HyperparametersBatchSize): string; export declare function hyperparametersBatchSizeFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HyperparametersLearningRateMultiplier$inboundSchema: z.ZodType; /** @internal */ export type HyperparametersLearningRateMultiplier$Outbound = string | number; /** @internal */ export declare const HyperparametersLearningRateMultiplier$outboundSchema: z.ZodType; export declare function hyperparametersLearningRateMultiplierToJSON(hyperparametersLearningRateMultiplier: HyperparametersLearningRateMultiplier): string; export declare function hyperparametersLearningRateMultiplierFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const HyperparametersNEpochs$inboundSchema: z.ZodType; /** @internal */ export type HyperparametersNEpochs$Outbound = string | number; /** @internal */ export declare const HyperparametersNEpochs$outboundSchema: z.ZodType; export declare function hyperparametersNEpochsToJSON(hyperparametersNEpochs: HyperparametersNEpochs): string; export declare function hyperparametersNEpochsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Hyperparameters$inboundSchema: z.ZodType; /** @internal */ export type Hyperparameters$Outbound = { batch_size?: string | number | null | undefined; learning_rate_multiplier?: string | number | null | undefined; n_epochs?: string | number | null | undefined; }; /** @internal */ export declare const Hyperparameters$outboundSchema: z.ZodType; export declare function hyperparametersToJSON(hyperparameters: Hyperparameters): string; export declare function hyperparametersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateFineTuningJobRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateFineTuningJobRequest$Outbound = { model: string; training_file: string; validation_file?: string | null | undefined; suffix?: string | null | undefined; seed?: number | null | undefined; hyperparameters?: Hyperparameters$Outbound | null | undefined; method?: Method$Outbound | null | undefined; integrations?: Array | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const CreateFineTuningJobRequest$outboundSchema: z.ZodType; export declare function createFineTuningJobRequestToJSON(createFineTuningJobRequest: CreateFineTuningJobRequest): string; export declare function createFineTuningJobRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createfinetuningjobrequest.d.ts.map