AI product Open source
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.
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.
3 uses 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.
Handles small AI workflow decisions such as routing support messages, scoring urgency, and estimating churn. It returns typed answers and provides Python and TypeScript options for integrating it into applications.
A one-decision engine that answers typed questions about any text in a single forward pass without text generation, using routers to direct queries to appropriate English or multilingual models.
3 in the library.