3 vuotta sitten 1 committia kohteeseen develop version jälkeen
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 vuotta sitten 7 committia kohteeseen master version jälkeen
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 vuotta sitten 2 committia kohteeseen develop version jälkeen
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 vuotta sitten 13 committia kohteeseen master version jälkeen
Redis contains using SessionID as key information on the current interaction including conversation history. By default session kept alive for an hour
3 vuotta sitten 0 committia kohteeseen feature/Eliza-006-separate-scripts version jälkeen