What do you want to automate

with BotX and Hugging Face?

Prompt, edit and deploy AI agents that connect to BotX, Hugging Face and 2,500+ other apps in seconds.

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Document Question Answering with the Hugging Face API

Want to have a nice know-it-all bot that can answer any question?. This action allows you to ask a question and get an answer from a trained model. See the docs

 
Try it
Image Classification with the Hugging Face API

This task reads some image input and outputs the likelihood of classes. This action allows you to classify images into categories. See the docs

 
Try it
Language Translation with the Hugging Face API

This task is well known to translate text from one language to another. See the docs

 
Try it
Object Detection with the Hugging Face API

This task reads some image input and outputs the likelihood of classes and bounding boxes of detected objects. See the docs

 
Try it
Text Classification with the Hugging Face API

Usually used for sentiment-analysis this will output the likelihood of classes of an input. This action allows you to classify text into categories. See the docs

 
Try it
Integrate the BotX API with the Hugging Face API
Setup the BotX API trigger to run a workflow which integrates with the Hugging Face API. Pipedream's integration platform allows you to integrate BotX and Hugging Face remarkably fast. Free for developers.

Connect BotX

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    botx: {
      type: "app",
      app: "botx",
    }
  },
  async run({steps, $}) {
    const data = {
      "Action": "Execute",
      "UserSays": "[{\"DCSField\":\"Could you be my assistant today?\"}]"
    }
    
    return await axios($, {
      method: "post",
      url: `https://api.botx.cloud/CognitiveDiagram/${this.botx.$auth.cognitive_diagram_id}/Execute`,
      headers: {
        Authorization: `Bearer ${this.botx.$auth.oauth_access_token}`,
        "Content-Type": "application/json"
      },
      data,
    })
  },
})

Overview of Hugging Face

The Hugging Face API provides access to a vast range of machine learning models, primarily for natural language processing (NLP) tasks like text classification, translation, summarization, and question answering. It lets you leverage pre-trained models and fine-tune them on your data. Using the API within Pipedream, you can automate workflows that involve language processing, integrate AI insights into your apps, or respond to events with AI-generated content.

Connect Hugging Face

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    hugging_face: {
      type: "app",
      app: "hugging_face",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://huggingface.co/api/whoami-v2`,
      headers: {
        Authorization: `Bearer ${this.hugging_face.$auth.access_token}`,
      },
    })
  },
})

Trusted by 1,000,000+ developers from startups to Fortune 500 companies

Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo
Adyen logo
Appcues logo
Bandwidth logo
Checkr logo
ChartMogul logo
Dataminr logo
Gopuff logo
Gorgias logo
LinkedIn logo
Logitech logo
Replicated logo
Rudderstack logo
SAS logo
Scale AI logo
Webflow logo
Warner Bros. logo