langchain/tests/unit_tests/callbacks
Zander Chase 4ee47926ca
Add on_chat_message_start (#4499)
### Add on_chat_message_start to callback manager and base tracer

Goal: trace messages directly to permit reloading as chat messages
(store in an integration-agnostic way)

Add an `on_chat_message_start` method. Fall back to `on_llm_start()` for
handlers that don't have it implemented.

Does so in a non-backwards-compat breaking way (for now)
2023-05-11 11:06:39 -07:00
..
tracers Add on_chat_message_start (#4499) 2023-05-11 11:06:39 -07:00
__init__.py Add BaseCallbackHandler and CallbackManager (#478) 2023-01-04 07:54:25 -08:00
fake_callback_handler.py Add on_chat_message_start (#4499) 2023-05-11 11:06:39 -07:00
test_callback_manager.py Callbacks Refactor [base] (#3256) 2023-04-30 11:14:09 -07:00
test_openai_info.py Better custom model handling OpenAICallbackHandler (#4009) 2023-05-02 16:19:57 -07:00