Guides / 動画ウォークスルー
Heym で Jev Decision Node を使う: モデルルーティングを制御する
最終更新日: 2026-10-05
Heym のワークフローに Jev を組み込み、型付きの言語判定と実行時のモデルルーティングを設定し、実行トレースで分岐を確認します。
ステップごとのウォークスルー
- 1
通常のモデル条件と、ルーティング失敗時のフォールバックを分ける
Heym の認証情報エディターでは、モデルごとに短い「Use this when」の説明を設定できます。そのうち一つは、ルーティングに失敗したときに使うモデルとして指定されています。フォールバックの役割を明示し、通常のタスク条件と見分けやすくしたうえで、優先ルートが使えない場合のワークフローをテストしてください。この動画だけでは、あらゆる障害で切り替えが保証されるとは言えません。

広いモデル説明に埋め込まず、フォールバックの役割を画面上で明示します。タイムスタンプ 1:08 を見る - 2
スペイン語のサンプルを言語チェックワークフローに通す
動画では、対照用の入力として「¡Hola!」を入力し、Heym のワークフローを実行します。このフレームでは Jev Decision Node がまだ実行中です。有意なアクションへ接続する前に、次のフレームで分岐が完了した結果を確認してください。

このフレームでは実行中の表示が残っており、結果は少し後に現れます。タイムスタンプ 1:32 を見る - 3
完了した判定結果と条件付きの出力を確認する
実行結果では「Not English」が確率 0.03 と表示され、`isEnglishCheck` の false 側が `notEnglishOutput` に接続されています。これは一つの入力に対する例であり、精度の主張ではありません。短いテキストや曖昧なテキストも含むラベル付きケースで、質問の条件と下流アクションを検証してください。

この例では、完了した実行が非英語側の分岐を進みます。タイムスタンプ 1:34 を見る - 4
英語の結果と比較してから、ワークフローの分岐を決める
後の実行では「hi」を入力し、実行結果に English、確率 0.98 と表示されます。Noul の質問結果は `isEnglishCheck` 条件に入り、English と非英語の別々の出力へ接続されます。この一つの結果を測定済みの精度とみなしてはいけません。代表性のあるラベル付き入力を評価し、証拠が弱い場合の処理も決めてください。

条件の両側を比較し、曖昧な入力は別にテストします。タイムスタンプ 1:45 を見る - 5
実行トレースで、実行時に選ばれたモデルを監査する
オーケストレーターのトレースには、高速タスクとクリエイティブタスクに対する別々のルーティング判断と、その後続の呼び出しが記録されます。どの判断がどのモデルを選び、ワークフローのどこで発生したかを確認してください。表示される所要時間とトークン数はこのサンプル実行に固有のものなので、性能やコストを判断する前に自分のタスクを測定します。

トレースの行から、各実行時の判断でどのモデルが選ばれたかを追跡できます。タイムスタンプ 2:08 を見る
よくある質問(FAQ)
Heym のワークフロー内で Jev を使ってモデルをルーティングできますか?
動画では、Heym の Decision model がタスクの種類に応じて、設定済みの異なるモデルを選択します。実際のワークフローには、明確なルーティング条件、利用可能な認証情報、テスト済みのフォールバック経路が必要です。
フォールバックを設定すれば、失敗したルートは必ず復旧しますか?
いいえ。この動画が示すのは、ルーティング失敗時に使うモデルとしてマークされた選択肢だけで、普遍的な復旧保証ではありません。デプロイする Heym のバージョンで、プロバイダー障害、無効な認証情報、タイムアウト、その後のワークフロー状態をテストしてください。
言語判定の 0.98 は、ワークフローの精度 98% を意味しますか?
いいえ。動画内の一つの入力に対して表示された確率であり、測定済みの精度ではありません。代表性のあるラベル付きケースで評価し、証拠が弱い場合や入力が曖昧な場合の扱いを定義してください。
一般的な Jev モデルルーターのガイドとは何が違いますか?
このページでは Heym の画面、Decision Node、実行トレースに沿って説明します。一般的なモデルルーターのガイドは、特定のプラットフォームに依存しない設計とトレードオフを扱います。
関連ガイド
Jev Model Router: ローカルとクラウドのモデルルーティング
プラットフォームに依存しないルーティング条件と、ローカル・クラウドのモデル選択を比較します。
読むJev Model: Choice、Score、Noul
ルート、カテゴリ、スコア、Yes/No ゲートに合う型付き出力を選びます。
読むJev API の例: curl、Python、JavaScript
Heym の画面を離れて、型付きの質問ペイロードとレスポンスを確認します。
読むExpanso Edge と Jev でログをトリアージする
運用ログイベントの振り分けに Jev の選択的な判定を使う例を見てみます。
読むTreg と Jev でリードをエンリッチする
型付きの Jev 判定でリードカテゴリを扱う、別のワークフローと比較できます。
読むその他の動画ウォークスルー
- Jev Classification Quickstart: OpenRouter API, Primitives & Real Probabilities
- Jev Architecture Explained: Why 70ms Decision Models Beat LLMs for Workflow Automation
- Ultra-Fast Browser Agents with Jev: 178ms DOM Loops & Dual Model Orchestration
- Open Jev Models Are Here: Semif, Nimble, Decider, DiffusionGemma & Laya Hands-On
- Jev vs LLM: Will Jev Replace LLMs? Krish Naik's Whiteboard Explainer
- Jev Trader Tutorial: Build a Subsecond AI Trading Bot on Monad
- Jev Model Router: Build a Privacy-Gated LLM Router with Jev & OpenJev
- Jev Tutorial for Beginners: State, Questions & the TypeScript SDK
- Run Jev Locally: Kev, SemIf & Von on Your Own GPU (OpenJev Guide)
- Jev RAG Reranker: Policy-Steered Reranking for Retrieval-Augmented Generation
- When to Use Jev: An Engineer's Audit of Claims, Gates, and Failure Modes
- LangChain + Jev Integration Tutorial: Routing, Guardrails & Evals
- Jev MCP Server: Connect Jev Decisions to Claude Code & Cursor
- Jev vs Luna: Independent Benchmarks Put "Better, Faster, Cheaper" to the Test
- Jev Agent Harness: Where the Decision Gate Sits in Your LLM Loop
- Jev Playground Walkthrough: The Hotdog Lesson, Criteria, and a Four-Console Token Test
- Jev Text Classification API: Zero-Shot CLI & REST with classifier.dev
- Jev API Examples: First Request, curl & All Three Question Types
- Expanso Edge と Jev でログをトリアージする
- Treg と Jev でリードをエンリッチする: ICP 判定と登録スコアリング
- Laya Tutorial: Open-Source AI Routing With Calibrated Probabilities (Laya vs Jev Setup)
- Train Your Own Jev: Fine-Tune a Jev-Style Decision Model for $5–$17 (What You Can and Cannot Train)
- Jev Tips: 8 Best Practices for Better Decisions (State, Questions, Criteria & Thresholds)
- Jev Context Compaction: Prune AI Agent Memory Without Generative Summaries
- Jev as an LLM Judge: Confidence-Gated Cascades at 0.36% of the Cost
- TypeSafe Computer Use: Local Desktop Automation with Jev, Step by Step
- Jev Resume Screening: Build an AI Resume Evaluator with the Jev JavaScript SDK
- Jev + Claude Code Guide: Voice-Controlled Browser Automation with Typed Decisions
- Jev + Codex: Install the TypeSafe Skill and Triage a Real Gmail Inbox
- Jev vs Ollama: Can Local AI Replace Hosted Jev Without Sending Your Data Away?
- Build Your Own Jev: Train a Free Open-Source Zero-Shot Classifier (That Plays Doom)
- CUA-S1-Forms: a 706K-Parameter Jev-Like Model That Fills GUI Forms on Your CPU
- NOC/SOC Alert Triage with Jev: Rules First, One Typed Question, a Policy Gate
- Ollama Decision Models: Run tev1 and Nimble Locally (Tested on an 8 GB Card)
- Jev Guardrails in Production: A Five-Step Playbook for Decision Automation
- A Session Drift Guard for Pi Agent: Let the Jev Model Propose, Let Code Decide
- 50 Tev1 Use Cases: What a Local Decision Model Can Actually Do (Tested on an 8 GB Laptop)
- Jev, Hands-On: Where the Official Claims Meet Independent Remeasurement
- Jev Ticket Classification in a Real App: the After-Insert Hook and the Calculated Field
- OpenJev RLCD: Run the Open-Source Calibrated Decision Model Locally (Full Guide)
- Clef-Flash vs Jev: I Tested Cloudflare's Decision Model Locally in Ollama (Q4_K_M)
- Clef-Flash Tutorial: Install and Run Cloudflare's 9B Multimodal Decision Model Locally on Ubuntu
- CLM-8B: the Contrastive Decision Model That Scores 1,024 Options in 44 ms (13x Faster Than Jev)
- Nox 4B Tutorial: Run the Decision 2.0 Model Locally and Put It Through Four Real Decisions (One Ends in a Fail)
- Julia-1 Tutorial: Install the Open-Source Jev Replacement in Pure Python (and Watch It Beat If-Statements 9 to 2)
- OpenJev 0.8B on CPU: I Built a Ticket-Routing Inbox and Calibrated the Thresholds
- Jev n8n Integration: the JevGate Community Node, Step by Step (Plus a Plain-HTTP Fallback)
- NanoJev Tutorial: Install the 0.6B Open-Source Jev Replica and Watch It Route Decisions at 47 ms
- PPLX Decider Tutorial: Perplexity's Open 27B Decision Model, Its Decisions API, and a 12-Ticket Triage Run
- AutoTrust JEV-27B Tested Locally: Four Arms, 72 Cases, and One 0.969 Score That Was Wrong
- Clef 27B Locally: Watch Cloudflare’s Multimodal Decision Model Read an Image, a Video and an Uzbek Newspaper in One Pass
- Ollaya Guide: Install the "Ollama for Decision Models" Runner, Read Every Vendor-Reported Number, and Run the CPU Test It Leaves Open
- Strands Decider 2B Tutorial: Install the AWS Strands Decision Model on an 8GB Laptop — and Keep Its Failures In
- Liquid AI Open d1 Locally: d1-3B and d1-omni-600M on a MacBook Air M5 — Guardrails, Screen Checks, Voice Routing and Document Triage, Every Number Frame-Checked
- Image Decision Models for RPA: Watch Two Open Models Review an Unsigned W-8BEN With No OCR
- GLiNER2.5-Decide (340M) vs Jev (4B): Which Decision Model Actually Wins? A Frame-by-Frame Selection Guide
- Decision Models on Jetson: Jev vs Strands Decider 2B vs Laya vs d1-3B — Skill Master Scores, Thor Latency and JevBench, Every Number Frame-Checked
- Microsoft Decision-1 Tested: 146 Independent Tests, a 93% Mean, 124/125 When Confident — Every Number Frame-Checked
- Wire Jev into an Azure AI Foundry Agent as the Evaluation Layer — OpenAPI Tool, TypeSafe Connection, Triage Instructions and an Honest First-Run Failure