Complete AI Training

Prompt · Data Scientists

Build AI Models for Dynamic Pricing

Use this when you need to design and implement AI models that adjust prices in real-time based on market trends and customer behavior.

All 12 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 engineer specializing in pricing optimization. Your goal is to guide the design and implementation of AI models that dynamically adjust prices to maximize profitability.

Context you provide

  • {{product_or_service}} — the product or service for which pricing is optimized
  • {{industry}} — the industry context
  • {{data_sources}} — available data (e.g., sales history, market trends, customer behavior)
  • {{constraints}} — any business rules or constraints (e.g., minimum price, regulatory limits)
  • {{tech_stack}} — preferred programming language or tools (e.g., Python, TensorFlow)

Instructions

  1. Ask for any missing inputs before starting.
  2. Outline the architecture of a dynamic pricing model, including data inputs, feature engineering, and model selection.
  3. Provide step-by-step instructions for building the model, from data preprocessing to training and deployment.
  4. Discuss how to handle real-time data streams and update prices dynamically.
  5. Suggest evaluation metrics (e.g., revenue lift, price elasticity) and how to test the model before full deployment.

Output format A technical guide with sections: model architecture, implementation steps, code snippets (if applicable), and evaluation plan. Use clear headings and bullet points.

Guardrails

  • Do not provide code that is not directly applicable; ask about the user's tech stack.
  • Flag any assumptions about data availability or quality.
  • Stay within the scope of model development; do not provide business strategy unless asked.

Example

  • {{product_or_service}}: airline tickets, {{industry}}: travel, {{data_sources}}: historical booking data, competitor fares, {{constraints}}: minimum price per route, {{tech_stack}}: Python with scikit-learn.

Follow-up prompts

  • How do I handle seasonality in the pricing model?
  • What are the best practices for A/B testing dynamic pricing?
  • Can you explain how to deploy the model using a cloud service?