LiMiT · Deterministic workspace
Teach a deterministic function
Learn numeric and text functions from examples, add phrases and inspect versions.
Start with distinct examples
Send the following command as one chat message. HuLaHo selects a candidate from its supported grammar using the first three examples, then checks the fourth input. A failed check does not activate a function.
learn demo_double: 1 -> 2; 2 -> 4; 3 -> 6; 4 -> 8Use the learned function
The explicit run command supplies typed parameters. Here the requested input is outside the observed range, so the result includes an extrapolation notice.
run: {"name":"demo_double","args":{"x":21}}Teach an invocation phrase
A phrase may use any language, but matching is literal and supports at most one parameter. Teaching this phrase does not teach all of Romanian.
phrase: {"pattern":"dubleaza {x}","skill":"demo_double"}Inspect and extend
Type skills to list functions and inspect skill to see a definition and tests. Observe accepts one example at a time and attempts learning from four distinct inputs. Versions preserve earlier regression examples; rollback selects an earlier version.
inspect skill: {"name":"demo_double"}Read the methods and limitations or try the examples in the workspace.