[alicebot-style] topic
Anne Kootstra
alicebot-style@list.alicebot.org
Sat, 23 Aug 2003 20:35:29 +0200
First question:
Categories that don't have a topic are always available when an input is
matched. The only time this isn't the case when the category outside a
topic and a category inside a topic have the exact same pattern.
In this case when the topic has been set, the category inside the topic
will prevail over the topicless category. This is a situation that is
created when an answer must be different to the exact same question; for
example when creating an emotion mechanism.
In your example '2' will still be available.
Second question.
Generally if you don't have conflicting categories this will sort out
itself. As long as the category that sets a particular topic isn't
inside a topic itself or has a duplicate category inside an active
topic, this shouldn't prove to be a problem. The other topic will
overwrite the last one, and the general topicless categories aren't
affected anyway.
-----Original Message-----
I understand how to set a topic but I have two questions related to
topics.
First: when in a topic, does the bot ignore any categories outside of
the topic. For example in this situation:
<category><pattern>1</pattern></category>
<category> <pattern>2</pattern> </category>
<topic name="ABC *">
<category> <pattern> 3 </pattern> </category>
<category> <pattern> 4 </pattern> </category>
</topic>
Is the input "2" ignored when the topic is "ABC?"
Second question:
How do I get out of a topic. If most of my categories are not
topic-related, but I have one section which is bounded by a topic, how
do I indicate that we are clearly no longer on topic?
Thanks in advance for your response.
-- Emiliano
[413] 458-5611
[413] 441-7177 cell
Knowledge Environments, Inc. <http://www.knowledgeenvironments.com>
Knowledge converted to Knowledge AvatarsT