I ran a aiml file with script provided in y-bot.sh. The aiml file is as followed
The aiml file contains 2 self-defined template tags: 'myTag1' and 'myTag2'.
Then I test the aiml file with 3 patterns:
command1, command2, and command3
Expected Behavior
With the given pattern, the expected behavior is to return the whole block content in template tag respectively.
Current Behavior
Only part of the block content is returned with the pattern command1,
However, with command2 and command3, the whole block content is received. The result is as followed
Looks like the relative position of the self-defined tag in aiml file might affect the content returned.
Context (Environment)
Version of Y-Bot: just cloned from y-bot repo.
Version of Python: Python 3.6.5
OS: Ubuntu 18.04
Edited:
Things go normal if I run the aiml file with y-bot-sanic-rest.sh.
I ran a aiml file with script provided in y-bot.sh. The aiml file is as followed The aiml file contains 2 self-defined template tags: 'myTag1' and 'myTag2'. Then I test the aiml file with 3 patterns:
command1
,command2
, andcommand3
Expected Behavior
With the given pattern, the expected behavior is to return the whole block content in template tag respectively.
Current Behavior
Only part of the block content is returned with the pattern
command1
, However, withcommand2
andcommand3
, the whole block content is received. The result is as followedLooks like the relative position of the self-defined tag in aiml file might affect the content returned.
Context (Environment)
Version of Y-Bot: just cloned from y-bot repo. Version of Python: Python 3.6.5 OS: Ubuntu 18.04
Edited: Things go normal if I run the aiml file with y-bot-sanic-rest.sh.