WxPromptSession.

interface WxPromptSession {
    created_at?: number;
    created_by?: string;
    description?: string;
    id?: string;
    last_updated_at?: number;
    last_updated_by?: string;
    lock?: WatsonXAI.PromptLock;
    name: string;
    prompts?: WatsonXAI.WxPromptSessionEntry[];
}

Properties

created_at?: number

Time the session was created.

created_by?: string

The ID of the original session creator.

description?: string

An optional description for the prompt session.

id?: string

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

last_updated_at?: number

Time the session was updated.

last_updated_by?: string

The ID of the last user that modifed the session.

name: string

Name used to display the prompt session.