Parameters for the trainingsCreate operation.

interface TrainingsCreateParams {
    autoUpdateModel?: boolean;
    custom?: WatsonXAI.JsonObject;
    description?: string;
    headers?: OutgoingHttpHeaders;
    name: string;
    projectId?: string;
    promptTuning?: WatsonXAI.PromptTuning;
    resultsReference: WatsonXAI.ObjectLocation;
    spaceId?: string;
    tags?: string[];
    trainingDataReferences?: WatsonXAI.DataConnectionReference[];
}

Properties

autoUpdateModel?: boolean

If set to true then the result of the training, if successful, will be uploaded to the repository as a model.

User defined properties specified as key-value pairs.

description?: string

A description of the training.

headers?: OutgoingHttpHeaders
name: string

The name of the training.

projectId?: string

The project that contains the resource. Either space_id or project_id has to be given.

promptTuning?: WatsonXAI.PromptTuning

Properties to control the prompt tuning.

resultsReference: WatsonXAI.ObjectLocation

The training results. Normally this is specified as type=container which means that it is stored in the space or project.

spaceId?: string

The space that contains the resource. Either space_id or project_id has to be given.

tags?: string[]

A list of tags for this resource.

trainingDataReferences?: WatsonXAI.DataConnectionReference[]

Training datasets.