feat: add recommendation domain foundations

This commit is contained in:
Justin Visser 2026-08-10 11:59:02 +02:00
parent fad7884c42
commit 5c3ba8d6ec
10 changed files with 446 additions and 0 deletions

View file

@ -24,6 +24,24 @@ class Settings(BaseSettings):
spotify_timeout_seconds: float = 10.0
spotify_retry_after_cap_seconds: float = 5.0
session_cookie_secure: bool = False
anthropic_api_key: str = ""
llm_model: str = "claude-sonnet-5"
intent_effort: str = "low"
rerank_effort: str = "medium"
candidate_count: int = 35
rerank_count: int = 15
rerank_pool_buffer: int = 5
grounding_concurrency: int = 6
grounding_floor: int = 8
title_similarity_threshold: float = 0.82
request_deadline_seconds: float = 25.0
resolution_cache_ttl_seconds: float = 3600.0
resolution_cache_max_entries: int = 2048
taste_profile_ttl_seconds: float = 900.0
playlist_name_prefix: str = "discovery-by-llm"
spotify_seed_refresh_token: str = ""
top_items_limit: int = 50
saved_tracks_limit: int = 100
settings = Settings()