Get more from your email list
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Rasa is an open source artificial intelligence platform for building contextual
chatbots and assistants. With Rasa's open source API, you can build a variety
of conversational AI applications quickly and easily.
Rasa has a wide range of capabilities that can be used to create intelligent,
scalable, and secure conversational AI applications. Using the Rasa API, you
can design and create:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rasa: {
type: "app",
app: "rasa",
}
},
async run({steps, $}) {
const data = {
"key": `${this.rasa.$auth.key}`,
}
return await axios($, {
method: "post",
url: `https://api.rasa.io/v1/tokens`,
headers: {
"accept": `application/json`,
"Content-type": `application/json`,
},
auth: {
username: `${this.rasa.$auth.username}`,
password: `${this.rasa.$auth.password}`,
},
data,
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})