I’ve checked the Serper docs, and they say that the “num” parameter determines how many results to get. All seems to be coded properly (see below), but it always returns 10 results. Any suggestions?
numRet = os.environ[“howMany”] # == 100
searchTool = SerperDevTool( api_key=srprKey, num=numRet )
I include the searchTool as one of the agent’s tools.
Any help is appreciated. Thank you.
I think this one will help → Google Serper Search - CrewAI
Thank you! I didn’t use the correct phrasing of the parameter. Works fine now.