Skip to content

Chat Event

Purpose of the Node

The Chat Event node is designed to handle and emit chat-related events. It processes incoming chat payloads, extracts relevant information such as chat history, local and global sessions, actions, and user details, and outputs these details via various pins. The node also hooks a completion event that listens for cached chat responses and emits them through an event trigger.

Pins

The Chat Event node has several output pins:

Pin NamePin DescriptionPin TypeValue Type
StartTrigger for the start of the event processing.Exec-
historyOutputs the chat history.StructHistory
local_sessionOutputs the local session associated with the chat.StructStruct
global_sessionOutputs the global session associated with the chat.StructStruct
actionsOutputs the actions triggered by the chat.StructArray
attachmentsOutputs the attachments associated with the chat.StructArray
userOutputs the user information.StructStruct