Tavily is the leading search engine designed for LLMs and tailored for RAG purposes.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tavily: {
type: "app",
app: "tavily",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.tavily.$auth.api_key}`,
"query": "What is Pipedream?",
"include_domains": ["pipedream.com"]
}
return await axios($, {
method: "post",
url: `https://api.tavily.com/search`,
data,
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.