Back to Autogpt

Exa Search

docs/integrations/block-integrations/exa/search.md

0.6.443.2 KB
Original Source

Exa Search

<!-- MANUAL: file_description -->

Blocks for searching the web using Exa's advanced neural and keyword search API.

<!-- END MANUAL -->

What it is

Searches the web using Exa's advanced search API

How it works

<!-- MANUAL: how_it_works -->

This block uses Exa's advanced search API to find web content. Unlike traditional search engines, Exa offers neural search that understands semantic meaning, making it excellent for finding specific types of content. You can choose between keyword search (traditional), neural search (semantic understanding), or fast search.

The block supports powerful filtering by domain, date ranges, content categories (companies, research papers, news, etc.), and text patterns. Results include URLs, titles, and optionally full content extraction.

<!-- END MANUAL -->

Inputs

InputDescriptionTypeRequired
queryThe search querystrYes
typeType of search"keyword" | "neural" | "fast" | "auto"No
categoryCategory to search within: company, research paper, news, pdf, github, tweet, personal site, linkedin profile, financial report"company" | "research paper" | "news" | "pdf" | "github" | "tweet" | "personal site" | "linkedin profile" | "financial report"No
user_locationThe two-letter ISO country code of the user (e.g., 'US')strNo
number_of_resultsNumber of results to returnintNo
include_domainsDomains to include in searchList[str]No
exclude_domainsDomains to exclude from searchList[str]No
start_crawl_dateStart date for crawled contentstr (date-time)No
end_crawl_dateEnd date for crawled contentstr (date-time)No
start_published_dateStart date for published contentstr (date-time)No
end_published_dateEnd date for published contentstr (date-time)No
include_textText patterns to includeList[str]No
exclude_textText patterns to excludeList[str]No
contentsContent retrieval settingsContentSettingsNo
moderationEnable content moderation to filter unsafe content from search resultsboolNo

Outputs

OutputDescriptionType
errorError message if the request failedstr
resultsList of search resultsList[ExaSearchResults]
resultSingle search resultExaSearchResults
contextA formatted string of the search results ready for LLMs.str
search_typeFor auto searches, indicates which search type was selected.str
resolved_search_typeThe search type that was actually used for this request (neural or keyword)str
cost_dollarsCost breakdown for the requestCostDollars

Possible use case

<!-- MANUAL: use_case -->

Competitive Research: Search for companies in a specific industry, filtered by recent news or funding announcements.

Content Curation: Find relevant articles and research papers on specific topics for newsletters or content aggregation.

Lead Generation: Search for companies matching specific criteria (industry, size, recent activity) for sales prospecting.

<!-- END MANUAL -->