batch() — langchain Function Reference
Architecture documentation for the batch() function in retry.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 7a99fa12_967f_04c9_9db3_b8ff6c02e8a1["batch()"] dcb89960_9531_c0ae_7764_c192a29f52c0["RunnableRetry"] 7a99fa12_967f_04c9_9db3_b8ff6c02e8a1 -->|defined in| dcb89960_9531_c0ae_7764_c192a29f52c0 52a44127_1c98_6129_693b_200d35f8fd7b["_batch()"] 52a44127_1c98_6129_693b_200d35f8fd7b -->|calls| 7a99fa12_967f_04c9_9db3_b8ff6c02e8a1 style 7a99fa12_967f_04c9_9db3_b8ff6c02e8a1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/langchain_core/runnables/retry.py lines 291–301
def batch(
self,
inputs: list[Input],
config: RunnableConfig | list[RunnableConfig] | None = None,
*,
return_exceptions: bool = False,
**kwargs: Any,
) -> list[Output]:
return self._batch_with_config(
self._batch, inputs, config, return_exceptions=return_exceptions, **kwargs
)
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does batch() do?
batch() is a function in the langchain codebase, defined in libs/core/langchain_core/runnables/retry.py.
Where is batch() defined?
batch() is defined in libs/core/langchain_core/runnables/retry.py at line 291.
What calls batch()?
batch() is called by 1 function(s): _batch.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free