with ChatBot and Originality.ai?
Emit new event for event received. Need to be configured in the ChatBot UI flow to emit events. See docs here
Scans a webpage for AI generated content. See the documentation
Scans a string for plagiarism as well as readability. See the documentation
Leverage the ChatBot API on Pipedream to automate conversations, streamline customer service, and connect chat functionality with various apps for rich, responsive interaction. With this API, you can programmatically send messages, manage chat histories, and implement chatbots that react to user input in real-time. By integrating with Pipedream, these capabilities can be augmented with thousands of apps, enabling seamless data flow and complex automations.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    chatbot: {
      type: "app",
      app: "chatbot",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.chatbot.com/stories`,
      headers: {
        Authorization: `Bearer ${this.chatbot.$auth.developer_access_token}`,
      },
    })
  },
})
The Originality.ai API provides functionality to check content for potential plagiarism and AI-generated text. Within Pipedream's serverless environment, you can construct workflows that automate the process of evaluating originality in large volumes of text, integrate plagiarism checks into content pipelines, and flag content for further review. By leveraging this API in Pipedream, you can harness event-driven, scalable workflows to ensure content integrity across various platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    originality_ai: {
      type: "app",
      app: "originality_ai",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.originality.ai/api/v1/account/credits/balance`,
      headers: {
        "X-OAI-API-KEY": `${this.originality_ai.$auth.api_key}`,
      },
    })
  },
})