Dragonfire icon indicating copy to clipboard operation
Dragonfire copied to clipboard

is it possible to modify dragonfire name?

Open j4rv1s1 opened this issue 6 years ago • 4 comments

hi guys first of all congrats for this awesome project, finally something smarter. i'm here just to ask you if it's possible to modify dragonfire wake up words and name,if so in which file? thank you!

j4rv1s1 avatar Jan 20 '18 13:01 j4rv1s1

@j4rv1s1 thanks! :blush: No, it's not currently possible but it can be with a few modifications under this block and by adding a new block to catch and handle renaming task.

I believe you can do this work by yourself and contribute to this project. Feel free to send pull requests. :trophy:

mertyildiran avatar Jan 27 '18 07:01 mertyildiran

I think the linked block is out of date

Immortalin avatar Nov 29 '19 04:11 Immortalin

@Immortalin yeah, you're right. Actually almost every occurrence of dragonfire as a string in the code base must be parameterized to achieve this feature. We have a config file which we load with this line so we can store the custom name there. Also we have a logic to detect statements like YOUR NAME IS SCARLET (though I'm not happy with the current state of the code base) so with the combination of h.check_deps_contains("your name") and subject extraction, it's achievable.

The code base's itself requires a lot of refactoring. @Immortalin if you are willing to help then feel free to refactor the code base. Because it has priority...

Also I'm planning to replace the spaCy calls in init.py with the Intent Classification of DeepPavlov.ai so maybe you would like to help this project to get rid of gazillion ifs in init.py?

mertyildiran avatar Nov 29 '19 18:11 mertyildiran

You can rename a dragon by simply using a name tag! Never noticed it was this simple until now

EllaLoves avatar Jun 18 '23 12:06 EllaLoves