Skip to content

Add reusable document profiles with checked batch extraction - #6

Merged
Warddamn merged 1 commit into
mainfrom
feat/document-profiles
Oct 1, 2026
Merged

Warddamn merged 1 commit into
mainfrom
feat/document-profiles

Conversation

@Warddamn

@Warddamn Warddamn commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Recurring labeled forms currently require agents to rediscover extraction rules or write scripts. Extend extract with a saved local JSON profile and one batch call: exact document anchors, required unique labels and text/decimal/date checks. Failed rows need review and withhold partial fields; review rows lead bounded previews. Optional complete JSONL reports preserve exact strings and protect documents, profiles and existing outputs. No training, inference dependency, telemetry or extra MCP tool.

Prepare context 0.3.0 with examples, public install/discovery metadata and exact-artifact checks. Runtime 0.1.1 stays unchanged. Source tests cover real PDF/DOCX, CLI/MCP, drift, ambiguous/missing fields, limits, output safety and exact profile hashes. Local tests: 253 pass; clean tarball install checks pass. CI additionally verifies supported Node/OS combinations, containers and release artifacts.

Evidence deliberately includes overhead: the correct prepared script is faster; tiny documents are a poor fit. One saved-profile agent pair after fixing an extra call reported $0.1304 / 16.45s versus $0.2007 / 33.83s with built-ins, but setup is excluded and cache state differs. Both initial and corrected trials are retained. No universal savings claim. Shortened descriptions keep the serialized tool catalog slightly smaller than 0.2.0.

@Warddamn
Warddamn merged commit 5f1524e into main Oct 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant