Last active
October 1, 2019 09:39
-
-
Save e-lin/271a5049d8a83d48b92c8c640292bf6f to your computer and use it in GitHub Desktop.
Training Phrases for Chatbot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
training_phrases = { | |
'when_is_open' : ' '.join([ | |
'when is the restaurant open?', | |
'when to start open?' | |
]), | |
'where_is_the_restaurant' : ' '.join([ | |
'where is the restaurant', | |
'what is the location of the restaurant?', | |
'place of the restaurant', | |
]) | |
} | |
answers = { | |
'when_is_open' : 'It is open at 11am.', | |
'where_is_the_restaurant' : 'The restaurant is located at Tokyo station.' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment