abatch_as_completed(
self,
inputs: Sequence[Input],
config: RunnableConfig | Sequence| Name | Type | Description |
|---|---|---|
inputs* | Sequence[Input] | A list of inputs to the |
config | RunnableConfig | Sequence[RunnableConfig] | None | Default: NoneA config to use when invoking the The config supports standard keys like Please refer to |
return_exceptions | bool | Default: False |
**kwargs | Any | None | Default: {} |
Run ainvoke in parallel on a list of inputs.
Yields results as they complete.
Whether to return exceptions instead of raising them.
Additional keyword arguments to pass to the Runnable.