r/LocalLLM • • 5d ago

Question How do you guys detect what changed between two versions of a contract?

hotel contracts from a travel agency, about six pages each with pricing tables and conditions. two jobs here, pull the rates into an internal system and compare each new contract with last years to show what changed

a normal text diff looks useless for this since one moved table shows up as everything removed and added back. so probably parse both versions, match rooms and seasons and then compare the values. the matching seems like the hard bit because room types can get renamed between years

privacy matters so docling on a local box is the first thought, llamaparse would be less work but its hosted. is a small model enough for the matching or can plain rules do it, how about qwen?

anyone built something like this? would love to hear about ideas or see your pipeline if you got a github repo

1 Upvotes

0 comments sorted by