事件处理器
基类:EventBaseModel
基础回调处理器,可用于追踪事件的开始与结束。
workflows/handler.py 中的源代码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
类名。
workflows/handler.py 中的源代码llama_index_instrumentation/event_handlers/base.py
14 15 16 17 | |
处理
abstractmethod
#
handle(event: BaseEvent, **kwargs: Any) -> Any
处理事件的逻辑。
workflows/handler.py 中的源代码llama_index_instrumentation/event_handlers/base.py
19 20 21 | |
选项: 显示根目录标题:是 显示根目录完整路径:否