langchain
22770f52 - Make StuffDocumentsChain doc separator configurable (#3718)

Commit
2 years ago
Make StuffDocumentsChain doc separator configurable (#3718) This PR makes the `"\n\n"` string with which `StuffDocumentsChain` joins formatted documents a property so it can be configured. The new `document_separator` property defaults to `"\n\n"` so the change is backwards compatible.
Parents
Loading