All of these functions were not working since it needs a special trick
to call javscript async function within lua:
https://github.com/ceifa/wasmoon/issues/22
The proper trick for allowing async function was added.
Also added missing awaits for similarity search.
You can use following lua trigger to test out the behaviour:
```lua
listenEdit("editOutput", function(triggerId, data)
local res = similarity(triggerId, data, {"happy", "angry", "sad"}):await()
return res[1]
end)
```
Note you need https://github.com/kwaroran/RisuAI/pull/572 to test this
out since low level access is disabled for lua right now.