Integrating with Langchain
BaserunCallbackHandler
, which you can pass when creating a client object or a chain.
Currently, only our Python SDK supports integration with LangChain.
BaserunCallbackHandler
you do not need to use @baserun.trace
- the handler does it for you.
BaserunCallbackHandler
to the callbacks
parameter of LLMChain
.
BaserunCallbackHandler
to the callback_manager
parameter of initialize_agent
.