mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
9 lines
No EOL
276 B
Text
9 lines
No EOL
276 B
Text
```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."""
|
|
|
|
``` |