AI Dynamics

Global AI News Aggregator

StuffDocumentsChain: Basic Document Combination for LLMs

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

→ View original post on X — @hwchase17,

Commentaires

Leave a Reply

Your email address will not be published. Required fields are marked *