Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lazy iteration interface to document loaders (#3659)
Adding a lazy iteration for document loaders. Following the plan here: #2833 Keeping the `load` method as is for backwards compatibility. The `load` returns a materialized list of documents and downstream users may rely on that fact. A new method that returns an iterable is introduced for handling lazy loading. --------- Co-authored-by: Zander Chase <130414180+vowelparrot@users.noreply.github.com>
- Loading branch information