@camunda/connectors-element-templates 1.0.20 → 1.0.21

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 (115) hide show
  1. package/package.json +2 -2
  2. package/src/connectors-template.js +1 -3
  3. package/src/connectors.js +4 -0
  4. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +40 -40
  5. package/src/element-templates/agenticai-aiagent-job-worker.json +2483 -475
  6. package/src/element-templates/agenticai-aiagent-outbound-connector.json +5352 -3427
  7. package/src/element-templates/agenticai-mcp-client-outbound-connector.json +717 -35
  8. package/src/element-templates/agenticai-mcp-remote-client-outbound-connector.json +2254 -809
  9. package/src/element-templates/app-integrations-connector.json +1047 -0
  10. package/src/element-templates/asana-connector.json +1050 -216
  11. package/src/element-templates/automation-anywhere-outbound-connector.json +2046 -1553
  12. package/src/element-templates/aws-bedrock-agentcore-long-term-memory-outbound-connector.json +1067 -29
  13. package/src/element-templates/aws-bedrock-agentcore-runtime-outbound-connector.json +385 -4
  14. package/src/element-templates/aws-bedrock-codeinterpreter-outbound-connector.json +441 -4
  15. package/src/element-templates/aws-bedrock-knowledgebase-outbound-connector.json +416 -4
  16. package/src/element-templates/aws-bedrock-outbound-connector.json +2274 -624
  17. package/src/element-templates/aws-comprehend-outbound-connector.json +1572 -0
  18. package/src/element-templates/aws-dynamodb-outbound-connector.json +2385 -949
  19. package/src/element-templates/aws-eventbridge-connector-boundary.json +26 -26
  20. package/src/element-templates/aws-eventbridge-connector-intermediate.json +62 -62
  21. package/src/element-templates/aws-eventbridge-connector-start-event.json +20 -20
  22. package/src/element-templates/aws-eventbridge-outbound-connector.json +680 -266
  23. package/src/element-templates/aws-lambda-outbound-connector.json +462 -63
  24. package/src/element-templates/aws-s3-outbound-connector.json +1850 -329
  25. package/src/element-templates/aws-sagemaker-outbound-connector.json +680 -51
  26. package/src/element-templates/aws-sns-inbound-boundary.json +207 -206
  27. package/src/element-templates/aws-sns-inbound-intermediate.json +410 -409
  28. package/src/element-templates/aws-sns-inbound-message-start.json +4 -3
  29. package/src/element-templates/aws-sns-inbound-receive.json +4 -3
  30. package/src/element-templates/aws-sns-inbound-start-event.json +138 -138
  31. package/src/element-templates/aws-sns-outbound-connector.json +643 -186
  32. package/src/element-templates/aws-sqs-boundary-connector.json +1059 -540
  33. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +1046 -527
  34. package/src/element-templates/aws-sqs-outbound-connector.json +596 -143
  35. package/src/element-templates/aws-sqs-receive-connector.json +525 -7
  36. package/src/element-templates/aws-sqs-start-event-connector.json +401 -401
  37. package/src/element-templates/aws-sqs-start-message.json +736 -185
  38. package/src/element-templates/aws-textract-outbound-connector.json +925 -190
  39. package/src/element-templates/azure-blobstorage-outbound-connector.json +1648 -225
  40. package/src/element-templates/azure-open-ai-connector.json +1372 -9
  41. package/src/element-templates/blue-prism-connector.json +655 -76
  42. package/src/element-templates/box-outbound-connector.json +2331 -247
  43. package/src/element-templates/csv-outbound-connector.json +44 -44
  44. package/src/element-templates/easy-post-connector.json +1178 -97
  45. package/src/element-templates/email-outbound-connector.json +3087 -1013
  46. package/src/element-templates/embeddings-vector-database-outbound-connector.json +2160 -0
  47. package/src/element-templates/github-connector.json +14049 -9863
  48. package/src/element-templates/github-webhook-connector-boundary.json +24 -24
  49. package/src/element-templates/github-webhook-connector-intermediate.json +33 -33
  50. package/src/element-templates/github-webhook-connector-message-start.json +8 -8
  51. package/src/element-templates/github-webhook-connector-receive.json +8 -8
  52. package/src/element-templates/github-webhook-connector-start-event.json +54 -54
  53. package/src/element-templates/gitlab-connector.json +2110 -208
  54. package/src/element-templates/google-cloud-storage-outbound-connector.json +1448 -241
  55. package/src/element-templates/google-drive-outbound-connector.json +2246 -694
  56. package/src/element-templates/google-gemini-outbound-connector.json +8 -22
  57. package/src/element-templates/google-maps-platform-connector.json +688 -137
  58. package/src/element-templates/google-sheets-outbound-connector.json +3631 -2475
  59. package/src/element-templates/graphql-outbound-connector.json +3346 -789
  60. package/src/element-templates/http-json-connector.json +5295 -2803
  61. package/src/element-templates/http-polling-boundary-catch-event-connector.json +2550 -590
  62. package/src/element-templates/http-polling-connector.json +2886 -926
  63. package/src/element-templates/hubspot-outbound-connector.json +2786 -36
  64. package/src/element-templates/hugging-face-connector.json +44 -43
  65. package/src/element-templates/jdbc-outbound-connector.json +505 -8
  66. package/src/element-templates/kafka-inbound-connector-boundary.json +29 -32
  67. package/src/element-templates/kafka-inbound-connector-intermediate.json +615 -618
  68. package/src/element-templates/kafka-inbound-connector-receive.json +9 -12
  69. package/src/element-templates/kafka-inbound-connector-start-message.json +9 -12
  70. package/src/element-templates/kafka-inbound-connector.json +240 -240
  71. package/src/element-templates/kafka-outbound-connector.json +494 -498
  72. package/src/element-templates/microsoft-o365-email-boundary-event-connector.json +7 -10
  73. package/src/element-templates/microsoft-o365-email-intermediate-catch-event-connector.json +7 -10
  74. package/src/element-templates/microsoft-o365-email-message-start-event-connector.json +7 -10
  75. package/src/element-templates/microsoft-office365-mail-connector.json +1095 -39
  76. package/src/element-templates/microsoft-teams-outbound-connector.json +7335 -4894
  77. package/src/element-templates/openai-connector.json +596 -102
  78. package/src/element-templates/operate-connector.json +167 -170
  79. package/src/element-templates/orchestration-connector.json +1843 -0
  80. package/src/element-templates/power-automate-connector.json +64 -64
  81. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +449 -451
  82. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +770 -772
  83. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +576 -578
  84. package/src/element-templates/rabbitmq-inbound-connector-receive.json +5 -7
  85. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +105 -105
  86. package/src/element-templates/rabbitmq-outbound-connector.json +319 -319
  87. package/src/element-templates/rpa-connector.json +6 -6
  88. package/src/element-templates/salesforce-connector.json +690 -56
  89. package/src/element-templates/send-message-connector-intermediate-throw-event.json +300 -0
  90. package/src/element-templates/send-message-connector-message-end-event.json +300 -0
  91. package/src/element-templates/send-message-connector-send-task.json +299 -0
  92. package/src/element-templates/sendgrid-outbound-connector.json +597 -597
  93. package/src/element-templates/servicenow-connector.json +1365 -8
  94. package/src/element-templates/servicenow-flow-starter-connector.json +15 -15
  95. package/src/element-templates/servicenow-incident-connector.json +1076 -30
  96. package/src/element-templates/slack-inbound-boundary.json +374 -374
  97. package/src/element-templates/slack-inbound-intermediate.json +766 -766
  98. package/src/element-templates/slack-inbound-message-start.json +145 -145
  99. package/src/element-templates/slack-inbound-receive.json +2 -2
  100. package/src/element-templates/slack-inbound-start-event.json +211 -211
  101. package/src/element-templates/slack-outbound-connector.json +2154 -1051
  102. package/src/element-templates/soap-outbound-connector.json +114 -118
  103. package/src/element-templates/twilio-connector.json +1181 -368
  104. package/src/element-templates/twilio-webhook-boundary-connector.json +29 -30
  105. package/src/element-templates/twilio-webhook-connector.json +56 -57
  106. package/src/element-templates/twilio-webhook-intermediate-connector.json +33 -34
  107. package/src/element-templates/twilio-webhook-message-start-connector.json +27 -28
  108. package/src/element-templates/twilio-webhook-receive-connector.json +9 -10
  109. package/src/element-templates/uipath-connector.json +681 -63
  110. package/src/element-templates/webhook-connector-boundary.json +1242 -587
  111. package/src/element-templates/webhook-connector-intermediate.json +1339 -684
  112. package/src/element-templates/webhook-connector-receive.json +659 -5
  113. package/src/element-templates/webhook-connector-start-event.json +1736 -1175
  114. package/src/element-templates/webhook-connector-start-message.json +1791 -1104
  115. package/src/element-templates/whatsapp-connector.json +386 -16
@@ -1290,7 +1290,7 @@
1290
1290
  "text generation"
1291
1291
  ],
1292
1292
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
1293
- "version": 2,
1293
+ "version": 3,
1294
1294
  "engines": {
1295
1295
  "camunda": "^8.6"
1296
1296
  },
@@ -1315,6 +1315,10 @@
1315
1315
  "id": "parameters",
1316
1316
  "label": "Parameters"
1317
1317
  },
1318
+ {
1319
+ "id": "connector",
1320
+ "label": "Connector"
1321
+ },
1318
1322
  {
1319
1323
  "id": "output",
1320
1324
  "label": "Output mapping"
@@ -2543,7 +2547,7 @@
2543
2547
  "id": "retryBackoff",
2544
2548
  "label": "Retry backoff",
2545
2549
  "description": "ISO-8601 duration to wait between retries",
2546
- "value": "PT0S",
2550
+ "value": "PT30S",
2547
2551
  "feel": "optional",
2548
2552
  "group": "retries",
2549
2553
  "binding": {
@@ -2556,7 +2560,7 @@
2556
2560
  "id": "version",
2557
2561
  "label": "Version",
2558
2562
  "description": "Version of the element template",
2559
- "value": "2",
2563
+ "value": "3",
2560
2564
  "group": "connector",
2561
2565
  "binding": {
2562
2566
  "key": "elementTemplateVersion",
@@ -2599,7 +2603,7 @@
2599
2603
  "text generation"
2600
2604
  ],
2601
2605
  "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
2602
- "version": 3,
2606
+ "version": 2,
2603
2607
  "engines": {
2604
2608
  "camunda": "^8.6"
2605
2609
  },
@@ -2624,10 +2628,6 @@
2624
2628
  "id": "parameters",
2625
2629
  "label": "Parameters"
2626
2630
  },
2627
- {
2628
- "id": "connector",
2629
- "label": "Connector"
2630
- },
2631
2631
  {
2632
2632
  "id": "output",
2633
2633
  "label": "Output mapping"
@@ -3856,7 +3856,7 @@
3856
3856
  "id": "retryBackoff",
3857
3857
  "label": "Retry backoff",
3858
3858
  "description": "ISO-8601 duration to wait between retries",
3859
- "value": "PT30S",
3859
+ "value": "PT0S",
3860
3860
  "feel": "optional",
3861
3861
  "group": "retries",
3862
3862
  "binding": {
@@ -3893,5 +3893,1368 @@
3893
3893
  "icon": {
3894
3894
  "contents": "data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 513 512'%3E%3Cg clip-path='url(%23a)'%3E%3Crect width='512' height='512' x='.25' fill='%23fff' rx='76'/%3E%3Cpath fill='url(%23b)' d='M.25 76.8v358.4c0 42.411 34.39 76.8 76.8 76.8h358.4c42.411 0 76.8-34.389 76.8-76.8V76.8c0-42.41-34.389-76.8-76.8-76.8H77.05C34.64 0 .25 34.39.25 76.8ZM307.45 0v102.4c0 113.095 91.705 204.8 204.8 204.8h-102.4c-113.095 0-204.772 91.648-204.8 204.743V409.6c0-113.095-91.705-204.8-204.8-204.8h102.4c113.095 0 204.8-91.705 204.8-204.8Z'/%3E%3C/g%3E%3Cdefs%3E%3CradialGradient id='b' cx='0' cy='0' r='1' gradientTransform='rotate(45 -176.261 403.94) scale(321.165 437.107)' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%2383B9F9'/%3E%3Cstop offset='1' stop-color='%230078D4'/%3E%3C/radialGradient%3E%3CclipPath id='a'%3E%3Crect width='512' height='512' x='.25' fill='%23fff' rx='76'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E"
3895
3895
  }
3896
+ },
3897
+ {
3898
+ "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3899
+ "name": "Azure OpenAI Connector",
3900
+ "id": "io.camunda.connectors.AzureOpenAI.outbound.v1",
3901
+ "description": "Interact with Azure OpenAI from your BPMN process",
3902
+ "keywords": [
3903
+ "completion",
3904
+ "chat completion",
3905
+ "generate text",
3906
+ "AI",
3907
+ "LLM",
3908
+ "language model",
3909
+ "GPT",
3910
+ "generative AI",
3911
+ "prompt",
3912
+ "text generation"
3913
+ ],
3914
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/azure-open-ai/",
3915
+ "version": 4,
3916
+ "engines": {
3917
+ "camunda": "^8.6"
3918
+ },
3919
+ "category": {
3920
+ "id": "connectors",
3921
+ "name": "Connectors"
3922
+ },
3923
+ "appliesTo": ["bpmn:Task"],
3924
+ "elementType": {
3925
+ "value": "bpmn:ServiceTask"
3926
+ },
3927
+ "groups": [
3928
+ {
3929
+ "id": "operation",
3930
+ "label": "Operation"
3931
+ },
3932
+ {
3933
+ "id": "authentication",
3934
+ "label": "Authentication"
3935
+ },
3936
+ {
3937
+ "id": "parameters",
3938
+ "label": "Parameters"
3939
+ },
3940
+ {
3941
+ "id": "connector",
3942
+ "label": "Connector"
3943
+ },
3944
+ {
3945
+ "id": "output",
3946
+ "label": "Output mapping"
3947
+ },
3948
+ {
3949
+ "id": "error",
3950
+ "label": "Error handling"
3951
+ },
3952
+ {
3953
+ "id": "retries",
3954
+ "label": "Retries"
3955
+ }
3956
+ ],
3957
+ "properties": [
3958
+ {
3959
+ "value": "io.camunda:http-json:1",
3960
+ "binding": {
3961
+ "property": "type",
3962
+ "type": "zeebe:taskDefinition"
3963
+ },
3964
+ "type": "Hidden"
3965
+ },
3966
+ {
3967
+ "id": "authentication.type",
3968
+ "label": "Type",
3969
+ "description": "Choose the authentication type",
3970
+ "value": "apiKey",
3971
+ "group": "authentication",
3972
+ "binding": {
3973
+ "name": "authentication.type",
3974
+ "type": "zeebe:input"
3975
+ },
3976
+ "type": "Hidden"
3977
+ },
3978
+ {
3979
+ "id": "authentication.apiKeyLocation",
3980
+ "value": "headers",
3981
+ "group": "authentication",
3982
+ "binding": {
3983
+ "name": "authentication.apiKeyLocation",
3984
+ "type": "zeebe:input"
3985
+ },
3986
+ "type": "Hidden"
3987
+ },
3988
+ {
3989
+ "id": "authentication.name",
3990
+ "label": "API key name",
3991
+ "value": "api-key",
3992
+ "group": "authentication",
3993
+ "binding": {
3994
+ "name": "authentication.name",
3995
+ "type": "zeebe:input"
3996
+ },
3997
+ "condition": {
3998
+ "property": "authentication.type",
3999
+ "equals": "apiKey",
4000
+ "type": "simple"
4001
+ },
4002
+ "type": "Hidden"
4003
+ },
4004
+ {
4005
+ "id": "authentication.value",
4006
+ "label": "API key",
4007
+ "optional": false,
4008
+ "constraints": {
4009
+ "notEmpty": true
4010
+ },
4011
+ "feel": "optional",
4012
+ "group": "authentication",
4013
+ "binding": {
4014
+ "name": "authentication.value",
4015
+ "type": "zeebe:input"
4016
+ },
4017
+ "condition": {
4018
+ "property": "authentication.type",
4019
+ "equals": "apiKey",
4020
+ "type": "simple"
4021
+ },
4022
+ "type": "String"
4023
+ },
4024
+ {
4025
+ "label": "Operation",
4026
+ "id": "operation",
4027
+ "group": "operation",
4028
+ "type": "Dropdown",
4029
+ "value": "completion",
4030
+ "choices": [
4031
+ {
4032
+ "name": "Completion",
4033
+ "value": "completion"
4034
+ },
4035
+ {
4036
+ "name": "Chat completion",
4037
+ "value": "chatCompletion"
4038
+ },
4039
+ {
4040
+ "name": "Completions extension",
4041
+ "value": "completionsExtension"
4042
+ }
4043
+ ],
4044
+ "binding": {
4045
+ "type": "zeebe:input",
4046
+ "name": "operation"
4047
+ }
4048
+ },
4049
+ {
4050
+ "label": "Resource name",
4051
+ "tooltip": "The name of your Azure OpenAI Resource. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">Azure OpenAI completions documentation</a>",
4052
+ "group": "operation",
4053
+ "type": "String",
4054
+ "feel": "optional",
4055
+ "binding": {
4056
+ "type": "zeebe:input",
4057
+ "name": "completion_resourceName"
4058
+ },
4059
+ "constraints": {
4060
+ "notEmpty": true
4061
+ },
4062
+ "condition": {
4063
+ "property": "operation",
4064
+ "equals": "completion"
4065
+ }
4066
+ },
4067
+ {
4068
+ "label": "Deployment ID",
4069
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4070
+ "group": "operation",
4071
+ "type": "String",
4072
+ "feel": "optional",
4073
+ "binding": {
4074
+ "type": "zeebe:input",
4075
+ "name": "completion_deploymentId"
4076
+ },
4077
+ "constraints": {
4078
+ "notEmpty": true
4079
+ },
4080
+ "condition": {
4081
+ "property": "operation",
4082
+ "equals": "completion"
4083
+ }
4084
+ },
4085
+ {
4086
+ "label": "API version",
4087
+ "tooltip": "The API version to use for this operation. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">Azure OpenAI completions documentation</a>",
4088
+ "group": "operation",
4089
+ "type": "String",
4090
+ "value": "2024-02-01",
4091
+ "feel": "optional",
4092
+ "binding": {
4093
+ "type": "zeebe:input",
4094
+ "name": "completion_apiVersion"
4095
+ },
4096
+ "constraints": {
4097
+ "notEmpty": true
4098
+ },
4099
+ "condition": {
4100
+ "property": "operation",
4101
+ "equals": "completion"
4102
+ }
4103
+ },
4104
+ {
4105
+ "label": "Prompt",
4106
+ "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\">Azure OpenAI completions documentation</a>",
4107
+ "group": "parameters",
4108
+ "type": "Text",
4109
+ "feel": "optional",
4110
+ "binding": {
4111
+ "type": "zeebe:input",
4112
+ "name": "completion_prompt"
4113
+ },
4114
+ "constraints": {
4115
+ "notEmpty": true
4116
+ },
4117
+ "condition": {
4118
+ "property": "operation",
4119
+ "equals": "completion"
4120
+ }
4121
+ },
4122
+ {
4123
+ "label": "Max tokens",
4124
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4125
+ "group": "parameters",
4126
+ "type": "String",
4127
+ "value": "16",
4128
+ "feel": "optional",
4129
+ "optional": true,
4130
+ "binding": {
4131
+ "type": "zeebe:input",
4132
+ "name": "completion_maxTokens"
4133
+ },
4134
+ "condition": {
4135
+ "property": "operation",
4136
+ "equals": "completion"
4137
+ }
4138
+ },
4139
+ {
4140
+ "label": "Temperature",
4141
+ "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\">Azure OpenAI completions documentation</a>",
4142
+ "group": "parameters",
4143
+ "type": "String",
4144
+ "value": "1",
4145
+ "feel": "optional",
4146
+ "optional": true,
4147
+ "binding": {
4148
+ "type": "zeebe:input",
4149
+ "name": "completion_temperature"
4150
+ },
4151
+ "condition": {
4152
+ "property": "operation",
4153
+ "equals": "completion"
4154
+ }
4155
+ },
4156
+ {
4157
+ "label": "Top P",
4158
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4159
+ "group": "parameters",
4160
+ "type": "String",
4161
+ "value": "1",
4162
+ "feel": "optional",
4163
+ "optional": true,
4164
+ "binding": {
4165
+ "type": "zeebe:input",
4166
+ "name": "completion_topP"
4167
+ },
4168
+ "condition": {
4169
+ "property": "operation",
4170
+ "equals": "completion"
4171
+ }
4172
+ },
4173
+ {
4174
+ "label": "Logit bias",
4175
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4176
+ "group": "parameters",
4177
+ "type": "Text",
4178
+ "feel": "required",
4179
+ "optional": true,
4180
+ "binding": {
4181
+ "type": "zeebe:input",
4182
+ "name": "completion_logitBias"
4183
+ },
4184
+ "condition": {
4185
+ "property": "operation",
4186
+ "equals": "completion"
4187
+ }
4188
+ },
4189
+ {
4190
+ "label": "User",
4191
+ "tooltip": "A unique identifier representing your end-user. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">Azure OpenAI completions documentation</a>",
4192
+ "group": "parameters",
4193
+ "type": "String",
4194
+ "optional": true,
4195
+ "binding": {
4196
+ "type": "zeebe:input",
4197
+ "name": "completion_user"
4198
+ },
4199
+ "condition": {
4200
+ "property": "operation",
4201
+ "equals": "completion"
4202
+ }
4203
+ },
4204
+ {
4205
+ "label": "Number of completions",
4206
+ "tooltip": "How many completions to generate for each prompt. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">Azure OpenAI completions documentation</a>",
4207
+ "group": "parameters",
4208
+ "value": "1",
4209
+ "type": "String",
4210
+ "optional": true,
4211
+ "binding": {
4212
+ "type": "zeebe:input",
4213
+ "name": "completion_numberOfCompletions"
4214
+ },
4215
+ "condition": {
4216
+ "property": "operation",
4217
+ "equals": "completion"
4218
+ }
4219
+ },
4220
+ {
4221
+ "label": "Stream",
4222
+ "tooltip": "Whether to stream back partial progress. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">Azure OpenAI completions documentation</a>",
4223
+ "group": "parameters",
4224
+ "value": "False",
4225
+ "type": "Dropdown",
4226
+ "choices": [
4227
+ {
4228
+ "name": "False",
4229
+ "value": "False"
4230
+ },
4231
+ {
4232
+ "name": "True",
4233
+ "value": "true"
4234
+ }
4235
+ ],
4236
+ "binding": {
4237
+ "type": "zeebe:input",
4238
+ "name": "completion_stream"
4239
+ },
4240
+ "condition": {
4241
+ "property": "operation",
4242
+ "equals": "completion"
4243
+ }
4244
+ },
4245
+ {
4246
+ "label": "Log probabilities",
4247
+ "tooltip": "Include the log probabilities on the logprobs most likely tokens, as well as the chosen tokens. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions\" target=\"_blank\">Azure OpenAI completions documentation</a>",
4248
+ "group": "parameters",
4249
+ "type": "String",
4250
+ "optional": true,
4251
+ "binding": {
4252
+ "type": "zeebe:input",
4253
+ "name": "completion_logprobs"
4254
+ },
4255
+ "condition": {
4256
+ "property": "operation",
4257
+ "equals": "completion"
4258
+ }
4259
+ },
4260
+ {
4261
+ "label": "Suffix",
4262
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4263
+ "group": "parameters",
4264
+ "type": "String",
4265
+ "optional": true,
4266
+ "binding": {
4267
+ "type": "zeebe:input",
4268
+ "name": "completion_suffix"
4269
+ },
4270
+ "condition": {
4271
+ "property": "operation",
4272
+ "equals": "completion"
4273
+ }
4274
+ },
4275
+ {
4276
+ "label": "Echo",
4277
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4278
+ "group": "parameters",
4279
+ "value": "False",
4280
+ "type": "Dropdown",
4281
+ "optional": true,
4282
+ "choices": [
4283
+ {
4284
+ "name": "False",
4285
+ "value": "False"
4286
+ },
4287
+ {
4288
+ "name": "True",
4289
+ "value": "true"
4290
+ }
4291
+ ],
4292
+ "binding": {
4293
+ "type": "zeebe:input",
4294
+ "name": "completion_echo"
4295
+ },
4296
+ "condition": {
4297
+ "property": "operation",
4298
+ "equals": "completion"
4299
+ }
4300
+ },
4301
+ {
4302
+ "label": "Stop",
4303
+ "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\">Azure OpenAI completions documentation</a>",
4304
+ "group": "parameters",
4305
+ "type": "String",
4306
+ "optional": true,
4307
+ "binding": {
4308
+ "type": "zeebe:input",
4309
+ "name": "completion_stop"
4310
+ },
4311
+ "condition": {
4312
+ "property": "operation",
4313
+ "equals": "completion"
4314
+ }
4315
+ },
4316
+ {
4317
+ "label": "Presence penalty",
4318
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4319
+ "group": "parameters",
4320
+ "type": "String",
4321
+ "value": "0",
4322
+ "optional": true,
4323
+ "binding": {
4324
+ "type": "zeebe:input",
4325
+ "name": "completion_presencePenalty"
4326
+ },
4327
+ "condition": {
4328
+ "property": "operation",
4329
+ "equals": "completion"
4330
+ }
4331
+ },
4332
+ {
4333
+ "label": "Frequency penalty",
4334
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4335
+ "group": "parameters",
4336
+ "type": "String",
4337
+ "value": "0",
4338
+ "optional": true,
4339
+ "binding": {
4340
+ "type": "zeebe:input",
4341
+ "name": "completion_frequencyPenalty"
4342
+ },
4343
+ "condition": {
4344
+ "property": "operation",
4345
+ "equals": "completion"
4346
+ }
4347
+ },
4348
+ {
4349
+ "label": "Best of",
4350
+ "tooltip": "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\">Azure OpenAI completions documentation</a>",
4351
+ "group": "parameters",
4352
+ "type": "String",
4353
+ "value": "1",
4354
+ "optional": true,
4355
+ "binding": {
4356
+ "type": "zeebe:input",
4357
+ "name": "completion_bestOf"
4358
+ },
4359
+ "condition": {
4360
+ "property": "operation",
4361
+ "equals": "completion"
4362
+ }
4363
+ },
4364
+ {
4365
+ "id": "completion_method",
4366
+ "type": "Hidden",
4367
+ "value": "post",
4368
+ "binding": {
4369
+ "type": "zeebe:input",
4370
+ "name": "method"
4371
+ },
4372
+ "condition": {
4373
+ "property": "operation",
4374
+ "equals": "completion"
4375
+ }
4376
+ },
4377
+ {
4378
+ "id": "completion_url",
4379
+ "type": "Hidden",
4380
+ "value": "=\"https://\" + completion_resourceName + \".openai.azure.com/openai/deployments/\" + completion_deploymentId + \"/completions?api-version=\" + completion_apiVersion",
4381
+ "binding": {
4382
+ "type": "zeebe:input",
4383
+ "name": "url"
4384
+ },
4385
+ "condition": {
4386
+ "property": "operation",
4387
+ "equals": "completion"
4388
+ }
4389
+ },
4390
+ {
4391
+ "id": "completion_body",
4392
+ "type": "Hidden",
4393
+ "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])",
4394
+ "binding": {
4395
+ "type": "zeebe:input",
4396
+ "name": "body"
4397
+ },
4398
+ "condition": {
4399
+ "property": "operation",
4400
+ "equals": "completion"
4401
+ }
4402
+ },
4403
+ {
4404
+ "label": "Resource name",
4405
+ "tooltip": "The name of your Azure OpenAI Resource. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">Azure OpenAI chat completions documentation</a>",
4406
+ "group": "operation",
4407
+ "type": "String",
4408
+ "feel": "optional",
4409
+ "binding": {
4410
+ "type": "zeebe:input",
4411
+ "name": "chatCompletion_resourceName"
4412
+ },
4413
+ "constraints": {
4414
+ "notEmpty": true
4415
+ },
4416
+ "condition": {
4417
+ "property": "operation",
4418
+ "equals": "chatCompletion"
4419
+ }
4420
+ },
4421
+ {
4422
+ "label": "Deployment ID",
4423
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4424
+ "group": "operation",
4425
+ "type": "String",
4426
+ "feel": "optional",
4427
+ "binding": {
4428
+ "type": "zeebe:input",
4429
+ "name": "chatCompletion_deploymentId"
4430
+ },
4431
+ "constraints": {
4432
+ "notEmpty": true
4433
+ },
4434
+ "condition": {
4435
+ "property": "operation",
4436
+ "equals": "chatCompletion"
4437
+ }
4438
+ },
4439
+ {
4440
+ "label": "API version",
4441
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4442
+ "group": "operation",
4443
+ "type": "String",
4444
+ "value": "2024-02-01",
4445
+ "feel": "optional",
4446
+ "binding": {
4447
+ "type": "zeebe:input",
4448
+ "name": "chatCompletion_apiVersion"
4449
+ },
4450
+ "constraints": {
4451
+ "notEmpty": true
4452
+ },
4453
+ "condition": {
4454
+ "property": "operation",
4455
+ "equals": "chatCompletion"
4456
+ }
4457
+ },
4458
+ {
4459
+ "label": "Message role",
4460
+ "tooltip": "Indicates who is giving the current message",
4461
+ "group": "parameters",
4462
+ "type": "Dropdown",
4463
+ "value": "user",
4464
+ "choices": [
4465
+ {
4466
+ "name": "User",
4467
+ "value": "user"
4468
+ },
4469
+ {
4470
+ "name": "System",
4471
+ "value": "system"
4472
+ },
4473
+ {
4474
+ "name": "Assistant",
4475
+ "value": "assistant"
4476
+ },
4477
+ {
4478
+ "name": "Tool",
4479
+ "value": "tool"
4480
+ },
4481
+ {
4482
+ "name": "Function",
4483
+ "value": "function"
4484
+ }
4485
+ ],
4486
+ "binding": {
4487
+ "type": "zeebe:input",
4488
+ "name": "chatCompletion_messageRole"
4489
+ },
4490
+ "condition": {
4491
+ "property": "operation",
4492
+ "equals": "chatCompletion"
4493
+ }
4494
+ },
4495
+ {
4496
+ "label": "Message content",
4497
+ "tooltip": "The content of the message. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">Azure OpenAI chat completions documentation</a>",
4498
+ "group": "parameters",
4499
+ "type": "Text",
4500
+ "feel": "optional",
4501
+ "optional": false,
4502
+ "constraints": {
4503
+ "notEmpty": true
4504
+ },
4505
+ "binding": {
4506
+ "type": "zeebe:input",
4507
+ "name": "chatCompletion_messageContent"
4508
+ },
4509
+ "condition": {
4510
+ "property": "operation",
4511
+ "equals": "chatCompletion"
4512
+ }
4513
+ },
4514
+ {
4515
+ "label": "Messages context",
4516
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4517
+ "group": "parameters",
4518
+ "type": "Text",
4519
+ "feel": "required",
4520
+ "optional": true,
4521
+ "binding": {
4522
+ "type": "zeebe:input",
4523
+ "name": "chatCompletion_messages"
4524
+ },
4525
+ "condition": {
4526
+ "property": "operation",
4527
+ "equals": "chatCompletion"
4528
+ }
4529
+ },
4530
+ {
4531
+ "label": "Content part",
4532
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4533
+ "group": "parameters",
4534
+ "type": "String",
4535
+ "feel": "required",
4536
+ "optional": true,
4537
+ "binding": {
4538
+ "type": "zeebe:input",
4539
+ "name": "chatCompletion_contentPart"
4540
+ },
4541
+ "condition": {
4542
+ "property": "operation",
4543
+ "equals": "chatCompletion"
4544
+ }
4545
+ },
4546
+ {
4547
+ "label": "Enhancements",
4548
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4549
+ "group": "parameters",
4550
+ "type": "String",
4551
+ "feel": "required",
4552
+ "optional": true,
4553
+ "binding": {
4554
+ "type": "zeebe:input",
4555
+ "name": "chatCompletion_enhancements"
4556
+ },
4557
+ "condition": {
4558
+ "property": "operation",
4559
+ "equals": "chatCompletion"
4560
+ }
4561
+ },
4562
+ {
4563
+ "label": "Temperature",
4564
+ "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\">Azure OpenAI chat completions documentation</a>",
4565
+ "value": "1",
4566
+ "group": "parameters",
4567
+ "type": "String",
4568
+ "feel": "optional",
4569
+ "optional": true,
4570
+ "binding": {
4571
+ "type": "zeebe:input",
4572
+ "name": "chatCompletion_temperature"
4573
+ },
4574
+ "condition": {
4575
+ "property": "operation",
4576
+ "equals": "chatCompletion"
4577
+ }
4578
+ },
4579
+ {
4580
+ "label": "Number of completions",
4581
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4582
+ "value": "1",
4583
+ "group": "parameters",
4584
+ "type": "String",
4585
+ "feel": "optional",
4586
+ "optional": true,
4587
+ "binding": {
4588
+ "type": "zeebe:input",
4589
+ "name": "chatCompletion_n"
4590
+ },
4591
+ "condition": {
4592
+ "property": "operation",
4593
+ "equals": "chatCompletion"
4594
+ }
4595
+ },
4596
+ {
4597
+ "label": "Stream",
4598
+ "tooltip": "Whether to stream back partial progress. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">Azure OpenAI chat completions documentation</a>",
4599
+ "value": "False",
4600
+ "group": "parameters",
4601
+ "type": "Dropdown",
4602
+ "choices": [
4603
+ {
4604
+ "name": "False",
4605
+ "value": "False"
4606
+ },
4607
+ {
4608
+ "name": "True",
4609
+ "value": "true"
4610
+ }
4611
+ ],
4612
+ "binding": {
4613
+ "type": "zeebe:input",
4614
+ "name": "chatCompletion_stream"
4615
+ },
4616
+ "condition": {
4617
+ "property": "operation",
4618
+ "equals": "chatCompletion"
4619
+ }
4620
+ },
4621
+ {
4622
+ "label": "Stop",
4623
+ "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\">Azure OpenAI chat completions documentation</a>",
4624
+ "group": "parameters",
4625
+ "type": "String",
4626
+ "feel": "required",
4627
+ "optional": true,
4628
+ "binding": {
4629
+ "type": "zeebe:input",
4630
+ "name": "chatCompletion_stop"
4631
+ },
4632
+ "condition": {
4633
+ "property": "operation",
4634
+ "equals": "chatCompletion"
4635
+ }
4636
+ },
4637
+ {
4638
+ "label": "Max tokens",
4639
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4640
+ "group": "parameters",
4641
+ "type": "String",
4642
+ "feel": "optional",
4643
+ "optional": true,
4644
+ "binding": {
4645
+ "type": "zeebe:input",
4646
+ "name": "chatCompletion_maxTokens"
4647
+ },
4648
+ "condition": {
4649
+ "property": "operation",
4650
+ "equals": "chatCompletion"
4651
+ }
4652
+ },
4653
+ {
4654
+ "label": "Presence penalty",
4655
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4656
+ "group": "parameters",
4657
+ "type": "String",
4658
+ "feel": "optional",
4659
+ "optional": true,
4660
+ "binding": {
4661
+ "type": "zeebe:input",
4662
+ "name": "chatCompletion_presencePenalty"
4663
+ },
4664
+ "condition": {
4665
+ "property": "operation",
4666
+ "equals": "chatCompletion"
4667
+ }
4668
+ },
4669
+ {
4670
+ "label": "Frequency penalty",
4671
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4672
+ "group": "parameters",
4673
+ "type": "String",
4674
+ "feel": "optional",
4675
+ "optional": true,
4676
+ "binding": {
4677
+ "type": "zeebe:input",
4678
+ "name": "chatCompletion_frequencyPenalty"
4679
+ },
4680
+ "condition": {
4681
+ "property": "operation",
4682
+ "equals": "chatCompletion"
4683
+ }
4684
+ },
4685
+ {
4686
+ "label": "Logit bias",
4687
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4688
+ "group": "parameters",
4689
+ "type": "String",
4690
+ "feel": "required",
4691
+ "optional": true,
4692
+ "binding": {
4693
+ "type": "zeebe:input",
4694
+ "name": "chatCompletion_logitBias"
4695
+ },
4696
+ "condition": {
4697
+ "property": "operation",
4698
+ "equals": "chatCompletion"
4699
+ }
4700
+ },
4701
+ {
4702
+ "label": "User",
4703
+ "tooltip": "A unique identifier representing your end-user. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">Azure OpenAI chat completions documentation</a>",
4704
+ "group": "parameters",
4705
+ "type": "String",
4706
+ "feel": "optional",
4707
+ "optional": true,
4708
+ "binding": {
4709
+ "type": "zeebe:input",
4710
+ "name": "chatCompletion_user"
4711
+ },
4712
+ "condition": {
4713
+ "property": "operation",
4714
+ "equals": "chatCompletion"
4715
+ }
4716
+ },
4717
+ {
4718
+ "label": "Tools",
4719
+ "tooltip": "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\">Azure OpenAI chat completions documentation</a>",
4720
+ "group": "parameters",
4721
+ "type": "String",
4722
+ "feel": "optional",
4723
+ "optional": true,
4724
+ "binding": {
4725
+ "type": "zeebe:input",
4726
+ "name": "chatCompletion_tools"
4727
+ },
4728
+ "condition": {
4729
+ "property": "operation",
4730
+ "equals": "chatCompletion"
4731
+ }
4732
+ },
4733
+ {
4734
+ "label": "Data sources",
4735
+ "tooltip": "Represents additional resource data. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions\" target=\"_blank\">Azure OpenAI chat completions documentation</a>",
4736
+ "group": "parameters",
4737
+ "type": "String",
4738
+ "feel": "required",
4739
+ "optional": true,
4740
+ "binding": {
4741
+ "type": "zeebe:input",
4742
+ "name": "chatCompletion_dataSources"
4743
+ },
4744
+ "condition": {
4745
+ "property": "operation",
4746
+ "equals": "chatCompletion"
4747
+ }
4748
+ },
4749
+ {
4750
+ "id": "chatCompletion_method",
4751
+ "type": "Hidden",
4752
+ "value": "post",
4753
+ "binding": {
4754
+ "type": "zeebe:input",
4755
+ "name": "method"
4756
+ },
4757
+ "condition": {
4758
+ "property": "operation",
4759
+ "equals": "chatCompletion"
4760
+ }
4761
+ },
4762
+ {
4763
+ "id": "chatCompletion_url",
4764
+ "type": "Hidden",
4765
+ "value": "=\"https://\" + chatCompletion_resourceName + \".openai.azure.com/openai/deployments/\" + chatCompletion_deploymentId + \"/chat/completions?api-version=\" + chatCompletion_apiVersion",
4766
+ "binding": {
4767
+ "type": "zeebe:input",
4768
+ "name": "url"
4769
+ },
4770
+ "condition": {
4771
+ "property": "operation",
4772
+ "equals": "chatCompletion"
4773
+ }
4774
+ },
4775
+ {
4776
+ "id": "chatCompletion_body",
4777
+ "type": "Hidden",
4778
+ "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])",
4779
+ "binding": {
4780
+ "type": "zeebe:input",
4781
+ "name": "body"
4782
+ },
4783
+ "condition": {
4784
+ "property": "operation",
4785
+ "equals": "chatCompletion"
4786
+ }
4787
+ },
4788
+ {
4789
+ "label": "Resource name",
4790
+ "tooltip": "The name of your Azure OpenAI Resource. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">Azure OpenAI completions extensions documentation</a>",
4791
+ "group": "operation",
4792
+ "type": "String",
4793
+ "feel": "optional",
4794
+ "binding": {
4795
+ "type": "zeebe:input",
4796
+ "name": "completionsExtension_resourceName"
4797
+ },
4798
+ "constraints": {
4799
+ "notEmpty": true
4800
+ },
4801
+ "condition": {
4802
+ "property": "operation",
4803
+ "equals": "completionsExtension"
4804
+ }
4805
+ },
4806
+ {
4807
+ "label": "Deployment ID",
4808
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4809
+ "group": "operation",
4810
+ "type": "String",
4811
+ "feel": "optional",
4812
+ "binding": {
4813
+ "type": "zeebe:input",
4814
+ "name": "completionsExtension_deploymentId"
4815
+ },
4816
+ "constraints": {
4817
+ "notEmpty": true
4818
+ },
4819
+ "condition": {
4820
+ "property": "operation",
4821
+ "equals": "completionsExtension"
4822
+ }
4823
+ },
4824
+ {
4825
+ "label": "API version",
4826
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4827
+ "group": "operation",
4828
+ "type": "String",
4829
+ "value": "2023-12-01-preview",
4830
+ "feel": "optional",
4831
+ "binding": {
4832
+ "type": "zeebe:input",
4833
+ "name": "completionsExtension_apiVersion"
4834
+ },
4835
+ "constraints": {
4836
+ "notEmpty": true
4837
+ },
4838
+ "condition": {
4839
+ "property": "operation",
4840
+ "equals": "completionsExtension"
4841
+ }
4842
+ },
4843
+ {
4844
+ "label": "Messages",
4845
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4846
+ "group": "parameters",
4847
+ "type": "String",
4848
+ "feel": "required",
4849
+ "optional": false,
4850
+ "constraints": {
4851
+ "notEmpty": true
4852
+ },
4853
+ "binding": {
4854
+ "type": "zeebe:input",
4855
+ "name": "completionsExtension_messages"
4856
+ },
4857
+ "condition": {
4858
+ "property": "operation",
4859
+ "equals": "completionsExtension"
4860
+ }
4861
+ },
4862
+ {
4863
+ "label": "Content part",
4864
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4865
+ "group": "parameters",
4866
+ "type": "String",
4867
+ "feel": "required",
4868
+ "optional": true,
4869
+ "binding": {
4870
+ "type": "zeebe:input",
4871
+ "name": "completionsExtension_contentPart"
4872
+ },
4873
+ "condition": {
4874
+ "property": "operation",
4875
+ "equals": "completionsExtension"
4876
+ }
4877
+ },
4878
+ {
4879
+ "label": "Enhancements",
4880
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4881
+ "group": "parameters",
4882
+ "type": "String",
4883
+ "feel": "required",
4884
+ "optional": true,
4885
+ "binding": {
4886
+ "type": "zeebe:input",
4887
+ "name": "completionsExtension_enhancements"
4888
+ },
4889
+ "condition": {
4890
+ "property": "operation",
4891
+ "equals": "completionsExtension"
4892
+ }
4893
+ },
4894
+ {
4895
+ "label": "Temperature",
4896
+ "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\">Azure OpenAI completions extensions documentation</a>",
4897
+ "value": "1",
4898
+ "group": "parameters",
4899
+ "type": "String",
4900
+ "feel": "optional",
4901
+ "optional": true,
4902
+ "binding": {
4903
+ "type": "zeebe:input",
4904
+ "name": "completionsExtension_temperature"
4905
+ },
4906
+ "condition": {
4907
+ "property": "operation",
4908
+ "equals": "completionsExtension"
4909
+ }
4910
+ },
4911
+ {
4912
+ "label": "Number of completions",
4913
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4914
+ "value": "1",
4915
+ "group": "parameters",
4916
+ "type": "String",
4917
+ "feel": "optional",
4918
+ "optional": true,
4919
+ "binding": {
4920
+ "type": "zeebe:input",
4921
+ "name": "completionsExtension_n"
4922
+ },
4923
+ "condition": {
4924
+ "property": "operation",
4925
+ "equals": "completionsExtension"
4926
+ }
4927
+ },
4928
+ {
4929
+ "label": "Stream",
4930
+ "tooltip": "Whether to stream back partial progress. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">Azure OpenAI completions extensions documentation</a>",
4931
+ "value": "False",
4932
+ "group": "parameters",
4933
+ "type": "Dropdown",
4934
+ "choices": [
4935
+ {
4936
+ "name": "False",
4937
+ "value": "False"
4938
+ },
4939
+ {
4940
+ "name": "True",
4941
+ "value": "true"
4942
+ }
4943
+ ],
4944
+ "binding": {
4945
+ "type": "zeebe:input",
4946
+ "name": "completionsExtension_stream"
4947
+ },
4948
+ "condition": {
4949
+ "property": "operation",
4950
+ "equals": "completionsExtension"
4951
+ }
4952
+ },
4953
+ {
4954
+ "label": "Stop",
4955
+ "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\">Azure OpenAI completions extensions documentation</a>",
4956
+ "group": "parameters",
4957
+ "type": "String",
4958
+ "feel": "required",
4959
+ "optional": true,
4960
+ "binding": {
4961
+ "type": "zeebe:input",
4962
+ "name": "completionsExtension_stop"
4963
+ },
4964
+ "condition": {
4965
+ "property": "operation",
4966
+ "equals": "completionsExtension"
4967
+ }
4968
+ },
4969
+ {
4970
+ "label": "Max tokens",
4971
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4972
+ "group": "parameters",
4973
+ "type": "String",
4974
+ "feel": "optional",
4975
+ "optional": true,
4976
+ "binding": {
4977
+ "type": "zeebe:input",
4978
+ "name": "completionsExtension_maxTokens"
4979
+ },
4980
+ "condition": {
4981
+ "property": "operation",
4982
+ "equals": "completionsExtension"
4983
+ }
4984
+ },
4985
+ {
4986
+ "label": "Presence penalty",
4987
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
4988
+ "group": "parameters",
4989
+ "type": "String",
4990
+ "feel": "optional",
4991
+ "optional": true,
4992
+ "binding": {
4993
+ "type": "zeebe:input",
4994
+ "name": "completionsExtension_presencePenalty"
4995
+ },
4996
+ "condition": {
4997
+ "property": "operation",
4998
+ "equals": "completionsExtension"
4999
+ }
5000
+ },
5001
+ {
5002
+ "label": "Frequency penalty",
5003
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
5004
+ "group": "parameters",
5005
+ "type": "String",
5006
+ "feel": "optional",
5007
+ "optional": true,
5008
+ "binding": {
5009
+ "type": "zeebe:input",
5010
+ "name": "completionsExtension_frequencyPenalty"
5011
+ },
5012
+ "condition": {
5013
+ "property": "operation",
5014
+ "equals": "completionsExtension"
5015
+ }
5016
+ },
5017
+ {
5018
+ "label": "Logit bias",
5019
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
5020
+ "group": "parameters",
5021
+ "type": "String",
5022
+ "feel": "required",
5023
+ "optional": true,
5024
+ "binding": {
5025
+ "type": "zeebe:input",
5026
+ "name": "completionsExtension_logitBias"
5027
+ },
5028
+ "condition": {
5029
+ "property": "operation",
5030
+ "equals": "completionsExtension"
5031
+ }
5032
+ },
5033
+ {
5034
+ "label": "User",
5035
+ "tooltip": "A unique identifier representing your end-user. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">Azure OpenAI completions extensions documentation</a>",
5036
+ "group": "parameters",
5037
+ "type": "String",
5038
+ "feel": "optional",
5039
+ "optional": true,
5040
+ "binding": {
5041
+ "type": "zeebe:input",
5042
+ "name": "completionsExtension_user"
5043
+ },
5044
+ "condition": {
5045
+ "property": "operation",
5046
+ "equals": "completionsExtension"
5047
+ }
5048
+ },
5049
+ {
5050
+ "label": "Tools",
5051
+ "tooltip": "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\">Azure OpenAI completions extensions documentation</a>",
5052
+ "group": "parameters",
5053
+ "type": "String",
5054
+ "feel": "optional",
5055
+ "optional": true,
5056
+ "binding": {
5057
+ "type": "zeebe:input",
5058
+ "name": "completionsExtension_tools"
5059
+ },
5060
+ "condition": {
5061
+ "property": "operation",
5062
+ "equals": "completionsExtension"
5063
+ }
5064
+ },
5065
+ {
5066
+ "label": "Data sources",
5067
+ "tooltip": "Represents additional resource data. <a href=\"https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#completions-extensions\" target=\"_blank\">Azure OpenAI completions extensions documentation</a>",
5068
+ "group": "parameters",
5069
+ "type": "String",
5070
+ "feel": "required",
5071
+ "optional": true,
5072
+ "binding": {
5073
+ "type": "zeebe:input",
5074
+ "name": "completionsExtension_dataSources"
5075
+ },
5076
+ "condition": {
5077
+ "property": "operation",
5078
+ "equals": "completionsExtension"
5079
+ }
5080
+ },
5081
+ {
5082
+ "id": "completionsExtension_method",
5083
+ "type": "Hidden",
5084
+ "value": "post",
5085
+ "binding": {
5086
+ "type": "zeebe:input",
5087
+ "name": "method"
5088
+ },
5089
+ "condition": {
5090
+ "property": "operation",
5091
+ "equals": "completionsExtension"
5092
+ }
5093
+ },
5094
+ {
5095
+ "id": "completionsExtension_url",
5096
+ "type": "Hidden",
5097
+ "value": "=\"https://\" + completionsExtension_resourceName + \".openai.azure.com/openai/deployments/\" + completionsExtension_deploymentId + \"/extensions/chat/completions?api-version=\" + completionsExtension_apiVersion",
5098
+ "binding": {
5099
+ "type": "zeebe:input",
5100
+ "name": "url"
5101
+ },
5102
+ "condition": {
5103
+ "property": "operation",
5104
+ "equals": "completionsExtension"
5105
+ }
5106
+ },
5107
+ {
5108
+ "id": "completionsExtension_body",
5109
+ "type": "Hidden",
5110
+ "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])",
5111
+ "binding": {
5112
+ "type": "zeebe:input",
5113
+ "name": "body"
5114
+ },
5115
+ "condition": {
5116
+ "property": "operation",
5117
+ "equals": "completionsExtension"
5118
+ }
5119
+ },
5120
+ {
5121
+ "id": "resultVariable",
5122
+ "label": "Result variable",
5123
+ "tooltip": "Name of variable to store the response in",
5124
+ "group": "output",
5125
+ "binding": {
5126
+ "key": "resultVariable",
5127
+ "type": "zeebe:taskHeader"
5128
+ },
5129
+ "type": "String"
5130
+ },
5131
+ {
5132
+ "id": "resultExpression",
5133
+ "label": "Result expression",
5134
+ "tooltip": "Expression to map the response into process variables",
5135
+ "feel": "required",
5136
+ "group": "output",
5137
+ "binding": {
5138
+ "key": "resultExpression",
5139
+ "type": "zeebe:taskHeader"
5140
+ },
5141
+ "type": "Text"
5142
+ },
5143
+ {
5144
+ "id": "errorExpression",
5145
+ "label": "Error expression",
5146
+ "tooltip": "Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">connector error handling documentation</a>.",
5147
+ "feel": "required",
5148
+ "group": "error",
5149
+ "binding": {
5150
+ "key": "errorExpression",
5151
+ "type": "zeebe:taskHeader"
5152
+ },
5153
+ "type": "Text"
5154
+ },
5155
+ {
5156
+ "id": "retryCount",
5157
+ "label": "Retries",
5158
+ "value": "3",
5159
+ "feel": "optional",
5160
+ "group": "retries",
5161
+ "binding": {
5162
+ "property": "retries",
5163
+ "type": "zeebe:taskDefinition"
5164
+ },
5165
+ "type": "String"
5166
+ },
5167
+ {
5168
+ "id": "retryBackoff",
5169
+ "label": "Retry backoff",
5170
+ "description": "ISO-8601 duration to wait between retries",
5171
+ "value": "PT30S",
5172
+ "feel": "optional",
5173
+ "group": "retries",
5174
+ "binding": {
5175
+ "key": "retryBackoff",
5176
+ "type": "zeebe:taskHeader"
5177
+ },
5178
+ "type": "String"
5179
+ },
5180
+ {
5181
+ "id": "version",
5182
+ "label": "Version",
5183
+ "description": "Version of the element template",
5184
+ "value": "4",
5185
+ "group": "connector",
5186
+ "binding": {
5187
+ "key": "elementTemplateVersion",
5188
+ "type": "zeebe:taskHeader"
5189
+ },
5190
+ "type": "Hidden"
5191
+ },
5192
+ {
5193
+ "id": "id",
5194
+ "label": "ID",
5195
+ "description": "ID of the element template",
5196
+ "value": "io.camunda.connectors.AzureOpenAI.outbound.v1",
5197
+ "group": "connector",
5198
+ "binding": {
5199
+ "key": "elementTemplateId",
5200
+ "type": "zeebe:taskHeader"
5201
+ },
5202
+ "type": "Hidden"
5203
+ }
5204
+ ],
5205
+ "steps": [
5206
+ {
5207
+ "name": "Completion",
5208
+ "description": "Generate a text completion for a given prompt using an Azure OpenAI model.",
5209
+ "keywords": ["completion", "text generation", "prompt", "GPT"],
5210
+ "presetId": "operation_completion"
5211
+ },
5212
+ {
5213
+ "name": "Chat completion",
5214
+ "description": "Generate a chat completion from a sequence of messages using an Azure OpenAI chat model.",
5215
+ "keywords": [
5216
+ "chat completion",
5217
+ "conversation",
5218
+ "messages",
5219
+ "assistant"
5220
+ ],
5221
+ "presetId": "operation_chatCompletion"
5222
+ },
5223
+ {
5224
+ "name": "Completions extension",
5225
+ "description": "Generate a chat completion augmented with your own data sources using the Azure OpenAI completions extension.",
5226
+ "keywords": [
5227
+ "completions extension",
5228
+ "own data",
5229
+ "retrieval",
5230
+ "data source",
5231
+ "grounding"
5232
+ ],
5233
+ "presetId": "operation_completionsExtension"
5234
+ }
5235
+ ],
5236
+ "presets": [
5237
+ {
5238
+ "id": "operation_completion",
5239
+ "properties": {
5240
+ "operation": "completion"
5241
+ }
5242
+ },
5243
+ {
5244
+ "id": "operation_chatCompletion",
5245
+ "properties": {
5246
+ "operation": "chatCompletion"
5247
+ }
5248
+ },
5249
+ {
5250
+ "id": "operation_completionsExtension",
5251
+ "properties": {
5252
+ "operation": "completionsExtension"
5253
+ }
5254
+ }
5255
+ ],
5256
+ "icon": {
5257
+ "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"
5258
+ }
3896
5259
  }
3897
5260
  ]