Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

docs(readme): link the routing-hint section absolutely

Aashish6ec6c30f78d0
diff --git a/README.md b/README.md
index ff53b648..1f14632b 100644
--- a/README.md
+++ b/README.md
@@ -1159,7 +1159,7 @@ email = agent.predict({"body": "Your account is locked, verify now"}, laya.email
## LangChain and LangGraph Integration
-Fast System 1 routing and guardrails directly inside LangGraph workflows and LCEL chains. Every node also takes core's per-call prediction hooks (`hooks`, `on_predict_start`, `on_predict_end`, `hooks_raise`, `hooks_timeout`) and the two routing hints that pick the checkpoint answering (`task`, `lang_guess`) — see [Which checkpoint answers](docs/langchain.md#9-which-checkpoint-answers):
+Fast System 1 routing and guardrails directly inside LangGraph workflows and LCEL chains. Every node also takes core's per-call prediction hooks (`hooks`, `on_predict_start`, `on_predict_end`, `hooks_raise`, `hooks_timeout`) and the two routing hints that pick the checkpoint answering (`task`, `lang_guess`) — see [Which checkpoint answers](https://github.com/NandhaKishorM/laya/blob/main/docs/langchain.md#9-which-checkpoint-answers):
```python
from laya.integrations.langchain import LayaDecision, LayaGuardrail, LayaRouter