You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Baidu search tool, after every search, Baidu returns too many pages, causing the program to keep crawling to the next page. In fact, Baidu search results only need to find the results in the previous pages. Too many query pages cause the search The result is very slow. It is recommended to add a query page parameter.
The text was updated successfully, but these errors were encountered:
Hello @wwwrookie ! The BaiduSearch phidata toolkit uses a max_results param to limit the number of search results.
results = search(keyword=query, num_results=max_results). This max_results param is then passed on to the num_results param of the search function of baidusearch python package. The value of max_results is determined by the Agent. This enables the tool to by dynamic as the Agent can request as many results as required. You can restrict the number of results by adding explicit instructions to the Agent.
This Baidu search tool, after every search, Baidu returns too many pages, causing the program to keep crawling to the next page. In fact, Baidu search results only need to find the results in the previous pages. Too many query pages cause the search The result is very slow. It is recommended to add a query page parameter.
The text was updated successfully, but these errors were encountered: