with Nyckel and GPTZero: Detect AI?
Classifies image data based on pre-trained classifiers in Nyckel. See the documentation
This endpoint takes in file(s) input and returns the model's result. See the documentation
Classifies text data based on pre-trained classifiers in Nyckel. See the documentation
This endpoint takes in a single text input and runs AI detection. The document will be truncated to 50,000 characters. See the documentation
The Nyckel API offers machine learning capabilities, enabling you to add custom image and text classification to your applications without needing a data science background. With Nyckel, you can train models, make predictions, and refine your model iteratively as new data comes in. On Pipedream, you can integrate Nyckel to automate various tasks such as processing images uploaded to cloud storage, categorizing customer support tickets, or augmenting content moderation workflows. By harnessing the power of serverless on Pipedream, you can create efficient pipelines that respond in real-time to events, without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nyckel: {
type: "app",
app: "nyckel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.nyckel.com/v1/functions`,
headers: {
Authorization: `Bearer ${this.nyckel.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gptzero_detect_ai: {
type: "app",
app: "gptzero_detect_ai",
}
},
async run({steps, $}) {
const data = {
"document": `Pipedream is the fastest way to automate any process that connects APIs. Build and run workflows with code-level control when you need it, and no code when you don't.`,
"multilingual": `false`,
}
return await axios($, {
method: "post",
url: `https://api.gptzero.me/v2/predict/text`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
"x-api-key": `${this.gptzero_detect_ai.$auth.api_key}`,
},
data,
})
},
})