Repository navigation
Replies: 1 comment
|
shipped in 0.10.0! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem
Fact-extraction prompts are assembled at runtime from Python constants, formatting calls, conditionals, and appended sections.
A prompt engineer cannot open one file and see the complete prompt sent to the model. Reviewing or changing it requires tracing Python code, and shared instructions can drift between extraction modes. Issues such as #745 and #181 show this happening in practice.
Proposal
Move the prompts to Jinja templates with:
I propose doing this incrementally:
fact_extraction.pyinto focused modules without behavioral changes.I volunteer to implement these changes, add the tests, and address review feedback. I already have a tested prototype of the first module-splitting step, but will wait for agreement on the direction before opening a PR.
Would maintainers be interested in this direction? If so, would you prefer the module split as one mechanical PR or several smaller PRs?
All reactions