forked from phoenix/litellm-mirror
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."""
|
|
|
|
``` |