3 years ago 1 commits to develop since this release
Eliza-009 : Do repeat yourself unless absolutely necessary.
Add support to not use a reply you have just used unless you have to (limited choices).
Algorithm:
Create a hashmap of previous raw replies (hashing the reply string) Pick a reply at random .. if in hash try again. If you have tries too many times (2*length of possible responses) then just use the last one.
3 years ago 7 commits to master since this release
Change map of pattern->*response to list of SimilarQuestionResponse Where SimilarQuestionResponse consists of *string -> *string This means that the same question in slightly different formats can be mapped to the same reply list without duplicating the responses
Also default index.html added which redirects to eliza default bot
3 years ago 2 commits to develop since this release
Eliza-014 Add Template functions
Add support for Golang template functions so we can extend the dialog to include dynamic data such as the current date.
Initial functions:
year date day-of-the-week
"responses": [
"its {{ fullDate }}"
]
3 years ago 13 commits to master since this release
Redis contains using SessionID as key information on the current interaction including conversation history. By default session kept alive for an hour
3 years ago 0 commits to feature/Eliza-006-separate-scripts since this release