/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 * @generated-id: 226387222e1f
 */
import * as z from "zod/v4";
import { remap as remap$ } from "../../lib/primitives.js";
import { safeParse } from "../../lib/schemas.js";
/** @internal */
export const FineTunedModelCapabilities$inboundSchema = z.object({
    completion_chat: z.boolean().default(true),
    completion_fim: z.boolean().default(false),
    function_calling: z.boolean().default(false),
    fine_tuning: z.boolean().default(false),
    classification: z.boolean().default(false),
}).transform((v) => {
    return remap$(v, {
        "completion_chat": "completionChat",
        "completion_fim": "completionFim",
        "function_calling": "functionCalling",
        "fine_tuning": "fineTuning",
    });
});
export function fineTunedModelCapabilitiesFromJSON(jsonString) {
    return safeParse(jsonString, (x) => FineTunedModelCapabilities$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FineTunedModelCapabilities' from JSON`);
}
//# sourceMappingURL=finetunedmodelcapabilities.js.map