GraphEvent Objects
type
(GraphEventType | str
): The type of event, can be start_node, end_node, callback, or a custom str.identifier
(str
): The identifier of the event, this is set typically by a callback handler and can be used to distinguish between different events. For example, a conversation/session ID could be used.token
(str | None
): The token associated with the event, such as LLM streamed output.params
(dict[str, Any] | None
): The parameters associated with the event, such as tool call parameters or event metadata.
encode
charset
(str
): The character set to use for encoding the event.
CallbackProtocol Objects
Callback Objects
EventCallback
handler instead.
aiter
start_node
end_node
close
EventCallback Objects
EventCallback
handler instead.