Tools
Exa
ExaTools enable an Agent to search the web using Exa.
Prerequisites
The following examples requires the exa-client
library and an API key which can be obtained from Exa.
Example
The following agent will run seach exa for AAPL news and print the response.
cookbook/tools/exa_tools.py
Toolkit Params
Parameter | Type | Default | Description |
---|---|---|---|
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. |
Toolkit Functions
Function | Description |
---|---|
search_exa | Searches Exa for a query. |
search_exa_with_contents | Searches Exa for a query and returns the contents from the search results. |
Information
- View on Github