Event handlers
Bases: BaseModel
Base callback handler that can be used to track event starts and ends.
Source code in llama_index_instrumentation/event_handlers/base.py
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | |
class_name
classmethod
#
class_name() -> str
Class name.
Source code in llama_index_instrumentation/event_handlers/base.py
14 15 16 17 | |
handle
abstractmethod
#
handle(event: BaseEvent, **kwargs: Any) -> Any
Logic for handling event.
Source code in llama_index_instrumentation/event_handlers/base.py
19 20 21 | |
options: show_root_heading: true show_root_full_path: false