BaseTracer(
self,
*,
_schema_format: Literal['original', 'streaming_events', 'original+chat'] = 'original',
run_map: Whether to ignore retry callbacks.
Base interface for tracers.
Start a trace for a chat model run.
Start a trace for an LLM run.
Run on new LLM token.
Only available when streaming is enabled.
Run on retry.
End a trace for an LLM or chat model run.
Handle an error for an LLM run.
Start a trace for a chain run.
End a trace for a chain run.
Handle an error for a chain run.
Start a trace for a tool run.
End a trace for a tool run.
Handle an error for a tool run.
Run when the Retriever starts running.
Run when Retriever errors.
Run when the Retriever ends running.