Artificial Intelligence (AI)

27 February 2015

  • Release 7.74 - added.
ai (Commands)
TypeCorrade progressive command
Commandai
DescriptionThe ai command processes messages sent to the bot and sends the response to an installed callback URL.
Permissionstalk
Parametersgroup, password, action
Last ChangesRelease 7.74 - added.

The ai command processes messages sent to the bot and sends the response to an installed callback URL.

Command Required Parameters Required Corrade Permissions Example
ai group, password, action talk
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Send "Good day!" to Corrade
            // and retrieve the response
            // via the installed callback
            "command", "ai",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "action", "process",
            "message", wasURLEscape("Good day!"),
            // The answer will be posted to the URL
            "callback", wasURLEscape(URL)
        ]
    )
);
Parameter Possible Values Second Parameter Description
action process message Process the message using the AIML intelligence.
enable Enable the AIML routines.
disable Disable the AIML routines.
rebuild Triggers a rebuild of the AIML bot's brain file (this is a long operation!).

Note that when the action is set to rebuild, Corrade will re-read the AIML files and construct a binary file. This operation can take a long time and the result will be returned to the callback URL once it has finished.


secondlife/scripted_agents/corrade/api/progressive/commands/ai.txt ยท Last modified: 2017/02/22 18:29 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.