mirror of
https://github.com/hwchase17/langchain.git
synced 2025-12-07 13:39:07 +00:00
Doc refactor (#6300)
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
This commit is contained in:
9
docs/snippets/modules/chains/document/combine_docs.mdx
Normal file
9
docs/snippets/modules/chains/document/combine_docs.mdx
Normal file
@@ -0,0 +1,9 @@
|
||||
```python
|
||||
class BaseCombineDocumentsChain(Chain, ABC):
|
||||
"""Base interface for chains combining documents."""
|
||||
|
||||
@abstractmethod
|
||||
def combine_docs(self, docs: List[Document], **kwargs: Any) -> Tuple[str, dict]:
|
||||
"""Combine documents into a single string."""
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user