Skip to main content

Python SDK 0.5.0 — Valen-Decision-1.5 bundles and bbox questions

Python SDK 0.5.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. Bbox in typed requests and BboxAnswer with bbox, point and confidence in responses, 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
python -m pip install valen-sdk==0.5.0 # HTTP clients
python -m pip install "valen-sdk[onnx]==0.5.0" # local CPU inference