Decision Models

20 guides tagged “Decision Models”.

  1. How to Run Laya Locally: Install, First Decision, CLI, HTTP, and MCP Install Laya, run a first typed decision, use the CLI and presets, serve it over HTTP, and connect it to a coding agent over MCP. Software Engineering intermediate 9 min
  2. How to Set Up Jev in Your App (API Key, SDK, and First Decision) A step-by-step Jev setup: create a key, install the SDK, send typed questions, read confidence, and add a fallback before it touches users. Software Engineering beginner 8 min
  3. How to Write Decision Questions for Jev and Laya A practical guide to choice, score, and noul questions: instructions, criteria, atomicity, thresholds, and the tests that catch ambiguous labels. Software Engineering intermediate 13 min
  4. Jev AI: The Complete Guide to TypeSafe's Decision Model Jev AI explained: what it is, what it returns, pricing, latency, use cases, setup, limitations, and how it compares with Laya, Clef, and OpenAI. Software Engineering beginner 12 min
  5. Jev Images and Box Questions: What the Preview Can Do How to send images to Jev, enable the danger-zone header, use Box questions for image localization, and decide when a preview is not production-ready. Software Engineering intermediate 10 min
  6. Jev vs Laya vs Clef: Which Decision Model Should You Use? A practical comparison of Jev, Laya, Clef, and OpenAI's Decisions API: hosting, license, modality, price, latency, and when each one wins. Software Engineering intermediate 9 min
  7. Jev vs an LLM Classifier: Cost, Latency, and When to Switch A practical comparison of a decision model and an LLM classifier: contract, latency, token math, accuracy, calibration, and the hybrid pattern that works. Software Engineering intermediate 10 min
  8. Laya AI: The Complete Guide to the Open-Source Decision Model Laya AI explained: checkpoints, router, local setup, speed, cost, fine-tuning, security, and how it compares with Jev and other decision models. Software Engineering beginner 11 min
  9. What Is a Decision Model? Jev, Laya, and Typed Answers Instead of Parsed Prose A decision model returns a typed choice, score, or yes/no probability instead of generated text. How Jev, Laya, and Clef work, and when to use one. Software Engineering beginner 9 min
  10. Can Prompt Injection Manipulate a Decision Model? Decision models return typed labels, not text, but their state is untrusted input. How injection can steer a choice and how to defend the layer. Software Engineering intermediate 7 min
  11. How to Add a Decision Model to a Vibecoded App A practical integration pattern: choose one branch, write atomic questions, gate on confidence, keep actions in code, and roll out in shadow mode. Software Engineering intermediate 9 min
  12. How to Use Jev as an LLM Guardrail Screen LLM inputs and outputs with Jev: define hazard questions, batch them into one call, map probabilities to pass, review, block, or support. Software Engineering intermediate 9 min
  13. Jev Pricing: What a Decision Actually Costs Jev costs $0.042 per million input tokens with free output. Here is the arithmetic per decision, what makes it expensive, and how it compares with alternatives. Software Engineering beginner 6 min
  14. Jev Use Cases: 15 Decisions Worth Replacing an LLM Call For Fifteen practical Jev use cases, grouped by workflow, with the question shape and the reason a typed decision beats an LLM call. Software Engineering beginner 8 min
  15. How to Fine-Tune Laya on Your Own Decision Data A practical Laya fine-tuning loop: prepare CSV or JSONL, dry-run the job, train, calibrate confidence, evaluate, and serve the checkpoint. Software Engineering intermediate 7 min
  16. How to Connect Laya to a Coding Agent Over MCP Install Laya's MCP server, configure a coding agent, verify the tools, and use typed decisions for routing, triage, and guardrails. Software Engineering intermediate 6 min
  17. Laya Security: Pin Checkpoints, Verify Digests, and Protect laya-serve Secure a local Laya deployment: pin checkpoint revisions, verify SHA-256 digests, authenticate laya-serve, and treat model answers as recommendations. Software Engineering intermediate 7 min
  18. What Is Jev? TypeSafe's Decision-Only Model Explained Jev takes a state and typed questions and returns choices, scores, and yes/no probabilities. What it is good at, what it is not, and how it is priced. Software Engineering beginner 8 min
  19. What Is Laya? The Open-Source Jev Alternative You Can Run Locally Laya is an Apache-2.0 decision engine you run on your own hardware. What its checkpoints do, how the router works, and where it trails hosted models. Software Engineering beginner 8 min
  20. How to Evaluate a Decision Model Before You Ship It Build a labeled set, measure accuracy and calibration, choose a confidence threshold, and run shadow mode before a decision model takes action. Software Engineering intermediate 9 min