langchain
480c02bf - upstage[minor]: add merge_and_split function for document loader (#21603)

Commit
1 year ago
upstage[minor]: add merge_and_split function for document loader (#21603) - Introduce the `merge_and_split` function in the `UpstageLayoutAnalysisLoader`. - The `merge_and_split` function takes a list of documents and a splitter as inputs. - This function merges all documents and then divides them using the `split_documents` method, which is a proprietary function of the splitter. - If the provided splitter is `None` (which is the default setting), the function will simply merge the documents without splitting them.
Author
Parents
Loading