aboutsummaryrefslogtreecommitdiffstats
path: root/examples/tools/redact.toml
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-09 00:55:32 +0100
committerDanilo M. <danix@danix.xyz>2026-11-09 00:55:32 +0100
commitb4075d1857cffee11362ada550327cca92ca9bb7 (patch)
treec5fd3d1d596aaf1755397fc2cbbe17bfb04537f2 /examples/tools/redact.toml
parent81fb9c3f6fae47072381f3973296d9de87b5af5e (diff)
downloaddesktop-assistant-b4075d1857cffee11362ada550327cca92ca9bb7.tar.gz
desktop-assistant-b4075d1857cffee11362ada550327cca92ca9bb7.zip
tools: redact, codice fiscale survives OCR misreads
Live check: a scanned codice fiscale read as NREMRCE0A01F205X (80 as E0) failed the strict layout and stayed visible. Any 16-character code mixing at least 3 letters and 3 digits is now blacked out. The tool description no longer promises these are always found and asks the model to list them in items on scans too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'examples/tools/redact.toml')
-rw-r--r--examples/tools/redact.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tools/redact.toml b/examples/tools/redact.toml
index c6509a5..8cc64a5 100644
--- a/examples/tools/redact.toml
+++ b/examples/tools/redact.toml
@@ -1,4 +1,4 @@
-description = "Redact personal data (PII) from an attached PDF or image: writes a copy with black boxes, '<name>-redacted.<ext>' beside the original, and opens it for the user to check. Emails, phone numbers, IBANs, codici fiscali and card numbers are always found. Pass in items every other piece of personal data you see in the document: names, addresses, account or document numbers, exactly as written there. The original is not changed. Report what the tool says, including anything not found."
+description = "Redact personal data (PII) from an attached PDF or image: writes a copy with black boxes, '<name>-redacted.<ext>' beside the original, and opens it for the user to check. Emails, phone numbers, IBANs, codici fiscali and card numbers are found automatically; on a scan or photo list them in items too, since OCR can misread them. Pass in items every other piece of personal data you see in the document: names, addresses, account or document numbers, exactly as written there. The original is not changed. Report what the tool says, including anything not found."
command = ["redact.py", "{path}", "{items}"]
cloud = ["hetzner"]
timeout = 120