Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Add the “I'm bored” intent to the movies module
Browse files Browse the repository at this point in the history
  • Loading branch information
hugolgst committed Aug 8, 2019
1 parent e2f04d0 commit c6e96d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion modules/movies.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func init() {
})

RegisterModule(Module{
Tag: moviesAlreadyTag,
Tag: moviesDataTag,
Patterns: []string{
"I'm bored",
"I don't know what to do",
Expand Down
9 changes: 1 addition & 8 deletions res/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,7 @@
{
"tag": "no genres saved",
"messages": [
"Sorry I can't find any movie genre in your data, try with: “I like movies of Action, Adventure, Animation, Children, Comedy, Crime, Documentary, Drama, Fantasy, Film-Noir, Horror, Musical, Mystery, Romance, Sci-Fi, Thriller, War and Western”"
]
},
{
"tag": "hey back",
"messages": [
"Hey back, %s!",
"Hello %s!"
"Sorry I can't find any movie genre in your data, try to set your preferences with “I like movies of adventure”"
]
}
]
2 changes: 1 addition & 1 deletion res/training.json

Large diffs are not rendered by default.

0 comments on commit c6e96d7

Please sign in to comment.