-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix update dialogue #14
base: dev
Are you sure you want to change the base?
Conversation
Some dialog bugs I found in testing:
|
:param message: Message associated with user utterance | ||
""" | ||
answer = self.get_response('how_can_i_help_you') | ||
user_request, mall_link = self.user_request_handling(message, answer) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rather than answer
, we could just check `message.data.get('utterances')[0]
__init__.py
Outdated
Handle any input from a user interacting with the kiosk. | ||
:param message: Message associated with user utterance | ||
""" | ||
answer = message.data['utterances'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be message.data['utterances'][0]
so you have a string instead of a list of strings
Dialogue changes. One with a simple code insertion.