It has different results than our SerpAPI wrapper, so it may not be a drop in replacement. In particular, I've noticed that its more verbose. But maybe that can be improved in parsing of the results? Big to @nickscamara_ for adding this!
@langchain
-
Google Custom Search API Free Tier Advantages Over SerpAPI
By
–
The default search API that people seem to use (and the only one previously in LangChain) is SerpAPI One big limitation is that the free plan only supports *100 queries per month* But there is a Google Custom Search alternative that supports *100 queries per day* for free
-
Google Custom Search cheaper alternative SerpAPI LangChain integration guide
By
–
After the free plan, it's also a better deal. SerpAPI is $50 for 5k queries Google Custom Search is $5 for 1k queries, meaning for the same $50 you could get double the queries. So how do you use this cheaper search engine in LangChain?
-
LangChain v0.0.53 Release: Google Search Integration
By
–
LangChain v0.0.53 Doc fixes from @george_zhou Bug fix (highlighted by @yvesbalbas
) Also includes maybe the most requested feature to date… A google search alternative to SerpAPI (by @nickscamara_
) More on this in below -
New max_iterations parameter to control agent iterations
By
–
So glad you asked! there's now a max_iterations parameter you can use to cap the number of iterations an agent takes A bit brute force, but better than nothing
-
LangChain Agents Max Iterations Parameter Implementation
By
–
To expand on the last point, previously agents were allowed to potentially loop forever, whether caused maliciously or not Now you can specify a max_iterations parameter, which stops it after that many iterations https://
langchain.readthedocs.io/en/latest/exam
ples/agents/max_iterations.html
… -

LangChain v0.052 Adds Watch Mode Tests Agent Security
By
–
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
-
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
…