Monday, November 7, 2011

Pandorabots Can Now Query Wolfram Alpha

The latest major upgrade to all Pandorabots includes support for Wolfram Alpha queries. Wolfram Alpha, created by Wolfram Research, is the world's most sophisticated answer engine. The combination of Wikipedia query, Wolfram Alpha query, and custom AIML responses from pandorabots.com make Pandorabots the smartest scripted agents in Second Life. Or anywhere, for that matter.

Wolfram Alpha query support has been added to all Pandorabots including the Pandorabot METAbolt Add-On, Pandorabot Actorbot Add-On, Restless Studio Smart Dance Pole, Inner Spheres, Pandorabot V5, and Subgenius Pandorabot.

To trigger a Wolfram Alpha query simply preface your local chat with one of the trigger phrases setup in the Configuration notecard. By default the Wolfram Alpha trigger phrases are "wolfram", "alpha", and "wolfram alpha". So, for example, chatting "wolfram what is the cube root of 387" would get a response from your Pandorabot:
Input :
387^(1/3)

Exact result :
3^(2/3) 43^(1/3)

Decimal approximation :
7.2873616311218428454286590881202865642949650868366337582348...

Continued fraction :
[7; 3, 2, 11, 1, 23, 1, 27, 2, 1, 1, 2, 2, 1, 28, 1, 47, 1, 5, 1, 3, 25, 5, 3, 1, ...]
Initially the Pandorabot is configured to use a shared demonstration Wolfram Alpha application ID limited to 2000 queries per month. Configure your Pandorabot with a unique application ID obtained by registering at http://products.wolframalpha.com/api . Edit the Configuration notecard and set ALPHA_APP_ID  to your App ID.

6 comments:

  1. Adeena, my custom AIML is published on my Scribd site at http://www.scribd.com/missyrestless - for instance, the Pandorabots custom AIML file I wrote is at http://www.scribd.com/doc/59464824/pandorabots ... You can learn more about AIML at http://www.alicebot.org/aiml.html

    ReplyDelete
  2. Hi!

    Some usefull info here, but I am having problems finding a Configuration Notecard. I am not a second life user, so was wondering whether it was possible to interface normal pandorabots with Wolfram Alpha and Wikipedia.

    thanks,
    AN

    ReplyDelete
  3. No, I do not know of an existing method to interface normal Pandorabots with Wolfram Alpha and Wikipedia. You would have to create a web front-end to accept and parse the input then use PHP or something to send that to the Wolfram Alpha API or Wikipedia and parse the return. My work is for use in Second Life.

    ReplyDelete
  4. Thanks for responding. Thats a bummer... Im going to try contacting Pandorabot or the creator of ALICE to find out if they can give me more info. Thanks again.

    AN

    ReplyDelete
  5. Hello Guys, would you please suggest me if i could get a Java based instructions to integrate Pandorabot with WA and Wiki.
    Thanks
    Ric

    ReplyDelete