{"id":2278,"date":"2025-09-23T13:22:02","date_gmt":"2025-09-23T13:22:02","guid":{"rendered":"https:\/\/makeaiprompt.com\/blog\/ai-agent-prompt-for-personalized-music-recommendation\/"},"modified":"2025-09-23T13:22:02","modified_gmt":"2025-09-23T13:22:02","slug":"ai-agent-prompt-for-personalized-music-recommendation","status":"publish","type":"post","link":"https:\/\/makeaiprompt.com\/blog\/ai-agent-prompt-for-personalized-music-recommendation\/","title":{"rendered":"AI Agent Prompt for Personalized Music Recommendation"},"content":{"rendered":"<div style=\"margin-top: 0px; margin-bottom: 0px;\" class=\"sharethis-inline-share-buttons\" ><\/div><div style=\"padding:20px;border-radius:8px;margin-bottom:20px;\">\n<h3 style=\"margin-top:0;\">About Prompt<\/h3>\n<ul style=\"list-style: none; padding: 0;\">\n<li style=\"margin:8px 0;padding:8px;border-radius:4px;box-shadow:0 1px 3px rgba(255, 255, 255, 1);\"><strong>Prompt Type<\/strong> &#8211; Dynamic<\/li>\n<li style=\"margin:8px 0;padding:8px;border-radius:4px;box-shadow:0 1px 3px rgba(255, 255, 255, 1);\"><strong>Prompt Platform<\/strong> &#8211; ChatGPT, Grok, Deepseek, Gemini, Copilot, Midjourney, Meta AI and more<\/li>\n<li style=\"margin:8px 0;padding:8px;border-radius:4px;box-shadow:0 1px 3px rgba(255, 255, 255, 1);\"><strong>Niche<\/strong> &#8211; Music Apps<\/li>\n<li style=\"margin:8px 0;padding:8px;border-radius:4px;box-shadow:0 1px 3px rgba(255, 255, 255, 1);\"><strong>Language<\/strong> &#8211; English<\/li>\n<li style=\"margin:8px 0;padding:8px;border-radius:4px;box-shadow:0 1px 3px rgba(255, 255, 255, 1);\"><strong>Category<\/strong> &#8211; Entertainment<\/li>\n<li style=\"margin:8px 0;padding:8px;border-radius:4px;box-shadow:0 1px 3px rgba(255, 255, 255, 1);\"><strong>Prompt Title<\/strong> &#8211; AI Agent Prompt for Personalized Music Recommendation<\/li>\n<\/ul>\n<\/div>\n<h3 style=\"margin-top:0;\">Prompt Details <\/h3>\n<div id=\"promptContent\">## AI Agent Prompt: Personalized Music Recommendation<\/p>\n<p>**Prompt Type:** Dynamic<\/p>\n<p>**Platform Compatibility:** All AI Platforms<\/p>\n<p>**Purpose:** Entertainment &#8211; Personalized Music Recommendation within a Music App<\/p>\n<p>**Description:** This prompt aims to generate highly personalized music recommendations based on dynamic user input and context.  It&#8217;s designed to be flexible and adaptable to various AI platforms and can be integrated into music app features like playlist generation, radio stations, or &#8220;discover&#8221; sections.  It leverages a multi-faceted approach, considering various factors influencing music preference to deliver the most relevant and enjoyable experience.<\/p>\n<p>**Prompt Structure:**<\/p>\n<p>&#8220;`<br \/>\n## Personalized Music Recommendation Request<\/p>\n<p>**User ID:** {user_id}  *(Unique identifier for the user)*<br \/>\n**Current Context:** {context} *(e.g., &#8220;Relaxing at home,&#8221; &#8220;Working out,&#8221; &#8220;Commuting,&#8221; &#8220;Partying,&#8221; &#8220;Studying,&#8221; &#8220;Feeling happy,&#8221; &#8220;Feeling sad&#8221;)*<br \/>\n**Time of Day:** {time_of_day} *(e.g., &#8220;Morning,&#8221; &#8220;Afternoon,&#8221; &#8220;Evening,&#8221; &#8220;Night&#8221;)*<br \/>\n**Location (Optional):** {location} *(e.g., &#8220;Beach,&#8221; &#8220;Cafe,&#8221; &#8220;Gym&#8221;)*<br \/>\n**Device (Optional):** {device} *(e.g., &#8220;Smartphone,&#8221; &#8220;Smart Speaker,&#8221; &#8220;Car&#8221;)*<br \/>\n**Current Activity (Optional):** {activity} *(e.g., &#8220;Cooking,&#8221; &#8220;Driving,&#8221; &#8220;Reading&#8221;)*<br \/>\n**Weather (Optional):** {weather} *(e.g., &#8220;Sunny,&#8221; &#8220;Rainy,&#8221; &#8220;Cloudy&#8221;)*<\/p>\n<p>**Music Preferences (Dynamically Updated):**<\/p>\n<p>* **Liked Songs:** [{list of song IDs or titles}]<br \/>\n* **Disliked Songs:** [{list of song IDs or titles}]<br \/>\n* **Liked Artists:** [{list of artist IDs or names}]<br \/>\n* **Disliked Artists:** [{list of artist IDs or names}]<br \/>\n* **Liked Genres:** [{list of genres}]<br \/>\n* **Disliked Genres:** [{list of genres}]<br \/>\n* **Liked Moods\/Themes:** [{list of moods\/themes, e.g., &#8220;Energetic,&#8221; &#8220;Chill,&#8221; &#8220;Romantic,&#8221; &#8220;Nostalgic&#8221;}]<br \/>\n* **Disliked Moods\/Themes:** [{list of moods\/themes}]<br \/>\n* **Recently Played Songs:** [{list of song IDs or titles with timestamps}]<br \/>\n* **Average Listening Duration per Song:** {average_duration} *(in seconds)*<br \/>\n* **Skip Frequency:** {skip_frequency} *(e.g., &#8220;High,&#8221; &#8220;Medium,&#8221; &#8220;Low&#8221;)*<br \/>\n* **Explicit Content Preference:** {preference} *(e.g., &#8220;Allow,&#8221; &#8220;Disallow&#8221;)*<\/p>\n<p>**Request Type:** {request_type} *(e.g., &#8220;Generate Playlist,&#8221; &#8220;Recommend Next Song,&#8221; &#8220;Discover New Artists,&#8221; &#8220;Create Radio Station&#8221;)*<\/p>\n<p>**Number of Recommendations (If Applicable):** {number}<\/p>\n<p>**Additional Instructions (Optional):** {instructions} *(e.g., &#8220;Focus on female vocals,&#8221; &#8220;Instrumental only,&#8221; &#8220;Similar to [song\/artist],&#8221; &#8220;Explore a new genre&#8221;)*<\/p>\n<p>**Output Format:** {output_format} *(e.g., &#8220;JSON,&#8221; &#8220;Text list,&#8221; &#8220;Comma-separated values&#8221;)*<\/p>\n<p>&#8220;`<\/p>\n<p>**Implementation Notes:**<\/p>\n<p>* **Dynamic Updates:**  The &#8220;Music Preferences&#8221; section should be constantly updated based on user interactions within the app.  This ensures the recommendations remain relevant and personalized over time.<br \/>\n* **Contextual Awareness:** Utilize the context information (time, location, activity, weather, etc.) to refine recommendations. For example, suggest energetic music for workouts and calming music for bedtime.<br \/>\n* **Diversity vs. Familiarity:** Balance recommending familiar artists\/genres with introducing new music based on user preferences and listening history.  Implement an exploration factor to control this balance.<br \/>\n* **AI Platform Adaptation:**  Adjust the prompt structure and terminology based on the specific AI platform&#8217;s capabilities and requirements.  Ensure proper data formatting for input and output.<br \/>\n* **A\/B Testing:** Conduct A\/B testing with different prompt variations and algorithms to optimize recommendation accuracy and user satisfaction.<br \/>\n* **Feedback Loop:** Integrate a feedback mechanism within the app to allow users to rate or provide feedback on recommendations. This data can be used to further refine the AI model and improve personalization.<br \/>\n* **Cold Start Problem:** For new users with limited listening history, utilize general popularity data, genre-based recommendations, or onboarding questions to gather initial preferences.<br \/>\n* **Privacy Considerations:** Ensure compliance with data privacy regulations and be transparent with users about how their data is used for personalization.<\/p>\n<p>**Example Usage:**<\/p>\n<p>&#8220;`<br \/>\n## Personalized Music Recommendation Request<\/p>\n<p>**User ID:** user123<br \/>\n**Current Context:** Relaxing at home<br \/>\n**Time of Day:** Evening<br \/>\n**Music Preferences:**<br \/>\n    * **Liked Songs:** [&#8220;Song A,&#8221; &#8220;Song B,&#8221; &#8220;Song C&#8221;]<br \/>\n    * **Liked Artists:** [&#8220;Artist X,&#8221; &#8220;Artist Y&#8221;]<br \/>\n    * **Liked Genres:** [&#8220;Jazz,&#8221; &#8220;Lo-fi&#8221;]<br \/>\n* **Request Type:** Generate Playlist<br \/>\n**Number of Recommendations:** 10<br \/>\n**Output Format:** JSON<\/p>\n<p>&#8220;`<\/p>\n<p>This prompt provides a comprehensive framework for building a robust and personalized music recommendation system within a music app. Its dynamic nature allows for continuous refinement and adaptation to individual user preferences, leading to a more engaging and enjoyable listening experience.\n<\/p><\/div>\n<div style=\"margin-top: 40px; text-align: center;\"><button class=\"copyPostContent\" id=\"copyPostContent\">\ud83d\udccb Copy Prompt<\/button><\/div>\n<div class=\"ai-buttons\"><a href=\"https:\/\/makeaiprompt.com\">Create Your Own Prompts<\/a><a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\">View All Prompts<\/a><a href=\"https:\/\/makeaiprompt.com\/top-ai-tools\">Top AI Tools<\/a><a href=\"https:\/\/chatgpt.com\/\" target=\"_blank\" rel=\"noopener\">Try on ChatGPT<\/a><a href=\"https:\/\/gemini.google.com\/app\" target=\"_blank\" rel=\"noopener\">Try on Gemini<\/a><a href=\"https:\/\/aistudio.google.com\" target=\"_blank\" rel=\"noopener\">Try on Google AI Studio<\/a><a href=\"https:\/\/grok.com\" target=\"_blank\" rel=\"noopener\">Try on Grok<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>AI Agent Prompt for Personalized Music Recommendation: Description: This prompt aims to generate highly personalized music recommendations based on dynamic&#8230;<\/p>\n","protected":false},"author":4,"featured_media":2277,"comment_status":"","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,7,5,6,4,26,8,1,25],"tags":[],"class_list":["post-2278","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-chatgpt-prompts","category-copilot-prompts","category-deepseek-prompts","category-gemini-prompts","category-grok-prompts","category-meta-ai-prompts","category-midjourney-prompts","category-prompts","category-veo-prompts"],"jetpack_featured_media_url":"https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation.jpg","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"rttpg_featured_image_url":{"full":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation.jpg",1200,630,false],"landscape":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation.jpg",1200,630,false],"portraits":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation.jpg",1200,630,false],"thumbnail":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation-150x150.jpg",150,150,true],"medium":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation-300x158.jpg",300,158,true],"large":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation-1024x538.jpg",1024,538,true],"1536x1536":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation.jpg",1200,630,false],"2048x2048":["https:\/\/makeaiprompt.com\/blog\/wp-content\/uploads\/2025\/09\/AI-Agent-Prompt-for-Personalized-Music-Recommendation.jpg",1200,630,false]},"rttpg_author":{"display_name":"AIPrompts","author_link":"https:\/\/makeaiprompt.com\/blog\/author\/aiprompts\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/chatgpt-prompts\/\" rel=\"category tag\">ChatGPT Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/copilot-prompts\/\" rel=\"category tag\">Copilot Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/deepseek-prompts\/\" rel=\"category tag\">Deepseek Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/gemini-prompts\/\" rel=\"category tag\">Gemini Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/grok-prompts\/\" rel=\"category tag\">Grok Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/meta-ai-prompts\/\" rel=\"category tag\">Meta AI Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/midjourney-prompts\/\" rel=\"category tag\">Midjourney Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/\" rel=\"category tag\">Prompts<\/a> <a href=\"https:\/\/makeaiprompt.com\/blog\/category\/prompts\/veo-prompts\/\" rel=\"category tag\">Veo Prompts<\/a>","rttpg_excerpt":"AI Agent Prompt for Personalized Music Recommendation: Description: This prompt aims to generate highly personalized music recommendations based on dynamic...","_links":{"self":[{"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/posts\/2278","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/comments?post=2278"}],"version-history":[{"count":0,"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/posts\/2278\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/media\/2277"}],"wp:attachment":[{"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/media?parent=2278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/categories?post=2278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/makeaiprompt.com\/blog\/wp-json\/wp\/v2\/tags?post=2278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}