The Laya project directory
Everything the world is building on Laya.
Ports, SDKs, servers, agents, games and models for the open-source System 1 decision model. Imported daily from GitHub, npm and Hugging Face, checked by a human.
- Projects
- 0
- New this week
- 0
- Platforms
- 0
pip install laya
from laya import Router
router = Router()
result = router.predict(
"We were billed twice. Refund it today or we cancel.",
{"department": {"type": "choice",
"instructions": "Who should handle this?",
"criteria": ["billing", "technical", "other"]},
"churn_risk": {"type": "noul",
"instructions": "Will the user leave?"}},
)
result["answers"]["department"]["choice"] # billing
result["answers"]["churn_risk"]["noul"] # P(yes)
one forward pass · typed answersApache-2.0