AI

Generate AI Prompt Fine-Tuning Dataset

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

post/ai/prompts/{aiPromptId}/fine-tuning/datasets

Request

Path parameters

aiPromptIdinteger required

AI Prompt identifier. Get via List AI Prompts

Request body

projectIdsinteger[]

Project identifiers from which the dataset will be generated. Get via List Projects.

Note: Required if tmIds are not specified.

tmIdsinteger[]

TM identifiers from which the dataset will be generated. Get via List TMs.

Note: This parameter is not supported for the prompt with the external configuration.

purpose'training' | 'validation'

Purpose of the dataset

dateFromstring date-time

Start date for dataset generation

dateTostring date-time

End date for dataset generation

maxFileSizeinteger

Maximum dataset file size in bytes.

Note: If not provided, default limits based on the model will be applied

minExamplesCountinteger

Minimum number of examples in the dataset.

Note: If not provided, default limits based on the model will be applied

maxExamplesCountinteger

Maximum number of examples in the dataset.

Note: If not provided, default limits based on the model will be applied

Example request

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

Response

AI Prompt Fine-Tuning Dataset generation successfully started

Example response

{
  "data": {
    "identifier": "50fb3506-4127-4ba8-8296-f97dc7e3e0c3",
    "status": "finished",
    "progress": 100,
    "attributes": {
      "dateFrom": "2019-09-23T11:26:54+00:00",
      "dateTo": "2019-09-23T11:26:54+00:00"
    },
    "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.