This commit is contained in:
ishaan-jaff 2023-07-29 07:12:19 -07:00
parent 2cf949990e
commit a168cf8b9c
832 changed files with 161273 additions and 0 deletions

View 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."""
```