Asynchronously execute the chain.
acall(
self,
inputs: dict[str, Any] | Any,
return_only_outputs: bool = False,
callbacks: Callbacks = None,
*,
tags: list[str] | None = None,
metadata: dict[str, Any] | None = None,
run_name: str | None = None,
include_run_info: bool = False
) -> dict[str, Any]| Name | Type | Description |
|---|---|---|
inputs* | dict[str, Any] | Any | Dictionary of inputs, or single input if chain expects
only one param. Should contain all inputs specified in
|
return_only_outputs | bool | Default: FalseWhether to return only outputs in the
response. If |
callbacks | Callbacks | Default: NoneCallbacks to use for this chain run. These will be called in addition to callbacks passed to the chain during construction, but only these runtime callbacks will propagate to calls to other objects. |
tags | list[str] | None | Default: NoneList of string tags to pass to all callbacks. These will be passed in addition to tags passed to the chain during construction, but only these runtime tags will propagate to calls to other objects. |
metadata | dict[str, Any] | None | Default: NoneOptional metadata associated with the chain. |
run_name | str | None | Default: NoneOptional name for this run of the chain. |
include_run_info | bool | Default: FalseWhether to include run info in the response. Defaults to False. |