with wit.ai and Droxy?
Add a sample utterance to train your app with an intent. See the documentation
Creates a new entity with the given attributes. See the documentation
Wit.ai API enables your apps to process natural language and understand human commands contextually. With it, you can build conversational interfaces, decipher intent from text or voice inputs, and train your model to improve recognition. Pipedream provides a seamless platform to trigger workflows using this API, allowing the automation of tasks based on language cues. It's perfect for crafting custom bots, enhancing customer service, or streamlining internal operations by interpreting human requests and taking action accordingly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wit_ai: {
type: "app",
app: "wit_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.wit.ai/message?v=20170307&q=hello`,
headers: {
Authorization: `Bearer ${this.wit_ai.$auth.app_token}`,
},
})
},
})
The Droxy API enables the construction of powerful serverless workflows on Pipedream, tapping into Droxy's capability to manage Docker containers. You can automate container lifecycle, pull statistics, and handle dynamic scaling based on real-time data. Pipedream's robust platform supports connecting to countless services which means you can integrate Droxy with other apps to facilitate CI/CD pipelines, application monitoring, or even chatbot notifications for container status updates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
droxy: {
type: "app",
app: "droxy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.droxy.ai/v1/chatbot/all`,
headers: {
"x-api-key": `${this.droxy.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})