Commit Graph
11 Commits
Author SHA1 Message Date
thomas 320b030bde fix(config): guard the emission-date probes against absent formats
The generic emissionDate rule ran unconditionally: on a document whose
date is not numeric (e.g. "le 19 janvier 2026"), date(firstMatch(...))
errored on the empty match and routed a correctly classified document to
pending/. Each format probe now checks for its own format first, and a
frDate fallback handles French natural-language dates.
2026-11-03 23:12:45 +01:00
thomas 02f7fd99bb Corrections after first run 2026-11-03 22:36:27 +01:00
thomas b6f23a30f9 archivist: firstMatch examples use pages expressions 2026-11-01 11:51:49 +01:00
thomas 3b743345f1 archivist: update examples for pages array and firstMatch scope 2026-11-01 11:45:11 +01:00
thomas fe497fb6d8 archivist: document period() and use it in bank statement example 2026-11-01 11:23:48 +01:00
thomas daa1d4f0b5 archivist: {expr} placeholder templates, rename date field to emissionDate 2026-11-01 11:13:36 +01:00
thomas 6a92127d20 archivist: fix date field type (string -> date) in example config 2026-11-01 11:07:37 +01:00
thomas d6678aa1e3 archivist: use expr standard date(value, layout) builtin instead of custom parseDate 2026-11-01 11:07:19 +01:00
thomas db90657598 archivist: field types in example config, native date via parseDate helper 2026-11-01 11:05:37 +01:00
thomas 7f1fbb7f4b archivist: fix invalid JSON (unescaped quotes), use expr raw strings (backticks) in expressions 2026-10-31 12:58:25 +01:00
thomas c5373da667 archivist: add example config.jsonc (banks, tax notices, invoices) with firstMatch extraction 2026-10-31 11:05:08 +01:00