forked from phoenix/litellm-mirror
add v4
This commit is contained in:
parent
2cf949990e
commit
a168cf8b9c
832 changed files with 161273 additions and 0 deletions
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."""
|
||||
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue