feat: scaffold FastAPI backend with ports-and-adapters layout
This commit is contained in:
parent
adcf4b9df6
commit
1f40d064ad
25 changed files with 973 additions and 22 deletions
11
backend/app/pipeline/orchestrator.py
Normal file
11
backend/app/pipeline/orchestrator.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue