MycroftAI / adapt

Adapt Intent Parser
Apache License 2.0
712 stars 154 forks source link

IntentEngine doesn't return the correct data when a "one_of" rule is matched #65

Closed deevrek closed 2 years ago

deevrek commented 7 years ago

Hello, i noticed some issues in the Intent returned from intentEngine when a match with a "one_of" rule occurs: 1) It returns the "alias" instead of the "keyword" 2) tags attribute includes the entire "match" instead of "entities" only 3) It only returns the first "keyword" matched

clusterfudge commented 2 years ago

Hi @deevrek, sorry for the (extremely) delayed response here. There have been a number of fixes in the latest releases, including addressing some bugs in one_of. Please pull the latest and see if you can reproduce your issue. If so, I'm happy to take a look.

I'm marking this as Close on 9/17 as part of triage for RT1. As the issue is 4+ years old, I'm not expecting a response. Apologies again, and thanks for contributing!