WordPress PHP method: DirectQuestion::Ask($question)

EXPERIMENTAL FOR DEVS ONLY. DO NOT USE ON PRODUCTION YET.

Aion Chat is a free WordPress plugin. You can chat with the LLM via the comment system. I’ve also created an easy method for developer’s use:

Put this in your WordPress functions.php or in a plugin:

if(isset($_GET['q'])){
   add_action("init", function () {
      echo(
         \AionChat\DirectQuestion::ask(
            "In Greek mythology, who is Asclepius?"
         )
      );
      die();
   });
}

This plugin is currently spaghetti code, insecure, full of bugs, and experimental. Use at your own risk! I’m a single dev, not a company. Your OpenAI API key is stored in your WordPress db so be careful. I don’t store your API key.

Github: https://github.com/JohnDeeBDD/aion-chat
Zip: https://aion.garden/download/

1 Like