/* tslint:disable */
/* eslint-disable */
/**
 * Montelo
 * Documentation for the Montelo API.
 *
 * The version of the OpenAPI document: 1.0
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * 
 * @export
 * @interface CreateFineTuneInput
 */
export interface CreateFineTuneInput {
    /**
     * 
     * @type {string}
     * @memberof CreateFineTuneInput
     */
    model: CreateFineTuneInputModelEnum;
}


/**
 * @export
 */
export const CreateFineTuneInputModelEnum = {
    _8BInstruct: 'meta-llama/Meta-Llama-3-8B-Instruct',
    _70BInstruct: 'meta-llama/Meta-Llama-3-70B-Instruct'
} as const;
export type CreateFineTuneInputModelEnum = typeof CreateFineTuneInputModelEnum[keyof typeof CreateFineTuneInputModelEnum];


/**
 * Check if a given object implements the CreateFineTuneInput interface.
 */
export function instanceOfCreateFineTuneInput(value: object): boolean {
    let isInstance = true;
    isInstance = isInstance && "model" in value;

    return isInstance;
}

export function CreateFineTuneInputFromJSON(json: any): CreateFineTuneInput {
    return CreateFineTuneInputFromJSONTyped(json, false);
}

export function CreateFineTuneInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateFineTuneInput {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'model': json['model'],
    };
}

export function CreateFineTuneInputToJSON(value?: CreateFineTuneInput | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'model': value.model,
    };
}

