Hugging Face Outbound Connector
Interact with Hugging Face inference API
Required inputs
| Key | Label | Type |
|---|---|---|
authentication.token | Hugging Face API key | secret |
modelName | Model | FEEL expression |
body | Input | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
connectionTimeoutInSeconds | Connection timeout | FEEL expression |
errorExpression | Error expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.HuggingFace.v1", {
"authentication.token": "<your hugging face api key>",
"modelName": "= ...",
"body": "= ...",
"resultVariable": "...",
"resultExpression": "= ...",
})