keiffster / program-y

Python 3.x based AIML 2.0 Chatbot interpreter, framework, related programs and knowledge files
https://keiffster.github.io/program-y/
Other
348 stars 138 forks source link

File-based map is not working #260

Closed sarbashis closed 3 years ago

sarbashis commented 4 years ago

Issue Tracker can be used for report issues and new features. All requests will be accepted, reviewed and responded to. However submitting a request for a new feature does not guarantee that it will be implemented, but we will commit to responded with 7 working days if a new feature will be added to the backlog.

You can see the full backlog in Trello at Programy Backlog

I was trying to run the file-based map function example mentioned here https://github.com/keiffster/program-y/wiki/Tutorial-Maps but could get the expected result

Expected Behavior

I live in the United Kingdom Cool, have you been to the capital city London?

Current Behavior

What's living in the United Kingdom like living in the United Kingdom?

Possible Solution

Steps to Reproduce

I copied this example in a new test.aiml file but could not get the output

<?xml version="1.0" encoding="UTF-8"?>
<aiml version="2.0">
    <category>
        <pattern>I AM FROM THE *</pattern>
        <template>
             Cool, have you been to the capital city <map name="nation2capitol" />?
        </template>
    <category>
</aiml>

Context (Environment)

Detailed Description

Possible Implementation

keiffster commented 4 years ago

Error in the documentation, that has been updated. you nee do change the lin

Cool, have you been to the capital city <map name="nation2capitol"><star /></map?

to

Cool, have you been to the capital city <map name="nation2capitol" />?