-
Notifications
You must be signed in to change notification settings - Fork 34
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
AMAZON.LITERAL utterances parsing #66
Comments
Hi @cnadeau - I'm not familiar with the syntax that uses the pipe - that is the problem. Is this a supported notation? I can't find any docs on it. Additionally, keep in mind that you can also just call |
Hi @jkelvie , thanks for the ultra fast answer! Here is the documentation of AMAZON.LITERAL You're absolutely right, I was trying to to force an intent, but that's a good workaround for now. Thanks! |
* Fixes issue virtual-alexa #66 Adds AMAZON.LITERAL built-in type bespoken/virtual-alexa#66 * Do not only match Literal sample values, but any text provided around the samples Also fixed lints * Fix for literal tests
Hi @cnadeau - I missed this PR - apologies. What problem does adding these builtin slot types solve? I am asking because we generally just treat the builtins as literals (passing through whatever value is provided by the user), with the exception of the Number type. We plan to add other types over time where the default behavior does not work or would benefit from some transformation - for example, a DATE slot type to automatically convert date values into the correct format. But in the case of Search and Literal, I believe the default behavior is fine. Am I wrong? |
Sorry, my comment was with regard to this PR: I should have added it there. Given that context, does it make sense what I'm saying? |
Hi, I'm trying to use the lib, but I have a literal which doesn't seem to be properly parsed by the bespoken/virtual-core lib. Any idea how to get that processed correctly?
PS: I love this lib and I really want to use it. I'm pretty sure the problem is the format of the LITERAL slot with the pipe, but I'd rather ask you guys first.
If you have an idea and not time, just throw it in I'll do my best to get a PR up for that.
Intent:
Error:
The text was updated successfully, but these errors were encountered: