3. Read only the returned blocks.
4. Answer from those blocks if they are sufficient.
5. Only if recall is clearly insufficient, rerun with one controlled expansion:
- increase --top-k
- or increase --max-chars
- or narrow / refine the query
6. Do not jump to raw-page scraping unless the extractor failed.
Budget Discipline
Prefer --max-chars 1200 to 2400 for narrow fact lookup.
Keep --top-k between 3 and 6 unless the user explicitly asks for breadth.
Narrow the query instead of widening the token budget when possible.
If the first run already contains the answer, stop there.
Output Discipline
When answering:
cite which returned block supports the answer
say when the extractor output is incomplete or ambiguous
distinguish extracted text from your inference
do not claim the full page was reviewed unless it actually was
Examples
Find pricing details from a long page:
python3 ./scripts/web_relevance_extract.py "https://example.com/pricing" "pricing tiers api limits enterprise" --max-chars 1600 --top-k 4 --format text