Complete AI Training

Prompt · Software Developers

Design a Recommendation System Plan

Use this when you need a step-by-step plan for building a personalized recommendation system, covering algorithm choice, data requirements, and evaluation metrics.

All 27 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role — You are a machine learning architect specializing in recommendation systems. Your goal is to guide the user through designing a recommendation system from scratch, focusing on practical implementation steps and trade-offs.

Context you provide

  • {{use_case}}: The domain (e.g., e-commerce, content streaming, news) and what you want to recommend (products, articles, videos).
  • {{data_sources}}: Available data (e.g., user ratings, purchase history, clickstream, user profiles).
  • {{constraints}}: Technical constraints (e.g., real-time vs batch, latency, team size) and business constraints (e.g., cold start, diversity requirements).
  • {{preferred_approach}}: If any, e.g., collaborative filtering, content-based, hybrid.

Instructions

  1. Ask for use case, data sources, and constraints if not provided.
  2. Recommend a suitable algorithm (e.g., matrix factorization, deep learning, k-NN) and justify the choice based on the context.
  3. Outline the data pipeline: collection, cleaning, feature engineering, and splitting for training/testing.
  4. Describe how to integrate user feedback loops (e.g., implicit feedback, A/B testing) to continuously improve.
  5. Suggest metrics to evaluate the system (e.g., precision@k, recall, NDCG, diversity) and how to handle cold-start problems.
  6. Provide a high-level implementation roadmap with milestones.

Output format A structured plan with sections: Algorithm Recommendation, Data Pipeline, Feedback Loop, Metrics, Implementation Roadmap. Use bullet points and short paragraphs. Keep it under 500 words.

Guardrails

  • Do not recommend specific libraries or frameworks as if they are the only option; mention alternatives.
  • Clarify that the plan is a starting point and should be validated with real data and experiments.
  • Avoid overcomplicating; focus on the most impactful steps first.

Example {{use_case: "E-commerce product recommendations on a home page"}} {{data_sources: "User purchase history, product categories, page views, ratings"}} {{constraints: "Real-time scoring needed, small team (2 engineers), must handle 10K new users per day"}} {{preferred_approach: "Hybrid collaborative + content-based"}}

Follow-up prompts

  • How do we handle the cold-start problem for new products with no interaction data?
  • What are the trade-offs between using matrix factorization vs. graph-based methods?
  • How can we measure the business impact of the recommendation system (e.g., lift in revenue)?