3 år sedan 1 ändringar mot develop sedan detta släpp
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 år sedan 7 ändringar mot master sedan detta släpp
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 år sedan 2 ändringar mot develop sedan detta släpp
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 år sedan 13 ändringar mot master sedan detta släpp
Redis contains using SessionID as key information on the current interaction including conversation history. By default session kept alive for an hour
3 år sedan 0 ändringar mot feature/Eliza-006-separate-scripts sedan detta släpp