Constructs a new instance of the TavilySearchAPIWrapper.
The fields used to initialize the wrapper.
Optional
tavilyThe API key used for authentication with the Tavily Search API.
If unspecified, the wrapper will use the API key found in the environment variable
TAVILY_API_KEY
.
Performs a search using the Tavily Search API.
The parameters for the search.
The raw response body from the Tavily Search API.
A wrapper that encapsulates access to the Tavily Search API. Primarily used for testing.