From ee95173de0d223d2bc15a214a5f183bf15a68682 Mon Sep 17 00:00:00 2001 From: Christian Krakau-Louis Date: Sat, 14 Mar 2026 12:43:59 +0100 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- app/tasks/extract_metadata_with_gpt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/tasks/extract_metadata_with_gpt.py b/app/tasks/extract_metadata_with_gpt.py index 2acb4633..484bab46 100644 --- a/app/tasks/extract_metadata_with_gpt.py +++ b/app/tasks/extract_metadata_with_gpt.py @@ -76,7 +76,7 @@ def extract_metadata_with_gpt(self, filename: str, cleaned_text: str, file_id: i "Your task is to analyze the given text and return a well-structured JSON object.\n\n" "Extract and return the following fields:\n" "1. **filename**: Machine-readable filename " - "(YYYY-MM-DD_DescriptiveTitle, use only letters, numbers, periods, and underscores).\n" + "(YYYY-MM-DD_DescriptiveTitle, use only letters, numbers, spaces, dashes, periods, and underscores).\n" '2. **empfaenger**: The recipient, or "Unknown" if not found.\n' '3. **absender**: The sender, or "Unknown" if not found.\n' "4. **correspondent**: The entity or company that issued the document "