Use Cases / support-triage
Jev サポートトリアージ
サポートキューには請求、バグ、アカウント問題が混在する。手書きルールはニュアンスを逃し、毎チケットでフル LLM を呼ぶと遅くて高い。
Try a related template free on this host — 5 anonymous real-API runs with no signup — then ship the same schema with a prepaid jv_live_ key. See is Jev free? and playground.
Why Jev
Jev はコードが分岐できる型付き Choice と Score を返す —— 請求へルーティング、緊急度設定、エスカレーション —— 散文をパースせず低遅延で一回。例:「注文が二重課金された」→ カテゴリ、緊急度、エスカレーション推奨。
How to define the decision
生のチケット件名 + 本文を state にする。チーム/トピック用 Choice(billing、bug、account…)、緊急度または重大度の Score、escalate_now の Noul を定義。ラベルを安定させ、ルーターコードをリリース横断で schema-safe に保つ。
When to use Jev
- 着信チケット / チャット / メールのルーティング
- 人キュー前の重大度・エスカレーションゲート
- ラベルが安定した高ボリューム分類
When not to use Jev
- 顧客返信文そのものの作成
- オープンエンドのトラブルシューティング会話
- 推論エージェントが必要な多段調査
Sample input and output
From the live tool template. Run it in the playground for a real API response — sample labels below are illustrative until you click Run.
Input
subject: App is down body: Production dashboard returns 500 for all users since 10am.
Sample display fields
- team: technical · 99%
- issue_type: outage · 97%
- severity: 3.0 / 3
- urgency: now · 94%
- escalate: yes · 91%
高信頼度の Choice ラベルは安全な自動ルートとして扱える。緊急度 Score やエスカレーション Noul が閾値付近なら、自動返金・自動クローズせず人キューへ。監査用に ticket id + 決定を記録 —— API エラー時にラベルを捏造しない。
Failure modes and human fallback
- Upstream or network errors: retry with backoff; do not invent a decision.
- Low confidence: route to a human queue or safer default — never auto-act on money/destructive tools.
- Schema drift: keep a golden fixture set in CI so label changes fail the build before production.
- Jev だけで自動返金やアカウント削除をしない。
- 低信頼度や上流エラー時は人キューへ fail closed。
- 返信起草はテンプレートか生成 LLM に任せ、Jev は意思決定層のみ。
API example
Same prepaid jv_live_ balance as tools. Output tokens are free on this host's metering model.
curl https://jevtypesafe.org/api/v1/decide \
-H "Authorization: Bearer jv_live_YOUR_KEY_HERE" \
-H "Content-Type: application/json" \
-d '{"state":"Support ticket\nSubject: App is down\nBody: Production dashboard returns 500 for all users since 10am.","questions":{"team":{"type":"choice","instructions":"Which team should own this ticket?","criteria":{"technical":"bugs, outages, engineering","billing":"payments, invoices, refunds","account":"login, access, permissions","general":"questions that do not fit elsewhere"}},"issue_type":{"type":"choice","instructions":"What kind of issue is this?","criteria":{"outage":"service is down or broken for many users","bug":"product defect for one or few users","question":"how-to or information request","billing":"money, charges, subscriptions","abuse":"security, spam, or policy violation"}},"severity":{"type":"score","instructions":"How severe is the impact?","criteria":["cosmetic or minor","limited impact","major impact","critical / production down"]},"urgency":{"type":"choice","instructions":"How urgently should this be handled?","criteria":{"routine":"can wait days","today":"should be handled today","urgent":"needs attention within hours","now":"immediate response required"}},"escalate":{"type":"noul","instructions":"Should this be escalated to a human manager or on-call immediately?"}}}'FAQ
- Jev でサポートボット全体を置き換えられますか?
- いいえ。ルーティング・緊急度・エスカレーションの意思決定層に使い、返信起草は LLM かテンプレートに任せてください。
- ここでサポートトリアージを試すには?
- Support Triage ツールを開き、サンプルチケットを無料実行し、同じ質問を jv_live_ キーで /api/v1/decide にコピーします。
- 信頼度が低い場合は?
- 閾値未満なら人キューへ fail closed。ticket id と決定を記録し、低信頼パスでは自動返金・自動クローズしないでください。
Related use cases
Ready to build?
Free anonymous tool runs, then prepaid packs and a jv_live_ key — independent host, not affiliated with TypeSafe AI.