Hey @TheJasonPlayz ,
I created Silverbullet v2 compatibility · Issue #83 · justyns/silverbullet-ai · GitHub to track this. Right now, the AI plug isn’t working completely with the v2 version of Silverbullet. I’ll see if I can spend some time on it in the next few days to get it working again.
As an alternative, also feel free to check out @zef 's example lua script here: Why Lua is cool - #13 by zef