mirror of
				https://github.com/hwchase17/langchain.git
				synced 2025-10-31 07:41:40 +00:00 
			
		
		
		
	Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
		
			
				
	
	
		
			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."""
 | |
| 
 | |
| ``` |