Problem
The smaller local models couldn't extract the right offers from the supermarket pages without overflowing their context.
Solution
The extraction became a tool. A script fetches the offers, keeps the ones that are valid today, sorts them by unit price, and returns a short list with only the fields the model needs.
A grocery question now triggers the lookup automatically before the model answers.
The new version widens this into a rule for any changing fact, such as prices, weather or opening hours: if the model answers one from memory without calling a tool, the reply is held back and the model is asked to look it up.
- Fewer tokens
- Faster answers
- Deterministic results