3 жил өмнө 1 commit ирсэн байна develop хувилбараас хойш
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 жил өмнө 7 commit ирсэн байна master хувилбараас хойш
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 жил өмнө 2 commit ирсэн байна develop хувилбараас хойш
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 жил өмнө 13 commit ирсэн байна master хувилбараас хойш
Redis contains using SessionID as key information on the current interaction including conversation history. By default session kept alive for an hour
3 жил өмнө 0 commit ирсэн байна feature/Eliza-006-separate-scripts хувилбараас хойш