The definition of a model. The software_spec is used only for training. Either space_id or project_id has to be provided and is mandatory.

interface ModelDefinitionEntity {
    command?: string;
    custom?: WatsonXAI.JsonObject;
    platform: WatsonXAI.ModelDefinitionEntityPlatform;
    software_spec?: WatsonXAI.SoftwareSpecRel;
    version: string;
}

Properties

command?: string

The command used to run the model.

User defined properties specified as key-value pairs.

software_spec?: WatsonXAI.SoftwareSpecRel

A software specification.

version: string

The package version.