Decision Model

NEW
Copy success!
Add to Compare

Overview

A structured decision model for high-frequency business decisions. It performs classification, yes-or-no decisions, and scoring in parallel based on text, images, or business context, returning probability distributions and confidence scores. It is suitable for scenarios such as ticket routing, content moderation, agent routing, and result validation.

Input

TextImage

Output

Text

Pricing

  • Input
    $0.042Per 1M tokens

Rate Limits & Context

  • Max Input
    262K
  • Context
    262K
  • TPMTokens Per Minute
    5000000
  • RPMRequests Per Minute
    5000

API Reference

Call API
Copy success!
12345678910111213141516
curl -sS -X POST https://ap-southeast-1.maas.qwencloudapi.com/compatible-mode/v1/systemone \
  -H "Authorization: $DASHSCOPE_API_KEY" \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "decision-model",
    "state": {"ticket_id": "T-1001", "content": "More than 24 hours have passed since the order was paid, but the funds have still not been credited. The user cannot continue using the core service and requests immediate handling."},
    "questions": {
      "department": {"type": "choice", "instructions": "Which team should handle this?",
                     "criteria": {"billing": "Payment, refund, and billing issues", "technical": "Product malfunctions and integration issues"}},
      "escalate":   {"type": "noul",  "instructions": "Does the on-call staff need to be notified immediately?"},
      "severity":   {"type": "score", "instructions": "How severe is this issue?",
                     "criteria": ["Minor issue, does not affect functionality", "Partial functionality affected, but a workaround exists",
                                  "Core functionality unavailable, no workaround", "Causes severe business or security impact"]}
    }
  }'