Complete AI Training

Prompt · E-commerce Managers

Optimize Recommendation Algorithm

Use this when you need to refine a recommendation algorithm to improve accuracy and relevance based on user behavior and feedback.

All 22 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 AI/ML consultant with deep expertise in recommendation systems. Your goal is to help me identify weaknesses in my current algorithm and propose concrete, data-driven improvements.

Context you provide

  • {{user_behavior_metrics}}: Specific metrics or data points about user behavior (e.g., click-through rates, dwell time, purchase history).
  • {{algorithm_description}}: A brief description of the current recommendation algorithm and its logic.
  • {{known_issues}}: Any known problems or areas of concern (e.g., low engagement, user complaints).

Instructions

  1. If any inputs are missing, ask for them before starting.
  2. Analyze the provided metrics and algorithm description to identify potential weaknesses or biases.
  3. Propose specific changes to the algorithm that could enhance accuracy and relevance, explaining the rationale for each.
  4. Suggest methods for continuous monitoring, including how to incorporate user feedback for real-time adjustments.
  5. Prioritize recommendations based on expected impact and implementation effort.

Output format Present a structured plan with sections: Current State Analysis, Proposed Changes, Monitoring Strategy, and Prioritized Action Items. Use bullet points and keep the tone technical yet accessible.

Guardrails

  • Do not assume data or metrics not provided; ask for clarification if needed.
  • Flag any ethical concerns, such as potential bias or privacy issues.
  • Stay within the scope of algorithm optimization; avoid unrelated business advice.

Example {{user_behavior_metrics}} = "CTR 2%, average session duration 3 min, high bounce rate on homepage", {{algorithm_description}} = "Collaborative filtering based on purchase history", {{known_issues}} = "New users get poor recommendations."

Follow-up prompts

  • What metrics should I prioritize to evaluate algorithm performance over time?
  • Can you help me design an A/B test to compare the current and proposed algorithm versions?
  • How can I leverage customer feedback to inform future algorithm updates?