This is the code to my YouTube Tutorial, where I explain the chain_type parameter of langchain: https://youtu.be/vXIkc40UiH0
You will learn which chain_type to use, to summarize large documents. I talk about how they work, the advantages and disadvantages of each chain type.