Fix documentation error langchain explanation of combine_docs.md (#404)

This PR is regarding the issue here -
https://github.com/hwchase17/langchain/issues/403
This commit is contained in:
Dheeraj Agrawal 2022-12-23 19:24:26 +05:30 committed by GitHub
parent 77e1743341
commit ea3da9a469
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ This method involves an initial prompt on the first chunk of data, generating so
For the remaining documents, that output is passed in, along with the next document,
asking the LLM to refine the output based on the new document.
**Pros:** Can pull in more relevant context, and may be less lossy than `RefineDocumentsChain`.
**Pros:** Can pull in more relevant context, and may be less lossy than `MapReduceDocumentsChain`.
**Cons:** Requires many more calls to the LLM than `StuffDocumentsChain`. The calls are also NOT independent, meaning they cannot be paralleled like `MapReduceDocumentsChain`. There is also some potential dependencies on the ordering of the documents.