You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.
It can currently be done with file within resource directories, but it is not a clean solution.
Describe the solution you'd like
New methods should be implemented to dynamically load new entities or intents in padatious with any wanted name. For instance:
defregister_entity_file_as(self, filename, name):
Describe alternatives you've considered
Currently skill-homeassistant provides absolute path to a temporary file to MycroftSkill.register_entity_file(). This method may be updated to only use as name the base name of the file and not the full path.
The text was updated successfully, but these errors were encountered:
Add two new skills methods to be able to load any file as padatious
intent or entity.
==== Fixed Issues ====
FixMycroftAI#3100
==== Tech Notes ====
NONE
==== Documentation Notes ====
NONE
==== Localization Notes ====
NONE
==== Environment Notes ====
NONE
==== Protocol Notes ====
Add two new methods to skills to register padatious intents or entities
even outside of `vocab` and `locale` directories
Add two new skills methods to be able to load any file as padatious
intent or entity.
==== Fixed Issues ====
FixMycroftAI#3100
==== Tech Notes ====
NONE
==== Documentation Notes ====
NONE
==== Localization Notes ====
NONE
==== Environment Notes ====
NONE
==== Protocol Notes ====
Add two new methods to skills to register padatious intents or entities
even outside of `vocab` and `locale` directories
Is your feature request related to a problem? Please describe.
Some skills my require dynamic definition of padatious entities to prevent matching requests intented for other skills.
See MycroftAI/skill-homeassistant#64 and MycroftAI/skill-homeassistant#104
It can currently be done with file within resource directories, but it is not a clean solution.
Describe the solution you'd like
New methods should be implemented to dynamically load new entities or intents in padatious with any wanted name. For instance:
Describe alternatives you've considered
Currently skill-homeassistant provides absolute path to a temporary file to
MycroftSkill.register_entity_file()
. This method may be updated to only use as name the base name of the file and not the full path.The text was updated successfully, but these errors were encountered: