Ask a question to get started
Enter to send•Shift+Enter new line
Combine by mapping first chain over all, then stuffing into final chain.
combine_docs( self, docs: list[Document], callbacks: Callbacks = None, **kwargs: Any = {} ) -> tuple[str, dict]
docs
list[Document]
List of documents to combine
callbacks
Callbacks
None
Callbacks to be passed through
**kwargs
Any
{}
additional parameters to be passed to LLM calls (like other input variables besides the documents)