Pipeline ======== ``AlbaCore`` is the main entry point for a full backend search. Use it when a channel wrapper or test wants to run extraction, hard filtering, soft scoring, top-three ranking, and lead summary generation in one call. .. autoclass:: app.alba_core.pipeline.AlbaCore :members: Example ------- .. code-block:: python from pathlib import Path from app.alba_core.pipeline import AlbaCore core = AlbaCore(Path("data/propertyme_property_seed_latest.json")) result = core.search( "Find me a house in Auckland with 4 bedrooms under 5000" ) print(result["search_ready"]) print(result["match_count"]) print(result["lead_summary"]) Environment-based setup ----------------------- .. code-block:: python from app.alba_core.pipeline import AlbaCore core = AlbaCore.from_environment() result = core.search("Queenstown, 3 bedrooms, budget up to 5000, move ASAP") for match in result["matches"]: print(match["property"]["address"], match["score"])