From e34fda31fe9dd2b2d74de6c2e9327c0e8fdd6d67 Mon Sep 17 00:00:00 2001 From: thomas_deschamps Date: Thu, 28 Aug 2025 13:45:57 +0000 Subject: [PATCH] Pushed by Git push app from Switch --- Ai connect pro_02_OCR_Mistral.xml | 603 ++++++++++++++++++++++++++++++ 1 file changed, 603 insertions(+) create mode 100644 Ai connect pro_02_OCR_Mistral.xml diff --git a/Ai connect pro_02_OCR_Mistral.xml b/Ai connect pro_02_OCR_Mistral.xml new file mode 100644 index 0000000..02d7f60 --- /dev/null +++ b/Ai connect pro_02_OCR_Mistral.xml @@ -0,0 +1,603 @@ + + +
+ + Ai connect pro_02_OCR_Mistral + Flow + Created at 1/28/2025 8:32 AM + + Ai connect pro_02_OCR_Mistral + 281 + No + 48 + E:/BlueWest/98-Utilitaires/Grille Switch.png + E:/BlueWest/bitBucketFolder/ai-connect-pro/Images/Ai-connect-+-mistral.png + C:/Users/tdesc/Pictures/mistral-color.png + No + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + 275 + +
+ + + ProblemFilesFolder + producer + Filter + One + Problem jobs + + This flow only + Default + 10 + 10 + 80 + 224 + + + + + + Folder + folder + - + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 272 + 304 + + + + + + Folder + folder + Mistral response + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Add version number + _v + 2 + No + No Folders + + + No + 272 + 224 + + + + + + Folder + folder + - + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + #808080 + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 80 + 304 + + + + + + Folder + folder + Set your API key + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Magenta + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 176 + 384 + + + + + + ai-connect-pro + processor + TrafficLight + AI connect_PRO + + 176 + 304 + + Default + Default + Yes + Unlimited + Mistral + + Text completion + dall-e-2 + Vivid + Standard + 256x256 + 1024x1024 + a photo of a happy corgi puppy sitting and facing forward, studio light, longshot + 1 + gpt-4o + You are an expert assistant from MyPrintingCompany.com a printing company, helping with customer communication. You will receive two input files: +- An XML file that contains all information about a printed product (e.g., paper type, size, deadlines, invoice/bill info, contact details). +- A Pitstop preflight report file that details the technical results of the PDF preflight check. + +Your task is to: +- Read and understand the relevant data from both files. +- Generate an HTML email body only (no subject, no headers). + +Instruction for the HTML content : +- Translate it in [Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Language']/value"] +- Add at the top a greeting to the customer (refer to the XML file for contact) +- Follow with a reminder of the order name and a summary block (in a table format) showing key production details from the XML. +- Summarize the preflight report using clear, non-technical language intended for someone not used to printer related terminlogy. + - Errors are critical and mean the file is not suitable for print — highlight these in red. + - Warnings are advisory and up to the customer to accept — highlight these in orange. + - If there are no errors or warnings, briefly confirm the file is ready for print. + +Display the preflight results in a table format, listing: + - Type (Error or Warning) + - Description ( + - Page number (if available) + - Include helpful suggestions for resolving issue + +- Add a button with the review link that should lead the customer to this web page : https://www.enfocus.com/en/review + +- Below the button, add a short message telling the customer to click the button to make an approval decision. + + +Formatting : +- Output the body of the HTML only, as a single line (no line breaks, no \n or \r). +- Do not escape characters. +- Use single quotes (') instead of double quotes ("). +- Do not include any plain text explanation or mardown element — only the final body HTML output. + + 0.5 + + + 1.0 + alloy + mp3 + Current + + + + en + 0 + json + http://localhost:7869/ + Text completion + Tell + gemma:2b + 0 + + OCR + You are an expert assistant from MyPrintingCompany.com a printing company, helping with customer communication. You will receive two input files: +- An XML file that contains all information about a printed product (e.g., paper type, size, deadlines, invoice/bill info, contact details). +- A Pitstop preflight report file that details the technical results of the PDF preflight check. + +Your task is to: +- Read and understand the relevant data from both files. +- Generate an HTML email body only (no subject, no headers). + +Instruction for the HTML content : +- Translate it in [Metadata.Text:Dataset="Submit",Model="XML",Path="/field-list/field[tag='Language']/value"] +- Add at the top a greeting to the customer (refer to the XML file for contact) +- Follow with a reminder of the order name and a summary block (in a table format) showing key production details from the XML. +- Summarize the preflight report using clear, non-technical language intended for someone not used to printer related terminlogy. + - Errors are critical and mean the file is not suitable for print — highlight these in red. + - Warnings are advisory and up to the customer to accept — highlight these in orange. + - If there are no errors or warnings, briefly confirm the file is ready for print. + +Display the preflight results in a table format, listing: + - Type (Error or Warning) + - Description ( + - Page number (if available) + - Include helpful suggestions for resolving issue + +- Add a button with the review link that should lead the customer to this web page : https://www.enfocus.com/en/review + +- Below the button, add a short message telling the customer to click the button to make an approval decision. + + +Formatting : +- Output the body of the HTML only, as a single line (no line breaks, no \n or \r). +- Do not escape characters. +- Use single quotes (') instead of double quotes ("). +- Do not include any plain text explanation or mardown element — only the final body HTML output. + + mistral-large-2411 + 0 + store_name=The name of the store or merchant +transaction_date=Date and time of the purchase +total_amount:number=Total amount paid including tax +tax_amount?:number=Tax amount applied (if shown) +payment_method=Method of payment (e.g., Visa, cash) +address?:string=Store address if available + Yes + No + Submit +Log + No + + json + No + + + + + TrafficLight + + + 0 + 174 + 194 + Gray + Data with log + AIconnect + No + Yes + Yes + Yes + + + + + TrafficLight + + + -90 + 174 + 195 + Gray + Log + Log + No + Yes + Yes + Yes + + + + + Filter + + + 0 + 156 + 174 + Gray + No + All Files + No Files + + + + + Filter + + + 0 + 208 + 174 + Gray + No + All Files + No Files + + + + + Folder + folder + Folder 46 + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Yellow + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 528 + 352 + + + + + + Folder + folder + Folder 47 + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Yellow + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 672 + 296 + + + + + + Folder + folder + Folder 48 + + #automanaged# + No + + Default + No + 00:00 + 00:00 + No + Monday + Sunday + No + 1 + Start of the month + Yellow + No + No + + + + + + + Yes + Yes + Overwrite + + 1 + No + No Folders + + + No + 616 + 408 + + + + + + Filter + + + 0 + 276 + 278 + Gray + No + All Files + No Files + + + + + Filter + + + 0 + 276 + 277 + Gray + No + All Files + No Files + + + + + Job_info + processor + Move + Refresh job info + + 816 + 408 + + Default + Default + Yes + One + Set + + Refresh + Refresh + None + None + None + None + None + + + + + + + + + + + + +