Join the Bot Libre open source project at BotLibre.org
Help : using the wildcard element (AIML)

RE: using the wildcard element (AIML)

by admin posted Jul 30 2018, 10:22

How did you import the AIML, as a response list, or script?

Can you give the conversation you expected, and the responses that you got.

Note, that if you had another category that matched the question it will be used in place of the * pattern.

When AIML is imported as a response list, it uses Bot Libre's heuristic matching, which finds the best matching question (the one with the most words that match).
i.e. "hey, what is your name?", would match "what is your name" before it considered "hey *".

When AIML is imported as a script, that it uses AIML semantics of process the patterns from left to right.
If you have multiple scripts however, they are process in the order you defined in the bot's script's page. You can merge the scripts to not have one take precedence.

AIML also defines different wildcard characters for precedence, _ instead of *


Id: 23003201
Posted: Jul 30 2018, 10:22
Replies: 0
Views: 1663, today: 1, week: 1, month: 24
0 0 0.0/5