@camunda/connectors-element-templates 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/src/connectors.js +12 -2
- package/src/element-templates/agenticai-a2a-client-outbound-connector.json +4 -7
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +8 -8
- package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +8 -8
- package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +9 -12
- package/src/element-templates/agenticai-aiagent-job-worker.json +3770 -29
- package/src/element-templates/agenticai-aiagent-outbound-connector.json +6274 -2594
- package/src/element-templates/agenticai-mcp-client-outbound-connector.json +549 -552
- package/src/element-templates/agenticai-mcp-message-start-event.json +122 -0
- package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +736 -739
- package/src/element-templates/asana-connector.json +759 -48
- package/src/element-templates/automation-anywhere-outbound-connector.json +1763 -1759
- package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +431 -0
- package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +285 -0
- package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +341 -0
- package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +316 -0
- package/src/element-templates/aws-bedrock-outbound-connector.json +747 -10
- package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
- package/src/element-templates/aws-dynamodb-outbound-connector.json +1358 -1358
- package/src/element-templates/aws-eventbridge-connector-boundary.json +383 -18
- package/src/element-templates/aws-eventbridge-connector-intermediate.json +377 -12
- package/src/element-templates/aws-eventbridge-connector-message-start.json +407 -8
- package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
- package/src/element-templates/aws-eventbridge-connector-start-event.json +317 -0
- package/src/element-templates/aws-eventbridge-outbound-connector.json +300 -295
- package/src/element-templates/aws-lambda-outbound-connector.json +238 -234
- package/src/element-templates/aws-s3-outbound-connector.json +646 -5
- package/src/element-templates/aws-sagemaker-outbound-connector.json +13 -9
- package/src/element-templates/aws-sns-inbound-boundary.json +44 -37
- package/src/element-templates/aws-sns-inbound-intermediate.json +210 -203
- package/src/element-templates/aws-sns-inbound-message-start.json +125 -118
- package/src/element-templates/aws-sns-inbound-receive.json +13 -6
- package/src/element-templates/aws-sns-inbound-start-event.json +134 -127
- package/src/element-templates/aws-sns-outbound-connector.json +581 -577
- package/src/element-templates/aws-sqs-boundary-connector.json +453 -449
- package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +530 -526
- package/src/element-templates/aws-sqs-outbound-connector.json +711 -709
- package/src/element-templates/aws-sqs-receive-connector.json +15 -11
- package/src/element-templates/aws-sqs-start-event-connector.json +213 -205
- package/src/element-templates/aws-sqs-start-message.json +461 -457
- package/src/element-templates/aws-textract-outbound-connector.json +109 -105
- package/src/element-templates/azure-blobstorage-outbound-connector.json +676 -19
- package/src/element-templates/azure-open-ai-connector.json +1329 -4
- package/src/element-templates/blue-prism-connector.json +569 -24
- package/src/element-templates/box-outbound-connector.json +924 -12
- package/src/element-templates/csv-outbound-connector.json +13 -5
- package/src/element-templates/easy-post-connector.json +1077 -109
- package/src/element-templates/email-inbound-connector-boundary.json +32 -24
- package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
- package/src/element-templates/email-inbound-connector-receive.json +564 -0
- package/src/element-templates/email-message-start-event-connector.json +58 -50
- package/src/element-templates/email-outbound-connector.json +2116 -243
- package/src/element-templates/embeddings-vector-database-outbound-connector.json +3 -6
- package/src/element-templates/github-connector.json +15257 -11722
- package/src/element-templates/github-webhook-connector-boundary.json +27 -29
- package/src/element-templates/github-webhook-connector-intermediate.json +36 -38
- package/src/element-templates/github-webhook-connector-message-start.json +11 -13
- package/src/element-templates/github-webhook-connector-receive.json +13 -15
- package/src/element-templates/github-webhook-connector-start-event.json +54 -56
- package/src/element-templates/gitlab-connector.json +4177 -2545
- package/src/element-templates/google-cloud-storage-outbound-connector.json +562 -13
- package/src/element-templates/google-drive-outbound-connector.json +1386 -766
- package/src/element-templates/google-gemini-outbound-connector.json +13 -5
- package/src/element-templates/google-maps-platform-connector.json +1059 -30
- package/src/element-templates/google-sheets-outbound-connector.json +2449 -1455
- package/src/element-templates/graphql-outbound-connector.json +1744 -1735
- package/src/element-templates/http-json-connector.json +2982 -2332
- package/src/element-templates/http-polling-boundary-catch-event-connector.json +752 -741
- package/src/element-templates/http-polling-connector.json +1512 -1501
- package/src/element-templates/hubspot-outbound-connector.json +2371 -25
- package/src/element-templates/hugging-face-connector.json +234 -3
- package/src/element-templates/jdbc-outbound-connector.json +20 -6
- package/src/element-templates/kafka-inbound-connector-boundary.json +613 -604
- package/src/element-templates/kafka-inbound-connector-intermediate.json +528 -519
- package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
- package/src/element-templates/kafka-inbound-connector-start-message.json +530 -521
- package/src/element-templates/kafka-inbound-connector.json +240 -240
- package/src/element-templates/kafka-outbound-connector.json +518 -512
- package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +18 -6
- package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +18 -6
- package/src/element-templates/microsoft-office365-mail-connector.json +893 -10
- package/src/element-templates/microsoft-teams-outbound-connector.json +5971 -3807
- package/src/element-templates/openai-connector.json +550 -87
- package/src/element-templates/operate-connector.json +1198 -46
- package/src/element-templates/power-automate-connector.json +601 -9
- package/src/element-templates/rabbitmq-inbound-connector-boundary.json +444 -435
- package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +484 -475
- package/src/element-templates/rabbitmq-inbound-connector-message-start.json +367 -358
- package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
- package/src/element-templates/rabbitmq-inbound-connector-start-event.json +479 -470
- package/src/element-templates/rabbitmq-outbound-connector.json +356 -350
- package/src/element-templates/rpa-connector.json +346 -0
- package/src/element-templates/salesforce-connector.json +544 -0
- package/src/element-templates/send-message-connector-intermediate-throw-event.json +10 -5
- package/src/element-templates/send-message-connector-message-end-event.json +10 -5
- package/src/element-templates/send-message-connector-send-task.json +10 -5
- package/src/element-templates/sendgrid-outbound-connector.json +945 -337
- package/src/element-templates/servicenow-connector.json +971 -3
- package/src/element-templates/servicenow-flow-starter-connector.json +8 -3
- package/src/element-templates/servicenow-incident-connector.json +980 -3
- package/src/element-templates/slack-inbound-boundary.json +490 -192
- package/src/element-templates/slack-inbound-intermediate.json +421 -123
- package/src/element-templates/slack-inbound-message-start.json +469 -139
- package/src/element-templates/slack-inbound-receive.json +297 -0
- package/src/element-templates/slack-inbound-start-event.json +216 -211
- package/src/element-templates/slack-outbound-connector.json +2451 -753
- package/src/element-templates/soap-outbound-connector.json +812 -2
- package/src/element-templates/twilio-connector.json +1573 -93
- package/src/element-templates/twilio-webhook-boundary-connector.json +19 -10
- package/src/element-templates/twilio-webhook-connector.json +243 -13
- package/src/element-templates/twilio-webhook-intermediate-connector.json +34 -25
- package/src/element-templates/twilio-webhook-message-start-connector.json +312 -0
- package/src/element-templates/twilio-webhook-receive-connector.json +11 -2
- package/src/element-templates/uipath-connector.json +594 -2
- package/src/element-templates/webhook-connector-boundary.json +580 -570
- package/src/element-templates/webhook-connector-intermediate.json +1390 -1380
- package/src/element-templates/webhook-connector-receive.json +16 -6
- package/src/element-templates/webhook-connector-start-event.json +1382 -1375
- package/src/element-templates/webhook-connector-start-message.json +1306 -1296
- package/src/element-templates/whatsapp-connector.json +343 -9
- package/src/element-templates/http-connector.json.json +0 -654
|
@@ -5,6 +5,1291 @@
|
|
|
5
5
|
"id": "io.camunda.connectors.AzureOpenAI.outbound.v1",
|
|
6
6
|
"description": "Interact with Azure OpenAI from your BPMN process",
|
|
7
7
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
|
|
8
|
+
"version": 1,
|
|
9
|
+
"category": {
|
|
10
|
+
"id": "connectors",
|
|
11
|
+
"name": "Connectors"
|
|
12
|
+
},
|
|
13
|
+
"appliesTo": ["bpmn:Task"],
|
|
14
|
+
"elementType": {
|
|
15
|
+
"value": "bpmn:ServiceTask"
|
|
16
|
+
},
|
|
17
|
+
"groups": [
|
|
18
|
+
{
|
|
19
|
+
"id": "authentication",
|
|
20
|
+
"label": "Authentication"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"id": "operation",
|
|
24
|
+
"label": "Operation"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "parameters",
|
|
28
|
+
"label": "Parameters"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "output",
|
|
32
|
+
"label": "Output mapping"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "error",
|
|
36
|
+
"label": "Error handling"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "retries",
|
|
40
|
+
"label": "Retries"
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"properties": [
|
|
44
|
+
{
|
|
45
|
+
"value": "io.camunda:http-json:1",
|
|
46
|
+
"binding": {
|
|
47
|
+
"property": "type",
|
|
48
|
+
"type": "zeebe:taskDefinition"
|
|
49
|
+
},
|
|
50
|
+
"type": "Hidden"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "authentication.type",
|
|
54
|
+
"label": "Type",
|
|
55
|
+
"description": "Choose the authentication type",
|
|
56
|
+
"value": "apiKey",
|
|
57
|
+
"group": "authentication",
|
|
58
|
+
"binding": {
|
|
59
|
+
"name": "authentication.type",
|
|
60
|
+
"type": "zeebe:input"
|
|
61
|
+
},
|
|
62
|
+
"type": "Hidden"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"id": "authentication.apiKeyLocation",
|
|
66
|
+
"value": "headers",
|
|
67
|
+
"group": "authentication",
|
|
68
|
+
"binding": {
|
|
69
|
+
"name": "authentication.apiKeyLocation",
|
|
70
|
+
"type": "zeebe:input"
|
|
71
|
+
},
|
|
72
|
+
"type": "Hidden"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"id": "authentication.name",
|
|
76
|
+
"label": "API key name",
|
|
77
|
+
"value": "api-key",
|
|
78
|
+
"group": "authentication",
|
|
79
|
+
"binding": {
|
|
80
|
+
"name": "authentication.name",
|
|
81
|
+
"type": "zeebe:input"
|
|
82
|
+
},
|
|
83
|
+
"condition": {
|
|
84
|
+
"property": "authentication.type",
|
|
85
|
+
"equals": "apiKey",
|
|
86
|
+
"type": "simple"
|
|
87
|
+
},
|
|
88
|
+
"type": "Hidden"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"id": "authentication.value",
|
|
92
|
+
"label": "API key",
|
|
93
|
+
"optional": false,
|
|
94
|
+
"constraints": {
|
|
95
|
+
"notEmpty": true
|
|
96
|
+
},
|
|
97
|
+
"feel": "optional",
|
|
98
|
+
"group": "authentication",
|
|
99
|
+
"binding": {
|
|
100
|
+
"name": "authentication.value",
|
|
101
|
+
"type": "zeebe:input"
|
|
102
|
+
},
|
|
103
|
+
"condition": {
|
|
104
|
+
"property": "authentication.type",
|
|
105
|
+
"equals": "apiKey",
|
|
106
|
+
"type": "simple"
|
|
107
|
+
},
|
|
108
|
+
"type": "String"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"label": "Operation",
|
|
112
|
+
"id": "operation",
|
|
113
|
+
"group": "operation",
|
|
114
|
+
"type": "Dropdown",
|
|
115
|
+
"value": "completion",
|
|
116
|
+
"choices": [
|
|
117
|
+
{
|
|
118
|
+
"name": "Completion",
|
|
119
|
+
"value": "completion"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "Chat completion",
|
|
123
|
+
"value": "chatCompletion"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "Completions extension",
|
|
127
|
+
"value": "completionsExtension"
|
|
128
|
+
}
|
|
129
|
+
],
|
|
130
|
+
"binding": {
|
|
131
|
+
"type": "zeebe:input",
|
|
132
|
+
"name": "operation"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"label": "Resource name",
|
|
137
|
+
"description": "The name of your Azure OpenAI Resource. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
138
|
+
"group": "operation",
|
|
139
|
+
"type": "String",
|
|
140
|
+
"feel": "optional",
|
|
141
|
+
"binding": {
|
|
142
|
+
"type": "zeebe:input",
|
|
143
|
+
"name": "completion_resourceName"
|
|
144
|
+
},
|
|
145
|
+
"constraints": {
|
|
146
|
+
"notEmpty": true
|
|
147
|
+
},
|
|
148
|
+
"condition": {
|
|
149
|
+
"property": "operation",
|
|
150
|
+
"equals": "completion"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"label": "Deployment ID",
|
|
155
|
+
"description": "The deployment name you chose when you deployed the model. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
156
|
+
"group": "operation",
|
|
157
|
+
"type": "String",
|
|
158
|
+
"feel": "optional",
|
|
159
|
+
"binding": {
|
|
160
|
+
"type": "zeebe:input",
|
|
161
|
+
"name": "completion_deploymentId"
|
|
162
|
+
},
|
|
163
|
+
"constraints": {
|
|
164
|
+
"notEmpty": true
|
|
165
|
+
},
|
|
166
|
+
"condition": {
|
|
167
|
+
"property": "operation",
|
|
168
|
+
"equals": "completion"
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"label": "API version",
|
|
173
|
+
"description": "The API version to use for this operation. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
174
|
+
"group": "operation",
|
|
175
|
+
"type": "String",
|
|
176
|
+
"value": "2024-02-01",
|
|
177
|
+
"feel": "optional",
|
|
178
|
+
"binding": {
|
|
179
|
+
"type": "zeebe:input",
|
|
180
|
+
"name": "completion_apiVersion"
|
|
181
|
+
},
|
|
182
|
+
"constraints": {
|
|
183
|
+
"notEmpty": true
|
|
184
|
+
},
|
|
185
|
+
"condition": {
|
|
186
|
+
"property": "operation",
|
|
187
|
+
"equals": "completion"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"label": "Prompt",
|
|
192
|
+
"description": "The prompt or prompts to generate completions for, encoded as a string, or array of strings. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
193
|
+
"group": "parameters",
|
|
194
|
+
"type": "Text",
|
|
195
|
+
"feel": "optional",
|
|
196
|
+
"binding": {
|
|
197
|
+
"type": "zeebe:input",
|
|
198
|
+
"name": "completion_prompt"
|
|
199
|
+
},
|
|
200
|
+
"constraints": {
|
|
201
|
+
"notEmpty": true
|
|
202
|
+
},
|
|
203
|
+
"condition": {
|
|
204
|
+
"property": "operation",
|
|
205
|
+
"equals": "completion"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"label": "Max tokens",
|
|
210
|
+
"description": "The maximum number of tokens to generate in the completion. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
211
|
+
"group": "parameters",
|
|
212
|
+
"type": "String",
|
|
213
|
+
"value": "16",
|
|
214
|
+
"feel": "optional",
|
|
215
|
+
"optional": true,
|
|
216
|
+
"binding": {
|
|
217
|
+
"type": "zeebe:input",
|
|
218
|
+
"name": "completion_maxTokens"
|
|
219
|
+
},
|
|
220
|
+
"condition": {
|
|
221
|
+
"property": "operation",
|
|
222
|
+
"equals": "completion"
|
|
223
|
+
}
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"label": "Temperature",
|
|
227
|
+
"description": "What sampling temperature to use, between 0 and 2. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
228
|
+
"group": "parameters",
|
|
229
|
+
"type": "String",
|
|
230
|
+
"value": "1",
|
|
231
|
+
"feel": "optional",
|
|
232
|
+
"optional": true,
|
|
233
|
+
"binding": {
|
|
234
|
+
"type": "zeebe:input",
|
|
235
|
+
"name": "completion_temperature"
|
|
236
|
+
},
|
|
237
|
+
"condition": {
|
|
238
|
+
"property": "operation",
|
|
239
|
+
"equals": "completion"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"label": "Top P",
|
|
244
|
+
"description": "An alternative to sampling with temperature, AKA nucleus sampling. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
245
|
+
"group": "parameters",
|
|
246
|
+
"type": "String",
|
|
247
|
+
"value": "1",
|
|
248
|
+
"feel": "optional",
|
|
249
|
+
"optional": true,
|
|
250
|
+
"binding": {
|
|
251
|
+
"type": "zeebe:input",
|
|
252
|
+
"name": "completion_topP"
|
|
253
|
+
},
|
|
254
|
+
"condition": {
|
|
255
|
+
"property": "operation",
|
|
256
|
+
"equals": "completion"
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"label": "Logit bias",
|
|
261
|
+
"description": "Modify the likelihood of specified tokens appearing in the completion. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
262
|
+
"group": "parameters",
|
|
263
|
+
"type": "Text",
|
|
264
|
+
"feel": "required",
|
|
265
|
+
"optional": true,
|
|
266
|
+
"binding": {
|
|
267
|
+
"type": "zeebe:input",
|
|
268
|
+
"name": "completion_logitBias"
|
|
269
|
+
},
|
|
270
|
+
"condition": {
|
|
271
|
+
"property": "operation",
|
|
272
|
+
"equals": "completion"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"label": "User",
|
|
277
|
+
"description": "A unique identifier representing your end-user. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
278
|
+
"group": "parameters",
|
|
279
|
+
"type": "String",
|
|
280
|
+
"optional": true,
|
|
281
|
+
"binding": {
|
|
282
|
+
"type": "zeebe:input",
|
|
283
|
+
"name": "completion_user"
|
|
284
|
+
},
|
|
285
|
+
"condition": {
|
|
286
|
+
"property": "operation",
|
|
287
|
+
"equals": "completion"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"label": "Number of completions",
|
|
292
|
+
"description": "How many completions to generate for each prompt. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
293
|
+
"group": "parameters",
|
|
294
|
+
"value": "1",
|
|
295
|
+
"type": "String",
|
|
296
|
+
"optional": true,
|
|
297
|
+
"binding": {
|
|
298
|
+
"type": "zeebe:input",
|
|
299
|
+
"name": "completion_numberOfCompletions"
|
|
300
|
+
},
|
|
301
|
+
"condition": {
|
|
302
|
+
"property": "operation",
|
|
303
|
+
"equals": "completion"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"label": "Stream",
|
|
308
|
+
"description": "Whether to stream back partial progress. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
309
|
+
"group": "parameters",
|
|
310
|
+
"value": "False",
|
|
311
|
+
"type": "Dropdown",
|
|
312
|
+
"choices": [
|
|
313
|
+
{
|
|
314
|
+
"name": "False",
|
|
315
|
+
"value": "False"
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
"name": "True",
|
|
319
|
+
"value": "true"
|
|
320
|
+
}
|
|
321
|
+
],
|
|
322
|
+
"binding": {
|
|
323
|
+
"type": "zeebe:input",
|
|
324
|
+
"name": "completion_stream"
|
|
325
|
+
},
|
|
326
|
+
"condition": {
|
|
327
|
+
"property": "operation",
|
|
328
|
+
"equals": "completion"
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"label": "Log probabilities",
|
|
333
|
+
"description": "Include the log probabilities on the logprobs most likely tokens, as well the chosen tokens. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
334
|
+
"group": "parameters",
|
|
335
|
+
"type": "String",
|
|
336
|
+
"optional": true,
|
|
337
|
+
"binding": {
|
|
338
|
+
"type": "zeebe:input",
|
|
339
|
+
"name": "completion_logprobs"
|
|
340
|
+
},
|
|
341
|
+
"condition": {
|
|
342
|
+
"property": "operation",
|
|
343
|
+
"equals": "completion"
|
|
344
|
+
}
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"label": "Suffix",
|
|
348
|
+
"description": "The suffix that comes after a completion of inserted text. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
349
|
+
"group": "parameters",
|
|
350
|
+
"type": "String",
|
|
351
|
+
"optional": true,
|
|
352
|
+
"binding": {
|
|
353
|
+
"type": "zeebe:input",
|
|
354
|
+
"name": "completion_suffix"
|
|
355
|
+
},
|
|
356
|
+
"condition": {
|
|
357
|
+
"property": "operation",
|
|
358
|
+
"equals": "completion"
|
|
359
|
+
}
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"label": "Echo",
|
|
363
|
+
"description": "Echo back the prompt in addition to the completion. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
364
|
+
"group": "parameters",
|
|
365
|
+
"value": "False",
|
|
366
|
+
"type": "Dropdown",
|
|
367
|
+
"optional": true,
|
|
368
|
+
"choices": [
|
|
369
|
+
{
|
|
370
|
+
"name": "False",
|
|
371
|
+
"value": "False"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "True",
|
|
375
|
+
"value": "true"
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"binding": {
|
|
379
|
+
"type": "zeebe:input",
|
|
380
|
+
"name": "completion_echo"
|
|
381
|
+
},
|
|
382
|
+
"condition": {
|
|
383
|
+
"property": "operation",
|
|
384
|
+
"equals": "completion"
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"label": "Stop",
|
|
389
|
+
"description": "Up to four sequences where the API will stop generating further tokens. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
390
|
+
"group": "parameters",
|
|
391
|
+
"type": "String",
|
|
392
|
+
"optional": true,
|
|
393
|
+
"binding": {
|
|
394
|
+
"type": "zeebe:input",
|
|
395
|
+
"name": "completion_stop"
|
|
396
|
+
},
|
|
397
|
+
"condition": {
|
|
398
|
+
"property": "operation",
|
|
399
|
+
"equals": "completion"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"label": "Presence penalty",
|
|
404
|
+
"description": "Positive values penalize new tokens based on whether they appear in the text so far. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
405
|
+
"group": "parameters",
|
|
406
|
+
"type": "String",
|
|
407
|
+
"value": "0",
|
|
408
|
+
"optional": true,
|
|
409
|
+
"binding": {
|
|
410
|
+
"type": "zeebe:input",
|
|
411
|
+
"name": "completion_presencePenalty"
|
|
412
|
+
},
|
|
413
|
+
"condition": {
|
|
414
|
+
"property": "operation",
|
|
415
|
+
"equals": "completion"
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
"label": "Frequency penalty",
|
|
420
|
+
"description": "Positive values penalize new tokens based on their existing frequency in the text so far. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
421
|
+
"group": "parameters",
|
|
422
|
+
"type": "String",
|
|
423
|
+
"value": "0",
|
|
424
|
+
"optional": true,
|
|
425
|
+
"binding": {
|
|
426
|
+
"type": "zeebe:input",
|
|
427
|
+
"name": "completion_frequencyPenalty"
|
|
428
|
+
},
|
|
429
|
+
"condition": {
|
|
430
|
+
"property": "operation",
|
|
431
|
+
"equals": "completion"
|
|
432
|
+
}
|
|
433
|
+
},
|
|
434
|
+
{
|
|
435
|
+
"label": "Best of",
|
|
436
|
+
"description": "Generates 'best of' completions server-side and returns the \"best\". <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">See documentation</a>",
|
|
437
|
+
"group": "parameters",
|
|
438
|
+
"type": "String",
|
|
439
|
+
"value": "1",
|
|
440
|
+
"optional": true,
|
|
441
|
+
"binding": {
|
|
442
|
+
"type": "zeebe:input",
|
|
443
|
+
"name": "completion_bestOf"
|
|
444
|
+
},
|
|
445
|
+
"condition": {
|
|
446
|
+
"property": "operation",
|
|
447
|
+
"equals": "completion"
|
|
448
|
+
}
|
|
449
|
+
},
|
|
450
|
+
{
|
|
451
|
+
"id": "completion_method",
|
|
452
|
+
"type": "Hidden",
|
|
453
|
+
"value": "post",
|
|
454
|
+
"binding": {
|
|
455
|
+
"type": "zeebe:input",
|
|
456
|
+
"name": "method"
|
|
457
|
+
},
|
|
458
|
+
"condition": {
|
|
459
|
+
"property": "operation",
|
|
460
|
+
"equals": "completion"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"id": "completion_url",
|
|
465
|
+
"type": "Hidden",
|
|
466
|
+
"value": "=\"https://\" + completion_resourceName + \".openai.azure.com/openai/deployments/\" + completion_deploymentId + \"/completions?api-version=\" + completion_apiVersion",
|
|
467
|
+
"binding": {
|
|
468
|
+
"type": "zeebe:input",
|
|
469
|
+
"name": "url"
|
|
470
|
+
},
|
|
471
|
+
"condition": {
|
|
472
|
+
"property": "operation",
|
|
473
|
+
"equals": "completion"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"id": "completion_body",
|
|
478
|
+
"type": "Hidden",
|
|
479
|
+
"value": "=context(get entries({\"prompt\":if completion_prompt = null then null else completion_prompt, \"max_tokens\": if completion_maxTokens = null then null else decimal(number(completion_maxTokens), 0), \"temperature\": if completion_temperature = null then null else number(completion_temperature), \"top_p\": if completion_topP = null then null else number(completion_topP), \"logit_bias\": if completion_logitBias = null then null else completion_logitBias, \"user\": if completion_user = null then null else completion_user, \"n\": if completion_numberOfCompletions = null then null else decimal(number(completion_numberOfCompletions), 0), \"stream\": completion_stream = \"False\", \"logprobs\": if completion_logprobs = null then null else decimal(number(completion_logprobs), 0), \"suffix\": if completion_suffix = null then null else completion_suffix, \"echo\": completion_echo = \"True\", \"stop\": if completion_stop = null then null else completion_stop, \"presence_penalty\": if completion_presencePenalty = null then null else number(completion_presencePenalty), \"frequency_penalty\": if completion_frequencyPenalty = null then null else number(completion_frequencyPenalty), \"best_of\": if completion_bestOf = null then null else decimal(number(completion_bestOf), 0)})[item.value != null])",
|
|
480
|
+
"binding": {
|
|
481
|
+
"type": "zeebe:input",
|
|
482
|
+
"name": "body"
|
|
483
|
+
},
|
|
484
|
+
"condition": {
|
|
485
|
+
"property": "operation",
|
|
486
|
+
"equals": "completion"
|
|
487
|
+
}
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"label": "Resource name",
|
|
491
|
+
"description": "The name of your Azure OpenAI Resource. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
492
|
+
"group": "operation",
|
|
493
|
+
"type": "String",
|
|
494
|
+
"feel": "optional",
|
|
495
|
+
"binding": {
|
|
496
|
+
"type": "zeebe:input",
|
|
497
|
+
"name": "chatCompletion_resourceName"
|
|
498
|
+
},
|
|
499
|
+
"constraints": {
|
|
500
|
+
"notEmpty": true
|
|
501
|
+
},
|
|
502
|
+
"condition": {
|
|
503
|
+
"property": "operation",
|
|
504
|
+
"equals": "chatCompletion"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
"label": "Deployment ID",
|
|
509
|
+
"description": "The deployment name you chose when you deployed the model. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
510
|
+
"group": "operation",
|
|
511
|
+
"type": "String",
|
|
512
|
+
"feel": "optional",
|
|
513
|
+
"binding": {
|
|
514
|
+
"type": "zeebe:input",
|
|
515
|
+
"name": "chatCompletion_deploymentId"
|
|
516
|
+
},
|
|
517
|
+
"constraints": {
|
|
518
|
+
"notEmpty": true
|
|
519
|
+
},
|
|
520
|
+
"condition": {
|
|
521
|
+
"property": "operation",
|
|
522
|
+
"equals": "chatCompletion"
|
|
523
|
+
}
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"label": "API version",
|
|
527
|
+
"description": "The API version to use for this operation. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
528
|
+
"group": "operation",
|
|
529
|
+
"type": "String",
|
|
530
|
+
"value": "2024-02-01",
|
|
531
|
+
"feel": "optional",
|
|
532
|
+
"binding": {
|
|
533
|
+
"type": "zeebe:input",
|
|
534
|
+
"name": "chatCompletion_apiVersion"
|
|
535
|
+
},
|
|
536
|
+
"constraints": {
|
|
537
|
+
"notEmpty": true
|
|
538
|
+
},
|
|
539
|
+
"condition": {
|
|
540
|
+
"property": "operation",
|
|
541
|
+
"equals": "chatCompletion"
|
|
542
|
+
}
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"label": "Message role",
|
|
546
|
+
"description": "Indicates who is giving the current message",
|
|
547
|
+
"group": "parameters",
|
|
548
|
+
"type": "Dropdown",
|
|
549
|
+
"value": "user",
|
|
550
|
+
"choices": [
|
|
551
|
+
{
|
|
552
|
+
"name": "User",
|
|
553
|
+
"value": "user"
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
"name": "System",
|
|
557
|
+
"value": "system"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"name": "Assistant",
|
|
561
|
+
"value": "assistant"
|
|
562
|
+
},
|
|
563
|
+
{
|
|
564
|
+
"name": "Tool",
|
|
565
|
+
"value": "tool"
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
"name": "Function",
|
|
569
|
+
"value": "function"
|
|
570
|
+
}
|
|
571
|
+
],
|
|
572
|
+
"binding": {
|
|
573
|
+
"type": "zeebe:input",
|
|
574
|
+
"name": "chatCompletion_messageRole"
|
|
575
|
+
},
|
|
576
|
+
"condition": {
|
|
577
|
+
"property": "operation",
|
|
578
|
+
"equals": "chatCompletion"
|
|
579
|
+
}
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"label": "Message content",
|
|
583
|
+
"description": "The content of the message. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
584
|
+
"group": "parameters",
|
|
585
|
+
"type": "Text",
|
|
586
|
+
"feel": "optional",
|
|
587
|
+
"optional": false,
|
|
588
|
+
"constraints": {
|
|
589
|
+
"notEmpty": true
|
|
590
|
+
},
|
|
591
|
+
"binding": {
|
|
592
|
+
"type": "zeebe:input",
|
|
593
|
+
"name": "chatCompletion_messageContent"
|
|
594
|
+
},
|
|
595
|
+
"condition": {
|
|
596
|
+
"property": "operation",
|
|
597
|
+
"equals": "chatCompletion"
|
|
598
|
+
}
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"label": "Messages context",
|
|
602
|
+
"description": "The array of messages associated with this chat completion request. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
603
|
+
"group": "parameters",
|
|
604
|
+
"type": "Text",
|
|
605
|
+
"feel": "required",
|
|
606
|
+
"optional": true,
|
|
607
|
+
"binding": {
|
|
608
|
+
"type": "zeebe:input",
|
|
609
|
+
"name": "chatCompletion_messages"
|
|
610
|
+
},
|
|
611
|
+
"condition": {
|
|
612
|
+
"property": "operation",
|
|
613
|
+
"equals": "chatCompletion"
|
|
614
|
+
}
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"label": "Content part",
|
|
618
|
+
"description": "Part of a user's multi-modal message. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
619
|
+
"group": "parameters",
|
|
620
|
+
"type": "String",
|
|
621
|
+
"feel": "required",
|
|
622
|
+
"optional": true,
|
|
623
|
+
"binding": {
|
|
624
|
+
"type": "zeebe:input",
|
|
625
|
+
"name": "chatCompletion_contentPart"
|
|
626
|
+
},
|
|
627
|
+
"condition": {
|
|
628
|
+
"property": "operation",
|
|
629
|
+
"equals": "chatCompletion"
|
|
630
|
+
}
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"label": "Enhancements",
|
|
634
|
+
"description": "Represents the Vision enhancement features requested for the chat. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
635
|
+
"group": "parameters",
|
|
636
|
+
"type": "String",
|
|
637
|
+
"feel": "required",
|
|
638
|
+
"optional": true,
|
|
639
|
+
"binding": {
|
|
640
|
+
"type": "zeebe:input",
|
|
641
|
+
"name": "chatCompletion_enhancements"
|
|
642
|
+
},
|
|
643
|
+
"condition": {
|
|
644
|
+
"property": "operation",
|
|
645
|
+
"equals": "chatCompletion"
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"label": "Temperature",
|
|
650
|
+
"description": "What sampling temperature to use, between 0 and 2. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
651
|
+
"value": "1",
|
|
652
|
+
"group": "parameters",
|
|
653
|
+
"type": "String",
|
|
654
|
+
"feel": "optional",
|
|
655
|
+
"optional": true,
|
|
656
|
+
"binding": {
|
|
657
|
+
"type": "zeebe:input",
|
|
658
|
+
"name": "chatCompletion_temperature"
|
|
659
|
+
},
|
|
660
|
+
"condition": {
|
|
661
|
+
"property": "operation",
|
|
662
|
+
"equals": "chatCompletion"
|
|
663
|
+
}
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"label": "Number of completions",
|
|
667
|
+
"description": "How many completions to generate for each prompt. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
668
|
+
"value": "1",
|
|
669
|
+
"group": "parameters",
|
|
670
|
+
"type": "String",
|
|
671
|
+
"feel": "optional",
|
|
672
|
+
"optional": true,
|
|
673
|
+
"binding": {
|
|
674
|
+
"type": "zeebe:input",
|
|
675
|
+
"name": "chatCompletion_n"
|
|
676
|
+
},
|
|
677
|
+
"condition": {
|
|
678
|
+
"property": "operation",
|
|
679
|
+
"equals": "chatCompletion"
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"label": "Stream",
|
|
684
|
+
"description": "Whether to stream back partial progress. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
685
|
+
"value": "False",
|
|
686
|
+
"group": "parameters",
|
|
687
|
+
"type": "Dropdown",
|
|
688
|
+
"choices": [
|
|
689
|
+
{
|
|
690
|
+
"name": "False",
|
|
691
|
+
"value": "False"
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"name": "True",
|
|
695
|
+
"value": "true"
|
|
696
|
+
}
|
|
697
|
+
],
|
|
698
|
+
"binding": {
|
|
699
|
+
"type": "zeebe:input",
|
|
700
|
+
"name": "chatCompletion_stream"
|
|
701
|
+
},
|
|
702
|
+
"condition": {
|
|
703
|
+
"property": "operation",
|
|
704
|
+
"equals": "chatCompletion"
|
|
705
|
+
}
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
"label": "Stop",
|
|
709
|
+
"description": "Up to four sequences where the API will stop generating further tokens. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
710
|
+
"group": "parameters",
|
|
711
|
+
"type": "String",
|
|
712
|
+
"feel": "required",
|
|
713
|
+
"optional": true,
|
|
714
|
+
"binding": {
|
|
715
|
+
"type": "zeebe:input",
|
|
716
|
+
"name": "chatCompletion_stop"
|
|
717
|
+
},
|
|
718
|
+
"condition": {
|
|
719
|
+
"property": "operation",
|
|
720
|
+
"equals": "chatCompletion"
|
|
721
|
+
}
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"label": "Max tokens",
|
|
725
|
+
"description": "The maximum number of tokens to generate in the completion. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
726
|
+
"group": "parameters",
|
|
727
|
+
"type": "String",
|
|
728
|
+
"feel": "optional",
|
|
729
|
+
"optional": true,
|
|
730
|
+
"binding": {
|
|
731
|
+
"type": "zeebe:input",
|
|
732
|
+
"name": "chatCompletion_maxTokens"
|
|
733
|
+
},
|
|
734
|
+
"condition": {
|
|
735
|
+
"property": "operation",
|
|
736
|
+
"equals": "chatCompletion"
|
|
737
|
+
}
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"label": "Presence penalty",
|
|
741
|
+
"description": "Positive values penalize new tokens based on whether they appear in the text so far. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
742
|
+
"group": "parameters",
|
|
743
|
+
"type": "String",
|
|
744
|
+
"feel": "optional",
|
|
745
|
+
"optional": true,
|
|
746
|
+
"binding": {
|
|
747
|
+
"type": "zeebe:input",
|
|
748
|
+
"name": "chatCompletion_presencePenalty"
|
|
749
|
+
},
|
|
750
|
+
"condition": {
|
|
751
|
+
"property": "operation",
|
|
752
|
+
"equals": "chatCompletion"
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"label": "Frequency penalty",
|
|
757
|
+
"description": "Positive values penalize new tokens based on their existing frequency in the text so far. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
758
|
+
"group": "parameters",
|
|
759
|
+
"type": "String",
|
|
760
|
+
"feel": "optional",
|
|
761
|
+
"optional": true,
|
|
762
|
+
"binding": {
|
|
763
|
+
"type": "zeebe:input",
|
|
764
|
+
"name": "chatCompletion_frequencyPenalty"
|
|
765
|
+
},
|
|
766
|
+
"condition": {
|
|
767
|
+
"property": "operation",
|
|
768
|
+
"equals": "chatCompletion"
|
|
769
|
+
}
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"label": "Logit bias",
|
|
773
|
+
"description": "Modify the likelihood of specified tokens appearing in the completion. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
774
|
+
"group": "parameters",
|
|
775
|
+
"type": "String",
|
|
776
|
+
"feel": "required",
|
|
777
|
+
"optional": true,
|
|
778
|
+
"binding": {
|
|
779
|
+
"type": "zeebe:input",
|
|
780
|
+
"name": "chatCompletion_logitBias"
|
|
781
|
+
},
|
|
782
|
+
"condition": {
|
|
783
|
+
"property": "operation",
|
|
784
|
+
"equals": "chatCompletion"
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"label": "User",
|
|
789
|
+
"description": "A unique identifier representing your end-user. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
790
|
+
"group": "parameters",
|
|
791
|
+
"type": "String",
|
|
792
|
+
"feel": "optional",
|
|
793
|
+
"optional": true,
|
|
794
|
+
"binding": {
|
|
795
|
+
"type": "zeebe:input",
|
|
796
|
+
"name": "chatCompletion_user"
|
|
797
|
+
},
|
|
798
|
+
"condition": {
|
|
799
|
+
"property": "operation",
|
|
800
|
+
"equals": "chatCompletion"
|
|
801
|
+
}
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"label": "Tools",
|
|
805
|
+
"description": "A list of tools the model can call. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
806
|
+
"group": "parameters",
|
|
807
|
+
"type": "String",
|
|
808
|
+
"feel": "optional",
|
|
809
|
+
"optional": true,
|
|
810
|
+
"binding": {
|
|
811
|
+
"type": "zeebe:input",
|
|
812
|
+
"name": "chatCompletion_tools"
|
|
813
|
+
},
|
|
814
|
+
"condition": {
|
|
815
|
+
"property": "operation",
|
|
816
|
+
"equals": "chatCompletion"
|
|
817
|
+
}
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"label": "Data sources",
|
|
821
|
+
"description": "Represents additional resource data. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">See documentation</a>",
|
|
822
|
+
"group": "parameters",
|
|
823
|
+
"type": "String",
|
|
824
|
+
"feel": "required",
|
|
825
|
+
"optional": true,
|
|
826
|
+
"binding": {
|
|
827
|
+
"type": "zeebe:input",
|
|
828
|
+
"name": "chatCompletion_dataSources"
|
|
829
|
+
},
|
|
830
|
+
"condition": {
|
|
831
|
+
"property": "operation",
|
|
832
|
+
"equals": "chatCompletion"
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"id": "chatCompletion_method",
|
|
837
|
+
"type": "Hidden",
|
|
838
|
+
"value": "post",
|
|
839
|
+
"binding": {
|
|
840
|
+
"type": "zeebe:input",
|
|
841
|
+
"name": "method"
|
|
842
|
+
},
|
|
843
|
+
"condition": {
|
|
844
|
+
"property": "operation",
|
|
845
|
+
"equals": "chatCompletion"
|
|
846
|
+
}
|
|
847
|
+
},
|
|
848
|
+
{
|
|
849
|
+
"id": "chatCompletion_url",
|
|
850
|
+
"type": "Hidden",
|
|
851
|
+
"value": "=\"https://\" + chatCompletion_resourceName + \".openai.azure.com/openai/deployments/\" + chatCompletion_deploymentId + \"/chat/completions?api-version=\" + chatCompletion_apiVersion",
|
|
852
|
+
"binding": {
|
|
853
|
+
"type": "zeebe:input",
|
|
854
|
+
"name": "url"
|
|
855
|
+
},
|
|
856
|
+
"condition": {
|
|
857
|
+
"property": "operation",
|
|
858
|
+
"equals": "chatCompletion"
|
|
859
|
+
}
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"id": "chatCompletion_body",
|
|
863
|
+
"type": "Hidden",
|
|
864
|
+
"value": "=context(get entries({\"messages\": if chatCompletion_messages = null then [{\"role\": chatCompletion_messageRole, \"content\": chatCompletion_messageContent}] else append(chatCompletion_messages, {\"role\": chatCompletion_messageRole, \"content\": chatCompletion_messageContent}), \"contentPart\": if chatCompletion_contentPart = null then null else chatCompletion_contentPart, \"enhancements\": if chatCompletion_enhancements = null then null else chatCompletion_enhancements, \"dataSources\": if chatCompletion_dataSources = null then null else chatCompletion_dataSources, \"temperature\": if chatCompletion_temperature = null then null else number(chatCompletion_temperature), \"n\": if chatCompletion_n = null then null else decimal(number(chatCompletion_n), 0), \"stream\": chatCompletion_stream = \"True\", \"stop\": if chatCompletion_stop = null then null else chatCompletion_stop, \"max_tokens\": if chatCompletion_maxTokens = null then null else decimal(number(chatCompletion_maxTokens), 0), \"presence_penalty\": if chatCompletion_presencePenalty = null then null else number(chatCompletion_presencePenalty), \"frequency_penalty\": if chatCompletion_frequencyPenalty = null then null else number(chatCompletion_frequencyPenalty), \"logit_bias\": if chatCompletion_logitBias = null then null else chatCompletion_logitBias, \"user\": if chatCompletion_user = null then null else chatCompletion_user, \"tools\": if chatCompletion_tools = null then null else chatCompletion_tools})[item.value != null])",
|
|
865
|
+
"binding": {
|
|
866
|
+
"type": "zeebe:input",
|
|
867
|
+
"name": "body"
|
|
868
|
+
},
|
|
869
|
+
"condition": {
|
|
870
|
+
"property": "operation",
|
|
871
|
+
"equals": "chatCompletion"
|
|
872
|
+
}
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
"label": "Resource name",
|
|
876
|
+
"description": "The name of your Azure OpenAI Resource. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
877
|
+
"group": "operation",
|
|
878
|
+
"type": "String",
|
|
879
|
+
"feel": "optional",
|
|
880
|
+
"binding": {
|
|
881
|
+
"type": "zeebe:input",
|
|
882
|
+
"name": "completionsExtension_resourceName"
|
|
883
|
+
},
|
|
884
|
+
"constraints": {
|
|
885
|
+
"notEmpty": true
|
|
886
|
+
},
|
|
887
|
+
"condition": {
|
|
888
|
+
"property": "operation",
|
|
889
|
+
"equals": "completionsExtension"
|
|
890
|
+
}
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
"label": "Deployment ID",
|
|
894
|
+
"description": "The deployment name you chose when you deployed the model. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
895
|
+
"group": "operation",
|
|
896
|
+
"type": "String",
|
|
897
|
+
"feel": "optional",
|
|
898
|
+
"binding": {
|
|
899
|
+
"type": "zeebe:input",
|
|
900
|
+
"name": "completionsExtension_deploymentId"
|
|
901
|
+
},
|
|
902
|
+
"constraints": {
|
|
903
|
+
"notEmpty": true
|
|
904
|
+
},
|
|
905
|
+
"condition": {
|
|
906
|
+
"property": "operation",
|
|
907
|
+
"equals": "completionsExtension"
|
|
908
|
+
}
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"label": "API version",
|
|
912
|
+
"description": "The API version to use for this operation. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
913
|
+
"group": "operation",
|
|
914
|
+
"type": "String",
|
|
915
|
+
"value": "2023-12-01-preview",
|
|
916
|
+
"feel": "optional",
|
|
917
|
+
"binding": {
|
|
918
|
+
"type": "zeebe:input",
|
|
919
|
+
"name": "completionsExtension_apiVersion"
|
|
920
|
+
},
|
|
921
|
+
"constraints": {
|
|
922
|
+
"notEmpty": true
|
|
923
|
+
},
|
|
924
|
+
"condition": {
|
|
925
|
+
"property": "operation",
|
|
926
|
+
"equals": "completionsExtension"
|
|
927
|
+
}
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
"label": "Messages",
|
|
931
|
+
"description": "The array of messages associated with this chat completion request. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
932
|
+
"group": "parameters",
|
|
933
|
+
"type": "String",
|
|
934
|
+
"feel": "required",
|
|
935
|
+
"optional": false,
|
|
936
|
+
"constraints": {
|
|
937
|
+
"notEmpty": true
|
|
938
|
+
},
|
|
939
|
+
"binding": {
|
|
940
|
+
"type": "zeebe:input",
|
|
941
|
+
"name": "completionsExtension_messages"
|
|
942
|
+
},
|
|
943
|
+
"condition": {
|
|
944
|
+
"property": "operation",
|
|
945
|
+
"equals": "completionsExtension"
|
|
946
|
+
}
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
"label": "Content part",
|
|
950
|
+
"description": "Part of a user's multi-modal message. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
951
|
+
"group": "parameters",
|
|
952
|
+
"type": "String",
|
|
953
|
+
"feel": "required",
|
|
954
|
+
"optional": true,
|
|
955
|
+
"binding": {
|
|
956
|
+
"type": "zeebe:input",
|
|
957
|
+
"name": "completionsExtension_contentPart"
|
|
958
|
+
},
|
|
959
|
+
"condition": {
|
|
960
|
+
"property": "operation",
|
|
961
|
+
"equals": "completionsExtension"
|
|
962
|
+
}
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
"label": "Enhancements",
|
|
966
|
+
"description": "Represents the Vision enhancement features requested for the chat. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
967
|
+
"group": "parameters",
|
|
968
|
+
"type": "String",
|
|
969
|
+
"feel": "required",
|
|
970
|
+
"optional": true,
|
|
971
|
+
"binding": {
|
|
972
|
+
"type": "zeebe:input",
|
|
973
|
+
"name": "completionsExtension_enhancements"
|
|
974
|
+
},
|
|
975
|
+
"condition": {
|
|
976
|
+
"property": "operation",
|
|
977
|
+
"equals": "completionsExtension"
|
|
978
|
+
}
|
|
979
|
+
},
|
|
980
|
+
{
|
|
981
|
+
"label": "Temperature",
|
|
982
|
+
"description": "What sampling temperature to use, between 0 and 2. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
983
|
+
"value": "1",
|
|
984
|
+
"group": "parameters",
|
|
985
|
+
"type": "String",
|
|
986
|
+
"feel": "optional",
|
|
987
|
+
"optional": true,
|
|
988
|
+
"binding": {
|
|
989
|
+
"type": "zeebe:input",
|
|
990
|
+
"name": "completionsExtension_temperature"
|
|
991
|
+
},
|
|
992
|
+
"condition": {
|
|
993
|
+
"property": "operation",
|
|
994
|
+
"equals": "completionsExtension"
|
|
995
|
+
}
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"label": "Number of completions",
|
|
999
|
+
"description": "How many completions to generate for each prompt. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1000
|
+
"value": "1",
|
|
1001
|
+
"group": "parameters",
|
|
1002
|
+
"type": "String",
|
|
1003
|
+
"feel": "optional",
|
|
1004
|
+
"optional": true,
|
|
1005
|
+
"binding": {
|
|
1006
|
+
"type": "zeebe:input",
|
|
1007
|
+
"name": "completionsExtension_n"
|
|
1008
|
+
},
|
|
1009
|
+
"condition": {
|
|
1010
|
+
"property": "operation",
|
|
1011
|
+
"equals": "completionsExtension"
|
|
1012
|
+
}
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"label": "Stream",
|
|
1016
|
+
"description": "Whether to stream back partial progress. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1017
|
+
"value": "False",
|
|
1018
|
+
"group": "parameters",
|
|
1019
|
+
"type": "Dropdown",
|
|
1020
|
+
"choices": [
|
|
1021
|
+
{
|
|
1022
|
+
"name": "False",
|
|
1023
|
+
"value": "False"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "True",
|
|
1027
|
+
"value": "true"
|
|
1028
|
+
}
|
|
1029
|
+
],
|
|
1030
|
+
"binding": {
|
|
1031
|
+
"type": "zeebe:input",
|
|
1032
|
+
"name": "completionsExtension_stream"
|
|
1033
|
+
},
|
|
1034
|
+
"condition": {
|
|
1035
|
+
"property": "operation",
|
|
1036
|
+
"equals": "completionsExtension"
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
"label": "Stop",
|
|
1041
|
+
"description": "Up to four sequences where the API will stop generating further tokens. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1042
|
+
"group": "parameters",
|
|
1043
|
+
"type": "String",
|
|
1044
|
+
"feel": "required",
|
|
1045
|
+
"optional": true,
|
|
1046
|
+
"binding": {
|
|
1047
|
+
"type": "zeebe:input",
|
|
1048
|
+
"name": "completionsExtension_stop"
|
|
1049
|
+
},
|
|
1050
|
+
"condition": {
|
|
1051
|
+
"property": "operation",
|
|
1052
|
+
"equals": "completionsExtension"
|
|
1053
|
+
}
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"label": "Max tokens",
|
|
1057
|
+
"description": "The maximum number of tokens to generate in the completion. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1058
|
+
"group": "parameters",
|
|
1059
|
+
"type": "String",
|
|
1060
|
+
"feel": "optional",
|
|
1061
|
+
"optional": true,
|
|
1062
|
+
"binding": {
|
|
1063
|
+
"type": "zeebe:input",
|
|
1064
|
+
"name": "completionsExtension_maxTokens"
|
|
1065
|
+
},
|
|
1066
|
+
"condition": {
|
|
1067
|
+
"property": "operation",
|
|
1068
|
+
"equals": "completionsExtension"
|
|
1069
|
+
}
|
|
1070
|
+
},
|
|
1071
|
+
{
|
|
1072
|
+
"label": "Presence penalty",
|
|
1073
|
+
"description": "Positive values penalize new tokens based on whether they appear in the text so far. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1074
|
+
"group": "parameters",
|
|
1075
|
+
"type": "String",
|
|
1076
|
+
"feel": "optional",
|
|
1077
|
+
"optional": true,
|
|
1078
|
+
"binding": {
|
|
1079
|
+
"type": "zeebe:input",
|
|
1080
|
+
"name": "completionsExtension_presencePenalty"
|
|
1081
|
+
},
|
|
1082
|
+
"condition": {
|
|
1083
|
+
"property": "operation",
|
|
1084
|
+
"equals": "completionsExtension"
|
|
1085
|
+
}
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"label": "Frequency penalty",
|
|
1089
|
+
"description": "Positive values penalize new tokens based on their existing frequency in the text so far. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1090
|
+
"group": "parameters",
|
|
1091
|
+
"type": "String",
|
|
1092
|
+
"feel": "optional",
|
|
1093
|
+
"optional": true,
|
|
1094
|
+
"binding": {
|
|
1095
|
+
"type": "zeebe:input",
|
|
1096
|
+
"name": "completionsExtension_frequencyPenalty"
|
|
1097
|
+
},
|
|
1098
|
+
"condition": {
|
|
1099
|
+
"property": "operation",
|
|
1100
|
+
"equals": "completionsExtension"
|
|
1101
|
+
}
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"label": "Logit bias",
|
|
1105
|
+
"description": "Modify the likelihood of specified tokens appearing in the completion. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1106
|
+
"group": "parameters",
|
|
1107
|
+
"type": "String",
|
|
1108
|
+
"feel": "required",
|
|
1109
|
+
"optional": true,
|
|
1110
|
+
"binding": {
|
|
1111
|
+
"type": "zeebe:input",
|
|
1112
|
+
"name": "completionsExtension_logitBias"
|
|
1113
|
+
},
|
|
1114
|
+
"condition": {
|
|
1115
|
+
"property": "operation",
|
|
1116
|
+
"equals": "completionsExtension"
|
|
1117
|
+
}
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"label": "User",
|
|
1121
|
+
"description": "A unique identifier representing your end-user. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1122
|
+
"group": "parameters",
|
|
1123
|
+
"type": "String",
|
|
1124
|
+
"feel": "optional",
|
|
1125
|
+
"optional": true,
|
|
1126
|
+
"binding": {
|
|
1127
|
+
"type": "zeebe:input",
|
|
1128
|
+
"name": "completionsExtension_user"
|
|
1129
|
+
},
|
|
1130
|
+
"condition": {
|
|
1131
|
+
"property": "operation",
|
|
1132
|
+
"equals": "completionsExtension"
|
|
1133
|
+
}
|
|
1134
|
+
},
|
|
1135
|
+
{
|
|
1136
|
+
"label": "Tools",
|
|
1137
|
+
"description": "A list of tools the model can call. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1138
|
+
"group": "parameters",
|
|
1139
|
+
"type": "String",
|
|
1140
|
+
"feel": "optional",
|
|
1141
|
+
"optional": true,
|
|
1142
|
+
"binding": {
|
|
1143
|
+
"type": "zeebe:input",
|
|
1144
|
+
"name": "completionsExtension_tools"
|
|
1145
|
+
},
|
|
1146
|
+
"condition": {
|
|
1147
|
+
"property": "operation",
|
|
1148
|
+
"equals": "completionsExtension"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
{
|
|
1152
|
+
"label": "Data sources",
|
|
1153
|
+
"description": "Represents additional resource data. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">See documentation</a>",
|
|
1154
|
+
"group": "parameters",
|
|
1155
|
+
"type": "String",
|
|
1156
|
+
"feel": "required",
|
|
1157
|
+
"optional": true,
|
|
1158
|
+
"binding": {
|
|
1159
|
+
"type": "zeebe:input",
|
|
1160
|
+
"name": "completionsExtension_dataSources"
|
|
1161
|
+
},
|
|
1162
|
+
"condition": {
|
|
1163
|
+
"property": "operation",
|
|
1164
|
+
"equals": "completionsExtension"
|
|
1165
|
+
}
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"id": "completionsExtension_method",
|
|
1169
|
+
"type": "Hidden",
|
|
1170
|
+
"value": "post",
|
|
1171
|
+
"binding": {
|
|
1172
|
+
"type": "zeebe:input",
|
|
1173
|
+
"name": "method"
|
|
1174
|
+
},
|
|
1175
|
+
"condition": {
|
|
1176
|
+
"property": "operation",
|
|
1177
|
+
"equals": "completionsExtension"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
{
|
|
1181
|
+
"id": "completionsExtension_url",
|
|
1182
|
+
"type": "Hidden",
|
|
1183
|
+
"value": "=\"https://\" + completionsExtension_resourceName + \".openai.azure.com/openai/deployments/\" + completionsExtension_deploymentId + \"/extensions/chat/completions?api-version=\" + completionsExtension_apiVersion",
|
|
1184
|
+
"binding": {
|
|
1185
|
+
"type": "zeebe:input",
|
|
1186
|
+
"name": "url"
|
|
1187
|
+
},
|
|
1188
|
+
"condition": {
|
|
1189
|
+
"property": "operation",
|
|
1190
|
+
"equals": "completionsExtension"
|
|
1191
|
+
}
|
|
1192
|
+
},
|
|
1193
|
+
{
|
|
1194
|
+
"id": "completionsExtension_body",
|
|
1195
|
+
"type": "Hidden",
|
|
1196
|
+
"value": "=context(get entries({\"messages\": if completionsExtension_messages = null then null else completionsExtension_messages, \"contentPart\": if completionsExtension_contentPart = null then null else completionsExtension_contentPart, \"enhancements\": if completionsExtension_enhancements = null then null else completionsExtension_enhancements, \"dataSources\": if completionsExtension_dataSources = null then null else completionsExtension_dataSources, \"temperature\": if completionsExtension_temperature = null then null else number(completionsExtension_temperature), \"n\": if completionsExtension_n = null then null else decimal(number(completionsExtension_n), 0), \"stream\": completionsExtension_stream = \"True\", \"stop\": if completionsExtension_stop = null then null else completionsExtension_stop, \"max_tokens\": if completionsExtension_maxTokens = null then null else decimal(number(completionsExtension_maxTokens), 0), \"presence_penalty\": if completionsExtension_presencePenalty = null then null else number(completionsExtension_presencePenalty), \"frequency_penalty\": if completionsExtension_frequencyPenalty = null then null else number(completionsExtension_frequencyPenalty), \"logit_bias\": if completionsExtension_logitBias = null then null else completionsExtension_logitBias, \"user\": if completionsExtension_user = null then null else completionsExtension_user, \"tools\": if completionsExtension_tools = null then null else completionsExtension_tools})[item.value != null])",
|
|
1197
|
+
"binding": {
|
|
1198
|
+
"type": "zeebe:input",
|
|
1199
|
+
"name": "body"
|
|
1200
|
+
},
|
|
1201
|
+
"condition": {
|
|
1202
|
+
"property": "operation",
|
|
1203
|
+
"equals": "completionsExtension"
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
"id": "resultVariable",
|
|
1208
|
+
"label": "Result variable",
|
|
1209
|
+
"description": "Name of variable to store the response in",
|
|
1210
|
+
"group": "output",
|
|
1211
|
+
"binding": {
|
|
1212
|
+
"key": "resultVariable",
|
|
1213
|
+
"type": "zeebe:taskHeader"
|
|
1214
|
+
},
|
|
1215
|
+
"type": "String"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"id": "resultExpression",
|
|
1219
|
+
"label": "Result expression",
|
|
1220
|
+
"description": "Expression to map the response into process variables",
|
|
1221
|
+
"feel": "required",
|
|
1222
|
+
"group": "output",
|
|
1223
|
+
"binding": {
|
|
1224
|
+
"key": "resultExpression",
|
|
1225
|
+
"type": "zeebe:taskHeader"
|
|
1226
|
+
},
|
|
1227
|
+
"type": "Text"
|
|
1228
|
+
},
|
|
1229
|
+
{
|
|
1230
|
+
"id": "errorExpression",
|
|
1231
|
+
"label": "Error expression",
|
|
1232
|
+
"description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
|
|
1233
|
+
"feel": "required",
|
|
1234
|
+
"group": "error",
|
|
1235
|
+
"binding": {
|
|
1236
|
+
"key": "errorExpression",
|
|
1237
|
+
"type": "zeebe:taskHeader"
|
|
1238
|
+
},
|
|
1239
|
+
"type": "Text"
|
|
1240
|
+
},
|
|
1241
|
+
{
|
|
1242
|
+
"id": "retryCount",
|
|
1243
|
+
"label": "Retries",
|
|
1244
|
+
"description": "Number of retries",
|
|
1245
|
+
"value": "3",
|
|
1246
|
+
"feel": "optional",
|
|
1247
|
+
"group": "retries",
|
|
1248
|
+
"binding": {
|
|
1249
|
+
"property": "retries",
|
|
1250
|
+
"type": "zeebe:taskDefinition"
|
|
1251
|
+
},
|
|
1252
|
+
"type": "String"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"id": "retryBackoff",
|
|
1256
|
+
"label": "Retry backoff",
|
|
1257
|
+
"description": "ISO-8601 duration to wait between retries",
|
|
1258
|
+
"value": "PT0S",
|
|
1259
|
+
"feel": "optional",
|
|
1260
|
+
"group": "retries",
|
|
1261
|
+
"binding": {
|
|
1262
|
+
"key": "retryBackoff",
|
|
1263
|
+
"type": "zeebe:taskHeader"
|
|
1264
|
+
},
|
|
1265
|
+
"type": "String"
|
|
1266
|
+
}
|
|
1267
|
+
],
|
|
1268
|
+
"icon": {
|
|
1269
|
+
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 513 512'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='512' height='512' x='.25' fill='%23fff' rx='76'/%3E%3Cpath fill='url(%23b)' d='M.25 76.8v358.4c0 42.411 34.39 76.8 76.8 76.8h358.4c42.411 0 76.8-34.389 76.8-76.8V76.8c0-42.41-34.389-76.8-76.8-76.8H77.05C34.64 0 .25 34.39.25 76.8ZM307.45 0v102.4c0 113.095 91.705 204.8 204.8 204.8h-102.4c-113.095 0-204.772 91.648-204.8 204.743V409.6c0-113.095-91.705-204.8-204.8-204.8h102.4c113.095 0 204.8-91.705 204.8-204.8Z'/%3E%3C/g%3E%3Cdefs%3E%3CradialGradient id='b' cx='0' cy='0' r='1' gradientTransform='rotate(45 -176.261 403.94) scale(321.165 437.107)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2383B9F9'/%3E%3Cstop offset='1' stop-color='%230078D4'/%3E%3C/radialGradient%3E%3CclipPath id='a'%3E%3Crect width='512' height='512' x='.25' fill='%23fff' rx='76'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"
|
|
1270
|
+
},
|
|
1271
|
+
"engines": {
|
|
1272
|
+
"camunda": "^8.6"
|
|
1273
|
+
}
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
|
|
1277
|
+
"name": "Azure OpenAI Connector",
|
|
1278
|
+
"id": "io.camunda.connectors.AzureOpenAI.outbound.v1",
|
|
1279
|
+
"description": "Interact with Azure OpenAI from your BPMN process",
|
|
1280
|
+
"keywords": [
|
|
1281
|
+
"completion",
|
|
1282
|
+
"chat completion",
|
|
1283
|
+
"generate text",
|
|
1284
|
+
"AI",
|
|
1285
|
+
"LLM",
|
|
1286
|
+
"language model",
|
|
1287
|
+
"GPT",
|
|
1288
|
+
"generative AI",
|
|
1289
|
+
"prompt",
|
|
1290
|
+
"text generation"
|
|
1291
|
+
],
|
|
1292
|
+
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
|
|
8
1293
|
"version": 2,
|
|
9
1294
|
"engines": {
|
|
10
1295
|
"camunda": "^8.6"
|
|
@@ -1301,8 +2586,23 @@
|
|
|
1301
2586
|
"name": "Azure OpenAI Connector",
|
|
1302
2587
|
"id": "io.camunda.connectors.AzureOpenAI.outbound.v1",
|
|
1303
2588
|
"description": "Interact with Azure OpenAI from your BPMN process",
|
|
2589
|
+
"keywords": [
|
|
2590
|
+
"completion",
|
|
2591
|
+
"chat completion",
|
|
2592
|
+
"generate text",
|
|
2593
|
+
"AI",
|
|
2594
|
+
"LLM",
|
|
2595
|
+
"language model",
|
|
2596
|
+
"GPT",
|
|
2597
|
+
"generative AI",
|
|
2598
|
+
"prompt",
|
|
2599
|
+
"text generation"
|
|
2600
|
+
],
|
|
1304
2601
|
"documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
|
|
1305
|
-
"version":
|
|
2602
|
+
"version": 3,
|
|
2603
|
+
"engines": {
|
|
2604
|
+
"camunda": "^8.6"
|
|
2605
|
+
},
|
|
1306
2606
|
"category": {
|
|
1307
2607
|
"id": "connectors",
|
|
1308
2608
|
"name": "Connectors"
|
|
@@ -1324,6 +2624,10 @@
|
|
|
1324
2624
|
"id": "parameters",
|
|
1325
2625
|
"label": "Parameters"
|
|
1326
2626
|
},
|
|
2627
|
+
{
|
|
2628
|
+
"id": "connector",
|
|
2629
|
+
"label": "Connector"
|
|
2630
|
+
},
|
|
1327
2631
|
{
|
|
1328
2632
|
"id": "output",
|
|
1329
2633
|
"label": "Output mapping"
|
|
@@ -2560,13 +3864,34 @@
|
|
|
2560
3864
|
"type": "zeebe:taskHeader"
|
|
2561
3865
|
},
|
|
2562
3866
|
"type": "String"
|
|
3867
|
+
},
|
|
3868
|
+
{
|
|
3869
|
+
"id": "version",
|
|
3870
|
+
"label": "Version",
|
|
3871
|
+
"description": "Version of the element template",
|
|
3872
|
+
"value": "2",
|
|
3873
|
+
"group": "connector",
|
|
3874
|
+
"binding": {
|
|
3875
|
+
"key": "elementTemplateVersion",
|
|
3876
|
+
"type": "zeebe:taskHeader"
|
|
3877
|
+
},
|
|
3878
|
+
"type": "Hidden"
|
|
3879
|
+
},
|
|
3880
|
+
{
|
|
3881
|
+
"id": "id",
|
|
3882
|
+
"label": "ID",
|
|
3883
|
+
"description": "ID of the element template",
|
|
3884
|
+
"value": "io.camunda.connectors.AzureOpenAI.outbound.v1",
|
|
3885
|
+
"group": "connector",
|
|
3886
|
+
"binding": {
|
|
3887
|
+
"key": "elementTemplateId",
|
|
3888
|
+
"type": "zeebe:taskHeader"
|
|
3889
|
+
},
|
|
3890
|
+
"type": "Hidden"
|
|
2563
3891
|
}
|
|
2564
3892
|
],
|
|
2565
3893
|
"icon": {
|
|
2566
3894
|
"contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 513 512'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='512' height='512' x='.25' fill='%23fff' rx='76'/%3E%3Cpath fill='url(%23b)' d='M.25 76.8v358.4c0 42.411 34.39 76.8 76.8 76.8h358.4c42.411 0 76.8-34.389 76.8-76.8V76.8c0-42.41-34.389-76.8-76.8-76.8H77.05C34.64 0 .25 34.39.25 76.8ZM307.45 0v102.4c0 113.095 91.705 204.8 204.8 204.8h-102.4c-113.095 0-204.772 91.648-204.8 204.743V409.6c0-113.095-91.705-204.8-204.8-204.8h102.4c113.095 0 204.8-91.705 204.8-204.8Z'/%3E%3C/g%3E%3Cdefs%3E%3CradialGradient id='b' cx='0' cy='0' r='1' gradientTransform='rotate(45 -176.261 403.94) scale(321.165 437.107)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2383B9F9'/%3E%3Cstop offset='1' stop-color='%230078D4'/%3E%3C/radialGradient%3E%3CclipPath id='a'%3E%3Crect width='512' height='512' x='.25' fill='%23fff' rx='76'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"
|
|
2567
|
-
},
|
|
2568
|
-
"engines": {
|
|
2569
|
-
"camunda": "^8.6"
|
|
2570
3895
|
}
|
|
2571
3896
|
}
|
|
2572
3897
|
]
|