3 年之前 在该版本发布之后已有 1 次代码提交到 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 次代码提交到 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 次代码提交到 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 次代码提交到 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 次代码提交到 feature/Eliza-006-separate-scripts 分支