with wit.ai and Eagle Doc?
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 Eagle Doc API allows users to automate document management processes, including generation, storage, and retrieval of documents. This API can be especially useful in environments where documentation needs to be dynamically created and linked with various data points from different sources. On Pipedream, leveraging Eagle Doc with other integrated apps can streamline workflows that require heavy documentation handling, such as in legal, finance, or HR sectors.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
eagle_doc: {
type: "app",
app: "eagle_doc",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.eagle_doc.$auth.url}/api/v2/receipt/processing/quota`,
headers: {
"api-key": `${this.eagle_doc.$auth.api_key}`,
},
})
},
})