modell udpate

This commit is contained in:
Ralph Soika 2024-08-02 10:47:29 +02:00
parent b281eedafe
commit 7e238d4c94
4 changed files with 15 additions and 6 deletions

View file

@ -691,7 +691,7 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<bpmn2:dataObject id="dataObject_HHM58Q" name="Prompt Extract"> <bpmn2:dataObject id="dataObject_HHM58Q" name="Prompt Extract">
<bpmn2:documentation id="documentation_X7T0uA" open-bpmn:file-link="file://prompts/invoice-extract-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <bpmn2:documentation id="documentation_X7T0uA" open-bpmn:file-link="file://prompts/invoice-extract-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"max_tokens": 4096, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 4096, "temperature": 0 }</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] <prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST]
<itemvalue>invoice.summary</itemvalue> <itemvalue>invoice.summary</itemvalue>
@ -910,7 +910,7 @@ Transfer the individual invoice data to the XML tags, taking into account the fo
<bpmn2:dataObject id="dataObject_ZhBiZg" name="Prompt Category"> <bpmn2:dataObject id="dataObject_ZhBiZg" name="Prompt Category">
<bpmn2:documentation id="documentation_K0KMVw" open-bpmn:file-link="file://prompts/categorize-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?> <bpmn2:documentation id="documentation_K0KMVw" open-bpmn:file-link="file://prompts/categorize-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"n_predict": 2048, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 512, "temperature": 0 }</prompt_options>
<prompt><![CDATA[[INST] You are an employee at the logistic company 'Alexander Global Logistics GmbH'. Your job is to check incoming invoice documents and forward them internally to employees. [/INST] <prompt><![CDATA[[INST] You are an employee at the logistic company 'Alexander Global Logistics GmbH'. Your job is to check incoming invoice documents and forward them internally to employees. [/INST]
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT> <FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>
@ -1016,6 +1016,7 @@ Note: Do not generate any other information instead of the XML object. Do not ge
<imixs:value><![CDATA[<imixs-ai name="PROMPT"> <imixs:value><![CDATA[<imixs-ai name="PROMPT">
<endpoint>https://llama.cpp.imixs.com/</endpoint> <endpoint>https://llama.cpp.imixs.com/</endpoint>
<result-item>invoice.summary</result-item> <result-item>invoice.summary</result-item>
<debug>true</debug>
</imixs-ai> </imixs-ai>
<validation name="required">false</validation> <validation name="required">false</validation>
@ -1044,7 +1045,7 @@ Note: Do not generate any other information instead of the XML object. Do not ge
<bpmn2:dataObject id="dataObject_KPUiiw" name="Prompt Summary"> <bpmn2:dataObject id="dataObject_KPUiiw" 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"?> <bpmn2:documentation id="documentation_8puQcA" open-bpmn:file-link="file://prompts/invoice-summarize-en.xml"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"max_tokens": 4096, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] <prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST]
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT> <FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>
@ -1350,6 +1351,9 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<bpmn2:documentation id="documentation_AJkXtg"/> <bpmn2:documentation id="documentation_AJkXtg"/>
<bpmn2:conditionExpression id="formalExpression_WutmBw" xsi:type="bpmn2:tFormalExpression"><![CDATA[''!=workitem.getItemValueString('adapter.error_code'); ]]></bpmn2:conditionExpression> <bpmn2:conditionExpression id="formalExpression_WutmBw" xsi:type="bpmn2:tFormalExpression"><![CDATA[''!=workitem.getItemValueString('adapter.error_code'); ]]></bpmn2:conditionExpression>
</bpmn2:sequenceFlow> </bpmn2:sequenceFlow>
<bpmn2:association id="association_w5HwVg" sourceRef="dataObject_CRa7xA" targetRef="task_0YaQ2w">
<bpmn2:documentation id="documentation_Z1YkeA"/>
</bpmn2:association>
</bpmn2:process> </bpmn2:process>
<bpmn2:process id="process_2" name="Imixs AI" processType="Public"> <bpmn2:process id="process_2" name="Imixs AI" processType="Public">
<bpmn2:documentation id="documentation_dDLFbw"/> <bpmn2:documentation id="documentation_dDLFbw"/>
@ -1721,6 +1725,11 @@ Betrag: <itemvalue>_amount</itemvalue> (Brutto € <itemvalue>_amount_brutto</it
<di:waypoint x="1675.0" y="374.0"/> <di:waypoint x="1675.0" y="374.0"/>
<di:waypoint x="1675.0" y="407.0"/> <di:waypoint x="1675.0" y="407.0"/>
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="association_w5HwVg" id="BPMNEdge_ia3uKg" sourceElement="BPMNShape_FhS9qQ" targetElement="BPMNShape_bynHqw">
<di:waypoint x="905.0" y="769.0"/>
<di:waypoint x="1370.0" y="769.0"/>
<di:waypoint x="1370.0" y="570.0"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane> </bpmndi:BPMNPlane>
<bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1"> <bpmndi:BPMNLabelStyle id="BPMNLabelStyle_1">
<dc:Font name="arial" size="9.0"/> <dc:Font name="arial" size="9.0"/>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"n_predict": 2048, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 512, "temperature": 0 }</prompt_options>
<prompt><![CDATA[[INST] You are an employee at the logistic company 'Alexander Global Logistics GmbH'. Your job is to check incoming invoice documents and forward them internally to employees. [/INST] <prompt><![CDATA[[INST] You are an employee at the logistic company 'Alexander Global Logistics GmbH'. Your job is to check incoming invoice documents and forward them internally to employees. [/INST]
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT> <FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"max_tokens": 4096, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 4096, "temperature": 0 }</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] <prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST]
<itemvalue>invoice.summary</itemvalue> <itemvalue>invoice.summary</itemvalue>

View file

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<PromptDefinition> <PromptDefinition>
<prompt_options>{"max_tokens": 4096, "temperature": 0 }</prompt_options> <prompt_options>{"n_predict": 4096, "temperature": 0}</prompt_options>
<prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST] <prompt><![CDATA[[INST]You are a clerk at the logistic company 'Alexander Global Logistics GmbH'. Your task is to check incoming invoices. [/INST]
<FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT> <FILECONTEXT>^.+\.([pP][dD][fF])$</FILECONTEXT>