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