Exa

Learn how to use Exa with Composio

Overview

Enum

EXA

Description

The Exa class extends the base Tool class to interact with the Exa Search service, offering actions like Search, Similarlink, and Answer. These actions enable querying, finding similar links, and generating answers from search results. Currently, no triggers are defined, but they can be added as needed to enhance functionality.

Authentication Details

api_key
stringRequired

Actions

Generate answers from search results using exa’s answer endpoint. this action performs a search based on the query and generates either: 1. a direct answer for specific queries 2. a detailed summary with citations for open-ended queries the response includes both the generated answer and the sources used to create it.

Action Parameters

model
stringDefaults to exa
query
stringRequired
stream
boolean
text
boolean

Action Response

data
object
error
successful
boolean

A tool that finds and returns web pages that are similar in meaning to a given url. this tool uses exa’s embeddings-based similarity search to find content that is semantically related to the input url.

Action Parameters

highlights
boolean
num_results
integerDefaults to 10
summary
boolean
text
boolean
url
stringRequired

Action Response

data
object
error
successful
boolean

An action to retrieve the text contents and highlights from specific urls or document ids in the exa database. this action allows fetching detailed content from documents, including full text, highlights, and metadata.

Action Parameters

highlights
boolean
ids
arrayRequired
text
booleanDefaults to True

Action Response

data
object
error
successful
boolean