agentchat.contrib.captainagent.tools.information_retrieval.perform_web_search
perform_web_search
def perform_web_search(query, count=10, offset=0)
Perform a web search using Bing API.
Arguments:
query
str - The search query.count
int, optional - Number of search results to retrieve. Defaults to 10.offset
int, optional - Offset of the first search result. Defaults to 0.
Returns:
The name, URL and snippet of each search result.