laya_decide
Run local decisions on text, email, tickets, or JSON by defining typed questions. Get probabilities and act/escalate signals in ~10-20 ms with no text generation.
Instructions
Ask the local Laya decision engine typed questions about a state (text, email, ticket or JSON). Each question is choice|score|noul; answers return probabilities plus an act/escalate signal in ~10-20 ms with no text generation. Define the answer space per call. Keep choice under ~20 options. Treat probabilities as hints until temperatures are refit on your own data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| preset | No | ||
| questions | Yes | ||
| timeout_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |