Releases: ifreitas/brain
Update Scala Version (2.11)
Update Brain and all its dependencies to Scala version 2.11.
ProgramD (a Brain's dependency) is having trouble reading xml files (xmlns issues). So, for now you can only model the knowledge base and export it to AIML files, but you can't test the chat itself directly within Brain. In the next few days Brain will use ProgramAB (for AIML version 1.0.1, still) to enable this feature again.
Small Adjustments
- Fix the path to the User.Home dir
- Fix the list of dependencies
All dependencies included.
From now, it includes all dependencies to solve some offline repositories or package not found.
Integration with ProgramD
Since now is possible to test your knowledge base directly inside Brain. It was created a Chat Panel on which the botmaster can validate your own Brain knowledge base through a dialog with Brain Bot. For that, just click "Apply" button and start chat.
Implemented the robot's Memorize capability
It was implemented with a hard usage of regex to validate the user input on the fly in order to prevent user mistake.
It enables the usage of star wildcard ( * ) in the "When the user says" field, and this wildcard content can be retrieved both in "Memorize" field and in "Say" field, through the get star syntax: ${*index}, where index is an integer value greater than zero.
It also introduces the get syntax ${variableName} to retrieve the content of an variable created in "Memorize" field, for usage both in "Memorize" field itself and in "Say" field.
Since now, you can do something like:
When the user says:
My name is *, I am * years old and I live in *.
Responding to:
Talk me about you
Memorize:
name=${*1}
age=${*2}
lives_in={*3}
Say:
Ok. I will remember that your name is ${name}, you are ${age} years old and that you live in ${lives_in}.
Ok, ${name}. I will remember that you are ${age} years old and that you live in ${lives_in}.
Fundamental Features
Brain is currently in a very early version, now it has only a tiny portion of its functionality implemented, but it will evolve as my availability for the project and as I'm getting feedbacks from its users.
This initial release allows:
- Modeling the Knowledge Base
- Creating Knowledge
- Creating Topic
- Creating Teaching
- Generating the AIML files