SerpApiTools enable an Agent to search Google and YouTube for a query.
The following example requires the google-search-results
library and an API key from SerpApi.
The following agent will search Google for the query: “Whats happening in the USA” and share results.
Parameter | Type | Default | Description |
---|---|---|---|
api_key | str | - | API key for authentication purposes. |
search_youtube | bool | False | Enables the functionality to search for content on YouTube. |
Function | Description |
---|---|
search_google | This function searches Google for a query. |
search_youtube | Searches YouTube for a query. |
SerpApiTools enable an Agent to search Google and YouTube for a query.
The following example requires the google-search-results
library and an API key from SerpApi.
The following agent will search Google for the query: “Whats happening in the USA” and share results.
Parameter | Type | Default | Description |
---|---|---|---|
api_key | str | - | API key for authentication purposes. |
search_youtube | bool | False | Enables the functionality to search for content on YouTube. |
Function | Description |
---|---|
search_google | This function searches Google for a query. |
search_youtube | Searches YouTube for a query. |