with Metatext.AI Inference API and Gigasheet?
Creates an export for a gigasheet dataset. See the documentation
Uploads data from a URL to Gigasheet. See the documentation
The Metatext.AI Inference API allows developers to leverage advanced machine learning models for natural language understanding tasks such as classification, sentiment analysis, named entity recognition, and more. In Pipedream, you can easily integrate this API into your serverless workflows to automate text analysis and enrichment across various data sources and applications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
metatext_ai_inference_api: {
type: "app",
app: "metatext_ai_inference_api",
}
},
async run({steps, $}) {
const data = {
"text": `{your_text}`,
}
return await axios($, {
method: "post",
url: `https://api.metatext.ai/v1/inference/${this.metatext_ai_inference_api.$auth.model_id}`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.metatext_ai_inference_api.$auth.api_key}`,
},
data,
})
},
})
The Gigasheet API enables users to manipulate large-scale data sheets within the cloud effortlessly. Through Pipedream, you can leverage this functionality to automate data analysis, manipulation, and enrichment workflows. By connecting Gigasheet with other apps, you can streamline processes like data import, transformation, and sharing, making Pipedream an ideal platform to enhance productivity and data handling efficiency.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gigasheet: {
type: "app",
app: "gigasheet",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gigasheet.com/user/whoami`,
headers: {
"X-GIGASHEET-TOKEN": `${this.gigasheet.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})