Skip to contents

layaR (development version)

  • laya_annotate() gains answer_confidence, which adds an <id>_answer_confidence column: the confidence in the answer given (for a choice question, the chosen option’s probability), the number min_confidence compares with its threshold.
  • laya_annotate() explains that state takes column names as strings when given bare names (state = c(subject, body)), instead of failing with “object not found”.
  • New website article, “Using layaR with the tidyverse”, showing the data-frame workflows with dplyr, tidyr, purrr and ggplot2.

layaR 0.1.0

First release. layaR runs Laya decision models locally from R through the laya-onnx Rust crate and ONNX Runtime.

Questions and predictions

Models

Text utilities

Compatibility

  • Results match the Python SDK on all 117 recorded cases for each of the English and multilingual checkpoints, and on all language and email probes.
  • Errors have class laya_error and laya_error_<kind>.
  • Linux and macOS. Windows is not supported yet.