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
Slot filling takes anything as missing entities #421
Comments
Any update on this? I am running into the same issue. |
Is there any update on this issue? Any ETA on this one at least? |
@jesus-seijas-sp - we are blocked by this issue, is there ETA on the the fix for this issue? thanks in advance |
Did you have any corrections regarding this? |
This is a fallback logic. In fact the second answer do not contain anything which is matched and also no "member" entity was found. Thats why the slot filling logic just uses the full input as "the answer" for the currently expecting slot entry. One idea could be to allow this behaviour to be configured. Then it would fallback to the same question again. |
Describe the bug
I added a regex entity to an NlpManager instance and some documents to capture this entity in a sentence. This is working as expected, however, once I add a slot filler (with
manager.slotManager.addSlot
), the process function will take any follow up text as an entity to fill the slot with high accuracy, even if the word (or sentence) has nothing to do with the regex for the entity. I have also tested this with a named entity and the slot filling also ignores the named options.To Reproduce
Steps to reproduce the behavior:
"entities"
object, you should see the correctaction
of ban, kick, and an incorrectmember
kick;"confirm kick on kick?"
.Expected behavior
I expect the slot filling logic to at least obey the same entity matching that each entity defines. And to be fair, we can observe the
"classifications"
object of the reproducing example and see that in fact the model is matching the correct entities. So, why is the slot filler ignoring that?Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: