Add Ai module

This commit is contained in:
Evgeny
2024-07-12 09:18:48 +04:00
parent c4b0969a9d
commit b5840ee5bb
2 changed files with 34 additions and 1 deletions

7
samples/ai-sample.lua Normal file
View File

@@ -0,0 +1,7 @@
function on_alarm()
ai:complete("Who are you?")
end
function on_ai_answer(answer)
ui:show_text(answer)
end