Community runtime
Laya Node.js / TypeScript via ONNX
Run Laya from Node.js and TypeScript using ONNX Runtime, with the same typed-decision request and response shape.
Node.js backendsTypeScriptONNX RuntimeNo Python runtime
Quickstart
npm install @receptron/layaSource
receptron/layaThe ONNX weights are downloaded on first use. Budget memory for the model and question batches.
Usage
import { Laya } from "@receptron/laya";
const laya = await Laya.load();
const result = await laya.systemOne(state, questions);