Skip to main content

JavaScript SDK 0.4.0 — Valen-Decision-1.5 bundles and bbox questions

JavaScript SDK 0.4.0 runs Valen-Decision-1.5 ONNX bundles with Valen.local and adds bbox questions for Decisions and SystemOne.

Highlights​

  • Valen-Decision-1.5 in Valen.local. The compiler records the state prefix and question blocks, and the decision graph receives the block attention mask (block_mask) the model was trained with. Outputs match the native model; Valen-Decision-1.0 bundles run as before.
  • bbox questions. The bbox(instructions, image = 0) helper and the BboxQuestion and BboxAnswer types with bbox, point and confidence, for Decisions and SystemOne. Local inference answers them with the bundle's grounding graph; Valen.remote passes them through to servers that answer them.

Changes​

  • A Noul rubric (criteria with true and false) is folded into the instructions for Valen-Decision-1.5, as in the native model.

Install​

Terminal
npm install @valen-team/sdk@0.4.0