ainvoke(
self,
input: dict[str, Any] | Any,
config: RunnableConfig| Name | Type | Description |
|---|---|---|
input* | dict[str, Any] | Any | Input to the graph. |
config | RunnableConfig | None | Default: NoneA |
interrupt_before | All | Sequence[str] | None | Default: None |
interrupt_after | All | Sequence[str] | None | Default: None |
headers | dict[str, str] | None | Default: None |
version | Literal['v1', 'v2'] | Default: 'v1' |
**kwargs | Any | Default: {} |
Create a run, wait until it finishes and return the final state.
Interrupt the graph before these nodes.
Interrupt the graph after these nodes.
Additional headers to pass to the request.
The streaming format version. "v1" (default) returns the
traditional format, "v2" returns StreamPart typed dicts.
Additional params to pass to RemoteGraph.astream.