Event handlers
Bases: BaseModel
Base callback handler that can be used to track event starts and ends.
Source code in llama-index-core/llama_index/core/instrumentation/event_handlers/base.py
7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
|
class_name
classmethod
#
class_name() -> str
Class name.
Source code in llama-index-core/llama_index/core/instrumentation/event_handlers/base.py
10 11 12 13 |
|
handle
abstractmethod
#
handle(event: BaseEvent, **kwargs) -> Any
Logic for handling event.
Source code in llama-index-core/llama_index/core/instrumentation/event_handlers/base.py
15 16 17 |
|