%aiml
# Receiving a greeting and answering back
# The "good NNN" greeting allows us to infer the time of the day
GOOD *
HI
# A Hello greeting is less defining
HELLO
HI
# This is the template creating the greeting response
HI
Hi there
Hello
Good morning
Good afternoon
Good evening
Good night
Hello
Good morning
Hello
%show session
%aiml
# The "good NNN" greeting allows us to infer the time of the day
good *
HI
# A Hello greeting is less defining
hello
hi
# This is the template creating the greeting response
hi
Hi there
Hello
Good morning
Good afternoon
Good evening
Good night
Hello
good morning
%aiml
# Note we use the full form, since substitution patterns will have "what's" expanded
# We refer this to the HI category defined above
what is up
hi
what's up?
%aiml
hello
How do you do?
hello
%save myexample.bot
%forget
%load myexample
%show session
%record on
%aiml
# Note we use the full form, since substitution patterns will have "what's" expanded
what is up
Howdy
%aiml
HI
Hello
%record save aimlexample
%record off
%forget
%learn aimlexample.aiml
Hi