AIML 'it'

  • 5 Replies
  • 5317 Views
*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • 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
<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
<set name="it">whatever</set>

And then 'get' to recover.

Thanks :)

*

squarebear

  • Trusty Member
  • *********
  • Terminator
  • *
  • 867
  • 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
  • *
  • 6855
  • Mostly Harmless
Re: AIML 'it'
« Reply #2 on: November 25, 2014, 02:06:47 pm »
Thanks Mr SquareBear  :)

*

Freddy

  • Administrator
  • **********************
  • Colossus
  • *
  • 6855
  • 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
	<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
  • *********
  • Terminator
  • *
  • 867
  • 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
<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
  • *
  • 6855
  • 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

 


OpenAI Speech-to-Speech Reasoning Demo
by ivan.moony (AI News )
Today at 01:31: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
Nvidia Hype
by 8pla.net (AI News )
December 06, 2023, 10:04:52 pm
How will the OpenAI CEO being Fired affect ChatGPT?
by 8pla.net (AI News )
December 06, 2023, 09:54:25 pm
Independent AI sovereignties
by WriterOfMinds (AI News )
November 08, 2023, 04:51:21 am
LLaMA2 Meta's chatbot released
by 8pla.net (AI News )
October 18, 2023, 11:41:21 pm

Users Online

297 Guests, 0 Users

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

Articles