AIML 'it'

  • 5 Replies
  • 1793 Views
*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6115
  • Mostly Harmless
AIML 'it'
« on: November 24, 2014, 11:29:18 pm »
How does AIML now deal with the idea of 'it' ?

On this old page about half way down is this tag :

Code: [Select]
<set_it></set_it>
http://www.alicebot.org/documentation/aiml-reference.html

The page says it is deprecated. So I was wondering if there was something to replace it ?

I'm thinking you could just do this :

Code: [Select]
<set name="it">whatever</set>
And then 'get' to recover.

Thanks :)

*

squarebear

  • Trusty Member
  • ********
  • Replicant
  • *
  • 690
  • It's Hip to be Square
Re: AIML 'it'
« Reply #1 on: November 25, 2014, 10:11:21 am »
You are correct. You should use <set name="it">. "It" is a special tag in that you can do something like:

Tell me more about <set name="it">your job</set>

and the output will read:

Tell me more about it.
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6115
  • Mostly Harmless
Re: AIML 'it'
« Reply #2 on: November 25, 2014, 02:06:47 pm »
Thanks Mr SquareBear  :)

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6115
  • Mostly Harmless
Re: AIML 'it'
« Reply #3 on: November 26, 2014, 03:11:18 pm »
Squarebear,

I'm thinking about some custom tags. You know how <that> works, well would something similar for <it> be useful do you think ?

For example, continuing with your example :

Code: [Select]
<category>
<pattern>I FIND IT BORING</pattern>
<it>YOUR JOB</it>
<template>That's too bad. Maybe you should get a new one.</template>
</category>

I thought this might be useful because THAT would just be 'TELL ME MORE ABOUT IT.'

Or do you think <topic> is sufficient/better for some reason ?

*

squarebear

  • Trusty Member
  • ********
  • Replicant
  • *
  • 690
  • It's Hip to be Square
Re: AIML 'it'
« Reply #4 on: November 26, 2014, 08:25:19 pm »
I wouldn't bother as you can already do that with conditions.

Code: [Select]
<category>
<pattern>I FIND IT BORING</pattern>
<template>
<condition name="it">
<li value="YOUR JOB">That's too bad. Maybe you should get a new one.</li>
<li value="SCHOOL">But school helps you to get an education.</li>
<li value="LIFE">Why not get a new hobby to liven things up?</li>
<li value="YOU">You're not exactly a barrel of laughs yourself.</li>
<li>How would you make it more exciting?</li>
</condition>
</template>
</category>
Feeling Chatty?
www.mitsuku.com

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6115
  • Mostly Harmless
Re: AIML 'it'
« Reply #5 on: November 26, 2014, 09:14:41 pm »
That's clever Steve, thanks, I'll go with that  O0

 


AI safety
by Art (General AI Discussion)
September 24, 2017, 06:59:13 pm
Grats to SquareBear
by Art (General Chatbots and Software)
September 24, 2017, 06:47:12 pm
Boltzmann machine .... amazing!!!
by keghn (General AI Discussion)
September 24, 2017, 03:17:51 pm
XKCD Comic : Thread
by Tyler (XKCD Comic)
September 23, 2017, 12:00:05 pm
outline from gadient mask
by ivan.moony (General AI Discussion)
September 23, 2017, 10:45:22 am
Dreaming
by Memnon (New Users Please Post Here)
September 23, 2017, 10:02:32 am
AWESOME program that can find similar matches and exact matches (images) !
by LOCKSUIT (General Chat)
September 23, 2017, 07:53:27 am
Map of Computer Science
by keghn (General AI Discussion)
September 23, 2017, 01:34:02 am

Users Online

30 Guests, 0 Users

Most Online Today: 30. Most Online Ever: 208 (August 27, 2008, 09:36:30 am)

Articles