mirror of https://github.com/hwchase17/langchain
Reuse `length_func` in `MapReduceDocumentsChain` (#5181)
# Reuse `length_func` in `MapReduceDocumentsChain` Pretty straightforward refactor in `MapReduceDocumentsChain`. Reusing the local variable `length_func`, instead of the longer alternative `self.combine_document_chain.prompt_length`. @hwchase17pull/5114/head^2
parent
11c26ebb55
commit
aa14e223ee
Loading…
Reference in New Issue