Chain to use to combine results of applying llm_chain to documents.
LLM Wrapper to use after formatting documents
OptionalcallbackOptionaldocumentVariable name in the LLM chain to put the documents in
OptionalensureEnsures that the map step is taken regardless of max tokens
OptionalinputOptionalmaxThe maximum number of iterations to run through the map
OptionalmaxThe maximum number of tokens before requiring to do the reduction
OptionalmemoryOptionalreturnReturn the results of the map steps in the output.
Interface for the input properties of the MapReduceDocumentsChain class.