langchain_core.utils.iter.batch_iterate¶

langchain_core.utils.iter.batch_iterate(size: int, iterable: Iterable[T]) Iterator[List[T]][source]¶

Utility batching function.