AI

Create AI Prompt Fine-Tuning Job

Required scopes: ai.fine-tuning (Read only).

post/users/{userId}/ai/prompts/{aiPromptId}/fine-tuning/jobs

Request

Path parameters

userIdinteger required

User Identifier

aiPromptIdinteger required

AI Prompt identifier. Get via List AI Prompts

Request body

dryRunboolean

Simulate the fine-tuning of job creation without actually creating them

Example request

{
  "trainingOptions": {
    "dateFrom": "2019-09-23T11:26:54+00:00",
    "dateTo": "2019-09-23T11:26:54+00:00"
  },
  "validationOptions": {
    "dateFrom": "2019-09-23T11:26:54+00:00",
    "dateTo": "2019-09-23T11:26:54+00:00"
  }
}

Response

AI Prompt Fine-Tuning Job created successfully

Example response

{
  "data": {
    "identifier": "50fb3506-4127-4ba8-8296-f97dc7e3e0c3",
    "status": "finished",
    "progress": 100,
    "attributes": {
      "trainingOptions": {
        "dateFrom": "2019-09-23T11:26:54+00:00",
        "dateTo": "2019-09-23T11:26:54+00:00"
      },
      "validationOptions": {
        "dateFrom": "2019-09-23T11:26:54+00:00",
        "dateTo": "2019-09-23T11:26:54+00:00"
      },
      "baseModel": "gpt-4o-mini-2024-07-18",
      "fineTunedModel": "ft:gpt-4o-mini-2024-07-18:2024-08-12:9vQgFOfp",
      "trainingDatasetUrl": "https://crowdin-tmp.s3.eu-central-1.amazonaws.com/72057531/ai_fine_tuning/0fc00e9e-3a80-49d1-a8cb-39c9a81c0ae2/training-dataset.jsonl",
      "validationDatasetUrl": "https://crowdin-tmp.s3.eu-central-1.amazonaws.com/72057531/ai_fine_tuning/0fc00e9e-3a80-49d1-a8cb-39c9a81c0ae2/validation-dataset.jsonl",
      "metadata": {
        "costCurrency": "USD"
      }
    },
    "createdAt": "2019-09-23T11:26:54+00:00",
    "updatedAt": "2019-09-23T11:26:54+00:00",
    "startedAt": "2019-09-23T11:26:54+00:00",
    "finishedAt": "2019-09-23T11:26:54+00:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.