WxPromptResponse.

interface WxPromptResponse {
    created_at?: number;
    created_by?: string;
    description?: string;
    governance_tracked?: boolean;
    id?: string;
    input_mode?: string;
    is_template?: boolean;
    last_updated_at?: number;
    last_updated_by?: string;
    lock?: WatsonXAI.PromptLock;
    model_version?: WatsonXAI.WxPromptResponseModelVersion;
    name: string;
    prompt: WatsonXAI.PromptWithExternal;
    prompt_variables?: WatsonXAI.JsonObject;
    resource_key?: string;
    task_ids?: string[];
}

Properties

created_at?: number

Time the prompt was created.

created_by?: string

The ID of the original prompt creator.

description?: string

An optional description for the prompt.

governance_tracked?: boolean
id?: string

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

input_mode?: string

Input mode in use for the prompt.

is_template?: boolean
last_updated_at?: number

Time the prompt was updated.

last_updated_by?: string

The ID of the last user that modifed the prompt.

name: string

Name used to display the prompt.

prompt_variables?: WatsonXAI.JsonObject
resource_key?: string
task_ids?: string[]