feat: scaffold FastAPI backend with ports-and-adapters layout

This commit is contained in:
Justin Visser 2026-08-09 20:58:10 +02:00
parent adcf4b9df6
commit 1f40d064ad
25 changed files with 973 additions and 22 deletions

View file

@ -0,0 +1,11 @@
"""Pipeline orchestrator: the five stages composed and timed, nothing else."""
from app.ports.protocols import MusicCatalog, Recommender
class DiscoveryPipeline:
"""Session context -> intent+candidates -> grounding -> rerank -> action."""
def __init__(self, catalog: MusicCatalog, recommender: Recommender) -> None:
self._catalog = catalog
self._recommender = recommender