AI product Open source

Laya

Laya is an Apache-2.0 Python package and encoder-model decision engine developed by Convai Innovations. It accepts text or JSON state and evaluates typed questions in a single forward pass, returning categorical choices with probabilities and confidence, ordinal scores, or calibrated Boolean probabilities rather than generated text. Its stated uses include routing, ticket triage, prompt-injection detection, moderation, phishing detection, and churn-risk classification.

View repository Mentioned in 1 video ↓

Overview

Laya includes English, multilingual, and typed-decisions checkpoints, plus a router that selects a checkpoint using explicit settings, detected script, and best-effort language detection. The checkpoints use reinforcement learning against strictly proper scoring rules (RLCD); the project also provides fine-tuning and temperature-calibration workflows. The multilingual checkpoint is intended for more than 100 languages, while the repository cautions that the base models can perform near chance on some zero-shot typed-decision tasks and that large choice sets are constrained by the option-token budget.

What Laya is used for

1 use taken from transcripts — each links to the moment in the video.

  • Turns text or JSON into decisions such as choices, yes-or-no outcomes, and ordered scores using encoder-model probabilities, with routing among different checkpoints.

Videos mentioning Laya

1 in the library.