mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
Co-authored-by: jacoblee93 <jacoblee93@gmail.com> Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
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/>
|
|
|