property InputType: Type[langchain.schema.runnable.utils.Input]¶
property OutputType: Type[langchain.schema.runnable.utils.Output]¶
property collapse_document_chain: langchain.chains.combine_documents.base.BaseCombineDocumentsChain¶
Kept for backward compatibility.
property combine_document_chain: langchain.chains.combine_documents.base.BaseCombineDocumentsChain¶
Kept for backward compatibility.
property input_schema: Type[pydantic.main.BaseModel]¶
property lc_attributes: Dict¶
List of attribute names that should be included in the serialized kwargs.
These attributes must be accepted by the constructor.
property lc_secrets: Dict[str, str]¶
A map of constructor argument names to secret ids.
For example,{“openai_api_key”: “OPENAI_API_KEY”}
property output_schema: type[pydantic.main.BaseModel]¶
Examples using MapReduceDocumentsChain¶
Set env var OPENAI_API_KEY or load from a .env file