Skip to content

Add word-count gate to rewriting pipeline - #9

Draft
nvdomidi wants to merge 2 commits into
mainfrom
codex/change-app-to-llm-pdf-rewriter
Draft

Add word-count gate to rewriting pipeline#9
nvdomidi wants to merge 2 commits into
mainfrom
codex/change-app-to-llm-pdf-rewriter

Conversation

@nvdomidi

@nvdomidi nvdomidi commented Oct 7, 2025

Copy link
Copy Markdown
Owner

Summary

  • introduce a minimum word-count threshold for rewrite requests
  • skip rewrite calls for text blocks of 10 words or fewer while preserving their original content
  • avoid redacting layout blocks that fall below the threshold to keep the original PDF text untouched

Testing

  • not run (not requested)

https://chatgpt.com/codex/tasks/task_e_68e55782f1a083239f3c7a76e541aa22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant