📄 __init__.py 545 bytes Apr 27, 2026 📋 Raw

"""Recipe extraction waterfall — JSON-LD first, AI second.

Architecture:
Step 1: JSON-LD Sniper — deterministic, zero LLM, ~95% hit rate
Step 2: HTML Chunk + LLM — heuristic extraction, 15s timeout
Step 3: Timeout guard — hard 15s ceiling on any LLM call

Zero domain checks. Schema-based extraction only.
"""

from costco_route.extractors.recipe import (
extract_json_ld,
extract_recipe,
extract_recipe_waterfall,
)

all = [
"extract_json_ld",
"extract_recipe",
"extract_recipe_waterfall",
]