-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Intent Parser helper class #859
Conversation
helper class to query intent service instance
| new_parsers = [ | ||
| p for p in self.engine.intent_parsers if | ||
| not p.name.startswith(skill_name)] | ||
| self.engine.intent_parsers = new_parsers |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this remove the intent from the dictionary of skills and intents?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JarbasAI any comment on this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i missed this comment, will add the remove functionality, perhaps i should wait on the converse PR since skill name will become skill_id ?
|
As far as I can understand this it looks quite good. One small question that I'd like answered or fixed if it's an actual issue (see comment in code) and fix the pep8 problems and I think this is good to merge. |
|
Converse() PR #925 is in! Using the skill ID is a much better approach, I agree. |
…intent_parser Conflicts: mycroft/skills/intent_service.py
|
this one kinda got lost, now that we have padatious should i make it also get intents from there? how do i differentiate in the returned data? |
|
should i update this for #1351 ? |
helper class to query intent service instance
splitting #783 in smaller PRs
helper class to be imported and used in other skills