langchain/tests/unit_tests/callbacks/tracers
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
..
__init__.py add tracing support to langchain (#741) 2023-01-26 17:38:13 -08:00
test_tracer.py Add on_chat_message_start (#4499) 2023-05-11 11:06:39 -07:00