GalileoBaseHandler Objects
_galileo_logger
(GalileoLogger
): The Galileo logger instance._nodes
(dict[UUID, Node]
): A dictionary of nodes, where the key is the run_id and the value is the node._start_new_trace
(bool
): Whether to start a new trace when a chain starts. Set this toFalse
to continue using the current trace._flush_on_chain_end
(bool
): Whether to flush the trace when a chain ends._root_node
(GalileoLogger
0): The root node of the trace, if any._nodes
(GalileoLogger
2): A dictionary of nodes, where the key is the run_id as a string and the value is the Node object.GalileoLogger
3 (GalileoLogger
4): The integration type, e.g., “langchain”. This is used to identify the source of the trace.
commit
log_node_tree
node
(Node
): The node to log.
start_node
node_type
(NODE_TYPE
): The type of node.parent_run_id
(Optional[UUID]
): The parent run ID.run_id
(UUID
): The run ID.**kwargs
(Any
): Additional parameters for the span.
Node
: The created node.
end_node
run_id
(UUID
): The run ID.**kwargs
(Any
): Additional parameters to update the span with.
get_node
run_id
(UUID
): The run ID of the node to retrieve.
Optional[Node]
: The node if found, otherwise None.
get_nodes
dict[str, Node]
: A dictionary of all nodes.