Event data.
The contents of the event data depend on the event type.
Event names are of the format: on_[runnable_type]_(start|stream|end).
Runnable types are one of:
decorator or inheriting from Tool/BaseTool
Further, the events are categorized as one of:
start, stream and end are associated with slightly different data
payload.
Please see the documentation for EventData
for more details.
Metadata associated with the runnable that generated this event.
The name of the runnable that generated the event.
An randomly generated ID to keep track of the execution of the given runnable.
Each child runnable that gets invoked as part of the execution of a parent runnable is assigned its own unique ID.
Optional
tags?: string[]Tags associated with the runnable that generated this event. Tags are always inherited from parent runnables.
Generated using TypeDoc
A streaming event.
Schema of a streaming event which is produced from the streamEvents method.