Files
risuai/src/ts/process
kwaroran 166d34d98b Fix bugs on lua simpleLLM, LLMMain, similarity, generateImage (#573)
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.
2024-07-15 22:51:17 +09:00
..
2024-03-17 23:55:55 +09:00
2024-06-18 08:23:57 -07:00
2024-01-16 10:56:23 +09:00
2023-10-30 09:04:45 +09:00
2023-06-12 18:53:37 +09:00
2024-06-30 23:09:28 +09:00
2024-06-28 08:23:51 +09:00
2024-02-26 23:13:29 +09:00
2024-06-04 19:36:09 +09:00
2024-07-15 03:49:39 -07:00
2024-07-10 17:03:43 +09:00
2023-12-18 08:51:31 +09:00
2024-06-21 02:42:44 +09:00
2024-07-15 22:48:07 +09:00
2024-06-12 20:20:24 +09:00
2023-12-10 03:38:21 +09:00
2024-07-10 13:47:17 +09:00
2024-03-24 19:44:55 +09:00