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

Words after entity get matched too #25

Open
tgru opened this issue Apr 11, 2020 · 0 comments
Open

Words after entity get matched too #25

tgru opened this issue Apr 11, 2020 · 0 comments

Comments

@tgru
Copy link

tgru commented Apr 11, 2020

I have the following setup:

code.intent:
(code|error) (|is) {code}

code.entity:
###

Example Phrase:
How is code 404 named?

In this case "code.intent" triggers as expected only with 3-digit-numbers, but captures all words following the entity too. So in this example message.data['code'] returns "404 named" instead of only "404".

tgru added a commit to tgru/http-status-code-skill that referenced this issue Apr 30, 2020
Since it is impossible to use wildcards and because of a [bug](MycroftAI/padatious#25) in Padatious the intent is now written with Adapt. Also the tests where updated.
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

2 participants