Parameters for the patchPrompt operation.

interface PatchPromptParams {
    description?: string;
    governanceTracked?: boolean;
    headers?: OutgoingHttpHeaders;
    id?: string;
    inputMode?: string;
    modelVersion?: WatsonXAI.WxPromptPatchModelVersion;
    name: string;
    projectId?: string;
    prompt: WatsonXAI.Prompt;
    promptId: string;
    promptVariable?: WatsonXAI.JsonObject;
    spaceId?: string;
    taskIds?: string[];
}

Properties

description?: string

An optional description for the prompt.

governanceTracked?: boolean
headers?: OutgoingHttpHeaders
id?: string

The prompt's id. This value cannot be set. It is returned in responses only.

inputMode?: string

Input mode in use for the prompt.

name: string

Name used to display the prompt.

projectId?: string

[REQUIRED] Specifies the project ID as the target. One target must be supplied per request.

promptId: string

Prompt ID.

promptVariable?: WatsonXAI.JsonObject
spaceId?: string

[REQUIRED] Specifies the space ID as the target. One target must be supplied per request.

taskIds?: string[]