@camunda/e2e-test-suite 0.0.452 → 0.0.454
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/c8_versions.json +17 -0
- package/dist/tests/SM-8.8/migration-path-user-flows.spec.js +3 -3
- package/package.json +8 -3
- package/playwright.config.ts +382 -0
- package/resources/Basic_Auth_REST_Connector.bpmn +62 -0
- package/resources/Camunda_Simple_User_Task_1.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_2.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_3.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_4.bpmn +41 -0
- package/resources/Camunda_Simple_User_Task_5.bpmn +41 -0
- package/resources/Candidate_User_Process_Three_Tasks.bpmn +116 -0
- package/resources/Candidate_User_Process_Two_Tasks.bpmn +91 -0
- package/resources/Conditional_Events_All.bpmn +111 -0
- package/resources/Connectors Document Handling.bpmn +298 -0
- package/resources/ConnectorsBasicTest.bpmn +2292 -0
- package/resources/Intermediate_Event_Webhook_Connector_No_Auth_Process.bpmn +60 -0
- package/resources/Job_Worker_Process.bpmn +38 -0
- package/resources/New Form.form +24 -0
- package/resources/REST_Connector_Bearer_Auth_Process.bpmn +53 -0
- package/resources/REST_Connector_No_Auth_Process.bpmn +52 -0
- package/resources/Rest Connector Timer Event.bpmn +227 -0
- package/resources/SM_Document_Handling_Connectors_User_Flow.bpmn +297 -0
- package/resources/Start_Event_Webhook_Connector_No_Auth_Process.bpmn +43 -0
- package/resources/Start_Form_Process.bpmn +29 -0
- package/resources/User_Task_Editing_Variables.bpmn +41 -0
- package/resources/User_Task_Process_With_Form.bpmn +41 -0
- package/resources/User_Task_Process_With_Form_2.bpmn +41 -0
- package/resources/User_Task_Process_With_Form_3.bpmn +42 -0
- package/resources/User_Task_Process_With_Form_API.bpmn +41 -0
- package/resources/Variable_Process.bpmn +38 -0
- package/resources/Zeebe_User_Task.bpmn +41 -0
- package/resources/Zeebe_User_Task_Process_With_Priority.bpmn +145 -0
- package/resources/agentic_ai/ai-agent-chat-user-feedback.form +87 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_aws.bpmn +443 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_azure.bpmn +441 -0
- package/resources/agentic_ai/ai-agent-chat-with-tools_open_ai.bpmn +438 -0
- package/resources/agentic_ai/ai-agent-subprocess-with-tools_aws_key.bpmn +115 -0
- package/resources/camunda.png +0 -0
- package/resources/cluster_variables/cluster_variable_global_scope.bpmn +59 -0
- package/resources/cluster_variables/cluster_variable_json_form.form +49 -0
- package/resources/cluster_variables/cluster_variable_json_mutable.bpmn +33 -0
- package/resources/cluster_variables/cluster_variable_json_readonly.bpmn +59 -0
- package/resources/cluster_variables/cluster_variable_string_form.form +31 -0
- package/resources/cluster_variables/cluster_variable_string_mutable.bpmn +31 -0
- package/resources/cluster_variables/cluster_variable_string_readonly.bpmn +57 -0
- package/resources/cluster_variables/preview_cluster_variables.form +49 -0
- package/resources/connectors/aws/bedrock-knowledge-base.bpmn +72 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_azure_open_ai.bpmn +183 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_open_ai.bpmn +178 -0
- package/resources/connectors/db_vector_connector/db-vector-plain-text_openai_amazon_opensearch.bpmn +189 -0
- package/resources/connectors/db_vector_connector/db-vector-retrieve-data.form +34 -0
- package/resources/idp/idp_sample_bank_statement.pdf +0 -0
- package/resources/idp/structured_invoice_1.pdf +74 -0
- package/resources/idp/structured_invoice_2.pdf +74 -0
- package/resources/idp/structured_invoice_3.pdf +74 -0
- package/resources/idp/structured_invoice_test.pdf +74 -0
- package/resources/mcp_server/keycloak/camunda-platform-realm.json +45 -0
- package/resources/mcp_server/mcp_remote_client_basic_auth.bpmn +69 -0
- package/resources/mcp_server/mcp_remote_client_bearer_auth.bpmn +68 -0
- package/resources/mcp_server/mcp_remote_client_oauth_auth.bpmn +76 -0
- package/resources/mcp_server/mcp_remote_client_operations.bpmn +373 -0
- package/resources/mcp_server/mcp_server_list_tools.bpmn +69 -0
- package/resources/mcp_server_saas/mcp_cluster_tools.bpmn +168 -0
- package/resources/mcp_server_saas/mcp_incident_test_file.bpmn +54 -0
- package/resources/mcp_server_saas/mcp_incident_tools.bpmn +240 -0
- package/resources/mcp_server_saas/mcp_process_definition_test_file.bpmn +51 -0
- package/resources/mcp_server_saas/mcp_process_definition_tools.bpmn +234 -0
- package/resources/mcp_server_saas/mcp_process_instance_test_file.bpmn +51 -0
- package/resources/mcp_server_saas/mcp_process_instance_tools.bpmn +232 -0
- package/resources/mcp_server_saas/mcp_user_task_test_file.bpmn +55 -0
- package/resources/mcp_server_saas/mcp_user_task_tools.bpmn +309 -0
- package/resources/mcp_server_saas/mcp_variable_test_file.bpmn +35 -0
- package/resources/mcp_server_saas/mcp_variable_tools.bpmn +170 -0
- package/resources/simple_pdf.pdf +0 -0
- package/resources/simple_text.txt +1 -0
- package/resources/test-api-v2-complete.sh +12162 -0
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"executionPlatform": "Camunda Cloud",
|
|
3
|
+
"executionPlatformVersion": "8.9.0",
|
|
4
|
+
"exporter": {
|
|
5
|
+
"name": "Camunda Web Modeler",
|
|
6
|
+
"version": "52c6ff6"
|
|
7
|
+
},
|
|
8
|
+
"schemaVersion": 19,
|
|
9
|
+
"id": "Form_ClusterVarJSON",
|
|
10
|
+
"components": [
|
|
11
|
+
{
|
|
12
|
+
"text": "## Preview cluster variables values",
|
|
13
|
+
"type": "text",
|
|
14
|
+
"layout": {
|
|
15
|
+
"row": "Row_1ot3zaj",
|
|
16
|
+
"columns": null
|
|
17
|
+
},
|
|
18
|
+
"id": "Field_0i7934f"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"text": "=\"URL: \" + URL",
|
|
22
|
+
"type": "text",
|
|
23
|
+
"layout": {
|
|
24
|
+
"row": "Row_070cif4",
|
|
25
|
+
"columns": 8
|
|
26
|
+
},
|
|
27
|
+
"id": "Field_0wpjw07"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"text": "=\"TIMEOUT_MS: \" + string(TIMEOUT_MS)",
|
|
31
|
+
"type": "text",
|
|
32
|
+
"layout": {
|
|
33
|
+
"row": "Row_02sn9nh",
|
|
34
|
+
"columns": null
|
|
35
|
+
},
|
|
36
|
+
"id": "Field_1swmbet"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"text": "=\"ARRAY: \" + string join(ARRAY, \",\")",
|
|
40
|
+
"type": "text",
|
|
41
|
+
"layout": {
|
|
42
|
+
"row": "Row_09wnpda",
|
|
43
|
+
"columns": null
|
|
44
|
+
},
|
|
45
|
+
"id": "Field_0sc3tvx"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"type": "default"
|
|
49
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler" exporterVersion="52c6ff6" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.9.0">
|
|
3
|
+
<bpmn:process id="cluster_variable_updatable_json" name="Cluster Variable Updatable JSON" isExecutable="true">
|
|
4
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
5
|
+
<bpmn:extensionElements>
|
|
6
|
+
<zeebe:ioMapping>
|
|
7
|
+
<zeebe:output source="=camunda.vars.env.UPDATABLE_API_INFO.endpoint" target="URL" />
|
|
8
|
+
<zeebe:output source="=camunda.vars.env.UPDATABLE_API_INFO.timeout_ms" target="TIMEOUT_MS" />
|
|
9
|
+
<zeebe:output source="=camunda.vars.env.UPDATABLE_API_INFO.array" target="ARRAY" />
|
|
10
|
+
</zeebe:ioMapping>
|
|
11
|
+
</bpmn:extensionElements>
|
|
12
|
+
<bpmn:outgoing>Flow_1k9dndp</bpmn:outgoing>
|
|
13
|
+
</bpmn:startEvent>
|
|
14
|
+
<bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Event_1mc2ikr" />
|
|
15
|
+
<bpmn:endEvent id="Event_1mc2ikr">
|
|
16
|
+
<bpmn:incoming>Flow_1k9dndp</bpmn:incoming>
|
|
17
|
+
</bpmn:endEvent>
|
|
18
|
+
</bpmn:process>
|
|
19
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
20
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="cluster_variable_updatable_json">
|
|
21
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
22
|
+
<dc:Bounds x="179" y="159" width="36" height="36" />
|
|
23
|
+
</bpmndi:BPMNShape>
|
|
24
|
+
<bpmndi:BPMNShape id="Event_1mc2ikr_di" bpmnElement="Event_1mc2ikr">
|
|
25
|
+
<dc:Bounds x="312" y="159" width="36" height="36" />
|
|
26
|
+
</bpmndi:BPMNShape>
|
|
27
|
+
<bpmndi:BPMNEdge id="Flow_1k9dndp_di" bpmnElement="Flow_1k9dndp">
|
|
28
|
+
<di:waypoint x="215" y="177" />
|
|
29
|
+
<di:waypoint x="312" y="177" />
|
|
30
|
+
</bpmndi:BPMNEdge>
|
|
31
|
+
</bpmndi:BPMNPlane>
|
|
32
|
+
</bpmndi:BPMNDiagram>
|
|
33
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0"
|
|
7
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="52c6ff6" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="cluster_variable_original_json" name="Cluster Variable Original JSON"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:extensionElements>
|
|
15
|
+
<zeebe:ioMapping>
|
|
16
|
+
<zeebe:output source="=camunda.vars.env.ORIGINAL_API_INFO.endpoint" target="URL" />
|
|
17
|
+
<zeebe:output source="=camunda.vars.env.ORIGINAL_API_INFO.timeout_ms" target="TIMEOUT_MS" />
|
|
18
|
+
<zeebe:output source="=camunda.vars.env.ORIGINAL_API_INFO.array" target="ARRAY" />
|
|
19
|
+
</zeebe:ioMapping>
|
|
20
|
+
</bpmn:extensionElements>
|
|
21
|
+
<bpmn:outgoing>Flow_1k9dndp</bpmn:outgoing>
|
|
22
|
+
</bpmn:startEvent>
|
|
23
|
+
<bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Activity_1whhatc" />
|
|
24
|
+
<bpmn:endEvent id="Event_1mc2ikr">
|
|
25
|
+
<bpmn:incoming>Flow_0wixfng</bpmn:incoming>
|
|
26
|
+
</bpmn:endEvent>
|
|
27
|
+
<bpmn:sequenceFlow id="Flow_0wixfng" sourceRef="Activity_1whhatc" targetRef="Event_1mc2ikr" />
|
|
28
|
+
<bpmn:userTask id="Activity_1whhatc" name="Preview JSON cluster variables">
|
|
29
|
+
<bpmn:extensionElements>
|
|
30
|
+
<zeebe:userTask />
|
|
31
|
+
<zeebe:formDefinition formId="Form_ClusterVarJSON" />
|
|
32
|
+
</bpmn:extensionElements>
|
|
33
|
+
<bpmn:incoming>Flow_1k9dndp</bpmn:incoming>
|
|
34
|
+
<bpmn:outgoing>Flow_0wixfng</bpmn:outgoing>
|
|
35
|
+
</bpmn:userTask>
|
|
36
|
+
</bpmn:process>
|
|
37
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
38
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="cluster_variable_original_json">
|
|
39
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
40
|
+
<dc:Bounds x="342" y="272" width="36" height="36" />
|
|
41
|
+
</bpmndi:BPMNShape>
|
|
42
|
+
<bpmndi:BPMNShape id="Event_1mc2ikr_di" bpmnElement="Event_1mc2ikr">
|
|
43
|
+
<dc:Bounds x="582" y="272" width="36" height="36" />
|
|
44
|
+
</bpmndi:BPMNShape>
|
|
45
|
+
<bpmndi:BPMNShape id="Activity_0lwojkk_di" bpmnElement="Activity_1whhatc">
|
|
46
|
+
<dc:Bounds x="430" y="250" width="100" height="80" />
|
|
47
|
+
<bpmndi:BPMNLabel />
|
|
48
|
+
</bpmndi:BPMNShape>
|
|
49
|
+
<bpmndi:BPMNEdge id="Flow_1k9dndp_di" bpmnElement="Flow_1k9dndp">
|
|
50
|
+
<di:waypoint x="378" y="290" />
|
|
51
|
+
<di:waypoint x="430" y="290" />
|
|
52
|
+
</bpmndi:BPMNEdge>
|
|
53
|
+
<bpmndi:BPMNEdge id="Flow_0wixfng_di" bpmnElement="Flow_0wixfng">
|
|
54
|
+
<di:waypoint x="530" y="290" />
|
|
55
|
+
<di:waypoint x="582" y="290" />
|
|
56
|
+
</bpmndi:BPMNEdge>
|
|
57
|
+
</bpmndi:BPMNPlane>
|
|
58
|
+
</bpmndi:BPMNDiagram>
|
|
59
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"executionPlatform": "Camunda Cloud",
|
|
3
|
+
"executionPlatformVersion": "8.9.0",
|
|
4
|
+
"exporter": {
|
|
5
|
+
"name": "Camunda Web Modeler",
|
|
6
|
+
"version": "52c6ff6"
|
|
7
|
+
},
|
|
8
|
+
"schemaVersion": 19,
|
|
9
|
+
"id": "Form_ClusterVarString",
|
|
10
|
+
"components": [
|
|
11
|
+
{
|
|
12
|
+
"text": "## Preview String cluster variable value",
|
|
13
|
+
"type": "text",
|
|
14
|
+
"layout": {
|
|
15
|
+
"row": "Row_1ot3zaj",
|
|
16
|
+
"columns": null
|
|
17
|
+
},
|
|
18
|
+
"id": "Field_0i7934f"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"text": "=\"App Version: \" + APP_VERSION_VALUE",
|
|
22
|
+
"type": "text",
|
|
23
|
+
"layout": {
|
|
24
|
+
"row": "Row_070cif4",
|
|
25
|
+
"columns": null
|
|
26
|
+
},
|
|
27
|
+
"id": "Field_0wpjw07"
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"type": "default"
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler" exporterVersion="52c6ff6" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.9.0">
|
|
3
|
+
<bpmn:process id="cluster_variable_updatable_string" name="Cluster Variable Updatable String" isExecutable="true">
|
|
4
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
5
|
+
<bpmn:extensionElements>
|
|
6
|
+
<zeebe:ioMapping>
|
|
7
|
+
<zeebe:output source="=camunda.vars.env.UPDATABLE_APP_VERSION" target="APP_VERSION_VALUE" />
|
|
8
|
+
</zeebe:ioMapping>
|
|
9
|
+
</bpmn:extensionElements>
|
|
10
|
+
<bpmn:outgoing>Flow_1k9dndp</bpmn:outgoing>
|
|
11
|
+
</bpmn:startEvent>
|
|
12
|
+
<bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Event_1mc2ikr" />
|
|
13
|
+
<bpmn:endEvent id="Event_1mc2ikr">
|
|
14
|
+
<bpmn:incoming>Flow_1k9dndp</bpmn:incoming>
|
|
15
|
+
</bpmn:endEvent>
|
|
16
|
+
</bpmn:process>
|
|
17
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
18
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="cluster_variable_updatable_string">
|
|
19
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
20
|
+
<dc:Bounds x="179" y="159" width="36" height="36" />
|
|
21
|
+
</bpmndi:BPMNShape>
|
|
22
|
+
<bpmndi:BPMNShape id="Event_1mc2ikr_di" bpmnElement="Event_1mc2ikr">
|
|
23
|
+
<dc:Bounds x="312" y="159" width="36" height="36" />
|
|
24
|
+
</bpmndi:BPMNShape>
|
|
25
|
+
<bpmndi:BPMNEdge id="Flow_1k9dndp_di" bpmnElement="Flow_1k9dndp">
|
|
26
|
+
<di:waypoint x="215" y="177" />
|
|
27
|
+
<di:waypoint x="312" y="177" />
|
|
28
|
+
</bpmndi:BPMNEdge>
|
|
29
|
+
</bpmndi:BPMNPlane>
|
|
30
|
+
</bpmndi:BPMNDiagram>
|
|
31
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0"
|
|
7
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1"
|
|
8
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
9
|
+
exporterVersion="52c6ff6" modeler:executionPlatform="Camunda Cloud"
|
|
10
|
+
modeler:executionPlatformVersion="8.9.0">
|
|
11
|
+
<bpmn:process id="cluster_variable_original_string" name="Cluster Variable Original String"
|
|
12
|
+
isExecutable="true">
|
|
13
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
14
|
+
<bpmn:extensionElements>
|
|
15
|
+
<zeebe:ioMapping>
|
|
16
|
+
<zeebe:output source="=camunda.vars.env.ORIGINAL_APP_VERSION" target="APP_VERSION_VALUE" />
|
|
17
|
+
</zeebe:ioMapping>
|
|
18
|
+
</bpmn:extensionElements>
|
|
19
|
+
<bpmn:outgoing>Flow_1k9dndp</bpmn:outgoing>
|
|
20
|
+
</bpmn:startEvent>
|
|
21
|
+
<bpmn:sequenceFlow id="Flow_1k9dndp" sourceRef="StartEvent_1" targetRef="Activity_1whhatc" />
|
|
22
|
+
<bpmn:endEvent id="Event_1mc2ikr">
|
|
23
|
+
<bpmn:incoming>Flow_0wixfng</bpmn:incoming>
|
|
24
|
+
</bpmn:endEvent>
|
|
25
|
+
<bpmn:sequenceFlow id="Flow_0wixfng" sourceRef="Activity_1whhatc" targetRef="Event_1mc2ikr" />
|
|
26
|
+
<bpmn:userTask id="Activity_1whhatc" name="Preview String cluster variable">
|
|
27
|
+
<bpmn:extensionElements>
|
|
28
|
+
<zeebe:userTask />
|
|
29
|
+
<zeebe:formDefinition formId="Form_ClusterVarString" />
|
|
30
|
+
</bpmn:extensionElements>
|
|
31
|
+
<bpmn:incoming>Flow_1k9dndp</bpmn:incoming>
|
|
32
|
+
<bpmn:outgoing>Flow_0wixfng</bpmn:outgoing>
|
|
33
|
+
</bpmn:userTask>
|
|
34
|
+
</bpmn:process>
|
|
35
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
36
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="cluster_variable_original_string">
|
|
37
|
+
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
|
|
38
|
+
<dc:Bounds x="342" y="272" width="36" height="36" />
|
|
39
|
+
</bpmndi:BPMNShape>
|
|
40
|
+
<bpmndi:BPMNShape id="Event_1mc2ikr_di" bpmnElement="Event_1mc2ikr">
|
|
41
|
+
<dc:Bounds x="582" y="272" width="36" height="36" />
|
|
42
|
+
</bpmndi:BPMNShape>
|
|
43
|
+
<bpmndi:BPMNShape id="Activity_0lwojkk_di" bpmnElement="Activity_1whhatc">
|
|
44
|
+
<dc:Bounds x="430" y="250" width="100" height="80" />
|
|
45
|
+
<bpmndi:BPMNLabel />
|
|
46
|
+
</bpmndi:BPMNShape>
|
|
47
|
+
<bpmndi:BPMNEdge id="Flow_1k9dndp_di" bpmnElement="Flow_1k9dndp">
|
|
48
|
+
<di:waypoint x="378" y="290" />
|
|
49
|
+
<di:waypoint x="430" y="290" />
|
|
50
|
+
</bpmndi:BPMNEdge>
|
|
51
|
+
<bpmndi:BPMNEdge id="Flow_0wixfng_di" bpmnElement="Flow_0wixfng">
|
|
52
|
+
<di:waypoint x="530" y="290" />
|
|
53
|
+
<di:waypoint x="582" y="290" />
|
|
54
|
+
</bpmndi:BPMNEdge>
|
|
55
|
+
</bpmndi:BPMNPlane>
|
|
56
|
+
</bpmndi:BPMNDiagram>
|
|
57
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"executionPlatform": "Camunda Cloud",
|
|
3
|
+
"executionPlatformVersion": "8.8.0",
|
|
4
|
+
"exporter": {
|
|
5
|
+
"name": "Camunda Web Modeler",
|
|
6
|
+
"version": "52c6ff6"
|
|
7
|
+
},
|
|
8
|
+
"schemaVersion": 19,
|
|
9
|
+
"id": "Form_0oh0w16",
|
|
10
|
+
"components": [
|
|
11
|
+
{
|
|
12
|
+
"text": "## Preview cluster variables values",
|
|
13
|
+
"type": "text",
|
|
14
|
+
"layout": {
|
|
15
|
+
"row": "Row_1ot3zaj",
|
|
16
|
+
"columns": null
|
|
17
|
+
},
|
|
18
|
+
"id": "Field_0i7934f"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"text": "=\"URL: \" + URL",
|
|
22
|
+
"type": "text",
|
|
23
|
+
"layout": {
|
|
24
|
+
"row": "Row_070cif4",
|
|
25
|
+
"columns": 8
|
|
26
|
+
},
|
|
27
|
+
"id": "Field_0wpjw07"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"text": "=\"TIMEOUT_MS: \" + string(TIMEOUT_MS)",
|
|
31
|
+
"type": "text",
|
|
32
|
+
"layout": {
|
|
33
|
+
"row": "Row_02sn9nh",
|
|
34
|
+
"columns": null
|
|
35
|
+
},
|
|
36
|
+
"id": "Field_1swmbet"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"text": "=\"ARRAY: \" + string join(ARRAY, \",\")",
|
|
40
|
+
"type": "text",
|
|
41
|
+
"layout": {
|
|
42
|
+
"row": "Row_09wnpda",
|
|
43
|
+
"columns": null
|
|
44
|
+
},
|
|
45
|
+
"id": "Field_0sc3tvx"
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"type": "default"
|
|
49
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
7
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0"
|
|
8
|
+
id="Definitions_1"
|
|
9
|
+
targetNamespace="http://bpmn.io/schema/bpmn"
|
|
10
|
+
exporter="Camunda Web Modeler"
|
|
11
|
+
exporterVersion="1.0.0"
|
|
12
|
+
modeler:executionPlatform="Camunda Cloud"
|
|
13
|
+
modeler:executionPlatformVersion="8.10.0">
|
|
14
|
+
<bpmn:process id="aws_bedrock_knowledge_base" name="AWS Bedrock Knowledge Base" isExecutable="true">
|
|
15
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
16
|
+
<bpmn:outgoing>Flow_1</bpmn:outgoing>
|
|
17
|
+
</bpmn:startEvent>
|
|
18
|
+
<bpmn:sequenceFlow id="Flow_1" sourceRef="StartEvent_1" targetRef="BedrockKBTask" />
|
|
19
|
+
<bpmn:serviceTask id="BedrockKBTask" name="Retrieve from Knowledge Base"
|
|
20
|
+
zeebe:modelerTemplate="io.camunda.connectors.aws.bedrock.knowledgebase.v1"
|
|
21
|
+
zeebe:modelerTemplateVersion="1">
|
|
22
|
+
<bpmn:extensionElements>
|
|
23
|
+
<zeebe:taskDefinition type="io.camunda:aws-bedrock-knowledgebase:1" retries="3" />
|
|
24
|
+
<zeebe:ioMapping>
|
|
25
|
+
<zeebe:input source="credentials" target="authentication.type" />
|
|
26
|
+
<zeebe:input source="{{secrets.BEDROCK_KB_AWS_ACCESS_KEY}}" target="authentication.accessKey" />
|
|
27
|
+
<zeebe:input source="{{secrets.BEDROCK_KB_AWS_SECRET_KEY}}" target="authentication.secretKey" />
|
|
28
|
+
<zeebe:input source="{{secrets.BEDROCK_KB_AWS_REGION}}" target="configuration.region" />
|
|
29
|
+
<zeebe:input source="{{secrets.BEDROCK_KB_KNOWLEDGE_BASE_ID}}" target="knowledgeBaseId" />
|
|
30
|
+
<zeebe:input source="retrieve" target="operation.operationDiscriminator" />
|
|
31
|
+
<zeebe:input source="What are our company working hours?" target="operation.query" />
|
|
32
|
+
<zeebe:input source="5" target="operation.numberOfResults" />
|
|
33
|
+
</zeebe:ioMapping>
|
|
34
|
+
<zeebe:taskHeaders>
|
|
35
|
+
<zeebe:header key="elementTemplateVersion" value="1" />
|
|
36
|
+
<zeebe:header key="elementTemplateId" value="io.camunda.connectors.aws.bedrock.knowledgebase.v1" />
|
|
37
|
+
<zeebe:header key="resultVariable" value="bedrockResult" />
|
|
38
|
+
<zeebe:header key="resultExpression" value="={retrievedChunks: results}" />
|
|
39
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
40
|
+
</zeebe:taskHeaders>
|
|
41
|
+
</bpmn:extensionElements>
|
|
42
|
+
<bpmn:incoming>Flow_1</bpmn:incoming>
|
|
43
|
+
<bpmn:outgoing>Flow_2</bpmn:outgoing>
|
|
44
|
+
</bpmn:serviceTask>
|
|
45
|
+
<bpmn:sequenceFlow id="Flow_2" sourceRef="BedrockKBTask" targetRef="EndEvent_1" />
|
|
46
|
+
<bpmn:endEvent id="EndEvent_1">
|
|
47
|
+
<bpmn:incoming>Flow_2</bpmn:incoming>
|
|
48
|
+
</bpmn:endEvent>
|
|
49
|
+
</bpmn:process>
|
|
50
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
51
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="aws_bedrock_knowledge_base">
|
|
52
|
+
<bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
|
|
53
|
+
<dc:Bounds x="152" y="82" width="36" height="36" />
|
|
54
|
+
</bpmndi:BPMNShape>
|
|
55
|
+
<bpmndi:BPMNShape id="BedrockKBTask_di" bpmnElement="BedrockKBTask">
|
|
56
|
+
<dc:Bounds x="240" y="60" width="100" height="80" />
|
|
57
|
+
<bpmndi:BPMNLabel />
|
|
58
|
+
</bpmndi:BPMNShape>
|
|
59
|
+
<bpmndi:BPMNShape id="EndEvent_1_di" bpmnElement="EndEvent_1">
|
|
60
|
+
<dc:Bounds x="392" y="82" width="36" height="36" />
|
|
61
|
+
</bpmndi:BPMNShape>
|
|
62
|
+
<bpmndi:BPMNEdge id="Flow_1_di" bpmnElement="Flow_1">
|
|
63
|
+
<di:waypoint x="188" y="100" />
|
|
64
|
+
<di:waypoint x="240" y="100" />
|
|
65
|
+
</bpmndi:BPMNEdge>
|
|
66
|
+
<bpmndi:BPMNEdge id="Flow_2_di" bpmnElement="Flow_2">
|
|
67
|
+
<di:waypoint x="340" y="100" />
|
|
68
|
+
<di:waypoint x="392" y="100" />
|
|
69
|
+
</bpmndi:BPMNEdge>
|
|
70
|
+
</bpmndi:BPMNPlane>
|
|
71
|
+
</bpmndi:BPMNDiagram>
|
|
72
|
+
</bpmn:definitions>
|
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL"
|
|
3
|
+
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
|
|
4
|
+
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
|
|
5
|
+
xmlns:zeebe="http://camunda.org/schema/zeebe/1.0"
|
|
6
|
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
7
|
+
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
|
|
8
|
+
xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_1fhelj1"
|
|
9
|
+
targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Web Modeler"
|
|
10
|
+
exporterVersion="9a94d14" modeler:executionPlatform="Camunda Cloud"
|
|
11
|
+
modeler:executionPlatformVersion="8.8.0">
|
|
12
|
+
<bpmn:process id="db_vector_process_AzureOpenAI" name="db_vector_process_AzureOpenAI"
|
|
13
|
+
isExecutable="true">
|
|
14
|
+
<bpmn:startEvent id="StartEvent_1">
|
|
15
|
+
<bpmn:extensionElements>
|
|
16
|
+
<zeebe:ioMapping>
|
|
17
|
+
<zeebe:output
|
|
18
|
+
source="="What is AI? Artificial Intelligence, or AI, is a branch of computer science that focuses on creating machines and software that can perform tasks that usually require human intelligence. These tasks can include understanding language, recognizing images, solving problems, learning from experience, and making decisions. AI can be found in many everyday things, like voice assistants on smartphones, recommendation systems on streaming services, and even in self-driving cars. It works by using data and algorithms to learn and improve over time. There are different types of AI, ranging from very basic systems that follow simple rules to more advanced ones that can learn and adapt on their own. The goal of AI is to make technology smarter and more helpful in various areas of life, including healthcare, education, transportation, and entertainment. In simple terms, AI is all about teaching computers to think and act a bit more like humans. What are Carrots? Carrots are a type of root vegetable that grow underground. They are usually orange, but they can also come in other colors like purple, yellow, red, and white. Carrots have a crunchy texture and a slightly sweet taste, especially when they are fresh. They are commonly used in cooking and can be eaten raw, cooked, or even juiced. People often add them to salads, soups, and stews, or enjoy them as a snack. Carrots are known for being healthy and are a good source of vitamins, especially vitamin A, which is important for good vision and overall health. Carrots are grown in many parts of the world and are easy to store and transport. Because of their versatility and nutritional value, they are a popular ingredient in kitchens everywhere. What is Asteroid Mining? Asteroid mining is the idea of collecting valuable materials from asteroids in space. Asteroids are large rocks that orbit the Sun, and some of them contain metals like gold, platinum, nickel, and iron. They may also have water, which could be useful for space travel in the future. The goal of asteroid mining is to gather these resources and use them either in space or bring them back to Earth. This could help support space missions and reduce the need to carry everything from our planet. Some people also believe it could become a new source of rare materials that are harder to find on Earth. Asteroid mining is still in the early stages, and no one has done it on a large scale yet. But scientists and space companies are exploring the possibilities, designing spacecraft, and planning future missions. In simple terms, asteroid mining is about turning space rocks into useful resources. What are Tariffs? Tariffs are taxes placed on goods that are brought into a country from abroad. When a country imports products—like electronics, clothes, or cars—from another country, it may charge a tariff on those items. This makes the imported goods more expensive, which can encourage people to buy products made locally instead. Governments use tariffs for different reasons. Sometimes it’s to protect local businesses and jobs. Other times, it’s part of trade negotiations between countries. Tariffs can also be used as a way to pressure other countries to change their policies. Former U.S. President Donald Trump often spoke about tariffs during his time in office. He used them as part of his strategy to support American industries. One of his well-known quotes is: **“I am a Tariff Man. When people or countries come in to raid the great wealth of our Nation, I want them to pay for the privilege of doing so.” Carrots are a type of root vegetable scientifically known as Daucus carota, specifically the subspecies Daucus carota subsp. sativus. They belong to the Apiaceae family, which also includes parsley, celery, and fennel. Carrots are one of the most popular and widely cultivated vegetables in the world due to their versatility, nutritional benefits, and relatively easy growth. Botanical and Physical Characteristics: Root Structure: Carrots are biennial plants, meaning they complete their life cycle in two years. However, they are typically harvested after the first growing season for their thick, fleshy taproot — the part we commonly eat. This taproot grows underground and stores nutrients and water, allowing the plant to survive and flower in the second year. Color and Varieties: While orange is the most common color today, carrots can also be found in purple, red, yellow, and white varieties. The orange color comes from beta-carotene, a pigment that the body converts into vitamin A. Different colors may contain other antioxidants: Purple carrots are rich in anthocyanins Red carrots contain lycopene Yellow carrots have lutein Leaves: The leafy green tops grow above ground and resemble parsley. These are edible too, though more bitter, and are sometimes used in pesto or soups. History and Origin: Carrots were first cultivated over a thousand years ago in regions of Persia (modern-day Iran and Afghanistan). Early carrots were not orange — they were typically purple or yellow. The orange carrot we know today was developed in the Netherlands in the 16th or 17th century, possibly in honor of the Dutch royal family, the House of Orange. Nutritional Profile: Carrots are packed with nutrients and are especially known for: Beta-carotene: An antioxidant that converts into vitamin A, essential for eye health, skin, and the immune system. Dietary fiber: Good for digestive health. Vitamins and minerals: Including vitamin K1 (important for blood clotting), potassium (for heart and muscle function), and vitamin C. Low in calories and fat: Making them a healthy snack option. Culinary Uses: Carrots are extremely versatile and can be eaten: Raw: In salads, as sticks with dip, or grated into slaws. Cooked: Roasted, steamed, boiled, stir-fried, or baked into casseroles and stews. Baked into sweets: Such as carrot cake or muffins. Juiced: Often combined with fruits or other vegetables in smoothies and juices. Preserved: In pickles, fermented dishes, or canned soups. Cultivation: Carrots grow best in loose, well-drained soil and need full sunlight. They are usually planted from seed directly into the ground. It's important that the soil is free of rocks or hard clumps, as these can deform the roots. Fun Facts: Carrots were once believed to be aphrodisiacs in ancient cultures. During World War II, the British Royal Air Force claimed that pilots had excellent night vision because they ate lots of carrots — a story partly used to mask the use of radar technology. The sugars in carrots increase during cooking, which is why they taste sweeter when roasted. In short, carrots are a nutrient-rich, adaptable root vegetable with a long history and a wide range of uses in both culinary and cultural traditions. What is RAG and What are Vector Databases? RAG stands for Retrieval-Augmented Generation. It’s a method used in artificial intelligence to improve how machines answer questions or generate text. Instead of relying only on what a model has been trained on, RAG allows it to search for extra information from an outside source—like a database—before giving a response. This helps the system be more accurate and up to date. To do this, RAG uses something called a vector database. A vector database stores information in a special format called “vectors,” which are like lists of numbers. These vectors represent the meaning of text, so the system can search by meaning, not just exact words. This is useful when someone asks a question, because the system can find the most relevant answers, even if the words are a little different. Together, RAG and vector databases help AI models pull in helpful facts and give better, more relevant answers. ""
|
|
19
|
+
target="text" />
|
|
20
|
+
<zeebe:output source="="What color are carrots?"" target="query" />
|
|
21
|
+
</zeebe:ioMapping>
|
|
22
|
+
</bpmn:extensionElements>
|
|
23
|
+
<bpmn:outgoing>Flow_1k45cpr</bpmn:outgoing>
|
|
24
|
+
</bpmn:startEvent>
|
|
25
|
+
<bpmn:sequenceFlow id="Flow_1k45cpr" sourceRef="StartEvent_1" targetRef="Activity_0qdicjy" />
|
|
26
|
+
<bpmn:serviceTask id="Activity_0qdicjy" name="Embed AzureOpenAI -> Azure AI Search"
|
|
27
|
+
zeebe:modelerTemplate="io.camunda.connectors.EmbeddingsVectorDB.v1"
|
|
28
|
+
zeebe:modelerTemplateVersion="2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iBzdHJva2Utd2lkdGg9IjguMzQyNTIiLz4KPHBhdGggZD0iTTEyNC4xMzggMzk5Ljg4M0wxMzcuNDY3IDQxMy4yMTFMNjUuMTExNiA0ODUuNTY2SDEyNy45NDZWNTA0LjYwN0gzMi43NDIyVjQwOS40MDNINTEuNzgzVjQ3Mi4yMzhMMTI0LjEzOCAzOTkuODgzWiIgZmlsbD0iI0ZDNUQwRCIgc3Ryb2tlPSIjRkM1RDBEIiBzdHJva2Utd2lkdGg9IjguMzQyNTIiLz4KPHBhdGggZD0iTTI0Ni41NzUgMTQ2LjA3MUgyNjUuNDI1VjQzLjc0NTNMMzA5Ljg1NiA4OC4xNzYxTDMyMy4zMTkgNzQuNzEyMkwyNTYgNy4zOTI4MkwxODguNjgxIDc0LjcxMjJMMjAyLjE0NCA4OC4xNzYxTDI0Ni41NzUgNDMuNzQ1M1YxNDYuMDcxWiIgZmlsbD0iI0ZDNUQwRCIgc3Ryb2tlPSIjRkM1RDBEIiBzdHJva2Utd2lkdGg9IjguMzQyNTIiLz4KPC9zdmc+Cg==">
|
|
30
|
+
<bpmn:extensionElements>
|
|
31
|
+
<zeebe:taskDefinition type="io.camunda:embeddings-vector-database:1" retries="3" />
|
|
32
|
+
<zeebe:ioMapping type="io.camunda:embeddings-vector-database:1"
|
|
33
|
+
modelerTemplate="f1c250f4-1e35-475c-98c9-dd949caf7bcf"
|
|
34
|
+
modelerTemplateVersion="1747211569155">
|
|
35
|
+
<zeebe:input source="embedDocumentOperation"
|
|
36
|
+
target="vectorDatabaseConnectorOperation.operationType" />
|
|
37
|
+
<zeebe:input source="azureOpenAiModelProvider"
|
|
38
|
+
target="embeddingModelProvider.modelProvider" />
|
|
39
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_OPENAI_ENDPOINT}}"
|
|
40
|
+
target="embeddingModelProvider.azureOpenAi.endpoint" />
|
|
41
|
+
<zeebe:input source="apiKey"
|
|
42
|
+
target="embeddingModelProvider.azureOpenAi.authentication.type" />
|
|
43
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_OPENAI_API_KEY}}"
|
|
44
|
+
target="embeddingModelProvider.azureOpenAi.authentication.apiKey" />
|
|
45
|
+
<zeebe:input source="{{secrets.DB_VECTOR_MODEL_DEPLOYMENT_NAME}}"
|
|
46
|
+
target="embeddingModelProvider.azureOpenAi.deploymentName" />
|
|
47
|
+
<zeebe:input source="=3" target="embeddingModelProvider.azureOpenAi.maxRetries" />
|
|
48
|
+
<zeebe:input source="azureAiSearchStore" target="vectorStore.storeType" />
|
|
49
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_AI_SEARCH_ENDPOINT}}"
|
|
50
|
+
target="vectorStore.aiSearch.endpoint" />
|
|
51
|
+
<zeebe:input source="apiKey" target="vectorStore.aiSearch.authentication.type" />
|
|
52
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_AI_SEARCH_KEY}}"
|
|
53
|
+
target="vectorStore.aiSearch.authentication.apiKey" />
|
|
54
|
+
<zeebe:input source="qa-test" target="vectorStore.aiSearch.indexName" />
|
|
55
|
+
<zeebe:input source="PlainText" target="vectorDatabaseConnectorOperation.documentSource" />
|
|
56
|
+
<zeebe:input source="=text"
|
|
57
|
+
target="vectorDatabaseConnectorOperation.documentSourceFromProcessVariable" />
|
|
58
|
+
<zeebe:input source="recursiveDocumentSplitter"
|
|
59
|
+
target="vectorDatabaseConnectorOperation.documentSplitter.splitterType" />
|
|
60
|
+
<zeebe:input source="=500"
|
|
61
|
+
target="vectorDatabaseConnectorOperation.documentSplitter.maxSegmentSizeInChars" />
|
|
62
|
+
<zeebe:input source="=80"
|
|
63
|
+
target="vectorDatabaseConnectorOperation.documentSplitter.maxOverlapSizeInChars" />
|
|
64
|
+
</zeebe:ioMapping>
|
|
65
|
+
<zeebe:taskHeaders>
|
|
66
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
67
|
+
<zeebe:header key="elementTemplateId" value="io.camunda.connectors.EmbeddingsVectorDB.v1" />
|
|
68
|
+
<zeebe:header key="resultVariable" value="e_bedrock_os" />
|
|
69
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
70
|
+
</zeebe:taskHeaders>
|
|
71
|
+
</bpmn:extensionElements>
|
|
72
|
+
<bpmn:incoming>Flow_1k45cpr</bpmn:incoming>
|
|
73
|
+
<bpmn:outgoing>Flow_1tkzq2t</bpmn:outgoing>
|
|
74
|
+
</bpmn:serviceTask>
|
|
75
|
+
<bpmn:endEvent id="Event_1tug735">
|
|
76
|
+
<bpmn:incoming>Flow_0mbz3zf</bpmn:incoming>
|
|
77
|
+
</bpmn:endEvent>
|
|
78
|
+
<bpmn:sequenceFlow id="Flow_1tkzq2t" sourceRef="Activity_0qdicjy" targetRef="Activity_05d126e" />
|
|
79
|
+
<bpmn:serviceTask id="Activity_05d126e" name="Retrieve Azure AI Search"
|
|
80
|
+
zeebe:modelerTemplate="io.camunda.connectors.EmbeddingsVectorDB.v1"
|
|
81
|
+
zeebe:modelerTemplateVersion="2"
|
|
82
|
+
zeebe:modelerTemplateIcon="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTEyIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDUxMiA1MTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxyZWN0IHdpZHRoPSI1MTIiIGhlaWdodD0iNTEyIiBmaWxsPSJ3aGl0ZSIgZmlsbC1vcGFjaXR5PSIwLjAxIiBzdHlsZT0ibWl4LWJsZW5kLW1vZGU6bXVsdGlwbHkiLz4KPHBhdGggZD0iTTI1NS45OTkgMTM2LjcwMkMxOTMuMzE4IDEzNi43MDIgMTI1Ljg1NSAxNTEuNDg1IDEyNS44NTUgMTgzLjkzM1YzOTYuNDc1QzEyNS44NTUgNDI4LjkyMyAxOTMuMzE4IDQ0My43MDcgMjU1Ljk5OSA0NDMuNzA3QzMxOC42NzkgNDQzLjcwNyAzODYuMTQyI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BzdHJva2Utd2lkdGg9IjguMzQyNTIiLz4KPC9zdmc+Cg==">
|
|
83
|
+
<bpmn:extensionElements>
|
|
84
|
+
<zeebe:taskDefinition type="io.camunda:embeddings-vector-database:1" retries="3" />
|
|
85
|
+
<zeebe:ioMapping>
|
|
86
|
+
<zeebe:input source="retrieveDocumentOperation"
|
|
87
|
+
target="vectorDatabaseConnectorOperation.operationType" />
|
|
88
|
+
<zeebe:input source="=query" target="vectorDatabaseConnectorOperation.query" />
|
|
89
|
+
<zeebe:input source="=5" target="vectorDatabaseConnectorOperation.documentLimit" />
|
|
90
|
+
<zeebe:input source="azureOpenAiModelProvider"
|
|
91
|
+
target="embeddingModelProvider.modelProvider" />
|
|
92
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_OPENAI_ENDPOINT}}"
|
|
93
|
+
target="embeddingModelProvider.azureOpenAi.endpoint" />
|
|
94
|
+
<zeebe:input source="apiKey"
|
|
95
|
+
target="embeddingModelProvider.azureOpenAi.authentication.type" />
|
|
96
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_OPENAI_API_KEY}}"
|
|
97
|
+
target="embeddingModelProvider.azureOpenAi.authentication.apiKey" />
|
|
98
|
+
<zeebe:input source="{{secrets.DB_VECTOR_MODEL_DEPLOYMENT_NAME}}"
|
|
99
|
+
target="embeddingModelProvider.azureOpenAi.deploymentName" />
|
|
100
|
+
<zeebe:input source="=3" target="embeddingModelProvider.azureOpenAi.maxRetries" />
|
|
101
|
+
<zeebe:input source="azureAiSearchStore" target="vectorStore.storeType" />
|
|
102
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_AI_SEARCH_ENDPOINT}}"
|
|
103
|
+
target="vectorStore.aiSearch.endpoint" />
|
|
104
|
+
<zeebe:input source="apiKey" target="vectorStore.aiSearch.authentication.type" />
|
|
105
|
+
<zeebe:input source="{{secrets.DB_VECTOR_AZURE_AI_SEARCH_KEY}}"
|
|
106
|
+
target="vectorStore.aiSearch.authentication.apiKey" />
|
|
107
|
+
<zeebe:input source="qa-test" target="vectorStore.aiSearch.indexName" />
|
|
108
|
+
</zeebe:ioMapping>
|
|
109
|
+
<zeebe:taskHeaders>
|
|
110
|
+
<zeebe:header key="elementTemplateVersion" value="2" />
|
|
111
|
+
<zeebe:header key="elementTemplateId" value="io.camunda.connectors.EmbeddingsVectorDB.v1" />
|
|
112
|
+
<zeebe:header key="resultExpression" value="={r_bedrock_os:chunks[1].content}" />
|
|
113
|
+
<zeebe:header key="retryBackoff" value="PT0S" />
|
|
114
|
+
</zeebe:taskHeaders>
|
|
115
|
+
</bpmn:extensionElements>
|
|
116
|
+
<bpmn:incoming>Flow_1tkzq2t</bpmn:incoming>
|
|
117
|
+
<bpmn:outgoing>Flow_1993cb0</bpmn:outgoing>
|
|
118
|
+
</bpmn:serviceTask>
|
|
119
|
+
<bpmn:sequenceFlow id="Flow_1993cb0" sourceRef="Activity_05d126e" targetRef="Event_0eu79hc" />
|
|
120
|
+
<bpmn:intermediateCatchEvent id="Event_0eu79hc">
|
|
121
|
+
<bpmn:incoming>Flow_1993cb0</bpmn:incoming>
|
|
122
|
+
<bpmn:outgoing>Flow_073nx40</bpmn:outgoing>
|
|
123
|
+
<bpmn:timerEventDefinition id="TimerEventDefinition_0z34he6">
|
|
124
|
+
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT5S</bpmn:timeDuration>
|
|
125
|
+
</bpmn:timerEventDefinition>
|
|
126
|
+
</bpmn:intermediateCatchEvent>
|
|
127
|
+
<bpmn:sequenceFlow id="Flow_073nx40" sourceRef="Event_0eu79hc" targetRef="Activity_1nwpivb" />
|
|
128
|
+
<bpmn:sequenceFlow id="Flow_0mbz3zf" sourceRef="Activity_1nwpivb" targetRef="Event_1tug735" />
|
|
129
|
+
<bpmn:userTask id="Activity_1nwpivb" name="User task - validate retrieved response">
|
|
130
|
+
<bpmn:extensionElements>
|
|
131
|
+
<zeebe:userTask />
|
|
132
|
+
<zeebe:formDefinition formId="user-task-validate-retrieved-response" />
|
|
133
|
+
</bpmn:extensionElements>
|
|
134
|
+
<bpmn:incoming>Flow_073nx40</bpmn:incoming>
|
|
135
|
+
<bpmn:outgoing>Flow_0mbz3zf</bpmn:outgoing>
|
|
136
|
+
</bpmn:userTask>
|
|
137
|
+
</bpmn:process>
|
|
138
|
+
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
|
|
139
|
+
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="db_vector_process_AzureOpenAI">
|
|
140
|
+
<bpmndi:BPMNShape id="StartEvent_1_di" bpmnElement="StartEvent_1">
|
|
141
|
+
<dc:Bounds x="372" y="102" width="36" height="36" />
|
|
142
|
+
</bpmndi:BPMNShape>
|
|
143
|
+
<bpmndi:BPMNShape id="Activity_0hdghmz_di" bpmnElement="Activity_0qdicjy">
|
|
144
|
+
<dc:Bounds x="440" y="80" width="100" height="80" />
|
|
145
|
+
<bpmndi:BPMNLabel />
|
|
146
|
+
</bpmndi:BPMNShape>
|
|
147
|
+
<bpmndi:BPMNShape id="Event_1tug735_di" bpmnElement="Event_1tug735">
|
|
148
|
+
<dc:Bounds x="992" y="102" width="36" height="36" />
|
|
149
|
+
</bpmndi:BPMNShape>
|
|
150
|
+
<bpmndi:BPMNShape id="BPMNShape_167kfxb" bpmnElement="Activity_05d126e">
|
|
151
|
+
<dc:Bounds x="600" y="80" width="100" height="80" />
|
|
152
|
+
<bpmndi:BPMNLabel />
|
|
153
|
+
</bpmndi:BPMNShape>
|
|
154
|
+
<bpmndi:BPMNShape id="Event_12wpfz0_di" bpmnElement="Event_0eu79hc">
|
|
155
|
+
<dc:Bounds x="752" y="102" width="36" height="36" />
|
|
156
|
+
</bpmndi:BPMNShape>
|
|
157
|
+
<bpmndi:BPMNShape id="Activity_0cnghp6_di" bpmnElement="Activity_1nwpivb">
|
|
158
|
+
<dc:Bounds x="830" y="80" width="100" height="80" />
|
|
159
|
+
<bpmndi:BPMNLabel />
|
|
160
|
+
</bpmndi:BPMNShape>
|
|
161
|
+
<bpmndi:BPMNEdge id="Flow_1k45cpr_di" bpmnElement="Flow_1k45cpr">
|
|
162
|
+
<di:waypoint x="408" y="120" />
|
|
163
|
+
<di:waypoint x="440" y="120" />
|
|
164
|
+
</bpmndi:BPMNEdge>
|
|
165
|
+
<bpmndi:BPMNEdge id="Flow_1tkzq2t_di" bpmnElement="Flow_1tkzq2t">
|
|
166
|
+
<di:waypoint x="540" y="120" />
|
|
167
|
+
<di:waypoint x="600" y="120" />
|
|
168
|
+
</bpmndi:BPMNEdge>
|
|
169
|
+
<bpmndi:BPMNEdge id="Flow_1993cb0_di" bpmnElement="Flow_1993cb0">
|
|
170
|
+
<di:waypoint x="700" y="120" />
|
|
171
|
+
<di:waypoint x="752" y="120" />
|
|
172
|
+
</bpmndi:BPMNEdge>
|
|
173
|
+
<bpmndi:BPMNEdge id="Flow_073nx40_di" bpmnElement="Flow_073nx40">
|
|
174
|
+
<di:waypoint x="788" y="120" />
|
|
175
|
+
<di:waypoint x="830" y="120" />
|
|
176
|
+
</bpmndi:BPMNEdge>
|
|
177
|
+
<bpmndi:BPMNEdge id="Flow_0mbz3zf_di" bpmnElement="Flow_0mbz3zf">
|
|
178
|
+
<di:waypoint x="930" y="120" />
|
|
179
|
+
<di:waypoint x="992" y="120" />
|
|
180
|
+
</bpmndi:BPMNEdge>
|
|
181
|
+
</bpmndi:BPMNPlane>
|
|
182
|
+
</bpmndi:BPMNDiagram>
|
|
183
|
+
</bpmn:definitions>
|