Search Rebuilt for AI. The Exa API retrieves the best content on the web using embeddings-based search.
Go to siteThe Exa (Formerly Metaphor) API enables you to enrich your applications with machine learning-powered insights and data processing capabilities. With Exa, you can perform advanced data analysis, extract meaningful patterns, and automate decision-making processes within your projects. By integrating this API with Pipedream, you can create seamless workflows that leverage these intelligent features alongside other services to streamline your operations, enhance data intelligence, and drive innovation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
metaphor: {
type: "app",
app: "metaphor",
}
},
async run({steps, $}) {
const data = {
"query": `test`,
}
return await axios($, {
method: "post",
url: `https://api.metaphor.systems/search`,
headers: {
"accept": `application/json`,
"Content-Type": `application/json`,
"x-api-key": `${this.metaphor.$auth.api_key}`,
},
data,
})
},
})
Automated Content Analysis and Categorization: Connect the Exa API to a content management system (CMS) on Pipedream. As new content is published—whether it be articles, posts, or reviews—the workflow triggers, sending the content to Exa for analysis. The API categorizes the content and extracts key topics, which you can then use to automatically tag and sort the content within the CMS or recommend related articles.
Customer Feedback Sentiment Analysis: Integrate the Exa API with a customer support platform like Zendesk. Whenever a new customer ticket is submitted, the workflow kicks off, passing the ticket's text to Exa for sentiment analysis. Based on the sentiment score, the workflow can prioritize tickets, escalate urgent matters, or provide insights to the support team on the customer's emotional tone, helping them tailor their response.
Real-Time Market Trend Monitoring: Combine the Exa API with a platform like Google Sheets on Pipedream. Set up a workflow that periodically collects social media posts or news articles relevant to your business from various sources. Exa analyzes this data for trends, sentiment, and key phrases, and then the workflow populates a Google Sheet with these insights, providing a real-time dashboard of market trends that can inform strategic decisions.
Find similar links to the link provided. See the documentation](https://docs.metaphor.systems/reference/findsimilar)
Retrieve contents of documents based on a list of document IDs. See the documentation. It is used to instantly
get content for documents, given the IDs of the documents. We currently support extracts - the first 1000 tokens (~750 words) of parsed HTML for a site. Note that each piece of content retrieved costs 1 request. Also note that instant
is a little bit of a lie if you are using keyword search, in which case contents might take a few seconds to retrieve.
Perform a search with a Metaphor prompt-engineered query and retrieve a list of relevant results. See the documentation
Exa (Formerly Metaphor) uses API keys for authentication. When you connect your Exa (Formerly Metaphor) account, Pipedream securely stores the keys so you can easily authenticate to Exa (Formerly Metaphor) APIs in both code and no-code steps.
Navigate to the overview tab to find your API key, and enter it below.