Literal["standard", "deep"]
): The depth of the search. “standard” for a straightforward search, “deep” for a more comprehensive search. output_type (Literal[“searchResults”, “sourcedAnswer”, “structured”]): The type of output: - “searchResults” for raw search results, - “sourcedAnswer” for an answer with supporting sources, - “structured” for output based on a provided schema.output_type
is “structured”, specify the schema of the output. Must be a string representing a valid object JSON schema.output_type
. If an error occurs,
returns an error message.
5
. (default: 5)US
)<language_code>
-<country_code>
’. For more, see RFC 9110. For a list of supported values, see UI Language Codes.5
). **kwargs: Additional optional parameters supported by Tavily’s API: - search_depth (str): “basic” or “advanced” search depth. - topic (str): The search category, e.g., “general” or “news.” - days (int): Time frame in days for news-related searches. - max_results (int): Max number of results to return (overrides num_results
). See https://docs.tavily.com/docs/python-sdk/tavily-search/ api-reference for details.include_images
is True).5
)5
)Literal["auto", "neural", "keyword"]
): The type of search to perform. “auto” automatically decides between keyword and neural search. (default: :obj:"auto"
)None
)10
)None
)None
)True
)False
)length ``>= 1
and <= 100```). time_range (Literal["OneDay", "OneWeek", "OneMonth", "OneYear", "NoLimit"]): Time frame filter for search results. (default: :obj:
”NoLimit”) industry (Optional[Literal["finance", "law", "medical", "internet", "tax", "news_province", "news_center"]]): Industry-specific search filter. When specified, only returns results from sites in the specified industries. Multiple industries can be comma-separated. (default: :obj:
None`)1
)True
)True
)True
)