Exa
Last updated
Last updated
ExaTools enable an Agent to search the web using Exa.
The following examples requires the exa-client
library and an API key which can be obtained from .
The following agent will run seach exa for AAPL news and print the response.
cookbook/tools/exa_tools.py
api_key
str
-
API key for authentication purposes.
search
bool
False
Determines whether to enable search functionality.
search_with_contents
bool
True
Indicates whether to include contents in the search results.
show_results
bool
False
Controls whether to display search results directly.
search_exa
Searches Exa for a query.
search_exa_with_contents
Searches Exa for a query and returns the contents from the search results.