ReduceDocumentsChain But what if you have too many documents to fit into a single a prompt? That's where ReduceDocumentsChain comes into play It recursively combines documents together Docs: https://
api.python.langchain.com/en/latest/chai
ns/langchain.chains.combine_documents.reduce.ReduceDocumentsChain.html#langchain.chains.combine_documents.reduce.ReduceDocumentsChain
…
@hwchase17
-

ReduceDocumentsChain: Combining Multiple Documents in LLM Prompts
By
–
-
Combining Documents with LLMs: LangChain Documentation Improvements
By
–
Documents x LLMs Combining documents with LLMs is a key part of retrieval and chaining We've improved our @langchain reference documentation across the 5 major CombineDocumentsChains and helper functions to help with clarity and understanding of how these work
-

Control Document Metadata in LLM Prompts with format_document
By
–
`format_document` Want to control which metadata keys show up in the prompt? This helper function is rarely exposed, but is key to combining documents with LLMs It takes a Document and formats it into a string using a PromptTemplate Docs: https://
api.python.langchain.com/en/latest/sche
ma/langchain.schema.prompt_template.format_document.html#langchain.schema.prompt_template.format_document
… -
Better QA Over Code Through Splitting Technique
By
–
Awesome stuff from @cristobal_dev – better qa over code, thanks to splitting
-
Python AI Feature Successfully Ported to JavaScript
By
–
Was awesome to see this in python, glad it made its way to js! https://t.co/qGwE4ChYgC
— Harrison Chase (@hwchase17) 3 juillet 2023Was awesome to see this in python, glad it made its way to js!
-

LangChain QA Documentation SQL Implementation Experience
By
–
anyone tried this out with a langchain (qa over docs, sql) yet?
-

Streamlit Invests in LLM and LangChain Integration Tools
By
–
Streamlit was built for this LLM era
— Harrison Chase (@hwchase17) 29 juin 2023
The @streamlit team has been putting out AWESOME content for the past few weeks, really investing in LLMs & LangChain integrations… a perfect combo https://t.co/VGR5jAKEwoStreamlit was built for this LLM era The @streamlit team has been putting out AWESOME content for the past few weeks, really investing in LLMs & LangChain integrations… a perfect combo
-

LangChain Launches New Integrations Hub for AI Tools
By
–
A lot of the power of @langchain is the sheer number of connections and optionality it provides Our new integrations hub should make it easier to explore and discover all that is out there Big s/o to @mollycantillon for helping build this!
-

MultiQueryRetriever: Advanced Retrieval Beyond Semantic Similarity
By
–
In search of retrieval better than simple semantic similarity search… Excited to share MultiQueryRetriever, inspired by @RickLamers
! -
Chains vs Agents Webinar with AGI House Hackathon Winners
By
–
Going live for "Chains vs Agents" webinar in ~1 hour! @swyx and I will also be joined by members of the winning team from the Agents AGI House hackathon this past weekend! They built a project called AgentEval they'll talk about