@camunda/connectors-element-templates 1.0.17 → 1.0.18

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