LangChain
Core
Community
Experimental
exa
google-genai
nvidia-trt
openai
together
robocorp
nvidia-ai-endpoints
anthropic
google-vertexai
mistralai
Partner libs
exa
google-genai
nvidia-trt
openai
together
robocorp
nvidia-ai-endpoints
anthropic
google-vertexai
mistralai
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.