Meaning as a Service - Turn your unstructured content into actionable data.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
The MeaningCloud API provides advanced text analysis capabilities leveraging natural language processing (NLP). With it, you can extract insights and meaning from textual content. In Pipedream, you can connect the MeaningCloud API to analyze the sentiment of customer feedback, classify text into categories, extract entities and concepts, and much more. The API's integration into serverless workflows on Pipedream allows for automating complex tasks that involve processing and understanding human language.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
meaningcloud: {
type: "app",
app: "meaningcloud",
}
},
async run({steps, $}) {
const data = {
"key": `${this.meaningcloud.$auth.api_key}`,
"txt": `This model implements the Interactive Advertising Bureau (IAB) taxonomy, a standard for the advertisement industry which aims to make content classification consistent across the industry. This taxonomy defines 370 contextual content categories in its first two tiers.`,
"model": `IAB_2.0_en`,
}
return await axios($, {
url: `https://api.meaningcloud.com/deepcategorization-1.0`,
headers: {
"Content-Type": `multipart/form-data`,
},
data,
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// 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
},
})