import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
exa: {
type: "app",
app: "exa",
}
},
async run({steps, $}) {
const data = {
"query": `Tell me about Pipedream — what makes it great?`,
}
return await axios($, {
method: "post",
url: `https://api.exa.ai/search`,
headers: {
"x-api-key": `${this.exa.$auth.api_key}`,
},
data,
})
},
})
Generates LLM-powered responses to queries, informed by Exa search results with citations. Handles both factual queries requiring direct answers and open-ended questions needing detailed summaries. See the documentation
Identifies and retrieves web pages similar to a provided URL with optional content extraction. See the documentation
Retrieves full page contents, summaries, and metadata for a list of URLs. Uses cached results with optional live crawling fallback. See the documentation
Exa uses API keys for authentication. When you connect your Exa account, Pipedream securely stores the keys so you can easily authenticate to Exa APIs in both code and no-code steps.