update posteingang summarization prompt
This commit is contained in:
parent
f90afb959a
commit
cdf6d36f8b
5 changed files with 1969 additions and 19 deletions
1935
workflow/dwc/posteingang-dwc-2.0.1.bpmn
Normal file
1935
workflow/dwc/posteingang-dwc-2.0.1.bpmn
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -1686,6 +1686,7 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht</bpmn2:text>
|
|||
</imixs:item>
|
||||
</bpmn2:extensionElements>
|
||||
<bpmn2:documentation id="documentation_YQn5Tw"><![CDATA[Zwischenspeichern]]></bpmn2:documentation>
|
||||
<bpmn2:incoming>sequenceFlow_mWGV4Q</bpmn2:incoming>
|
||||
<bpmn2:outgoing>sequenceFlow_nPTjjw</bpmn2:outgoing>
|
||||
<bpmn2:messageEventDefinition id="messageEventDefinition_FEoW8g" messageRef="Message_2"/>
|
||||
<bpmn2:incoming>sequenceFlow_Tp8LKg</bpmn2:incoming>
|
||||
|
|
@ -2349,6 +2350,7 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht</bpmn2:text>
|
|||
<bpmn2:incoming>sequenceFlow_mtiCpg</bpmn2:incoming>
|
||||
<bpmn2:outgoing>sequenceFlow_6VjCnQ</bpmn2:outgoing>
|
||||
<bpmn2:outgoing>sequenceFlow_sNNdbA</bpmn2:outgoing>
|
||||
<bpmn2:outgoing>sequenceFlow_mWGV4Q</bpmn2:outgoing>
|
||||
</bpmn2:task>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_2th1MQ" sourceRef="gateway_S4b22A" targetRef="gateway_utXBiw">
|
||||
<bpmn2:documentation id="documentation_0BvW5g"/>
|
||||
|
|
@ -2659,6 +2661,9 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht</bpmn2:text>
|
|||
<bpmn2:sequenceFlow id="sequenceFlow_seshBg" sourceRef="event_xxUDcA" targetRef="Task_1">
|
||||
<bpmn2:documentation id="documentation_wxQsPA"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
<bpmn2:sequenceFlow id="sequenceFlow_mWGV4Q" name="send anyway" sourceRef="task_t4TgPg" targetRef="event_NIn1DQ">
|
||||
<bpmn2:documentation id="documentation_eMMkQQ"/>
|
||||
</bpmn2:sequenceFlow>
|
||||
</bpmn2:process>
|
||||
<bpmn2:process id="process_2" name="Default Process" processType="Public">
|
||||
<bpmn2:documentation id="documentation_J67Rkw"/>
|
||||
|
|
@ -3029,7 +3034,7 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht</bpmn2:text>
|
|||
</bpmndi:BPMNLabel>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="textAnnotation_zVr90Q" id="BPMNShape_h0S4Qw">
|
||||
<dc:Bounds height="76.0" width="367.0" x="1700.0" y="350.0"/>
|
||||
<dc:Bounds height="76.0" width="367.0" x="1360.0" y="550.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="event_rTm4Aw" id="BPMNShape_ZZp3Yw">
|
||||
<dc:Bounds height="36.0" width="36.0" x="1427.0" y="897.0"/>
|
||||
|
|
@ -3400,9 +3405,10 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht</bpmn2:text>
|
|||
<di:waypoint x="1637.0" y="465.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="association_PwhTLg" id="BPMNEdge_kBlItA" sourceElement="BPMNShape_h0S4Qw" targetElement="BPMNShape_rAwIzQ">
|
||||
<di:waypoint x="1700.0" y="388.0"/>
|
||||
<di:waypoint x="1655.0" y="388.0"/>
|
||||
<di:waypoint x="1655.0" y="447.0"/>
|
||||
<di:waypoint x="1705.0" y="550.0"/>
|
||||
<di:waypoint x="1705.0" y="515.0"/>
|
||||
<di:waypoint x="1655.0" y="515.0"/>
|
||||
<di:waypoint x="1655.0" y="483.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_bRxzKQ" id="BPMNEdge_wVx6SA" sourceElement="BPMNShape_EventBasedGateway_1" targetElement="BPMNShape_ZZp3Yw">
|
||||
<di:waypoint x="1359.0" y="846.0"/>
|
||||
|
|
@ -3439,6 +3445,12 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht</bpmn2:text>
|
|||
<di:waypoint x="1331.0" y="1375.0"/>
|
||||
<di:waypoint x="1240.0" y="1375.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="sequenceFlow_mWGV4Q" id="BPMNEdge_v6BkSQ" sourceElement="BPMNShape_r4XKgQ" targetElement="BPMNShape_rAwIzQ">
|
||||
<di:waypoint x="1846.0" y="270.0"/>
|
||||
<di:waypoint x="1846.0" y="374.0"/>
|
||||
<di:waypoint x="1655.0" y="374.0"/>
|
||||
<di:waypoint x="1655.0" y="447.0"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
</bpmndi:BPMNPlane>
|
||||
<bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1">
|
||||
<dc:Font name="arial" size="9.0"/>
|
||||
|
|
|
|||
|
|
@ -928,7 +928,7 @@ Note: Do not generate any other information instead of the XML object. Do not ge
|
|||
<bpmn2:dataObject id="dataObject_KPUiiw" imixs:datatype="prompt-data" name="Prompt Summary">
|
||||
<bpmn2:documentation id="documentation_8puQcA" open-bpmn:file-link="file://prompts/invoice-summarize-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
||||
<PromptDefinition>
|
||||
<prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options>
|
||||
<prompt_options>{"n_predict": 2048, "temperature": 0}</prompt_options>
|
||||
<prompt><![CDATA[[INST]You are an employee at the logistic company 'Alexander Global Logistics'. Your job is to check incoming invoice documents and forward them internally to employees. [/INST]
|
||||
|
||||
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>
|
||||
|
|
@ -941,14 +941,13 @@ Summarize the data from this invoice document:
|
|||
- General Billing data
|
||||
- Invoice total information
|
||||
- Payment summary (including bank data)
|
||||
- Invoice items
|
||||
|
||||
Do not summarize the invoice line items!
|
||||
|
||||
Note: The vendor information refers to the sender of the invoice. The company name is the name of the company that issued the invoice document and not the name of the recipient. As a rule, it is not Alexander Global Logistics either. The company name is often at the beginning or end of the invoice document.
|
||||
|
||||
Use only the default values and do not perform any calculations, summing or changes to these values yourself. Format numbers and amounts according to ISO 4217.
|
||||
|
||||
If possible summarize the invoice lines in a table.
|
||||
|
||||
[/INST]
|
||||
]]]]><![CDATA[>
|
||||
</prompt>
|
||||
|
|
@ -1241,6 +1240,9 @@ Possible ImageTypes are:
|
|||
</bpmn2:process>
|
||||
<bpmn2:process id="process_2" name="Imixs AI" processType="Public">
|
||||
<bpmn2:documentation id="documentation_dDLFbw"/>
|
||||
<bpmn2:extensionElements>
|
||||
<open-bpmn:auto-align/>
|
||||
</bpmn2:extensionElements>
|
||||
</bpmn2:process>
|
||||
<bpmn2:signal id="signal_3" name="org.imixs.ai.workflow.OpenAIAPIAdapter"/>
|
||||
<bpmndi:BPMNDiagram id="BPMNDiagram_1" name="Default Collaboration Diagram">
|
||||
|
|
@ -1296,22 +1298,25 @@ Possible ImageTypes are:
|
|||
<bpmndi:BPMNShape bpmnElement="TextAnnotation_1" id="BPMNShape_TextAnnotation_1">
|
||||
<dc:Bounds height="321.0" width="541.0" x="170.0" y="730.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNShape bpmnElement="participant_GUMWGQ" id="BPMNShape_Rky1Ow">
|
||||
<dc:Bounds height="210.0" width="800.0" x="0.0" y="0.0"/>
|
||||
</bpmndi:BPMNShape>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_9" id="BPMNEdge_SequenceFlow_9" sourceElement="BPMNShape_Task_2" targetElement="BPMNShape_IntermediateCatchEvent_3">
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_21"/>
|
||||
<di:waypoint x="500.0" y="545.0"/>
|
||||
<di:waypoint x="537.0" y="545.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_21"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_12" id="BPMNEdge_SequenceFlow_12" sourceElement="BPMNShape_Task_4" targetElement="BPMNShape_EndEvent_1">
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_27"/>
|
||||
<di:waypoint x="2030.0" y="545.0"/>
|
||||
<di:waypoint x="2117.0" y="545.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_27"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNEdge bpmnElement="SequenceFlow_2" id="BPMNEdge_SequenceFlow_2" sourceElement="BPMNShape_BoundaryEvent_1" targetElement="BPMNShape_IntermediateCatchEvent_3">
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_20"/>
|
||||
<di:waypoint x="454.0" y="497.0"/>
|
||||
<di:waypoint x="454.0" y="474.0"/>
|
||||
<di:waypoint x="555.0" y="474.0"/>
|
||||
<di:waypoint x="555.0" y="527.0"/>
|
||||
<bpmndi:BPMNLabel id="BPMNLabel_20"/>
|
||||
</bpmndi:BPMNEdge>
|
||||
<bpmndi:BPMNShape bpmnElement="dataObject_FS1r0Q" id="BPMNShape_Cn1HMQ">
|
||||
<dc:Bounds height="50.0" width="35.0" x="340.0" y="420.0"/>
|
||||
|
|
|
|||
|
|
@ -930,7 +930,7 @@ Note: Do not generate any other information instead of the XML object. Do not ge
|
|||
<bpmn2:dataObject id="dataObject_KPUiiw" imixs:datatype="prompt-data" name="Prompt Summary">
|
||||
<bpmn2:documentation id="documentation_8puQcA" open-bpmn:file-link="file://prompts/invoice-summarize-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
|
||||
<PromptDefinition>
|
||||
<prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options>
|
||||
<prompt_options>{"n_predict": 2048, "temperature": 0}</prompt_options>
|
||||
<prompt><![CDATA[[INST]You are an employee at the logistic company 'Alexander Global Logistics'. Your job is to check incoming invoice documents and forward them internally to employees. [/INST]
|
||||
|
||||
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>
|
||||
|
|
@ -943,14 +943,13 @@ Summarize the data from this invoice document:
|
|||
- General Billing data
|
||||
- Invoice total information
|
||||
- Payment summary (including bank data)
|
||||
- Invoice items
|
||||
|
||||
Do not summarize the invoice line items!
|
||||
|
||||
Note: The vendor information refers to the sender of the invoice. The company name is the name of the company that issued the invoice document and not the name of the recipient. As a rule, it is not Alexander Global Logistics either. The company name is often at the beginning or end of the invoice document.
|
||||
|
||||
Use only the default values and do not perform any calculations, summing or changes to these values yourself. Format numbers and amounts according to ISO 4217.
|
||||
|
||||
If possible summarize the invoice lines in a table.
|
||||
|
||||
[/INST]
|
||||
]]]]><![CDATA[>
|
||||
</prompt>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<PromptDefinition>
|
||||
<prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options>
|
||||
<prompt_options>{"n_predict": 2048, "temperature": 0}</prompt_options>
|
||||
<prompt><![CDATA[[INST]You are an employee at the logistic company 'Alexander Global Logistics'. Your job is to check incoming invoice documents and forward them internally to employees. [/INST]
|
||||
|
||||
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>
|
||||
|
|
@ -13,14 +13,13 @@ Summarize the data from this invoice document:
|
|||
- General Billing data
|
||||
- Invoice total information
|
||||
- Payment summary (including bank data)
|
||||
- Invoice items
|
||||
|
||||
Do not summarize the invoice line items!
|
||||
|
||||
Note: The vendor information refers to the sender of the invoice. The company name is the name of the company that issued the invoice document and not the name of the recipient. As a rule, it is not Alexander Global Logistics either. The company name is often at the beginning or end of the invoice document.
|
||||
|
||||
Use only the default values and do not perform any calculations, summing or changes to these values yourself. Format numbers and amounts according to ISO 4217.
|
||||
|
||||
If possible summarize the invoice lines in a table.
|
||||
|
||||
[/INST]
|
||||
]]>
|
||||
</prompt>
|
||||
|
|
|
|||
Loading…
Reference in a new issue