mirror of
				https://github.com/hwchase17/langchain.git
				synced 2025-11-04 10:10:09 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			433 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			433 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# Summarization
 | 
						|
 | 
						|
A summarization chain can be used to summarize multiple documents. One way is to input multiple smaller documents, after they have been divided into chunks, and operate over them with a MapReduceDocumentsChain. You can also choose instead for the chain that does summarization to be a StuffDocumentsChain, or a RefineDocumentsChain.
 | 
						|
 | 
						|
import Example from "@snippets/modules/chains/popular/summarize.mdx"
 | 
						|
 | 
						|
<Example/>
 | 
						|
 |