REQUIRED |
KEY |
TYPE |
DESCRIPTION |
Yes |
queries |
List[str] |
List of queries to send to the search providers. At most 10 queries each less than 512 characters.
|
No |
searchProviders |
List[str] |
Search providers to use for the search. If not provided a default provider is used.
- BING
- GOOGLE
|
No |
maxResults |
int |
Maximum number of results to fetch per provider. Must be in [1, 100]. Defaults to 1 (I'm feeling lucky).
|
No |
safe |
bool |
Whether content safety is enabled for these search request. Defaults to True.
|
No |
fetchContent |
bool |
If true fetches the content from the urls in the search results. Defailts to False.
|
No |
maxPageTokens |
int |
Maximum number of tokens to accumulate if fetching search result contents.
|
No |
convertToMarkdown |
bool |
Whether content should be converted to markdown. Defaults to True.
|
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.