@camunda/connectors-element-templates 1.0.16 → 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 (124) hide show
  1. package/package.json +2 -2
  2. package/src/connectors.js +12 -0
  3. package/src/element-templates/agenticai-a2a-client-outbound-connector.json +3 -5
  4. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-intermediate.json +9 -8
  5. package/src/element-templates/agenticai-a2a-client-polling-inbound-connector-receive.json +9 -8
  6. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-intermediate.json +9 -8
  7. package/src/element-templates/agenticai-a2a-client-webhook-inbound-connector-receive.json +9 -8
  8. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +36 -39
  9. package/src/element-templates/agenticai-aiagent-job-worker.json +3769 -28
  10. package/src/element-templates/agenticai-aiagent-outbound-connector.json +6979 -3299
  11. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +469 -471
  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 +484 -486
  14. package/src/element-templates/asana-connector.json +718 -7
  15. package/src/element-templates/automation-anywhere-outbound-connector.json +1756 -1752
  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 +788 -51
  21. package/src/element-templates/aws-comprehend-outbound-connector.json +10 -5
  22. package/src/element-templates/aws-dynamodb-outbound-connector.json +1412 -1412
  23. package/src/element-templates/aws-eventbridge-connector-boundary.json +376 -11
  24. package/src/element-templates/aws-eventbridge-connector-intermediate.json +400 -35
  25. package/src/element-templates/aws-eventbridge-connector-message-start.json +408 -9
  26. package/src/element-templates/aws-eventbridge-connector-receive.json +364 -0
  27. package/src/element-templates/aws-eventbridge-connector-start-event.json +322 -5
  28. package/src/element-templates/aws-eventbridge-outbound-connector.json +316 -311
  29. package/src/element-templates/aws-lambda-outbound-connector.json +305 -301
  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 +422 -415
  33. package/src/element-templates/aws-sns-inbound-intermediate.json +330 -323
  34. package/src/element-templates/aws-sns-inbound-message-start.json +348 -341
  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 +593 -589
  38. package/src/element-templates/aws-sqs-boundary-connector.json +642 -638
  39. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +588 -584
  40. package/src/element-templates/aws-sqs-outbound-connector.json +748 -746
  41. package/src/element-templates/aws-sqs-receive-connector.json +15 -11
  42. package/src/element-templates/aws-sqs-start-event-connector.json +408 -400
  43. package/src/element-templates/aws-sqs-start-message.json +465 -461
  44. package/src/element-templates/aws-textract-outbound-connector.json +298 -294
  45. package/src/element-templates/azure-blobstorage-outbound-connector.json +668 -11
  46. package/src/element-templates/azure-open-ai-connector.json +1329 -4
  47. package/src/element-templates/blue-prism-connector.json +598 -53
  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 +1017 -49
  51. package/src/element-templates/email-inbound-connector-boundary.json +32 -24
  52. package/src/element-templates/email-inbound-connector-intermediate.json +32 -24
  53. package/src/element-templates/email-inbound-connector-receive.json +564 -0
  54. package/src/element-templates/email-message-start-event-connector.json +45 -37
  55. package/src/element-templates/email-outbound-connector.json +2129 -256
  56. package/src/element-templates/embeddings-vector-database-outbound-connector.json +513 -516
  57. package/src/element-templates/github-connector.json +12447 -5385
  58. package/src/element-templates/github-webhook-connector-boundary.json +11 -13
  59. package/src/element-templates/github-webhook-connector-intermediate.json +55 -57
  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 +62 -64
  63. package/src/element-templates/gitlab-connector.json +2974 -1342
  64. package/src/element-templates/google-cloud-storage-outbound-connector.json +561 -12
  65. package/src/element-templates/google-drive-outbound-connector.json +882 -262
  66. package/src/element-templates/google-gemini-outbound-connector.json +117 -109
  67. package/src/element-templates/google-maps-platform-connector.json +1048 -19
  68. package/src/element-templates/google-sheets-outbound-connector.json +2961 -1967
  69. package/src/element-templates/graphql-outbound-connector.json +1780 -1193
  70. package/src/element-templates/http-json-connector.json +2832 -2168
  71. package/src/element-templates/http-polling-boundary-catch-event-connector.json +953 -277
  72. package/src/element-templates/http-polling-connector.json +1642 -966
  73. package/src/element-templates/hubspot-outbound-connector.json +2376 -30
  74. package/src/element-templates/hugging-face-connector.json +432 -5
  75. package/src/element-templates/jdbc-outbound-connector.json +62 -48
  76. package/src/element-templates/kafka-inbound-connector-boundary.json +21 -12
  77. package/src/element-templates/kafka-inbound-connector-intermediate.json +581 -572
  78. package/src/element-templates/kafka-inbound-connector-receive.json +15 -6
  79. package/src/element-templates/kafka-inbound-connector-start-message.json +150 -141
  80. package/src/element-templates/kafka-inbound-connector.json +240 -240
  81. package/src/element-templates/kafka-outbound-connector.json +436 -430
  82. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +165 -13
  83. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +165 -13
  84. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +178 -26
  85. package/src/element-templates/microsoft-office365-mail-connector.json +883 -0
  86. package/src/element-templates/microsoft-teams-outbound-connector.json +5616 -1607
  87. package/src/element-templates/openai-connector.json +608 -145
  88. package/src/element-templates/operate-connector.json +1218 -66
  89. package/src/element-templates/power-automate-connector.json +602 -10
  90. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +799 -790
  91. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +914 -905
  92. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +477 -468
  93. package/src/element-templates/rabbitmq-inbound-connector-receive.json +15 -6
  94. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +754 -745
  95. package/src/element-templates/rabbitmq-outbound-connector.json +875 -869
  96. package/src/element-templates/rpa-connector.json +346 -0
  97. package/src/element-templates/salesforce-connector.json +583 -39
  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 +1406 -798
  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 +639 -341
  106. package/src/element-templates/slack-inbound-intermediate.json +393 -95
  107. package/src/element-templates/slack-inbound-message-start.json +678 -348
  108. package/src/element-templates/slack-inbound-receive.json +297 -0
  109. package/src/element-templates/slack-inbound-start-event.json +332 -327
  110. package/src/element-templates/slack-outbound-connector.json +3313 -919
  111. package/src/element-templates/soap-outbound-connector.json +812 -2
  112. package/src/element-templates/twilio-connector.json +1521 -41
  113. package/src/element-templates/twilio-webhook-boundary-connector.json +35 -26
  114. package/src/element-templates/twilio-webhook-connector.json +238 -8
  115. package/src/element-templates/twilio-webhook-intermediate-connector.json +38 -29
  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 +1986 -1331
  120. package/src/element-templates/webhook-connector-intermediate.json +2193 -1538
  121. package/src/element-templates/webhook-connector-receive.json +654 -0
  122. package/src/element-templates/webhook-connector-start-event.json +1261 -700
  123. package/src/element-templates/webhook-connector-start-message.json +1754 -1067
  124. package/src/element-templates/whatsapp-connector.json +339 -5
@@ -4,8 +4,23 @@
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
+ ],
7
19
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
8
- "version": 1,
20
+ "version": 3,
21
+ "engines": {
22
+ "camunda": "^8.6"
23
+ },
9
24
  "category": {
10
25
  "id": "connectors",
11
26
  "name": "Connectors"
@@ -27,6 +42,10 @@
27
42
  "id": "parameters",
28
43
  "label": "Parameters"
29
44
  },
45
+ {
46
+ "id": "connector",
47
+ "label": "Connector"
48
+ },
30
49
  {
31
50
  "id": "output",
32
51
  "label": "Output mapping"
@@ -1263,13 +1282,34 @@
1263
1282
  "type": "zeebe:taskHeader"
1264
1283
  },
1265
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"
1266
1309
  }
1267
1310
  ],
1268
1311
  "icon": {
1269
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"
1270
- },
1271
- "engines": {
1272
- "camunda": "^8.6"
1273
1313
  }
1274
1314
  },
1275
1315
  {
@@ -1277,6 +1317,18 @@
1277
1317
  "name": "Azure OpenAI Connector",
1278
1318
  "id": "io.camunda.connectors.AzureOpenAI.outbound.v1",
1279
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
+ ],
1280
1332
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
1281
1333
  "version": 2,
1282
1334
  "engines": {
@@ -2568,5 +2620,1278 @@
2568
2620
  "icon": {
2569
2621
  "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"
2570
2622
  }
2623
+ },
2624
+ {
2625
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2626
+ "name": "Azure OpenAI Connector",
2627
+ "id": "io.camunda.connectors.AzureOpenAI.outbound.v1",
2628
+ "description": "Interact with Azure OpenAI from your BPMN process",
2629
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
2630
+ "version": 1,
2631
+ "category": {
2632
+ "id": "connectors",
2633
+ "name": "Connectors"
2634
+ },
2635
+ "appliesTo": ["bpmn:Task"],
2636
+ "elementType": {
2637
+ "value": "bpmn:ServiceTask"
2638
+ },
2639
+ "groups": [
2640
+ {
2641
+ "id": "authentication",
2642
+ "label": "Authentication"
2643
+ },
2644
+ {
2645
+ "id": "operation",
2646
+ "label": "Operation"
2647
+ },
2648
+ {
2649
+ "id": "parameters",
2650
+ "label": "Parameters"
2651
+ },
2652
+ {
2653
+ "id": "output",
2654
+ "label": "Output mapping"
2655
+ },
2656
+ {
2657
+ "id": "error",
2658
+ "label": "Error handling"
2659
+ },
2660
+ {
2661
+ "id": "retries",
2662
+ "label": "Retries"
2663
+ }
2664
+ ],
2665
+ "properties": [
2666
+ {
2667
+ "value": "io.camunda:http-json:1",
2668
+ "binding": {
2669
+ "property": "type",
2670
+ "type": "zeebe:taskDefinition"
2671
+ },
2672
+ "type": "Hidden"
2673
+ },
2674
+ {
2675
+ "id": "authentication.type",
2676
+ "label": "Type",
2677
+ "description": "Choose the authentication type",
2678
+ "value": "apiKey",
2679
+ "group": "authentication",
2680
+ "binding": {
2681
+ "name": "authentication.type",
2682
+ "type": "zeebe:input"
2683
+ },
2684
+ "type": "Hidden"
2685
+ },
2686
+ {
2687
+ "id": "authentication.apiKeyLocation",
2688
+ "value": "headers",
2689
+ "group": "authentication",
2690
+ "binding": {
2691
+ "name": "authentication.apiKeyLocation",
2692
+ "type": "zeebe:input"
2693
+ },
2694
+ "type": "Hidden"
2695
+ },
2696
+ {
2697
+ "id": "authentication.name",
2698
+ "label": "API key name",
2699
+ "value": "api-key",
2700
+ "group": "authentication",
2701
+ "binding": {
2702
+ "name": "authentication.name",
2703
+ "type": "zeebe:input"
2704
+ },
2705
+ "condition": {
2706
+ "property": "authentication.type",
2707
+ "equals": "apiKey",
2708
+ "type": "simple"
2709
+ },
2710
+ "type": "Hidden"
2711
+ },
2712
+ {
2713
+ "id": "authentication.value",
2714
+ "label": "API key",
2715
+ "optional": false,
2716
+ "constraints": {
2717
+ "notEmpty": true
2718
+ },
2719
+ "feel": "optional",
2720
+ "group": "authentication",
2721
+ "binding": {
2722
+ "name": "authentication.value",
2723
+ "type": "zeebe:input"
2724
+ },
2725
+ "condition": {
2726
+ "property": "authentication.type",
2727
+ "equals": "apiKey",
2728
+ "type": "simple"
2729
+ },
2730
+ "type": "String"
2731
+ },
2732
+ {
2733
+ "label": "Operation",
2734
+ "id": "operation",
2735
+ "group": "operation",
2736
+ "type": "Dropdown",
2737
+ "value": "completion",
2738
+ "choices": [
2739
+ {
2740
+ "name": "Completion",
2741
+ "value": "completion"
2742
+ },
2743
+ {
2744
+ "name": "Chat completion",
2745
+ "value": "chatCompletion"
2746
+ },
2747
+ {
2748
+ "name": "Completions extension",
2749
+ "value": "completionsExtension"
2750
+ }
2751
+ ],
2752
+ "binding": {
2753
+ "type": "zeebe:input",
2754
+ "name": "operation"
2755
+ }
2756
+ },
2757
+ {
2758
+ "label": "Resource name",
2759
+ "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>",
2760
+ "group": "operation",
2761
+ "type": "String",
2762
+ "feel": "optional",
2763
+ "binding": {
2764
+ "type": "zeebe:input",
2765
+ "name": "completion_resourceName"
2766
+ },
2767
+ "constraints": {
2768
+ "notEmpty": true
2769
+ },
2770
+ "condition": {
2771
+ "property": "operation",
2772
+ "equals": "completion"
2773
+ }
2774
+ },
2775
+ {
2776
+ "label": "Deployment ID",
2777
+ "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>",
2778
+ "group": "operation",
2779
+ "type": "String",
2780
+ "feel": "optional",
2781
+ "binding": {
2782
+ "type": "zeebe:input",
2783
+ "name": "completion_deploymentId"
2784
+ },
2785
+ "constraints": {
2786
+ "notEmpty": true
2787
+ },
2788
+ "condition": {
2789
+ "property": "operation",
2790
+ "equals": "completion"
2791
+ }
2792
+ },
2793
+ {
2794
+ "label": "API version",
2795
+ "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>",
2796
+ "group": "operation",
2797
+ "type": "String",
2798
+ "value": "2024-02-01",
2799
+ "feel": "optional",
2800
+ "binding": {
2801
+ "type": "zeebe:input",
2802
+ "name": "completion_apiVersion"
2803
+ },
2804
+ "constraints": {
2805
+ "notEmpty": true
2806
+ },
2807
+ "condition": {
2808
+ "property": "operation",
2809
+ "equals": "completion"
2810
+ }
2811
+ },
2812
+ {
2813
+ "label": "Prompt",
2814
+ "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>",
2815
+ "group": "parameters",
2816
+ "type": "Text",
2817
+ "feel": "optional",
2818
+ "binding": {
2819
+ "type": "zeebe:input",
2820
+ "name": "completion_prompt"
2821
+ },
2822
+ "constraints": {
2823
+ "notEmpty": true
2824
+ },
2825
+ "condition": {
2826
+ "property": "operation",
2827
+ "equals": "completion"
2828
+ }
2829
+ },
2830
+ {
2831
+ "label": "Max tokens",
2832
+ "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>",
2833
+ "group": "parameters",
2834
+ "type": "String",
2835
+ "value": "16",
2836
+ "feel": "optional",
2837
+ "optional": true,
2838
+ "binding": {
2839
+ "type": "zeebe:input",
2840
+ "name": "completion_maxTokens"
2841
+ },
2842
+ "condition": {
2843
+ "property": "operation",
2844
+ "equals": "completion"
2845
+ }
2846
+ },
2847
+ {
2848
+ "label": "Temperature",
2849
+ "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>",
2850
+ "group": "parameters",
2851
+ "type": "String",
2852
+ "value": "1",
2853
+ "feel": "optional",
2854
+ "optional": true,
2855
+ "binding": {
2856
+ "type": "zeebe:input",
2857
+ "name": "completion_temperature"
2858
+ },
2859
+ "condition": {
2860
+ "property": "operation",
2861
+ "equals": "completion"
2862
+ }
2863
+ },
2864
+ {
2865
+ "label": "Top P",
2866
+ "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>",
2867
+ "group": "parameters",
2868
+ "type": "String",
2869
+ "value": "1",
2870
+ "feel": "optional",
2871
+ "optional": true,
2872
+ "binding": {
2873
+ "type": "zeebe:input",
2874
+ "name": "completion_topP"
2875
+ },
2876
+ "condition": {
2877
+ "property": "operation",
2878
+ "equals": "completion"
2879
+ }
2880
+ },
2881
+ {
2882
+ "label": "Logit bias",
2883
+ "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>",
2884
+ "group": "parameters",
2885
+ "type": "Text",
2886
+ "feel": "required",
2887
+ "optional": true,
2888
+ "binding": {
2889
+ "type": "zeebe:input",
2890
+ "name": "completion_logitBias"
2891
+ },
2892
+ "condition": {
2893
+ "property": "operation",
2894
+ "equals": "completion"
2895
+ }
2896
+ },
2897
+ {
2898
+ "label": "User",
2899
+ "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>",
2900
+ "group": "parameters",
2901
+ "type": "String",
2902
+ "optional": true,
2903
+ "binding": {
2904
+ "type": "zeebe:input",
2905
+ "name": "completion_user"
2906
+ },
2907
+ "condition": {
2908
+ "property": "operation",
2909
+ "equals": "completion"
2910
+ }
2911
+ },
2912
+ {
2913
+ "label": "Number of completions",
2914
+ "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>",
2915
+ "group": "parameters",
2916
+ "value": "1",
2917
+ "type": "String",
2918
+ "optional": true,
2919
+ "binding": {
2920
+ "type": "zeebe:input",
2921
+ "name": "completion_numberOfCompletions"
2922
+ },
2923
+ "condition": {
2924
+ "property": "operation",
2925
+ "equals": "completion"
2926
+ }
2927
+ },
2928
+ {
2929
+ "label": "Stream",
2930
+ "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>",
2931
+ "group": "parameters",
2932
+ "value": "False",
2933
+ "type": "Dropdown",
2934
+ "choices": [
2935
+ {
2936
+ "name": "False",
2937
+ "value": "False"
2938
+ },
2939
+ {
2940
+ "name": "True",
2941
+ "value": "true"
2942
+ }
2943
+ ],
2944
+ "binding": {
2945
+ "type": "zeebe:input",
2946
+ "name": "completion_stream"
2947
+ },
2948
+ "condition": {
2949
+ "property": "operation",
2950
+ "equals": "completion"
2951
+ }
2952
+ },
2953
+ {
2954
+ "label": "Log probabilities",
2955
+ "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>",
2956
+ "group": "parameters",
2957
+ "type": "String",
2958
+ "optional": true,
2959
+ "binding": {
2960
+ "type": "zeebe:input",
2961
+ "name": "completion_logprobs"
2962
+ },
2963
+ "condition": {
2964
+ "property": "operation",
2965
+ "equals": "completion"
2966
+ }
2967
+ },
2968
+ {
2969
+ "label": "Suffix",
2970
+ "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>",
2971
+ "group": "parameters",
2972
+ "type": "String",
2973
+ "optional": true,
2974
+ "binding": {
2975
+ "type": "zeebe:input",
2976
+ "name": "completion_suffix"
2977
+ },
2978
+ "condition": {
2979
+ "property": "operation",
2980
+ "equals": "completion"
2981
+ }
2982
+ },
2983
+ {
2984
+ "label": "Echo",
2985
+ "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>",
2986
+ "group": "parameters",
2987
+ "value": "False",
2988
+ "type": "Dropdown",
2989
+ "optional": true,
2990
+ "choices": [
2991
+ {
2992
+ "name": "False",
2993
+ "value": "False"
2994
+ },
2995
+ {
2996
+ "name": "True",
2997
+ "value": "true"
2998
+ }
2999
+ ],
3000
+ "binding": {
3001
+ "type": "zeebe:input",
3002
+ "name": "completion_echo"
3003
+ },
3004
+ "condition": {
3005
+ "property": "operation",
3006
+ "equals": "completion"
3007
+ }
3008
+ },
3009
+ {
3010
+ "label": "Stop",
3011
+ "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>",
3012
+ "group": "parameters",
3013
+ "type": "String",
3014
+ "optional": true,
3015
+ "binding": {
3016
+ "type": "zeebe:input",
3017
+ "name": "completion_stop"
3018
+ },
3019
+ "condition": {
3020
+ "property": "operation",
3021
+ "equals": "completion"
3022
+ }
3023
+ },
3024
+ {
3025
+ "label": "Presence penalty",
3026
+ "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>",
3027
+ "group": "parameters",
3028
+ "type": "String",
3029
+ "value": "0",
3030
+ "optional": true,
3031
+ "binding": {
3032
+ "type": "zeebe:input",
3033
+ "name": "completion_presencePenalty"
3034
+ },
3035
+ "condition": {
3036
+ "property": "operation",
3037
+ "equals": "completion"
3038
+ }
3039
+ },
3040
+ {
3041
+ "label": "Frequency penalty",
3042
+ "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>",
3043
+ "group": "parameters",
3044
+ "type": "String",
3045
+ "value": "0",
3046
+ "optional": true,
3047
+ "binding": {
3048
+ "type": "zeebe:input",
3049
+ "name": "completion_frequencyPenalty"
3050
+ },
3051
+ "condition": {
3052
+ "property": "operation",
3053
+ "equals": "completion"
3054
+ }
3055
+ },
3056
+ {
3057
+ "label": "Best of",
3058
+ "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>",
3059
+ "group": "parameters",
3060
+ "type": "String",
3061
+ "value": "1",
3062
+ "optional": true,
3063
+ "binding": {
3064
+ "type": "zeebe:input",
3065
+ "name": "completion_bestOf"
3066
+ },
3067
+ "condition": {
3068
+ "property": "operation",
3069
+ "equals": "completion"
3070
+ }
3071
+ },
3072
+ {
3073
+ "id": "completion_method",
3074
+ "type": "Hidden",
3075
+ "value": "post",
3076
+ "binding": {
3077
+ "type": "zeebe:input",
3078
+ "name": "method"
3079
+ },
3080
+ "condition": {
3081
+ "property": "operation",
3082
+ "equals": "completion"
3083
+ }
3084
+ },
3085
+ {
3086
+ "id": "completion_url",
3087
+ "type": "Hidden",
3088
+ "value": "=\"https://\" + completion_resourceName + \".openai.azure.com/openai/deployments/\" + completion_deploymentId + \"/completions?api-version=\" + completion_apiVersion",
3089
+ "binding": {
3090
+ "type": "zeebe:input",
3091
+ "name": "url"
3092
+ },
3093
+ "condition": {
3094
+ "property": "operation",
3095
+ "equals": "completion"
3096
+ }
3097
+ },
3098
+ {
3099
+ "id": "completion_body",
3100
+ "type": "Hidden",
3101
+ "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])",
3102
+ "binding": {
3103
+ "type": "zeebe:input",
3104
+ "name": "body"
3105
+ },
3106
+ "condition": {
3107
+ "property": "operation",
3108
+ "equals": "completion"
3109
+ }
3110
+ },
3111
+ {
3112
+ "label": "Resource name",
3113
+ "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>",
3114
+ "group": "operation",
3115
+ "type": "String",
3116
+ "feel": "optional",
3117
+ "binding": {
3118
+ "type": "zeebe:input",
3119
+ "name": "chatCompletion_resourceName"
3120
+ },
3121
+ "constraints": {
3122
+ "notEmpty": true
3123
+ },
3124
+ "condition": {
3125
+ "property": "operation",
3126
+ "equals": "chatCompletion"
3127
+ }
3128
+ },
3129
+ {
3130
+ "label": "Deployment ID",
3131
+ "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>",
3132
+ "group": "operation",
3133
+ "type": "String",
3134
+ "feel": "optional",
3135
+ "binding": {
3136
+ "type": "zeebe:input",
3137
+ "name": "chatCompletion_deploymentId"
3138
+ },
3139
+ "constraints": {
3140
+ "notEmpty": true
3141
+ },
3142
+ "condition": {
3143
+ "property": "operation",
3144
+ "equals": "chatCompletion"
3145
+ }
3146
+ },
3147
+ {
3148
+ "label": "API version",
3149
+ "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>",
3150
+ "group": "operation",
3151
+ "type": "String",
3152
+ "value": "2024-02-01",
3153
+ "feel": "optional",
3154
+ "binding": {
3155
+ "type": "zeebe:input",
3156
+ "name": "chatCompletion_apiVersion"
3157
+ },
3158
+ "constraints": {
3159
+ "notEmpty": true
3160
+ },
3161
+ "condition": {
3162
+ "property": "operation",
3163
+ "equals": "chatCompletion"
3164
+ }
3165
+ },
3166
+ {
3167
+ "label": "Message role",
3168
+ "description": "Indicates who is giving the current message",
3169
+ "group": "parameters",
3170
+ "type": "Dropdown",
3171
+ "value": "user",
3172
+ "choices": [
3173
+ {
3174
+ "name": "User",
3175
+ "value": "user"
3176
+ },
3177
+ {
3178
+ "name": "System",
3179
+ "value": "system"
3180
+ },
3181
+ {
3182
+ "name": "Assistant",
3183
+ "value": "assistant"
3184
+ },
3185
+ {
3186
+ "name": "Tool",
3187
+ "value": "tool"
3188
+ },
3189
+ {
3190
+ "name": "Function",
3191
+ "value": "function"
3192
+ }
3193
+ ],
3194
+ "binding": {
3195
+ "type": "zeebe:input",
3196
+ "name": "chatCompletion_messageRole"
3197
+ },
3198
+ "condition": {
3199
+ "property": "operation",
3200
+ "equals": "chatCompletion"
3201
+ }
3202
+ },
3203
+ {
3204
+ "label": "Message content",
3205
+ "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>",
3206
+ "group": "parameters",
3207
+ "type": "Text",
3208
+ "feel": "optional",
3209
+ "optional": false,
3210
+ "constraints": {
3211
+ "notEmpty": true
3212
+ },
3213
+ "binding": {
3214
+ "type": "zeebe:input",
3215
+ "name": "chatCompletion_messageContent"
3216
+ },
3217
+ "condition": {
3218
+ "property": "operation",
3219
+ "equals": "chatCompletion"
3220
+ }
3221
+ },
3222
+ {
3223
+ "label": "Messages context",
3224
+ "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>",
3225
+ "group": "parameters",
3226
+ "type": "Text",
3227
+ "feel": "required",
3228
+ "optional": true,
3229
+ "binding": {
3230
+ "type": "zeebe:input",
3231
+ "name": "chatCompletion_messages"
3232
+ },
3233
+ "condition": {
3234
+ "property": "operation",
3235
+ "equals": "chatCompletion"
3236
+ }
3237
+ },
3238
+ {
3239
+ "label": "Content part",
3240
+ "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>",
3241
+ "group": "parameters",
3242
+ "type": "String",
3243
+ "feel": "required",
3244
+ "optional": true,
3245
+ "binding": {
3246
+ "type": "zeebe:input",
3247
+ "name": "chatCompletion_contentPart"
3248
+ },
3249
+ "condition": {
3250
+ "property": "operation",
3251
+ "equals": "chatCompletion"
3252
+ }
3253
+ },
3254
+ {
3255
+ "label": "Enhancements",
3256
+ "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>",
3257
+ "group": "parameters",
3258
+ "type": "String",
3259
+ "feel": "required",
3260
+ "optional": true,
3261
+ "binding": {
3262
+ "type": "zeebe:input",
3263
+ "name": "chatCompletion_enhancements"
3264
+ },
3265
+ "condition": {
3266
+ "property": "operation",
3267
+ "equals": "chatCompletion"
3268
+ }
3269
+ },
3270
+ {
3271
+ "label": "Temperature",
3272
+ "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>",
3273
+ "value": "1",
3274
+ "group": "parameters",
3275
+ "type": "String",
3276
+ "feel": "optional",
3277
+ "optional": true,
3278
+ "binding": {
3279
+ "type": "zeebe:input",
3280
+ "name": "chatCompletion_temperature"
3281
+ },
3282
+ "condition": {
3283
+ "property": "operation",
3284
+ "equals": "chatCompletion"
3285
+ }
3286
+ },
3287
+ {
3288
+ "label": "Number of completions",
3289
+ "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>",
3290
+ "value": "1",
3291
+ "group": "parameters",
3292
+ "type": "String",
3293
+ "feel": "optional",
3294
+ "optional": true,
3295
+ "binding": {
3296
+ "type": "zeebe:input",
3297
+ "name": "chatCompletion_n"
3298
+ },
3299
+ "condition": {
3300
+ "property": "operation",
3301
+ "equals": "chatCompletion"
3302
+ }
3303
+ },
3304
+ {
3305
+ "label": "Stream",
3306
+ "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>",
3307
+ "value": "False",
3308
+ "group": "parameters",
3309
+ "type": "Dropdown",
3310
+ "choices": [
3311
+ {
3312
+ "name": "False",
3313
+ "value": "False"
3314
+ },
3315
+ {
3316
+ "name": "True",
3317
+ "value": "true"
3318
+ }
3319
+ ],
3320
+ "binding": {
3321
+ "type": "zeebe:input",
3322
+ "name": "chatCompletion_stream"
3323
+ },
3324
+ "condition": {
3325
+ "property": "operation",
3326
+ "equals": "chatCompletion"
3327
+ }
3328
+ },
3329
+ {
3330
+ "label": "Stop",
3331
+ "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>",
3332
+ "group": "parameters",
3333
+ "type": "String",
3334
+ "feel": "required",
3335
+ "optional": true,
3336
+ "binding": {
3337
+ "type": "zeebe:input",
3338
+ "name": "chatCompletion_stop"
3339
+ },
3340
+ "condition": {
3341
+ "property": "operation",
3342
+ "equals": "chatCompletion"
3343
+ }
3344
+ },
3345
+ {
3346
+ "label": "Max tokens",
3347
+ "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>",
3348
+ "group": "parameters",
3349
+ "type": "String",
3350
+ "feel": "optional",
3351
+ "optional": true,
3352
+ "binding": {
3353
+ "type": "zeebe:input",
3354
+ "name": "chatCompletion_maxTokens"
3355
+ },
3356
+ "condition": {
3357
+ "property": "operation",
3358
+ "equals": "chatCompletion"
3359
+ }
3360
+ },
3361
+ {
3362
+ "label": "Presence penalty",
3363
+ "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>",
3364
+ "group": "parameters",
3365
+ "type": "String",
3366
+ "feel": "optional",
3367
+ "optional": true,
3368
+ "binding": {
3369
+ "type": "zeebe:input",
3370
+ "name": "chatCompletion_presencePenalty"
3371
+ },
3372
+ "condition": {
3373
+ "property": "operation",
3374
+ "equals": "chatCompletion"
3375
+ }
3376
+ },
3377
+ {
3378
+ "label": "Frequency penalty",
3379
+ "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>",
3380
+ "group": "parameters",
3381
+ "type": "String",
3382
+ "feel": "optional",
3383
+ "optional": true,
3384
+ "binding": {
3385
+ "type": "zeebe:input",
3386
+ "name": "chatCompletion_frequencyPenalty"
3387
+ },
3388
+ "condition": {
3389
+ "property": "operation",
3390
+ "equals": "chatCompletion"
3391
+ }
3392
+ },
3393
+ {
3394
+ "label": "Logit bias",
3395
+ "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>",
3396
+ "group": "parameters",
3397
+ "type": "String",
3398
+ "feel": "required",
3399
+ "optional": true,
3400
+ "binding": {
3401
+ "type": "zeebe:input",
3402
+ "name": "chatCompletion_logitBias"
3403
+ },
3404
+ "condition": {
3405
+ "property": "operation",
3406
+ "equals": "chatCompletion"
3407
+ }
3408
+ },
3409
+ {
3410
+ "label": "User",
3411
+ "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>",
3412
+ "group": "parameters",
3413
+ "type": "String",
3414
+ "feel": "optional",
3415
+ "optional": true,
3416
+ "binding": {
3417
+ "type": "zeebe:input",
3418
+ "name": "chatCompletion_user"
3419
+ },
3420
+ "condition": {
3421
+ "property": "operation",
3422
+ "equals": "chatCompletion"
3423
+ }
3424
+ },
3425
+ {
3426
+ "label": "Tools",
3427
+ "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>",
3428
+ "group": "parameters",
3429
+ "type": "String",
3430
+ "feel": "optional",
3431
+ "optional": true,
3432
+ "binding": {
3433
+ "type": "zeebe:input",
3434
+ "name": "chatCompletion_tools"
3435
+ },
3436
+ "condition": {
3437
+ "property": "operation",
3438
+ "equals": "chatCompletion"
3439
+ }
3440
+ },
3441
+ {
3442
+ "label": "Data sources",
3443
+ "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>",
3444
+ "group": "parameters",
3445
+ "type": "String",
3446
+ "feel": "required",
3447
+ "optional": true,
3448
+ "binding": {
3449
+ "type": "zeebe:input",
3450
+ "name": "chatCompletion_dataSources"
3451
+ },
3452
+ "condition": {
3453
+ "property": "operation",
3454
+ "equals": "chatCompletion"
3455
+ }
3456
+ },
3457
+ {
3458
+ "id": "chatCompletion_method",
3459
+ "type": "Hidden",
3460
+ "value": "post",
3461
+ "binding": {
3462
+ "type": "zeebe:input",
3463
+ "name": "method"
3464
+ },
3465
+ "condition": {
3466
+ "property": "operation",
3467
+ "equals": "chatCompletion"
3468
+ }
3469
+ },
3470
+ {
3471
+ "id": "chatCompletion_url",
3472
+ "type": "Hidden",
3473
+ "value": "=\"https://\" + chatCompletion_resourceName + \".openai.azure.com/openai/deployments/\" + chatCompletion_deploymentId + \"/chat/completions?api-version=\" + chatCompletion_apiVersion",
3474
+ "binding": {
3475
+ "type": "zeebe:input",
3476
+ "name": "url"
3477
+ },
3478
+ "condition": {
3479
+ "property": "operation",
3480
+ "equals": "chatCompletion"
3481
+ }
3482
+ },
3483
+ {
3484
+ "id": "chatCompletion_body",
3485
+ "type": "Hidden",
3486
+ "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])",
3487
+ "binding": {
3488
+ "type": "zeebe:input",
3489
+ "name": "body"
3490
+ },
3491
+ "condition": {
3492
+ "property": "operation",
3493
+ "equals": "chatCompletion"
3494
+ }
3495
+ },
3496
+ {
3497
+ "label": "Resource name",
3498
+ "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>",
3499
+ "group": "operation",
3500
+ "type": "String",
3501
+ "feel": "optional",
3502
+ "binding": {
3503
+ "type": "zeebe:input",
3504
+ "name": "completionsExtension_resourceName"
3505
+ },
3506
+ "constraints": {
3507
+ "notEmpty": true
3508
+ },
3509
+ "condition": {
3510
+ "property": "operation",
3511
+ "equals": "completionsExtension"
3512
+ }
3513
+ },
3514
+ {
3515
+ "label": "Deployment ID",
3516
+ "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>",
3517
+ "group": "operation",
3518
+ "type": "String",
3519
+ "feel": "optional",
3520
+ "binding": {
3521
+ "type": "zeebe:input",
3522
+ "name": "completionsExtension_deploymentId"
3523
+ },
3524
+ "constraints": {
3525
+ "notEmpty": true
3526
+ },
3527
+ "condition": {
3528
+ "property": "operation",
3529
+ "equals": "completionsExtension"
3530
+ }
3531
+ },
3532
+ {
3533
+ "label": "API version",
3534
+ "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>",
3535
+ "group": "operation",
3536
+ "type": "String",
3537
+ "value": "2023-12-01-preview",
3538
+ "feel": "optional",
3539
+ "binding": {
3540
+ "type": "zeebe:input",
3541
+ "name": "completionsExtension_apiVersion"
3542
+ },
3543
+ "constraints": {
3544
+ "notEmpty": true
3545
+ },
3546
+ "condition": {
3547
+ "property": "operation",
3548
+ "equals": "completionsExtension"
3549
+ }
3550
+ },
3551
+ {
3552
+ "label": "Messages",
3553
+ "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>",
3554
+ "group": "parameters",
3555
+ "type": "String",
3556
+ "feel": "required",
3557
+ "optional": false,
3558
+ "constraints": {
3559
+ "notEmpty": true
3560
+ },
3561
+ "binding": {
3562
+ "type": "zeebe:input",
3563
+ "name": "completionsExtension_messages"
3564
+ },
3565
+ "condition": {
3566
+ "property": "operation",
3567
+ "equals": "completionsExtension"
3568
+ }
3569
+ },
3570
+ {
3571
+ "label": "Content part",
3572
+ "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>",
3573
+ "group": "parameters",
3574
+ "type": "String",
3575
+ "feel": "required",
3576
+ "optional": true,
3577
+ "binding": {
3578
+ "type": "zeebe:input",
3579
+ "name": "completionsExtension_contentPart"
3580
+ },
3581
+ "condition": {
3582
+ "property": "operation",
3583
+ "equals": "completionsExtension"
3584
+ }
3585
+ },
3586
+ {
3587
+ "label": "Enhancements",
3588
+ "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>",
3589
+ "group": "parameters",
3590
+ "type": "String",
3591
+ "feel": "required",
3592
+ "optional": true,
3593
+ "binding": {
3594
+ "type": "zeebe:input",
3595
+ "name": "completionsExtension_enhancements"
3596
+ },
3597
+ "condition": {
3598
+ "property": "operation",
3599
+ "equals": "completionsExtension"
3600
+ }
3601
+ },
3602
+ {
3603
+ "label": "Temperature",
3604
+ "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>",
3605
+ "value": "1",
3606
+ "group": "parameters",
3607
+ "type": "String",
3608
+ "feel": "optional",
3609
+ "optional": true,
3610
+ "binding": {
3611
+ "type": "zeebe:input",
3612
+ "name": "completionsExtension_temperature"
3613
+ },
3614
+ "condition": {
3615
+ "property": "operation",
3616
+ "equals": "completionsExtension"
3617
+ }
3618
+ },
3619
+ {
3620
+ "label": "Number of completions",
3621
+ "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>",
3622
+ "value": "1",
3623
+ "group": "parameters",
3624
+ "type": "String",
3625
+ "feel": "optional",
3626
+ "optional": true,
3627
+ "binding": {
3628
+ "type": "zeebe:input",
3629
+ "name": "completionsExtension_n"
3630
+ },
3631
+ "condition": {
3632
+ "property": "operation",
3633
+ "equals": "completionsExtension"
3634
+ }
3635
+ },
3636
+ {
3637
+ "label": "Stream",
3638
+ "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>",
3639
+ "value": "False",
3640
+ "group": "parameters",
3641
+ "type": "Dropdown",
3642
+ "choices": [
3643
+ {
3644
+ "name": "False",
3645
+ "value": "False"
3646
+ },
3647
+ {
3648
+ "name": "True",
3649
+ "value": "true"
3650
+ }
3651
+ ],
3652
+ "binding": {
3653
+ "type": "zeebe:input",
3654
+ "name": "completionsExtension_stream"
3655
+ },
3656
+ "condition": {
3657
+ "property": "operation",
3658
+ "equals": "completionsExtension"
3659
+ }
3660
+ },
3661
+ {
3662
+ "label": "Stop",
3663
+ "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>",
3664
+ "group": "parameters",
3665
+ "type": "String",
3666
+ "feel": "required",
3667
+ "optional": true,
3668
+ "binding": {
3669
+ "type": "zeebe:input",
3670
+ "name": "completionsExtension_stop"
3671
+ },
3672
+ "condition": {
3673
+ "property": "operation",
3674
+ "equals": "completionsExtension"
3675
+ }
3676
+ },
3677
+ {
3678
+ "label": "Max tokens",
3679
+ "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>",
3680
+ "group": "parameters",
3681
+ "type": "String",
3682
+ "feel": "optional",
3683
+ "optional": true,
3684
+ "binding": {
3685
+ "type": "zeebe:input",
3686
+ "name": "completionsExtension_maxTokens"
3687
+ },
3688
+ "condition": {
3689
+ "property": "operation",
3690
+ "equals": "completionsExtension"
3691
+ }
3692
+ },
3693
+ {
3694
+ "label": "Presence penalty",
3695
+ "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>",
3696
+ "group": "parameters",
3697
+ "type": "String",
3698
+ "feel": "optional",
3699
+ "optional": true,
3700
+ "binding": {
3701
+ "type": "zeebe:input",
3702
+ "name": "completionsExtension_presencePenalty"
3703
+ },
3704
+ "condition": {
3705
+ "property": "operation",
3706
+ "equals": "completionsExtension"
3707
+ }
3708
+ },
3709
+ {
3710
+ "label": "Frequency penalty",
3711
+ "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>",
3712
+ "group": "parameters",
3713
+ "type": "String",
3714
+ "feel": "optional",
3715
+ "optional": true,
3716
+ "binding": {
3717
+ "type": "zeebe:input",
3718
+ "name": "completionsExtension_frequencyPenalty"
3719
+ },
3720
+ "condition": {
3721
+ "property": "operation",
3722
+ "equals": "completionsExtension"
3723
+ }
3724
+ },
3725
+ {
3726
+ "label": "Logit bias",
3727
+ "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>",
3728
+ "group": "parameters",
3729
+ "type": "String",
3730
+ "feel": "required",
3731
+ "optional": true,
3732
+ "binding": {
3733
+ "type": "zeebe:input",
3734
+ "name": "completionsExtension_logitBias"
3735
+ },
3736
+ "condition": {
3737
+ "property": "operation",
3738
+ "equals": "completionsExtension"
3739
+ }
3740
+ },
3741
+ {
3742
+ "label": "User",
3743
+ "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>",
3744
+ "group": "parameters",
3745
+ "type": "String",
3746
+ "feel": "optional",
3747
+ "optional": true,
3748
+ "binding": {
3749
+ "type": "zeebe:input",
3750
+ "name": "completionsExtension_user"
3751
+ },
3752
+ "condition": {
3753
+ "property": "operation",
3754
+ "equals": "completionsExtension"
3755
+ }
3756
+ },
3757
+ {
3758
+ "label": "Tools",
3759
+ "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>",
3760
+ "group": "parameters",
3761
+ "type": "String",
3762
+ "feel": "optional",
3763
+ "optional": true,
3764
+ "binding": {
3765
+ "type": "zeebe:input",
3766
+ "name": "completionsExtension_tools"
3767
+ },
3768
+ "condition": {
3769
+ "property": "operation",
3770
+ "equals": "completionsExtension"
3771
+ }
3772
+ },
3773
+ {
3774
+ "label": "Data sources",
3775
+ "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>",
3776
+ "group": "parameters",
3777
+ "type": "String",
3778
+ "feel": "required",
3779
+ "optional": true,
3780
+ "binding": {
3781
+ "type": "zeebe:input",
3782
+ "name": "completionsExtension_dataSources"
3783
+ },
3784
+ "condition": {
3785
+ "property": "operation",
3786
+ "equals": "completionsExtension"
3787
+ }
3788
+ },
3789
+ {
3790
+ "id": "completionsExtension_method",
3791
+ "type": "Hidden",
3792
+ "value": "post",
3793
+ "binding": {
3794
+ "type": "zeebe:input",
3795
+ "name": "method"
3796
+ },
3797
+ "condition": {
3798
+ "property": "operation",
3799
+ "equals": "completionsExtension"
3800
+ }
3801
+ },
3802
+ {
3803
+ "id": "completionsExtension_url",
3804
+ "type": "Hidden",
3805
+ "value": "=\"https://\" + completionsExtension_resourceName + \".openai.azure.com/openai/deployments/\" + completionsExtension_deploymentId + \"/extensions/chat/completions?api-version=\" + completionsExtension_apiVersion",
3806
+ "binding": {
3807
+ "type": "zeebe:input",
3808
+ "name": "url"
3809
+ },
3810
+ "condition": {
3811
+ "property": "operation",
3812
+ "equals": "completionsExtension"
3813
+ }
3814
+ },
3815
+ {
3816
+ "id": "completionsExtension_body",
3817
+ "type": "Hidden",
3818
+ "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])",
3819
+ "binding": {
3820
+ "type": "zeebe:input",
3821
+ "name": "body"
3822
+ },
3823
+ "condition": {
3824
+ "property": "operation",
3825
+ "equals": "completionsExtension"
3826
+ }
3827
+ },
3828
+ {
3829
+ "id": "resultVariable",
3830
+ "label": "Result variable",
3831
+ "description": "Name of variable to store the response in",
3832
+ "group": "output",
3833
+ "binding": {
3834
+ "key": "resultVariable",
3835
+ "type": "zeebe:taskHeader"
3836
+ },
3837
+ "type": "String"
3838
+ },
3839
+ {
3840
+ "id": "resultExpression",
3841
+ "label": "Result expression",
3842
+ "description": "Expression to map the response into process variables",
3843
+ "feel": "required",
3844
+ "group": "output",
3845
+ "binding": {
3846
+ "key": "resultExpression",
3847
+ "type": "zeebe:taskHeader"
3848
+ },
3849
+ "type": "Text"
3850
+ },
3851
+ {
3852
+ "id": "errorExpression",
3853
+ "label": "Error expression",
3854
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>.",
3855
+ "feel": "required",
3856
+ "group": "error",
3857
+ "binding": {
3858
+ "key": "errorExpression",
3859
+ "type": "zeebe:taskHeader"
3860
+ },
3861
+ "type": "Text"
3862
+ },
3863
+ {
3864
+ "id": "retryCount",
3865
+ "label": "Retries",
3866
+ "description": "Number of retries",
3867
+ "value": "3",
3868
+ "feel": "optional",
3869
+ "group": "retries",
3870
+ "binding": {
3871
+ "property": "retries",
3872
+ "type": "zeebe:taskDefinition"
3873
+ },
3874
+ "type": "String"
3875
+ },
3876
+ {
3877
+ "id": "retryBackoff",
3878
+ "label": "Retry backoff",
3879
+ "description": "ISO-8601 duration to wait between retries",
3880
+ "value": "PT0S",
3881
+ "feel": "optional",
3882
+ "group": "retries",
3883
+ "binding": {
3884
+ "key": "retryBackoff",
3885
+ "type": "zeebe:taskHeader"
3886
+ },
3887
+ "type": "String"
3888
+ }
3889
+ ],
3890
+ "icon": {
3891
+ "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"
3892
+ },
3893
+ "engines": {
3894
+ "camunda": "^8.6"
3895
+ }
2571
3896
  }
2572
3897
  ]