diff --git a/dynamixs-ai-app/src/main/webapp/pages/workitems/workitem_header.xhtml b/dynamixs-ai-app/src/main/webapp/pages/workitems/workitem_header.xhtml index 879d302..e1a6c80 100644 --- a/dynamixs-ai-app/src/main/webapp/pages/workitems/workitem_header.xhtml +++ b/dynamixs-ai-app/src/main/webapp/pages/workitems/workitem_header.xhtml @@ -70,8 +70,13 @@ diff --git a/workflow/demo/offer-en-ai-assisted-full.bpmn b/workflow/demo/offer-en-ai-assisted-full.bpmn new file mode 100644 index 0000000..15280fc --- /dev/null +++ b/workflow/demo/offer-en-ai-assisted-full.bpmn @@ -0,0 +1,3151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + Task_2 + StartEvent_1 + + DataObject_2 + dataObject_axJA7Q + task_ol2R9A + event_P1MFZQ + event_NLZbsw + task_0THxmg + event_KwpMKw + dataObject_iq4agg + dataObject_g68BvQ + event_8dt92Q + event_z9ZfGA + task_HL0KNA + event_ZdM0Zg + event_sZERLw + dataObject_80W0PA + event_niR0HA + event_d4UiTw + dataObject_Nw0oQQ + event_lj360w + event_5Hf7hA + textAnnotation_F0hSpA + dataStoreReference_ruyxUw + dataStoreReference_ycahow + event_Cri0Hw + event_0YxVbg + dataObject_p6w1rQ + + + + task_0WNAdA + event_LHADMg + event_oOnn8A + event_0pTU9A + event_Eop11A + event_SsDyXA + event_A81HqA + gateway_hn88jQ + gateway_HWaCGA + event_D708vg + dataObject_lK8erg + task_HMp0Mw + dataObject_IqpFDQ + event_2ybNfQ + + + + Task_3 + Task_6 + IntermediateCatchEvent_9 + IntermediateCatchEvent_10 + event_6SjmtA + event_k44jGQ + EventBasedGateway_1 + dataObject_u4ZytA + + + + Task_4 + Task_5 + EndEvent_2 + IntermediateCatchEvent_17 + IntermediateCatchEvent_4 + IntermediateCatchEvent_8 + dataObject_VbiNuQ + event_J205Zg + + + + + sequenceFlow_8NDJxA + + + + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_0HTg8g + sequenceFlow_4DWhfA +
+ + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + $workflowgroup - $workflowstatus]]> + SequenceFlow_42 + sequenceFlow_B0TxWQ + SequenceFlow_23 + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_17 + SequenceFlow_19 + SequenceFlow_56 +
+ + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_21 + sequenceFlow_IZ9YdA + SequenceFlow_47 +
+ + SequenceFlow_47 + + + + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home + + + Send offer after approval to customer This action moves the offer to the processing stage 'ordered' + offer, order, send, e-mail + Send out offer to customer + Inform customer about our new offer +]]> + + + + + + + + + forwarded to production manager]]> + + + false + + + + SequenceFlow_56 + sequenceFlow_HCxYvw + + + + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home + + https://embeddings.llama.cpp.imixs.com/ + llm.service.endpoint + true +]]> + + + + + + + + + + + + false + + + + SequenceFlow_19 + SequenceFlow_21 + association_ifwUdg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + SequenceFlow_17 + + + + + + + + + + + + + + _name (EAN: _ean) Preis: _price _currency]]> + + + true + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + SequenceFlow_41 + SequenceFlow_22 +
+ + + + + SequenceFlow_23 + SequenceFlow_34 + + sequenceFlow_HCxYvw + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home]]> + + + + + + + + + + + + false + + + + + + + SequenceFlow_34 + SequenceFlow_41 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + SequenceFlow_42 + + + + + + + + + + + {} + request.subject + +^.+\.eml$ +]]]]> + +FINE + ]]> + + + + + + + + + + + + + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_WRPdIA + sequenceFlow_4DUFiA + sequenceFlow_0Q20mA +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://embeddings.llama.cpp.imixs.com/ + customer.ref + 1 + Customer + 1400 + true + + + customer.ref + (^customer\.) + false +]]> + + + + + + + + + + + + false + + + + + sequenceFlow_0Q20mA + sequenceFlow_InfPdQ + sequenceFlow_hZg0iw + + + + + sequenceFlow_InfPdQ + + + + + + + + + + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_4DUFiA + sequenceFlow_RgZeeQ + sequenceFlow_HfDRCQ + sequenceFlow_hkBSvg +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + llm.service.endpoint + {"n_predict": 4096, "temperature": 0.7} + offer.proposal + true + +false +]]> + + + + + + + + + + + + false + + + + sequenceFlow_AUsmbQ + sequenceFlow_5YUBUA + + sequenceFlow_InfPdQ + + + + + + + + + + + + + + {"n_predict": 2096, "temperature": 0.3, "top_p": 0.9} + customer.firstname +Lastname: customer.lastname +E-Mail: customer.email + +request.description + +## Product Selection + +The following products are relevant for the current request: + + +Product: product.name +Category: product.category / product.subcategory +Price: product.price _currency +Product Details: +product.description + +----------------------------------------------------------------------------- + + +]]]]> + +FINE + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + {"n_predict": 4096, "temperature": 0} + + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home +]]> + + + + + + + + + false + + + + + + + sequenceFlow_8NDJxA + sequenceFlow_0HTg8g + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +X-Tika-OCRLanguage=eng+deu +X-Tika-PDFocrStrategy=OCR_ONLY +(PDF|pdf)$ +20 +]]> + + + + + + + + + + + + false + + + + sequenceFlow_4DWhfA + sequenceFlow_5oxu0g + sequenceFlow_4DUFiA + + + + + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_WRPdIA + sequenceFlow_hZg0iw + sequenceFlow_kkTZbA +
+ + + sequenceFlow_6UcPtw + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + https://embeddings.llama.cpp.imixs.com/ + product.ref + 5 + Product + 1200 + true + +]]> + + + + + + + + + + + + false + + + + sequenceFlow_kkTZbA + sequenceFlow_6UcPtw + sequenceFlow_ELk13Q + + sequenceFlow_InfPdQ + + + + + {} + request.subject + +^.+\.eml$ +]]]]> + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home +]]> + + + + + + + + + false + + + + sequenceFlow_HfDRCQ + sequenceFlow_jZwWAw + sequenceFlow_AUsmbQ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + + + + sequenceFlow_L5747A + sequenceFlow_YoF46g + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + https://embeddings.llama.cpp.imixs.com/ + llm.service.endpoint + true + + CSDDD +]]> + + + + + + + sequenceFlow_1TkjsQ + sequenceFlow_vqv8cw + association_jfudSg + sequenceFlow_7JIrbg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + llm.service.endpoint + {"n_predict": 1024, "temperature": 0.7} + customer.summary + true + +false]]> + + + + sequenceFlow_ELk13Q + sequenceFlow_RgZeeQ + + sequenceFlow_InfPdQ + + + + + + + + {"n_predict": 255, "temperature": 0.2, "top_p": 0.9} + + + + ^.+\.eml$ + ]]> + + + + + + + + + + + + + + + + sequenceFlow_5oxu0g + + + + + + + + sequenceFlow_jZwWAw + + + + + + + + {"n_predict": 2048, "temperature": 0.2, "top_p": 0.9} + + + + +]]> + + + + + + + sequenceFlow_I4IgZg + sequenceFlow_vqv8cw + sequenceFlow_XAS6SA + + + + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_RgZeeQ + sequenceFlow_BM0t3w + sequenceFlow_1TkjsQ + sequenceFlow_GaCuow + sequenceFlow_7JIrbg +
+ + + + true + llm.service.endpoint + compliance.check + + +Is the recipient country code customer.country not a member of the European Union? + + +]]> + + + + + + + + + + SequenceFlow_22 + + SequenceFlow_22 + + + + + + + sequenceFlow_EsadJA + sequenceFlow_HCxYvw + sequenceFlow_L5747A + sequenceFlow_UYjTJw + + + + + + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home +]]> + + + + + + + + + + + + false + + + + sequenceFlow_UYjTJw + sequenceFlow_I4IgZg + + + + + + + + sequenceFlow_RppP5Q + + + + + sequenceFlow_B0TxWQ + + + + + + sequenceFlow_XAS6SA + + + + + + + + + + + + + sequenceFlow_hkBSvg + + + + + sequenceFlow_YoF46g + + + + + + + + sequenceFlow_5YUBUA + + + + + sequenceFlow_Q0krIA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]> + + + + + + + + + + + + + + + + + + request.subject]]> + + + true + + + + + + + + + + + + + + + + + + Customer: customer.name
+E-Mail: customer.email
+Address: customer.country customer.zip-customer.city customer.address
+ +
+]]>
+
+
+ $workflowgroup - $workflowstatus]]> + sequenceFlow_BM0t3w + sequenceFlow_1TkjsQ + sequenceFlow_Q0krIA + association_e1WHoQ + sequenceFlow_EsadJA +
+ + + + + + + + + {"n_predict": 2048, "temperature": 0.2, "top_p": 0.9} + + + + +]]> + + + + + + + + + + + + + + _subject]]> + + + + + + + + + _amount (Brutto € _amount_brutto) +_description]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + home +]]> + + + + + + + + + + + + false + + + + sequenceFlow_GaCuow + sequenceFlow_RppP5Q + + + + + + + + + {"n_predict": 255, "temperature": 0.2, "top_p": 0.9} + + + + customer.name + +# Recent Project Insights: + + +Created: $created +$workflowabstract + +----------------------------------------------------------------------------- +]]]]> + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ]]> + + + + + + + + + false + + + + sequenceFlow_IZ9YdA + + + + +
+ + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/workflow/demo/offer-en-ai-assisted.bpmn b/workflow/demo/offer-en-ai-assisted.bpmn index d7abc4d..47d7f22 100644 --- a/workflow/demo/offer-en-ai-assisted.bpmn +++ b/workflow/demo/offer-en-ai-assisted.bpmn @@ -93,20 +93,14 @@ - task_0WNAdA event_LHADMg - event_oOnn8A event_0pTU9A event_Eop11A - event_SsDyXA event_A81HqA - gateway_hn88jQ gateway_HWaCGA event_D708vg dataObject_lK8erg task_HMp0Mw - dataObject_IqpFDQ - event_2ybNfQ @@ -292,10 +286,10 @@ Address: customer.country customer.zip - + - _name (EAN: _ean) Preis: _price _currency]]> + request.subject]]> true @@ -566,7 +560,7 @@ Betrag: _amount (Brutto € _amount_brutto - + _name (EAN: _ean) Preis: _price _currency]]> @@ -1063,7 +1057,7 @@ Address: customer.country customer.zip - + @@ -1634,88 +1628,6 @@ Address: customer.country customer.zip - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - https://embeddings.llama.cpp.imixs.com/ - llm.service.endpoint - true - - CSDDD -]]> - - - - - - - sequenceFlow_1TkjsQ - sequenceFlow_vqv8cw - association_jfudSg - sequenceFlow_7JIrbg - - - - @@ -1873,76 +1785,6 @@ Rules: - - - sequenceFlow_I4IgZg - sequenceFlow_vqv8cw - sequenceFlow_XAS6SA - - - - - - - - - - - - - - request.subject]]> - - - true - - - - - - - - - - - - - - - - - - Customer: customer.name
-E-Mail: customer.email
-Address: customer.country customer.zip-customer.city customer.address
- -
-]]>
-
- - $workflowgroup - $workflowstatus]]> - sequenceFlow_RgZeeQ - sequenceFlow_BM0t3w - sequenceFlow_1TkjsQ - sequenceFlow_GaCuow - sequenceFlow_7JIrbg - - - - - true - llm.service.endpoint - compliance.check - - -Is the recipient country code customer.country not a member of the European Union? - - -]]> - - - - customer.country not a memb - - - @@ -2041,7 +1880,7 @@ Betrag: _amount (Brutto € _amount_brutto sequenceFlow_UYjTJw - sequenceFlow_I4IgZg + sequenceFlow_RppP5Q @@ -2057,11 +1896,6 @@ Betrag: _amount (Brutto € _amount_bruttosequenceFlow_B0TxWQ - - - - sequenceFlow_XAS6SA - @@ -2189,195 +2023,6 @@ Address: customer.country customer.zip - - - {"n_predict": 2048, "temperature": 0.2, "top_p": 0.9} - - - - -]]> - - - - - - - - - - - - - - _subject]]> - - - - - - - - - _amount (Brutto € _amount_brutto) -_description]]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - home -]]> - - - - - - - - - - - - false - - - - sequenceFlow_GaCuow - sequenceFlow_RppP5Q - - - - - @@ -2439,11 +2084,11 @@ Betrag: _amount (Brutto € _amount_bruttofalse - home - - https://embeddings.llama.cpp.imixs.com/ + + https://embeddings.llama.cpp.imixs.com/ + llm.service.endpoint true -]]> +]]> @@ -2492,9 +2137,6 @@ Created: $created ]]> - - - @@ -2542,7 +2184,7 @@ Created: $created - + @@ -2554,21 +2196,21 @@ Created: $created - + - + - + - + - + - + @@ -2646,12 +2288,6 @@ Created: $created - - - - - - @@ -2682,15 +2318,6 @@ Created: $created - - - - - - - - - @@ -2716,9 +2343,9 @@ Created: $created - + - + @@ -2727,12 +2354,6 @@ Created: $created - - - - - - @@ -2781,18 +2402,6 @@ Created: $created - - - - - - - - - - - - @@ -2817,23 +2426,23 @@ Created: $created - - + + - - + + - + - - + + @@ -2880,7 +2489,8 @@ Created: $created - + + @@ -2929,9 +2539,9 @@ Created: $created - - - + + + @@ -2994,10 +2604,6 @@ Created: $created - - - - @@ -3038,15 +2644,6 @@ Created: $created - - - - - - - - - @@ -3056,10 +2653,6 @@ Created: $created - - - - @@ -3087,7 +2680,8 @@ Created: $created - + + @@ -3120,27 +2714,12 @@ Created: $created - - - - - - - - - - - - - - - diff --git a/workflow/demo/offer-en-original.bpmn b/workflow/demo/offer-en.bpmn similarity index 100% rename from workflow/demo/offer-en-original.bpmn rename to workflow/demo/offer-en.bpmn