Learn about using the Galileo LangChain and LangGraph logging integration to log agent traces
GalileoCallback
class, which implements LangChain’s callback interface. To use it, create an instance of the callback and pass it to your LangChain components:
GalileoCallback
captures various LangChain events, including:
GalileoAsyncCallback
callback handler.
GalileoCallback
, you can optionally specify a Galileo logger instance, either by creating a new logger, or by using the current logger from the Galileo context:
log
decorator, or from inside an experiment.
start_new_trace
parameter to False
.
metadata
parameter of a LangChain runnable configuration when invoking a chain or LLM.