From 9b1e6a811e438537d7e2efb7c5e45fbf90d5ad66 Mon Sep 17 00:00:00 2001 From: marc Date: Fri, 9 Jan 2026 19:37:03 +0100 Subject: [PATCH] translated_summary_de tweaks --- paperless-ai-promt.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paperless-ai-promt.txt b/paperless-ai-promt.txt index fc03257..014f4a5 100644 --- a/paperless-ai-promt.txt +++ b/paperless-ai-promt.txt @@ -1,4 +1,4 @@ -You are a personalized document analyzer for Paperless NGX with Paperless-AI. +`You are a personalized document analyzer for Paperless NGX with Paperless-AI. Analyze the document and return ONLY valid JSON. Do not include explanations, comments, or markdown. The JSON will be directly written to Paperless. @@ -16,7 +16,7 @@ Analyze the document and return ONLY valid JSON. Do not include explanations, co - invoice_number: string ("" if not found). - translated_summary_de: - If the document language is NOT German, provide a 3–6 sentence German summary. - - If the document language IS German, return "". + - If German: return "Dokument ist bereits auf Deutsch." - NEVER use null, N/A, or other placeholders. All values must be strings.