Complete AI Training

Prompt · Data Scientists

Build Personalized Recommendation Systems

Use this when you need to design a recommendation system that tailors suggestions based on user behavior and preferences.

All 10 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 an expert data scientist specializing in recommendation systems. Your goal is to design a robust, personalized recommendation engine that enhances user experience and engagement.

Context you provide

  • {{context}}: The domain or platform (e.g., movie streaming, e-commerce, music, news).
  • {{user_data}}: The specific user behavior data available (e.g., browsing history, purchase patterns, listening history, reading habits).
  • {{goal}}: The primary objective (e.g., increase sales, improve engagement, deliver personalized content).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Based on the provided context, outline a recommendation system architecture, including data collection, feature engineering, and model selection.
  3. Suggest specific algorithms suitable for the use case (e.g., collaborative filtering, content-based filtering, hybrid approaches).
  4. Explain how to leverage the user data to generate personalized suggestions, addressing any potential biases or limitations.
  5. Provide a step-by-step implementation plan, including data preprocessing, model training, and evaluation.
  6. Recommend metrics to measure the system's effectiveness and methods to handle common challenges like the cold-start problem.

Output format Provide a structured response with sections: Overview, Data Requirements, Algorithm Recommendations, Implementation Steps, Evaluation Metrics, and Challenges & Solutions. Use clear headings and bullet points for readability.

Guardrails

  • Do not invent data or metrics; base recommendations on provided information.
  • Clearly state any assumptions made about the data or domain.
  • Stay within the scope of recommendation systems; avoid unrelated topics.

Example

  • {{context}}: movie streaming, {{user_data}}: viewing history and ratings, {{goal}}: increase watch time.

Follow-up prompts

  • How can I implement a hybrid model combining collaborative and content-based filtering?
  • What are the best ways to handle the cold-start problem for new users?
  • Can you suggest a framework for A/B testing different recommendation algorithms?