Files
Maxfield AllisonandGitHub 3a250e3adc docs: add a Python API reference generated from docstrings (#283)
The Python API docstrings now have browsable pages under docs/reference/, rendered with mkdocstrings. Handler options keep signatures and multi-line Returns sections readable and put the constructor on the class page without changing the source. The Docs workflow also runs on laya/** so docstring changes rebuild the site.
2026-09-24 08:21:58 +05:30

806 B

Helpers

Language detection

laya.detect_language is laya.lang.analyse.

::: laya.lang.analyse

::: laya.lang.detect_script

::: laya.lang.is_english

Email

::: laya.email.clean_email_body

::: laya.email.email_state

Question presets

::: laya.presets.triage_questions

::: laya.presets.email_questions

::: laya.presets.guard_questions

::: laya.presets.moderation_questions

::: laya.presets.router_questions

Shortlisting

::: laya.shortlist.shortlist_choice

::: laya.shortlist.predict_shortlist

::: laya.shortlist.embed_fn_from_agent

Calibration and training

::: laya.common.confidence_from_probs

::: laya.common.ece_score

::: laya.common.render_options

::: laya.common.proper_reward

::: laya.common.td_lambda_targets

::: laya.common.QTYPES

::: laya.common.QTYPE_NAMES