Ask a question to get started
Enter to sendā¢Shift+Enter new line
add_node( self, data: type[BaseModel] | RunnableType | None, id: str |
data
type[BaseModel] | RunnableType | None
The data of the node.
id
str | None
None
The id of the node.
metadata
dict[str, Any] | None
Add a node to the graph and return it.
Optional metadata for the node.