LangChain
Core
Community
Experimental
openai
mistralai
robocorp
google-vertexai
nvidia-trt
anthropic
together
nvidia-ai-endpoints
exa
google-genai
Partner libs
openai
mistralai
robocorp
google-vertexai
nvidia-trt
anthropic
together
nvidia-ai-endpoints
exa
google-genai
Docs
Toggle Menu
Prev
Up
Next
langchain_core.utils.iter
.batch_iterate
batch_iterate()
langchain_core.utils.iter
.batch_iterate
¶
langchain_core.utils.iter.
batch_iterate
(
size
:
int
,
iterable
:
Iterable
[
T
]
)
→
Iterator
[
List
[
T
]
]
[source]
¶
Utility batching function.