agentkit.graph.Graph
- class agentkit.graph.Graph
A class to represent a DAG.
This class represents a DAG with nodes and edges. It is used to represent the dependencies between different nodes in a graph. The graph can be evaluated in a topological order. The graph can also have temporary nodes and edges. Temporary nodes and edges are used to represent dynamic changes in the graph during evaluation. Temporary nodes and edges are cleared after each evaluation. The evaluation processs can also be logged to wandb.
- wandb_root_span
The root span for wandb logging.
- Type:
wandb.sdk.data_types.trace_tree.Trace
- chain_span
The chain span for logging the current step.
- Type:
wandb.sdk.data_types.trace_tree.Trace