{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bookmyhost/json-schema/bookmyhost-lite-llmfine-tuning-job-create-schema.json",
  "title": "LiteLLMFineTuningJobCreate",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bookmyhost-fine-tuning-api-openapi.yml#/components/schemas/LiteLLMFineTuningJobCreate",
  "properties": {
    "model": {
      "type": "string",
      "title": "Model"
    },
    "training_file": {
      "type": "string",
      "title": "Training File"
    },
    "hyperparameters": {
      "anyOf": [
        {
          "$ref": "#/$defs/Hyperparameters"
        },
        {
          "type": "null"
        }
      ]
    },
    "suffix": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Suffix"
    },
    "validation_file": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Validation File"
    },
    "integrations": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Integrations"
    },
    "seed": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Seed"
    },
    "custom_llm_provider": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "openai",
            "azure",
            "vertex_ai"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Custom Llm Provider"
    }
  },
  "additionalProperties": true,
  "type": "object",
  "required": [
    "model",
    "training_file"
  ],
  "$defs": {
    "Hyperparameters": {
      "properties": {
        "batch_size": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Batch Size"
        },
        "learning_rate_multiplier": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Learning Rate Multiplier"
        },
        "n_epochs": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "N Epochs"
        }
      },
      "additionalProperties": true,
      "type": "object",
      "title": "Hyperparameters"
    }
  }
}