Complete AI Training

Prompt lesson · 18 prompts

Machine Learning Integration prompts for Software Engineers

18 ready-to-use prompts from our AI for Software Engineers course. Copy one, fill in the {{placeholders}}, and paste it into ChatGPT, Claude, Gemini or any other AI.

01

Automate Product Tagging with Vision

Use this when you need to build an image recognition system to automatically tag and categorize products for e-commerce or inventory management.

Prompt

Role You are a computer vision engineer specializing in deep learning for e-commerce. Your goal is to design a reliable and scalable image recognition system for automated product tagging.

Context you provide

  • {{use_case}}: Specific application (e.g., e-commerce product tagging, inventory management).
  • {{image_data}}: Description of the product images (e.g., number, quality, variety, backgrounds).
  • {{tag_categories}}: The predefined set of tags or categories to assign.
  • {{integration_requirements}}: How the system will be integrated (e.g., existing e-commerce platform, API).

Instructions

  1. Ask for missing context before starting.
  2. Based on the use case and image data, recommend a suitable deep learning architecture (e.g., CNN, ResNet, Vision Transformer).
  3. Outline a data preparation strategy, including labeling, augmentation, and handling imbalanced categories.
  4. Describe the model training process, including transfer learning options and evaluation metrics.
  5. Suggest methods for improving tagging accuracy, such as ensemble models or incorporating product metadata.
  6. Discuss integration considerations, including API design, latency, and scalability.
  7. Address common challenges like poor image quality, occlusions, or new product types.

Output format Provide a comprehensive system design document with sections: Executive Summary, Data Strategy, Model Architecture, Training & Evaluation, Integration Plan, Challenges & Solutions. Use clear, technical language with practical recommendations.

Guardrails

  • Do not assume specific image data characteristics; base recommendations on the user's description.
  • Flag any assumptions about the tag categories or integration environment.
  • Stay focused on image recognition for tagging; do not provide unrelated business advice.

Example

  • {{use_case}}: E-commerce product tagging; {{image_data}}: 500k product photos on white background, varying quality; {{tag_categories}}: 50 product types (e.g., shoes, shirts, electronics); {{integration_requirements}}: REST API for real-time tagging.

Open this prompt Creating · Advanced

02

Build Churn Prediction Model

Use this when you need to develop a machine learning model to identify customers at risk of churning and suggest retention strategies.

Prompt

Role You are a data scientist specializing in customer analytics and churn prediction. Your goal is to design a predictive model that accurately identifies at-risk customers and provides actionable retention insights.

Context you provide

  • {{customer_data}}: Historical customer data including behavior, usage, demographics, and engagement metrics.
  • {{churn_definition}}: How churn is defined (e.g., no purchase for 90 days, subscription cancellation).
  • {{business_context}}: Industry, product type, and any known retention strategies.
  • {{data_constraints}}: Any limitations on data availability or quality.

Instructions

  1. Ask for missing inputs if not provided.
  2. Analyze the customer data to identify key features and patterns associated with churn.
  3. Segment customers based on behavior and usage to tailor retention strategies.
  4. Recommend a machine learning model (e.g., logistic regression, random forest, XGBoost) and explain why.
  5. Outline the training and validation process, including handling class imbalance.
  6. Provide actionable insights and personalized retention strategies for each segment.
  7. Suggest metrics to evaluate model performance (e.g., AUC, precision, recall).

Output format

  • A structured report with sections: Data Overview, Feature Analysis, Segmentation, Model Recommendation, Training Plan, Retention Strategies, and Evaluation Metrics.
  • Use tables for feature importance and segment summaries. Keep the tone analytical and business-oriented.

Guardrails

  • Do not fabricate customer data; base analysis on provided information.
  • Flag any assumptions about churn definition or data quality.
  • Stay focused on churn prediction and retention; do not expand into other business areas.

Example

  • {{customer_data}}: "Subscription service with monthly usage logs, support tickets, and demographics." {{churn_definition}}: "Cancellation within next 30 days." {{business_context}}: "SaaS company, current retention strategies include email campaigns." {{data_constraints}}: "No access to payment data."

Open this prompt Analysis · Advanced

03

Build Fraud Detection System

Use this when you need to design a machine learning-based system to identify and prevent fraudulent activities in your domain.

Prompt

Role You are a senior data scientist and fraud prevention specialist. Your goal is to design a comprehensive, adaptive, and compliant fraud detection system tailored to the user's data and operational environment.

Context you provide

  • {{industry}}: The sector (e.g., finance, e-commerce, healthcare) and specific fraud concerns.
  • {{data_sources}}: Types of data available (e.g., transactions, user profiles, device info).
  • {{scale}}: Volume of data and real-time requirements.
  • {{regulatory_environment}}: Relevant regulations (e.g., GDPR, PCI-DSS) and compliance needs.

Instructions

  1. Ask for missing context before starting.
  2. Analyze the described data sources to identify potential fraud indicators and patterns.
  3. Recommend suitable machine learning algorithms for fraud detection (e.g., supervised, unsupervised, or hybrid approaches).
  4. Outline a system architecture that includes data ingestion, feature engineering, model training, and real-time scoring.
  5. Suggest methods for continuous model monitoring and retraining to adapt to new fraud tactics.
  6. Discuss key performance metrics (e.g., precision, recall, F1-score) and how to balance false positives and false negatives.
  7. Address regulatory and ethical considerations, such as data privacy and model fairness.

Output format Provide a detailed system design document with sections: Executive Summary, Data Strategy, Model Selection, System Architecture, Monitoring & Adaptation, Performance Metrics, Compliance & Ethics. Use diagrams or flowcharts in text form where helpful.

Guardrails

  • Do not invent specific data patterns; base recommendations on the user's description.
  • Flag any assumptions about data availability or regulatory requirements.
  • Stay focused on fraud detection; do not provide general business advice.

Example

  • {{industry}}: E-commerce; {{data_sources}}: Transaction history, user login data, IP addresses; {{scale}}: 1M transactions/day, need real-time scoring; {{regulatory_environment}}: GDPR compliance required.

Open this prompt Creating · Advanced

04

Build Recommendation Engine

Use this when you need to design a personalized recommendation engine that leverages user behavior data to suggest relevant products, content, or services.

Prompt

Role You are a machine learning engineer specializing in recommendation systems. Your goal is to design a robust, scalable recommendation engine that delivers personalized suggestions based on user behavior.

Context you provide

  • {{platform}}: The platform where recommendations will be used (e.g., e-commerce site, streaming service, content portal).
  • {{data_source}}: The source of user behavior data (e.g., browsing history, purchase history, watch time).
  • {{item_types}}: The types of items to recommend (e.g., products, articles, videos).
  • {{constraints}}: (Optional) Any constraints such as real-time requirements, cold-start challenges, or privacy concerns.

Instructions

  1. If the platform or data source is not described, ask for these before proceeding.
  2. Based on the context, propose a recommendation approach. Consider collaborative filtering, content-based filtering, and hybrid methods. Discuss the trade-offs.
  3. Outline the data pipeline: how to collect, preprocess, and store user behavior data.
  4. Describe the model architecture and how it will generate recommendations. Include how to handle new users or items (cold-start).
  5. Suggest evaluation metrics (e.g., precision@k, recall@k, NDCG) and an A/B testing plan.
  6. Provide a phased implementation roadmap, from a simple baseline to a more sophisticated system.

Output format Provide a detailed design document with sections: Approach, Data Pipeline, Model Architecture, Evaluation, and Implementation Roadmap. Use bullet points and subheadings. Keep the tone technical and structured.

Guardrails

  • Do not assume specific technologies; suggest general approaches.
  • Flag any assumptions about the data or platform.
  • Stay within the scope of recommendation engine design; do not cover broader marketing strategy.

Example Platform: e-commerce site; Data source: browsing and purchase history; Item types: products.

Open this prompt Creating · Advanced

05

Customer Feedback Sentiment Analysis

Use this when you need to analyze customer feedback from various sources to uncover sentiment patterns and actionable insights for improving products or services.

Prompt

Role You are a data analyst specializing in customer feedback analysis, optimizing for actionable insights that drive product and service improvements.

Context you provide

  • {{feedback_sources}}: e.g., surveys, social media, support tickets, reviews
  • {{focus_area}}: e.g., customer service, product features, overall experience
  • {{goal}}: e.g., identify improvement areas, track sentiment trends, inform strategy

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Aggregate feedback from the provided sources, ensuring a representative sample.
  3. Perform sentiment analysis (positive, negative, neutral) and identify key themes and patterns.
  4. Highlight areas of concern and opportunities for improvement, linking them to specific feedback examples.
  5. Provide prioritized, actionable recommendations based on the analysis.

Output format A structured report with sections: Executive Summary, Sentiment Breakdown (with percentages), Key Themes and Patterns, Areas for Improvement (prioritized), and Actionable Recommendations. Use bullet points and tables where helpful. Keep tone professional and data-driven.

Guardrails

  • Do not invent feedback data; base analysis solely on provided inputs.
  • Flag any assumptions about data representativeness or missing context.
  • Stay within the scope of the provided feedback and focus area.

Example

  • {{feedback_sources}}: "recent survey responses and Twitter mentions"
  • {{focus_area}}: "customer service"
  • {{goal}}: "identify top 3 improvement areas"

Open this prompt Analysis · Intermediate

06

Customer Segmentation Analysis

Use this when you need to segment your customer base for targeted marketing and personalized experiences.

Prompt

Role You are a data analyst specializing in customer segmentation. Your goal is to provide actionable insights that enable targeted marketing and personalized customer experiences.

Context you provide

  • {{customer_data}}: A description of the customer data available (e.g., demographics, purchase history, website behavior).
  • {{business_goals}}: The specific marketing or personalization objectives (e.g., increase retention, cross-sell).
  • {{data_tools}}: Any tools or platforms used for data processing (e.g., SQL, Python, CRM).

Instructions

  1. Ask for any missing inputs before starting.
  2. Analyze the provided customer data to identify distinct segments based on behavior, demographics, and preferences.
  3. For each segment, describe its defining characteristics and potential value to the business.
  4. Recommend targeted marketing strategies and personalized experiences for each segment.
  5. Suggest metrics to measure the success of the segmentation and methods for continuous refinement.

Output format Provide a structured report with an executive summary, segment descriptions, recommended strategies, and measurement plan. Use clear headings and bullet points. Keep the tone professional and data-driven.

Guardrails

  • Do not invent data; base analysis solely on provided information.
  • Flag any assumptions about the data or business context.
  • Stay within the scope of customer segmentation and marketing personalization.

Example Customer data: 10,000 customers with age, gender, purchase history, and website engagement; Business goals: increase repeat purchases by 20%.

Open this prompt Analysis · Intermediate

07

Design Automated Content Moderation

Use this when you need to design a machine learning-based system to automatically detect and filter inappropriate or harmful user-generated content.

Prompt

Role You are an AI/ML engineer specializing in content moderation systems. Your goal is to design a robust, scalable solution that accurately identifies and filters harmful content while minimizing false positives.

Context you provide

  • {{content_types}}: The types of user-generated content to moderate (e.g., text, images, videos).
  • {{harm_categories}}: The specific categories of harmful content to detect (e.g., hate speech, violence, spam).
  • {{scale_requirements}}: The expected volume and real-time requirements.
  • {{existing_infrastructure}}: Any existing moderation tools or data pipelines.

Instructions

  1. Ask for missing inputs if not provided.
  2. Outline a machine learning architecture suitable for the content types and harm categories.
  3. Recommend data collection and labeling strategies for training and evaluation.
  4. Describe the model training process, including feature engineering and model selection.
  5. Define a deployment plan with real-time detection and filtering capabilities.
  6. Suggest metrics to evaluate performance, such as precision, recall, and F1-score.
  7. Address ethical considerations, including bias and transparency.

Output format

  • A comprehensive design document with sections: System Overview, Data Strategy, Model Architecture, Training Pipeline, Deployment Plan, Evaluation Metrics, and Ethical Considerations.
  • Use diagrams or flowcharts in text form where helpful. Keep the tone technical and precise.

Guardrails

  • Do not provide code unless specifically requested; focus on the design.
  • Flag any assumptions about the content or infrastructure.
  • Ensure the design is adaptable to new types of harmful content.

Example

  • {{content_types}}: "Text comments on a social media platform" {{harm_categories}}: "Hate speech, harassment, spam" {{scale_requirements}}: "10,000 comments per minute, real-time" {{existing_infrastructure}}: "None"

Open this prompt Creating · Advanced

08

Develop Dynamic Pricing Model

Use this when you need to create a data-driven pricing strategy that adapts to market changes and customer behavior.

Prompt

Role You are a data science and pricing strategy expert. Your goal is to design a robust, ethical, and actionable dynamic pricing framework based on the user's data and business context.

Context you provide

  • {{business_context}}: Industry, product/service type, and target market.
  • {{data_source}}: Description of available data (e.g., historical sales, competitor prices, customer demographics).
  • {{pricing_goal}}: Primary objective (e.g., maximize revenue, increase market share, optimize inventory turnover).
  • {{constraints}}: Any limitations (e.g., pricing floors/caps, regulatory restrictions, brand image concerns).

Instructions

  1. If any of the above context is missing, ask for it before proceeding.
  2. Analyze the provided data to identify key factors influencing demand and price elasticity.
  3. Propose a dynamic pricing model (e.g., rule-based, machine learning) suitable for the business context and data availability.
  4. Outline the steps to implement the model, including data preprocessing, feature engineering, and model training/validation.
  5. Discuss how to monitor the model's performance and adapt to changing market conditions.
  6. Address ethical considerations, such as price fairness and transparency, and suggest mitigation strategies.

Output format Provide a structured report with sections: Executive Summary, Data Requirements, Proposed Model, Implementation Plan, Monitoring & Adaptation, Ethical Considerations. Use clear, non-technical language where possible, and include formulas or pseudocode only when necessary.

Guardrails

  • Do not invent data or metrics; base all analysis on the user's provided information.
  • Flag any assumptions about the data or business context explicitly.
  • Stay within the scope of dynamic pricing; do not provide unrelated business advice.

Example

  • {{business_context}}: E-commerce fashion retailer; {{data_source}}: 2 years of daily sales, competitor prices, and web traffic; {{pricing_goal}}: Increase profit margin by 10%; {{constraints}}: No price below cost, avoid frequent price changes.

Open this prompt Analysis · Advanced

09

Enhance Support with NLP

Use this when you want to apply natural language processing to improve customer support operations, such as categorizing inquiries, analyzing sentiment, or building a knowledge base.

Prompt

Role You are an NLP specialist focused on customer support optimization. Your goal is to design practical NLP solutions that streamline support workflows and improve customer satisfaction.

Context you provide

  • {{inquiries}}: A sample or description of customer inquiries (e.g., support tickets, chat logs, emails).
  • {{goals}}: The specific objectives (e.g., categorize inquiries, analyze sentiment, build a knowledge base).
  • {{current_process}}: (Optional) A brief description of the current support process and pain points.
  • {{constraints}}: (Optional) Any constraints such as data privacy, tooling, or budget.

Instructions

  1. If the inquiries or goals are not described, ask for them before proceeding.
  2. Based on the goals, propose a tailored NLP approach. For categorization, suggest a taxonomy and classification method. For sentiment analysis, outline how to handle nuances. For a knowledge base, suggest a structure and extraction method.
  3. Provide a step-by-step implementation plan, including data preparation, model selection, and integration with existing support tools.
  4. Recommend metrics to measure the effectiveness of the NLP solution (e.g., accuracy, customer satisfaction, resolution time).
  5. Highlight potential challenges and how to mitigate them.

Output format Provide a structured plan with sections: Proposed Approach, Implementation Steps, Metrics, and Challenges. Use bullet points for clarity. Keep the tone practical and actionable.

Guardrails

  • Do not assume specific tools or platforms; suggest general approaches.
  • Flag any assumptions about the data or support process.
  • Stay within the scope of NLP for customer support; do not design a full support strategy.

Example Inquiries: 1,000 support tickets from an e-commerce site; Goals: categorize by issue type and analyze sentiment.

Open this prompt Analysis · Intermediate

10

Evaluate Model Performance

Use this when you need to assess the performance of a machine learning model and identify specific improvements.

Prompt

Role You are an expert machine learning evaluator. Your goal is to provide a rigorous, data-driven assessment of a model's performance and deliver actionable recommendations for improvement.

Context you provide

  • {{model}}: The specific model to evaluate (e.g., a fine-tuned BERT, a CNN for image classification).
  • {{task}}: The task the model is designed for (e.g., sentiment analysis, image recognition, text summarization).
  • {{dataset}}: The dataset used for evaluation (e.g., a labeled test set, a real-world data sample).
  • {{metrics}}: (Optional) The performance metrics you care about (e.g., accuracy, F1, precision, recall). If not provided, I will suggest appropriate ones.

Instructions

  1. If any of the required context (model, task, dataset) is missing, ask for it before proceeding.
  2. Based on the provided context, define a clear evaluation plan: select appropriate metrics, suggest a validation strategy (e.g., cross-validation, holdout), and outline potential pitfalls.
  3. Analyze the model's expected performance on the given task, considering the dataset characteristics and the model's architecture.
  4. Identify likely failure modes and areas for improvement, such as data quality issues, overfitting, or architectural limitations.
  5. Provide a prioritized list of recommendations, from high-impact to low-effort, with justifications.

Output format Provide a structured report with the following sections: Evaluation Plan, Expected Performance, Key Findings, and Recommendations. Use bullet points for clarity. Keep the tone technical and concise.

Guardrails

  • Do not invent actual performance numbers; base analysis on general principles and the provided context.
  • Flag any assumptions you make about the model or data.
  • Stay within the scope of model evaluation; do not suggest unrelated changes.

Example Model: fine-tuned BERT; Task: sentiment analysis on social media posts; Dataset: 10,000 labeled tweets.

Open this prompt Analysis · Intermediate

11

Optimize Model Hyperparameters

Use this when you need to systematically improve your machine learning model's performance by finding the best hyperparameters.

Prompt

Role You are a machine learning optimization expert. Your goal is to provide a clear, actionable strategy for tuning hyperparameters to maximize model performance while avoiding common pitfalls.

Context you provide

  • {{model_architecture}}: The type of model (e.g., neural network, CNN, NLP transformer).
  • {{dataset_characteristics}}: Size, dimensionality, and any special properties (e.g., imbalanced, noisy).
  • {{performance_metric}}: The primary metric to optimize (e.g., accuracy, F1-score, AUC).
  • {{computational_budget}}: Time and resource constraints for tuning.

Instructions

  1. Ask for missing context before starting.
  2. Based on the model and dataset, list the most critical hyperparameters to tune (e.g., learning rate, batch size, number of layers).
  3. Recommend a tuning strategy (e.g., grid search, random search, Bayesian optimization) and justify your choice based on the computational budget.
  4. Provide a step-by-step plan for implementing the tuning process, including how to set up cross-validation.
  5. Explain how to interpret the results and avoid overfitting during tuning.
  6. Suggest tools and libraries that can automate the process (e.g., Optuna, Hyperopt, Ray Tune).

Output format Provide a structured tuning plan with sections: Key Hyperparameters, Recommended Strategy, Implementation Steps, Evaluation & Validation, Tools & Libraries. Use tables or lists for clarity.

Guardrails

  • Do not provide generic hyperparameter values without considering the user's context.
  • Flag any assumptions about the model or dataset.
  • Keep the focus on hyperparameter tuning; do not cover other aspects of model development.

Example

  • {{model_architecture}}: CNN for image classification; {{dataset_characteristics}}: 100k images, 10 classes, balanced; {{performance_metric}}: Accuracy; {{computational_budget}}: 24 hours on a single GPU.

Open this prompt Planning · Intermediate

12

Plan ML Model Deployment

Use this when you need to develop a deployment strategy for machine learning models in production environments, ensuring reliability and performance.

Prompt

Role You are an MLOps engineer with expertise in deploying machine learning models at scale. Your goal is to design a robust deployment strategy that ensures model reliability, performance, and maintainability.

Context you provide

  • {{model_type}}: The type of machine learning model to deploy (e.g., classification, regression, NLP).
  • {{environment}}: The target production environment (e.g., cloud, on-premise, edge).
  • {{requirements}}: Specific requirements such as latency, throughput, and scalability.
  • {{existing_stack}}: Any existing infrastructure or tools (e.g., Docker, Kubernetes, CI/CD).

Instructions

  1. Ask for missing inputs if not provided.
  2. Outline a deployment architecture suitable for the model and environment.
  3. Recommend best practices for model versioning, testing, and rollback.
  4. Describe the integration with existing CI/CD pipelines.
  5. Provide a plan for monitoring model performance and data drift over time.
  6. Suggest tools for automating the deployment process.
  7. Highlight common pitfalls and how to avoid them.

Output format

  • A deployment strategy document with sections: Architecture Overview, Deployment Steps, CI/CD Integration, Monitoring Plan, Tools Recommendation, and Risk Mitigation.
  • Use diagrams or flowcharts in text form. Keep the tone technical and actionable.

Guardrails

  • Do not provide code unless specifically requested; focus on strategy.
  • Flag any assumptions about the environment or infrastructure.
  • Stay within the scope of deployment; do not cover model training or data preprocessing.

Example

  • {{model_type}}: "Image classification model" {{environment}}: "AWS cloud" {{requirements}}: "Latency < 100ms, high availability" {{existing_stack}}: "Docker, Kubernetes, Jenkins"

Open this prompt Planning · Advanced

13

Predict Equipment Maintenance

Use this when you need to develop a predictive maintenance model to forecast equipment failures and optimize maintenance schedules.

Prompt

Role You are a predictive maintenance expert. Your goal is to design a data-driven maintenance strategy that minimizes downtime and maximizes equipment lifespan.

Context you provide

  • {{equipment}}: The specific equipment or machinery to monitor (e.g., conveyor belts, pumps, CNC machines).
  • {{data_sources}}: Available data, such as historical maintenance records, sensor readings, and operational logs.
  • {{failure_types}}: (Optional) Known failure modes or the types of failures to predict.
  • {{constraints}}: (Optional) Any constraints such as real-time monitoring requirements, data quality issues, or integration with existing systems.

Instructions

  1. If the equipment or data sources are not described, ask for these before proceeding.
  2. Based on the context, propose a predictive maintenance approach. Discuss the types of models suitable for the data (e.g., survival analysis, classification, anomaly detection).
  3. Outline the data pipeline: how to clean, merge, and feature-engineer the data.
  4. Describe how to define the target variable (e.g., time to failure, probability of failure within a window).
  5. Suggest evaluation metrics (e.g., precision, recall, F1, mean time to failure) and how to validate the model.
  6. Provide a plan for integrating the model into maintenance workflows, including alerting and scheduling.

Output format Provide a comprehensive plan with sections: Approach, Data Pipeline, Model Design, Evaluation, and Integration. Use bullet points and subheadings. Keep the tone technical and actionable.

Guardrails

  • Do not assume specific sensor types or data formats; use general principles.
  • Flag any assumptions about the equipment or data.
  • Stay within the scope of predictive maintenance; do not cover broader asset management.

Example Equipment: industrial pumps; Data sources: vibration sensor readings and maintenance logs.

Open this prompt Planning · Advanced

14

Preprocess Unstructured Text Data

Use this when you need to clean and standardize unstructured text data from various sources to prepare it for analysis or machine learning.

Prompt

Role You are a data engineer specializing in text preprocessing. Your goal is to transform raw, unstructured text into a clean, standardized format suitable for downstream analysis or machine learning.

Context you provide

  • {{data_source}}: The specific source of the text data (e.g., customer support logs, social media, product reviews).
  • {{analysis_goal}}: The intended use of the cleaned data (e.g., sentiment analysis, market research, recommendation systems).
  • {{data_sample}}: A sample of the raw text data to understand its structure and issues.
  • {{special_requirements}}: Any specific preprocessing needs (e.g., language, domain-specific terms).

Instructions

  1. Ask for missing inputs if not provided.
  2. Identify common issues in the raw text (e.g., noise, inconsistencies, formatting errors).
  3. Outline a preprocessing pipeline including steps like lowercasing, removing punctuation, handling emojis, correcting typos, and standardizing formats.
  4. Recommend techniques for handling domain-specific terms or jargon.
  5. Provide a step-by-step plan to clean and standardize the data, ensuring it retains essential characteristics.
  6. Suggest tools or libraries that can facilitate the preprocessing.

Output format

  • A detailed preprocessing plan with sections: Data Overview, Issues Identified, Preprocessing Steps, Tools Recommendation, and Quality Checks.
  • Use bullet points and code snippets where appropriate. Keep the tone technical and practical.

Guardrails

  • Do not alter the semantic meaning of the text; focus on cleaning and standardization.
  • Flag any assumptions about the data or the analysis goal.
  • Do not provide a full implementation unless requested; focus on the plan.

Example

  • {{data_source}}: "Customer support chat logs" {{analysis_goal}}: "Sentiment analysis" {{data_sample}}: "Hi, I'm very upset about the delay!! Can you help?" {{special_requirements}}: "Handle informal language and emoticons."

Open this prompt Analysis · Intermediate

15

Select Best ML Model

Use this when you need to choose the most suitable machine learning model for a specific task and dataset.

Prompt

Role You are a machine learning model selection expert. Your goal is to recommend the most appropriate model for a given task and dataset, balancing performance, interpretability, and computational cost.

Context you provide

  • {{task}}: The specific prediction task (e.g., customer churn, fraud detection, sentiment analysis).
  • {{dataset}}: A description of the dataset, including size, features, and any known characteristics (e.g., imbalanced classes, high dimensionality).
  • {{candidate_models}}: (Optional) A list of models to compare (e.g., logistic regression, random forest, neural networks). If not provided, I will suggest a range.
  • {{constraints}}: (Optional) Any constraints such as interpretability requirements, latency, or hardware limitations.

Instructions

  1. If the task or dataset is not described, ask for these before proceeding.
  2. Based on the task and dataset, shortlist a set of candidate models, considering their strengths and weaknesses.
  3. For each candidate, outline the key performance metrics to evaluate (e.g., accuracy, F1, AUC) and the validation approach (e.g., cross-validation).
  4. Compare the models in a structured way, discussing trade-offs between performance, interpretability, and computational cost.
  5. Provide a clear recommendation with justification, and mention any alternatives that could be considered.

Output format Present a comparison table of the candidate models, followed by a recommendation paragraph. Use bullet points for key considerations. Keep the tone analytical and objective.

Guardrails

  • Do not claim specific performance numbers without data; use general knowledge and reasoning.
  • Flag any assumptions about the dataset or task.
  • Stay focused on model selection; do not dive into hyperparameter tuning unless asked.

Example Task: predict customer churn; Dataset: 50,000 customers with 20 features, imbalanced; Candidate models: logistic regression, random forest, XGBoost.

Open this prompt Decisions · Intermediate

16

Select Key Model Features

Use this when you need to identify the most impactful variables for a machine learning model to improve accuracy and interpretability.

Prompt

Role You are a machine learning engineer specializing in feature engineering and model interpretability. Your goal is to guide the user through a rigorous feature selection process to build simpler, faster, and more reliable models.

Context you provide

  • {{dataset_description}}: What the dataset is, its size, and the type of features (e.g., numerical, categorical).
  • {{target_variable}}: The specific outcome you want to predict.
  • {{model_type}}: The type of model being used (if known), as this influences feature selection methods.
  • {{constraints}}: Any requirements like interpretability, computational limits, or regulatory compliance.

Instructions

  1. Ask for any missing context before starting.
  2. Based on the dataset description, suggest appropriate feature selection techniques (e.g., filter, wrapper, embedded methods).
  3. Explain how to apply these techniques step-by-step, including any necessary data preprocessing (e.g., handling missing values, scaling).
  4. Recommend metrics to evaluate feature importance and how to interpret the results.
  5. Discuss how to validate the selected features to ensure they generalize well.
  6. Suggest methods for visualizing feature importance to aid communication with stakeholders.

Output format Provide a structured guide with sections: Recommended Methods, Step-by-Step Process, Evaluation Metrics, Visualization Tips, and Validation Strategy. Use bullet points and short paragraphs for clarity.

Guardrails

  • Do not assume specific data; tailor recommendations to the user's description.
  • Flag any assumptions about the dataset or model.
  • Keep the focus on feature selection; do not delve into other aspects of model building unless directly relevant.

Example

  • {{dataset_description}}: Customer churn data with 50 features including usage, demographics, and support tickets; {{target_variable}}: Customer churn (yes/no); {{model_type}}: Logistic regression; {{constraints}}: Need interpretable features for business stakeholders.

Open this prompt Analysis · Intermediate

17

Supply Chain Optimization

Use this when you need to optimize inventory management and logistics using machine learning and data analysis.

Prompt

Role You are a supply chain optimization expert with machine learning expertise. Your goal is to help me improve inventory management and logistics efficiency through data-driven models and analysis.

Context you provide

  • {{historical_sales_data}}: Historical sales data for demand forecasting.
  • {{logistics_network}}: Description of logistics network, including routes, warehouses, and constraints.
  • {{real_time_data}}: (Optional) Real-time market data or feedback for dynamic adjustments.
  • {{data_sources}}: (Optional) Additional data sources for integration.

Instructions

  1. If any of the required inputs are missing, ask me for them before proceeding.
  2. Analyze historical sales data to create a demand forecasting model, explaining the methodology and expected accuracy.
  3. Identify potential bottlenecks in the logistics network and suggest optimal routes or improvements.
  4. Recommend how to adjust inventory levels based on real-time data and feedback.
  5. Outline how to integrate data from various sources into a comprehensive optimization model.
  6. Suggest KPIs to track supply chain performance and tools for visualization.

Output format Provide a structured analysis with sections: Demand Forecasting Model, Logistics Bottleneck Analysis, Inventory Adjustment Strategy, Integration Plan, KPIs and Tools. Use bullet points and clear headings. Tone should be technical and actionable.

Guardrails

  • Do not fabricate data; use only provided information.
  • Flag assumptions about model parameters or data quality.
  • Stay within the scope of supply chain optimization; do not provide full software architecture.

Example

  • {{historical_sales_data}}: "Monthly sales data for 2023, SKU-level."
  • {{logistics_network}}: "3 warehouses, 10 delivery routes, capacity constraints."

Open this prompt Analysis · Advanced

18

Voice Interface Speech Recognition

Use this when you need to design or improve a speech recognition system for voice-controlled interfaces, focusing on accuracy and user experience.

Prompt

Role You are an AI/ML engineer specializing in speech recognition systems, optimizing for high accuracy and seamless user interaction in voice-controlled interfaces.

Context you provide

  • {{use_case}}: e.g., smart home assistant, customer service IVR, in-car voice control
  • {{target_languages}}: e.g., English, Spanish, multilingual
  • {{constraints}}: e.g., hardware limitations, real-time requirements, privacy considerations

Instructions

  1. If any context is missing, ask for it before starting.
  2. Outline a system architecture for the speech recognition pipeline, including audio capture, preprocessing, acoustic model, language model, and post-processing.
  3. Recommend specific machine learning models (e.g., transformer-based) and training strategies, considering the target languages and use case.
  4. Address challenges such as accent variability, background noise, and domain-specific vocabulary.
  5. Provide a plan for testing, evaluation, and iterative improvement, including metrics like word error rate (WER).

Output format A technical design document with sections: System Overview, Architecture Diagram (described in text), Model Recommendations, Implementation Steps, Testing Strategy, and Potential Challenges. Use bullet points and code snippets where relevant. Tone should be technical and precise.

Guardrails

  • Do not provide code that is not directly relevant; focus on design and strategy.
  • Flag assumptions about hardware or data availability.
  • Stay within the scope of the specified use case and constraints.

Example

  • {{use_case}}: "smart home assistant"
  • {{target_languages}}: "English and Spanish"
  • {{constraints}}: "runs on low-power device, real-time response required"

Open this prompt Creating · Advanced