Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve canteen custom slot #16

Open
mammuth opened this issue Mar 27, 2017 · 2 comments
Open

Improve canteen custom slot #16

mammuth opened this issue Mar 27, 2017 · 2 comments

Comments

@mammuth
Copy link
Owner

mammuth commented Mar 27, 2017

Currently there are only a couple of canteens in the custom slot type.

  • How does it behave if the user says "Mensa in Garching" instead of "Mensa Garching"?
  • Currently canteens are determined by string comparison. Should be improved.
@mammuth
Copy link
Owner Author

mammuth commented Mar 29, 2017

Oha, just noticed that the value of the canteen slot can also be data that we not defined. Alexa seems to try to be smart and match the slot with the help of the matched utterance.

Example:
Utterance: GetMealsForMensa {Canteen}
Canteen slot values: mensa garching, garching
Request: Alexa, frage mensa münchen was es in garching gibt
--> canteen has the value "garching gibt" 😮

Related to the utterance improvement ticket #4

@mammuth
Copy link
Owner Author

mammuth commented Mar 29, 2017

How does it behave if the user says "Mensa in Garching" instead of "Mensa Garching"

There are now synonyms in the canteens.js for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant