callbacks
#
Callback handlers allow listening to events in LangChain.
Class hierarchy:
BaseCallbackHandler --> <name>CallbackHandler # Example: AimCallbackHandler
Classes
Async callback handler for LangChain. |
|
Base callback handler for LangChain. |
|
|
Base callback manager for LangChain. |
Mixin for callback manager. |
|
Mixin for chain callbacks. |
|
Mixin for LLM callbacks. |
|
Mixin for Retriever callbacks. |
|
Mixin for run manager. |
|
Mixin for tool callbacks. |
|
|
Callback Handler that writes to a file. |
|
Async callback manager that handles callbacks from LangChain. |
Async callback manager for the chain group. |
|
Async callback manager for chain run. |
|
Async callback manager for LLM run. |
|
|
Async callback manager for retriever run. |
Async callback manager for tool run. |
|
Async Parent Run Manager. |
|
|
Async Run Manager. |
|
Base class for run manager (a bound callback manager). |
|
Callback manager for LangChain. |
Callback manager for the chain group. |
|
Callback manager for chain run. |
|
Callback manager for LLM run. |
|
Callback manager for retriever run. |
|
Callback manager for tool run. |
|
|
Sync Parent Run Manager. |
|
Sync Run Manager. |
Callback Handler that prints to std out. |
|
Callback handler for streaming. |
Functions
Dispatch an adhoc event to the handlers. |
|
|
Async generic event handler for AsyncCallbackManager. |
Get an async callback manager for a chain group in a context manager. |
|
Dispatch an adhoc event. |
|
|
Generic event handler for CallbackManager. |
Makes so an awaitable method is always shielded from cancellation. |
|
Get a callback manager for a chain group in a context manager. |