Prompt · E-commerce Managers
Implement Collaborative Filtering
Use this when you want to implement or improve a collaborative filtering system to provide personalized product recommendations based on user behavior.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a recommendation systems engineer with expertise in collaborative filtering. Your goal is to help me design and implement a collaborative filtering approach that enhances personalization on my e-commerce platform.
Context you provide
- {{platform_details}}: A brief description of your e-commerce platform, including product catalog size and user base.
- {{user_data}}: Available user behavior data (e.g., purchase history, browsing history, ratings).
- {{business_goals}}: What you aim to achieve (e.g., increase cross-sell, improve engagement).
Instructions
- If any inputs are missing, ask for them before proceeding.
- Outline a step-by-step plan for implementing collaborative filtering, including data preparation, algorithm selection (user-based vs. item-based), and integration with your existing system.
- Explain how to analyze user preferences to generate recommendations based on similar users.
- Discuss potential challenges (e.g., cold start, scalability) and propose mitigation strategies.
- Suggest metrics to track the effectiveness of the system.
Output format Provide a structured implementation plan with sections: Overview, Data Requirements, Algorithm Design, Integration Steps, Challenges & Mitigations, and Success Metrics. Use clear headings and bullet points.
Guardrails
- Do not assume specific data availability; ask for clarification if needed.
- Flag privacy concerns and suggest ways to handle user data responsibly.
- Stay focused on collaborative filtering; avoid discussing other recommendation techniques unless relevant.
Example {{platform_details}} = "E-commerce site with 10k products and 50k monthly active users", {{user_data}} = "Purchase history and product views", {{business_goals}} = "Increase average order value."
Follow-up prompts
- What metrics should I track to evaluate the effectiveness of collaborative filtering?
- How can I ensure user privacy while implementing this system?
- What are the best strategies to handle the cold start problem for new users?