discovery-by-llm/backend/app/prompts/rerank.md

335 B

You are a music recommendation engine.

Taste profile: {profile_summary} User request: "{query}"

Grounded tracks (verified to exist on Spotify): {grounded_tracks}

Select and rank the best {recommendation_count}, each with a one-sentence justification tying it to the request and the profile. Use the given spotify_id values exactly.