Skip to contents

Questions

Build typed questions, or use a ready-made set.

laya_choice() laya_score() laya_noul()
Build Laya questions
laya_questions()
Combine questions into a question set
laya_preset() laya_preset_fields()
Built-in question presets
as_laya_questions()
Convert to a question set
laya_validate_questions()
Validate a question set without a model
laya_questions_to_json()
Write a question set as JSON

Predicting

laya_predict() laya_predict_batch() laya_predict_long() predict(<laya_engine>)
Answer typed questions about a state
laya_annotate()
Annotate a data frame
laya_bucket_keys()
Bucket names for min_confidence

Results

Engines

A loaded checkpoint. The prediction functions use a default engine.

laya_engine()
Load a Laya engine
laya_default_engine()
Use the default engine
laya_engine_info() laya_engine_close()
Inspect or close an engine

Models

Download, import and list exported checkpoints.

laya_models()
List checkpoints and whether they are installed
laya_download_model()
Download a model
laya_import_model()
Import an exported model
laya_remove_model()
Remove an installed model
laya_model_root() laya_model_path() laya_model_available()
Where models live

Text utilities

Language detection and email cleaning; no model needed.

laya_detect_language()
Detect the language of states
laya_clean_email()
Clean email bodies
laya_email_state()
Build an email state

Errors and options

laya_conditions
Laya conditions
layaR layaR-package
layaR: Local Laya Decision Models via Rust