{
  "kind": "original-bounded-choice-workflow",
  "version": 1,
  "scope": "Classify a supplied search term as an explicit purchase, research, post-purchase support or unclear intent under a fixed marketing rubric. Original terms only; no ad account, bid change, conversion prediction or user profile.",
  "question": "Classify the expressed intent of this search term. Buy: explicit request to order, hire or purchase. Research: learn, compare or understand before deciding. Existing-use help: repair or use an already owned item or existing subscription. Unclear: intent not supplied or ambiguous. A product word alone is not buying intent. Do not infer conversion likelihood or change bids.",
  "choices": [
    "Buy",
    "Research",
    "Existing-use help",
    "Unclear"
  ],
  "actions": {
    "Buy": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Buy",
        "workflow": "search-term-buying-intent"
      },
      "pending": false
    },
    "Research": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Research",
        "workflow": "search-term-buying-intent"
      },
      "pending": false
    },
    "Existing-use help": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Existing-use help",
        "workflow": "search-term-buying-intent"
      },
      "pending": false
    },
    "Unclear": {
      "action": "preview_decision_report",
      "payload": {
        "decision": "Unclear",
        "workflow": "search-term-buying-intent"
      },
      "pending": false
    }
  },
  "samples": [
    {
      "id": "purchase",
      "label": "An explicit purchase request",
      "expected": "Buy",
      "request": {
        "context": "{\n  \"task\": \"Search term: buy replacement air filter online today.\"\n}",
        "question": "Classify the expressed intent of this search term. Buy: explicit request to order, hire or purchase. Research: learn, compare or understand before deciding. Existing-use help: repair or use an already owned item or existing subscription. Unclear: intent not supplied or ambiguous. A product word alone is not buying intent. Do not infer conversion likelihood or change bids.",
        "choices": [
          "Buy",
          "Research",
          "Existing-use help",
          "Unclear"
        ]
      }
    },
    {
      "id": "compare",
      "label": "A product comparison",
      "expected": "Research",
      "request": {
        "context": "{\n  \"task\": \"Search term: how do carbon air filters compare with HEPA filters?\"\n}",
        "question": "Classify the expressed intent of this search term. Buy: explicit request to order, hire or purchase. Research: learn, compare or understand before deciding. Existing-use help: repair or use an already owned item or existing subscription. Unclear: intent not supplied or ambiguous. A product word alone is not buying intent. Do not infer conversion likelihood or change bids.",
        "choices": [
          "Buy",
          "Research",
          "Existing-use help",
          "Unclear"
        ]
      }
    },
    {
      "id": "support",
      "label": "An already owned item",
      "expected": "Existing-use help",
      "request": {
        "context": "{\n  \"task\": \"Search term: fix the filter warning on my existing air purifier.\"\n}",
        "question": "Classify the expressed intent of this search term. Buy: explicit request to order, hire or purchase. Research: learn, compare or understand before deciding. Existing-use help: repair or use an already owned item or existing subscription. Unclear: intent not supplied or ambiguous. A product word alone is not buying intent. Do not infer conversion likelihood or change bids.",
        "choices": [
          "Buy",
          "Research",
          "Existing-use help",
          "Unclear"
        ]
      }
    },
    {
      "id": "bare",
      "label": "Only a product noun",
      "expected": "Unclear",
      "request": {
        "context": "{\n  \"task\": \"Search term: air purifier. No additional intent is stated.\"\n}",
        "question": "Classify the expressed intent of this search term. Buy: explicit request to order, hire or purchase. Research: learn, compare or understand before deciding. Existing-use help: repair or use an already owned item or existing subscription. Unclear: intent not supplied or ambiguous. A product word alone is not buying intent. Do not infer conversion likelihood or change bids.",
        "choices": [
          "Buy",
          "Research",
          "Existing-use help",
          "Unclear"
        ]
      }
    },
    {
      "id": "hire",
      "label": "A service purchase",
      "expected": "Buy",
      "request": {
        "context": "{\n  \"task\": \"Search term: hire a technician to install my ventilation filter.\"\n}",
        "question": "Classify the expressed intent of this search term. Buy: explicit request to order, hire or purchase. Research: learn, compare or understand before deciding. Existing-use help: repair or use an already owned item or existing subscription. Unclear: intent not supplied or ambiguous. A product word alone is not buying intent. Do not infer conversion likelihood or change bids.",
        "choices": [
          "Buy",
          "Research",
          "Existing-use help",
          "Unclear"
        ]
      }
    },
    {
      "id": "learn",
      "label": "A how-it-works question",
      "expected": "Research",
      "request": {
        "context": "{\n  \"task\": \"Search term: why do ventilation filters collect fine dust?\"\n}",
        "question": "Classify the expressed intent of this search term. Buy: explicit request to order, hire or purchase. Research: learn, compare or understand before deciding. Existing-use help: repair or use an already owned item or existing subscription. Unclear: intent not supplied or ambiguous. A product word alone is not buying intent. Do not infer conversion likelihood or change bids.",
        "choices": [
          "Buy",
          "Research",
          "Existing-use help",
          "Unclear"
        ]
      }
    }
  ],
  "consumer": "preview_choice_workflow_v2.py"
}
