Settings

Theme

Killing hallucinations in legal texts with a Generalizer-Judge-Surgeon pipeline

lustra.news

1 points by fokdelafons a month ago · 1 comment

Reader

fokdelafonsOP a month ago

The linked post details my engineering solution: a 'Generalizer-Judge-Surgeon' pipeline to remove hallucinations from legislation.

Using a "dumber/faster" model (Flash Lite) strictly as a Judge (comparing Source vs Summary) worked better than asking initial model to self-verify. It acts like a semantic regex.

Call for Contributors: The project is Source Available. I have the core architecture ready for scaling, but I need locals to help build the specific data adapters/scrapers for their parliaments. If you want to help fix the "legislative black hole" in your country, check the repo.

Happy to answer questions about the prompt engineering or the architecture.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection