Recipe view · 4 Dec 2026
Path B of the experiment: the recipe extracts IDs and amounts and applies the rules in Python, and asks the Model Gateway only for category, sentiment and the reply.
Generated from the recipe JSON, so this is exactly what runs. IDs and workspace details removed. Code on GitHub →
POST /triage-ab-test-v1/triage→Ticket triage AB test (recipe path)API endpoint · POST /triage-ab-test-v1/triage
Gateway A/B test, path B. API Platform POST /triage. The Model Gateway does judgement only (category, sentiment, reply); a Python step does the deterministic fields (order_id, refund_amount, priority, escalate).
| # | Tag | Step | What it does |
|---|---|---|---|
| 1 | AI | HTTP request Model Gateway /v1/chat/completions | ask the Model Gateway (route demo-by-team) for category, sentiment and the draft reply |
| 2 | FORMULA | Python code | regex order_id + refund_amount, apply priority/escalate rules, read token usage |
| 3 | ACTION | Return HTTP response 200 | Return all 7 triage fields + usage to the caller |