with CATS and Exa?
Adds a specific candidate to a job pipeline in CATS. See the documentation
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
Create a new candidate in your CATS database. See the documentation
Identifies and retrieves web pages similar to a provided URL with optional content extraction. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cats: {
type: "app",
app: "cats",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.catsone.com/v3/users`,
headers: {
"Authorization": `Token ${this.cats.$auth.api_key}`,
},
})
},
})
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,
})
},
})