GalileoAsyncCallback
Async Langchain callback handler for logging traces to the Galileo platform. Arguments_handler(GalileoAsyncBaseHandler): The async handler for managing the trace.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
As of August 7, 2026, Galileo is now Splunk Agent Observability. This documentation applies to customers who onboarded prior to August 7, 2026. If you onboarded after this date, use agent-observability-docs.splunk.com.
_handler (GalileoAsyncBaseHandler): The async handler for managing the trace.async def on_agent_finish(self,
finish: AgentFinish,
*,
run_id: UUID,
**kwargs: Any) -> Any
async def on_chain_end(self,
outputs: dict[str, Any],
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_chain_error(self,
error: Exception,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_chain_start(self,
serialized: dict[str, Any],
inputs: dict[str, Any],
*,
run_id: UUID,
parent_run_id: UUID | None=None,
tags: list[str] | None=None,
**kwargs: Any) -> Any
async def on_chat_model_start(self,
serialized: dict[str, Any],
messages: list[list[BaseMessage]],
*,
run_id: UUID,
parent_run_id: UUID | None=None,
tags: list[str] | None=None,
metadata: dict[str, Any] | None=None,
**kwargs: Any) -> Any
async def on_llm_end(self,
response: LLMResult,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_llm_error(self,
error: Exception,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_llm_new_token(self, token: str, *, run_id: UUID, **kwargs: Any) -> Any
async def on_llm_start(self,
serialized: dict[str, Any],
prompts: list[str],
*,
run_id: UUID,
parent_run_id: UUID | None=None,
tags: list[str] | None=None,
metadata: dict[str, Any] | None=None,
**kwargs: Any) -> Any
async def on_retriever_end(self,
documents: list[Document],
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_retriever_error(self,
error: Exception,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_retriever_start(self,
serialized: dict[str, Any],
query: str,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
tags: list[str] | None=None,
metadata: dict[str, Any] | None=None,
**kwargs: Any) -> Any
async def on_tool_end(self,
output: Any,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_tool_error(self,
error: Exception,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
**kwargs: Any) -> Any
async def on_tool_start(self,
serialized: dict[str, Any],
input_str: str,
*,
run_id: UUID,
parent_run_id: UUID | None=None,
tags: list[str] | None=None,
metadata: dict[str, Any] | None=None,
**kwargs: Any) -> Any
Was this page helpful?