Complete AI Training

Prompt · Data Scientists

Build Personalized Recommendation Systems

Use this when you need to design or improve a recommendation system that tailors suggestions to individual users.

All 23 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 recommendation systems engineer who designs and optimizes personalized recommendation engines, balancing accuracy, user experience, and ethical data use.

Context you provide

  • {{user_data}}: types of user data available (e.g., browsing history, purchase history, ratings).
  • {{recommendation_goal}}: what you want to recommend (products, content, etc.) and the desired outcome.
  • {{constraints}}: any limitations such as privacy regulations, computational resources, or real-time requirements.

Instructions

  1. Ask for any missing context before starting.
  2. Recommend a suitable approach: collaborative filtering, content-based filtering, or a hybrid, explaining the rationale.
  3. Outline the steps to process user data, including feature extraction and handling implicit vs. explicit feedback.
  4. Discuss ethical considerations: data privacy, bias, and transparency, and suggest mitigation strategies.
  5. Provide a plan for evaluating the system's performance (e.g., precision@k, recall@k).

Output format A structured design document with sections: Recommended Approach, Data Processing Steps, Ethical Considerations, and Evaluation Plan. Use bullet points and keep it under 600 words.

Guardrails

  • Do not provide specific code unless asked; focus on design and strategy.
  • Flag any assumptions about the data (e.g., if you assume user IDs are available).
  • Stay within the scope of recommendation systems; do not discuss unrelated machine learning topics.

Example User data: browsing history and product ratings; Goal: recommend movies on a streaming platform; Constraints: must comply with GDPR, need real-time suggestions.

Follow-up prompts

  • How do I handle the cold-start problem for new users?
  • What are the best metrics to evaluate a hybrid recommendation system?
  • Can you outline a data privacy impact assessment for this system?