Interface BusEventAgentPreSessionHistory

This event is fired before a message from a live agent or the user (to an agent) is added to session history. It gives the customer the opportunity to filter out PII from the messages so they are not stored by IBM watsonx Assistant.

interface BusEventAgentPreSessionHistory {
    message:
        | MessageResponse<GenericItem<Record<string, unknown>>[]>
        | MessageRequest<MessageInput>;
    type: AGENT_PRE_SESSION_HISTORY;
}

Hierarchy (View Summary, Expand)

Properties

Properties

message:
    | MessageResponse<GenericItem<Record<string, unknown>>[]>
    | MessageRequest<MessageInput>

The message that is to be saved in session history.

The type of the event.

MMNEPVFCICPMFPCPTTAAATR