some fixes + gliner first implementation

This commit is contained in:
Priler 2026-02-11 07:21:50 +05:00
parent b9d5f41bbd
commit a8ff3442ff
36 changed files with 1079 additions and 73 deletions

View file

@ -0,0 +1,14 @@
[[commands]]
id = "test_greet_name"
type = "lua"
script = "greet.lua"
[commands.phrases]
en = ["say hello to {name}", "greet {name}"]
ru = ["поздоровайся с {name}", "привет {name}"]
[commands.slots.name]
entity = "person name"
[commands.slots.city]
entity = "city name"

View file

@ -0,0 +1,2 @@
local name = jarvis.context.slots.name or "[UNKNOWN]"
print("Hello, " .. name .. "!")