Stuff Documents Chain The most basic CombineDocumentsChain, this takes N documents, formats them into a string using a PromptTemplate and `format_document`, and then combines them into a single prompt and passes them to an LLM Docs: https://
api.python.langchain.com/en/latest/chai
ns/langchain.chains.combine_documents.stuff.StuffDocumentsChain.html#langchain.chains.combine_documents.stuff.StuffDocumentsChain
…
StuffDocumentsChain: Basic Document Combination for LLMs
By
–
Leave a Reply