v0.052 Add watch mode for tests – @nfcampos Add schema property to SQL DB class – @diwanksingh Propagate verbose flag to combine-document chains – @parth_29 Add max_iterations kwarg to agent executor, in part to stop attacks like the below
@langchain
-
Displaying Intermediate Steps in Streamlit UI
By
–
this is great! how did you get the intermediate steps to be printed to the streamlit UI? someone in the discord was just asking about this – i think its a great UX https://
discord.com/channels/10380
97195422978059/1057934201049055232/1058021225399582720
… -
Memory Support Now Works with Multiple Chain Inputs
By
–
Memory support for chains with multi inputs Previously, memory only worked if there was single input This meant it couldn't work in cases like question/answering, where you passed in multiple inputs (documents and a question) Now it can: https://
langchain.readthedocs.io/en/latest/exam
ples/memory/adding_memory_chain_multiple_inputs.html
… -
SerpAPI Wrapper Gains Sports and Knowledge Graph Results
By
–
Add sports & knowledge graph results to SerpAPI wrapper When working on http://
howdoi.ai, @brunotorious noticed that results for sports were not found, due to parsing of SerpAPI results. So he fixed it! See screenshots for before and after https://
x.com/brunotorious/s
tatus/1607088382521507841?s=20&t=ar8qq203aMD2Hxs3yuNYRQ
… -
LangChain v0.0.51 Release: Enhanced Tools, Memory, and Documentation
By
–
v0.0.51 Unify return types for intermediate steps – h/t @johnjnay Add sports & knowledge graph results to SerpAPI wrapper – @brunotorious Document improvements: @eltociear @samcwl Making tools editable – h/t @brunotorious Memory support for chains with multi inputs
-
Making Tools Editable: Customize Tool Descriptions for Better Agent Performance
By
–
Making tools editable When loading tools, they come with default descriptions. Sometimes, as @brunotorious pointed out, you may want to edit their descriptions in order to get them to work better with agents Now you can: https://
langchain.readthedocs.io/en/latest/exam
ples/agents/custom_tools.html#Modify-existing-tools
… -

Customizable AI Response Prefix in Conversational Memory
By
–
More customizability for conversational memory A small change, but allows for specification of the prefix to use for for the AI response Was previously hardcoded to "AI", but can now be set to whatever Idea came from the discord! https://
langchain.readthedocs.io/en/latest/exam
ples/memory/conversational_customization.html
… -

New Memory Type Combining Summary and Context Window
By
–
New memory type Previously, we had one memory type that created a summary, another that kept a window of recent lines of conversation. jaloo555 added a new type of memory which does both! It decides the window based on token length. https://langchain.readthedocs.io/en/latest/examples/memory/conversational_memory.html#ConversationSummaryBufferMemory
-
Weaviate Vectorstore: New add_texts Method Implementation
By
–
add_texts for @weaviate_io The @weaviate_io vectorstore implementation was previously missing an `add_texts` method @CShorten30 added one! This allows you to easily insert embeddings (eg, of examples for the example selector)
-

Map-Reduce and Refine Chains Now Return Intermediate Steps
By
–
Return intermediate steps for map-reduce & refine chains @johnjnay had the great idea to allow for returning of intermediate steps of these chains to the user This makes it easy to inspect things like Q&A over each document, before combining https://
langchain.readthedocs.io/en/latest/exam
ples/data_augmented_generation/question_answering.html#The-map_reduce-Chain
…
