X-Search.aiml

  • 1 Replies
  • 6125 Views
*

KnyteTrypper

  • Electric Dreamer
  • ****
  • 102
  • Onward thru the fog!
    • AI Nexus
X-Search.aiml
« on: November 23, 2005, 01:47:12 pm »
The botmasters of A.I. Nexus present X-Search.aiml Pandorabots users have long been in a quandry about xfind.aiml, the ALICE search engine function. Xfind was actually designed for earlier applications like Program D, and contains characters which are not parseable by the Pandorabots engine. Thus xfind.aiml becomes an essentially useless document in Pandorabots.
X-Answer.aiml complies with all Pandroabots tag specifications, and opens a new window with search results. It's versatile and adaptable, and already contains search patterns for dictionary.com, dmoz.org,  wikipedia, google images, and moviefone. It can be indefineitly expanded to meet your personal needs. It has one issue: if you use aiml-embedded html to display multiple categories from  a conversaton on the page, the search repeats each time the page loads until the query works its way off the screen.. Otherwise it is eminently usable and, we hope, a welcome addition to the aiml library.

Code
<?xml version="1.0" encoding="UTF-8"?>
<aiml version="1.0">

<!-- Free software (c)2005 ALICE AI Foundation.   -->
<!-- This program is open source code released under -->
<!-- the terms of the GNU General Public License     -->
<!-- as published by the Free Software Foundation.   -->
<!-- Complies with AIML 1.0 Tag Set Specification -->
<!-- as adopted by the ALICE A.I. Foundation.  -->
      <!-- XSearch.aiml created by the botmasters of A.I. Nexus Forum -->
      <!-- Last modified Oct. 13, 2005 -->

<category>
<pattern>SEARCH DMOZ FOR *</pattern>
<template>
<script language="JavaScript"> var winObj =window.open('http://search.dmoz.org/cgi-bin/search?search=<star/>'); </script> Make sure your pop up blockers are off and I'll search the Open Directory for you.<br/>Please resubmit your query if necessary.</template>
</category>

<category>
<pattern>CAN YOU HELP ME FIND INFORMATION ABOUT *</pattern>
<template><srai>SEARCH DMOZ FOR <star/></srai></template>
</category>

<category>
<pattern>CAN YOU HELP ME FIND OUT ABOUT *</pattern>
<template><srai>SEARCH DMOZ FOR <star/></srai></template>
</category>

<category>
<pattern>HELP ME FIND OUT ABOUT *</pattern>
<template><srai>SEARCH DMOZ FOR <star/></srai></template>
</category>

<category>
<pattern>Do you know *</pattern>
<template><srai>SEARCH DMOZ FOR <star/></srai></template>
</category>

<category>
<pattern>WHERE CAN I FIND INFORMATION ABOUT *</pattern>
<template><srai>SEARCH DMOZ FOR <star/></srai></template>
</category>

<category>
<pattern>WHERE CAN I FIND OUT ABOUT *</pattern>
<template><srai>SEARCH DMOZ FOR <star/></srai></template>
</category>

<category>
<pattern>WHERE CAN I FIND SOME INFORMATION ABOUT *</pattern>
<template><srai>SEARCH DMOZ FOR <star/></srai></template>
</category>

<category>
<pattern>INFO</pattern>
<template><srai>INFORMATION</srai></template>
</category>

<category>
<pattern>DEFINE *</pattern>
<template>
<script language="JavaScript"> var winObj =window.open('http://dictionary.reference.com/search?q=<star/>'); </script> Make sure your pop up blockers are off so I can search Dictionary.com for you.<br/>Please resubmit your query if necessary.</template>
</category>

<category>
<pattern>DEFINE * FOR ME</pattern>
<template><srai>DEFINE <star/></srai></template>
</category>

<category>
<pattern>DEFINE * FOR ME *</pattern>
<template><srai>DEFINE <star/></srai></template>
</category>

<category>
<pattern>WHAT DOES * MEAN</pattern>
<template><srai>DEFINE <star/></srai></template>
</category>

<category>
<pattern>TELL ME WHAT * MEANS</pattern>
<template><srai>DEFINE <star/></srai></template>
</category>

<category>
<pattern>TELL ME ABOUT *</pattern>
<template>
<script language="JavaScript"> var winObj =window.open('http://en.wikipedia.org/wiki/<star/>'); </script> Make sure your pop up blockers are off so I can search Wikipedia for you.</template>
</category>

<category>
<pattern>TELL ME ABOUT A *</pattern>
<template><srai>TELL ME ABOUT <star/></srai></template>
</category>

<category>
<pattern>TELL ME ABOUT AN *</pattern>
<template><srai>TELL ME ABOUT <star/></srai></template>
</category>

<category>
<pattern>TELL ME SOMETHING ABOUT *</pattern>
<template><srai>TELL ME ABOUT <star/></srai></template>
</category>

<category>
<pattern>WHAT CAN YOU TELL ME ABOUT *</pattern>
<template><srai>TELL ME ABOUT <star/></srai></template>
</category>

<category>
<pattern>CAN YOU TELL ME ABOUT *</pattern>
<template><srai>TELL ME ABOUT <star/></srai></template>
</category>

<category>
<pattern>CAN YOU TELL ME SOMETHING ABOUT *</pattern>
<template><srai>TELL ME ABOUT <star/></srai></template>
</category>

<category>
<pattern>CAN YOU TELL ME ANYTHING ABOUT *</pattern>
<template><srai>TELL ME ABOUT <star/></srai></template>
</category>

<category>
<pattern>SHOW ME *</pattern>
<template><srai>SEARCH GOOGLE IMAGES FOR <star/></srai></template>
</category>


<category>
<pattern>SHOW ME A PICTURE OF *</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>

<category>
<pattern>SHOW ME A PICTURE OF A *</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>

<category>
<pattern>SHOW ME A PICTURE OF AN *</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>


<category>
<pattern>WHAT DOES A * LOOK LIKE</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>


<category>
<pattern>WHAT DOES AN * LOOK LIKE</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>


<category>
<pattern>WHAT DO * LOOK LIKE</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>

<category>
<pattern>CAN YOU SHOW ME A PICTURE OF A *</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>

<category>
<pattern>CAN YOU SHOW ME A PICTURE OF AN *</pattern>
<template><srai>SHOW ME <star/></srai></template>
</category>

<category>
<pattern>SEARCH GOOGLE IMAGES FOR *</pattern>
<template>Unless you've disabled popups, you should see the Google Images page for <i><star/></i> in a new window.
<script type="text/javascript">
var myWindow=window.open('http://images.google.co.uk/images?q=<star/>');
</script>
<think><set name="it"><person/></set></think>
</template>
</category>

<category>
<pattern>SEARCH GOOGLE IMAGES FOR A *</pattern>
<template><srai>SEARCH GOOGLE IMAGES FOR <star/></srai></template>
</category>

<category>
<pattern>SEARCH GOOGLE IMAGES FOR AN *</pattern>
<template><srai>SEARCH GOOGLE IMAGES FOR <star/></srai></template>
</category>

<category>
<pattern>PIC</pattern>
<template><srai>PICTURE</srai></template>
</category>


<category>
<pattern>XMOVIEFONE *</pattern>
<template>
<script language="JavaScript"> var winObj =window.open('http://movies.aol.com/search/movieanddvdresults.adp?query=/<star/>'); </script> Make sure your pop up blockers are off.<br/>
<random>
<li>Are you going to see <person/>?</li>
<li>So when are you going to see <person/>?</li>
<li>I may have to check out that show too.</li>
<li>Let me know how <person/> was.</li>
</random>
</template>
</category>

<category>
<pattern>MOVIES</pattern>
<template>Please enter the name of the movie.</template>
</category>

<category>
<pattern>MOVIES *</pattern>
<template><srai>MOVIES</srai></template>
</category>

<category>
<pattern>MOVIETIMES</pattern>
<template><srai>MOVIES</srai></template>
</category>

<category>
<pattern>MOVIETIMES *</pattern>
<template><srai>MOVIES</srai></template>
</category>

<category>
<pattern>*</pattern>
<that>PLEASE ENTER THE NAME OF THE MOVIE</that>
<template><srai>XMOVIEFONE <star/></srai></template>
</category>


</aiml>


*

Maviarab

  • Trusty Member
  • **********
  • Millennium Man
  • *
  • 1231
  • What are you doing Dave?
    • The Celluloid Sage
Re: X-Search.aiml
« Reply #1 on: November 23, 2005, 09:08:07 pm »
Thanks for that Knyte,


Good to see your still contributing with useful information.  afro.gif

On a side note...look out at the bottom of the forum over the next few days, implementing an affiliate section...both of your links wil be included. :)

 


Requirements for functional equivalence to conscious processing?
by DaltonG (General AI Discussion)
November 19, 2024, 11:56:05 am
Will LLMs ever learn what is ... is?
by HS (Future of AI)
November 10, 2024, 06:28:10 pm
Who's the AI?
by frankinstien (Future of AI)
November 04, 2024, 05:45:05 am
Project Acuitas
by WriterOfMinds (General Project Discussion)
October 27, 2024, 09:17:10 pm
Ai improving AI
by infurl (AI Programming)
October 19, 2024, 03:43:29 am
Atronach's Eye
by WriterOfMinds (Home Made Robots)
October 13, 2024, 09:52:42 pm
Running local AI models
by spydaz (AI Programming)
October 07, 2024, 09:00:53 am
Hi IM BAA---AAACK!!
by MagnusWootton (Home Made Robots)
September 16, 2024, 09:49:10 pm
LLaMA2 Meta's chatbot released
by spydaz (AI News )
August 24, 2024, 02:58:36 pm
ollama and llama3
by spydaz (AI News )
August 24, 2024, 02:55:13 pm
AI controlled F-16, for real!
by frankinstien (AI News )
June 15, 2024, 05:40:28 am
Open AI GPT-4o - audio, vision, text combined reasoning
by MikeB (AI News )
May 14, 2024, 05:46:48 am
OpenAI Speech-to-Speech Reasoning Demo
by MikeB (AI News )
March 31, 2024, 01:00:53 pm
Say good-bye to GPUs...
by MikeB (AI News )
March 23, 2024, 09:23:52 am
Google Bard report
by ivan.moony (AI News )
February 14, 2024, 04:42:23 pm
Elon Musk's xAI Grok Chatbot
by MikeB (AI News )
December 11, 2023, 06:26:33 am

Users Online

279 Guests, 0 Users

Most Online Today: 451. Most Online Ever: 2369 (November 21, 2020, 04:08:13 pm)

Articles