mirror of
https://github.com/tiennm99/litellm.git
synced 2026-07-10 11:03:42 +00:00
9 lines
276 B
Plaintext
9 lines
276 B
Plaintext
```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."""
|
|
|
|
``` |