feat: add music to linkto
@@ -17,6 +17,8 @@ import common.travel as dff_travel_skill
import common.sport as dff_sport_skill
import common.animals as dff_animals_skill
import common.food as dff_food_skill
+import common.music as dff_music_skill
+
# Each common skill module should define +skill_trigger_phrases()+ function
# that contains all phrases to trigger specific skill
@@ -40,6 +42,7 @@ skills_phrases_map = {
'dff_animals_skill': set(dff_animals_skill.skill_trigger_phrases()),
'dff_sport_skill': set(dff_sport_skill.skill_trigger_phrases()),
'dff_food_skill': set(dff_food_skill.skill_trigger_phrases()),
+ 'dff_music_skill': set(dff_music_skill.skill_trigger_phrases()),
}
# TODO: adding new skill above, add here a conversational topic to the list, it will be used to offer topic in greeting
LIST_OF_SCRIPTED_TOPICS = {
@@ -51,6 +54,7 @@ LIST_OF_SCRIPTED_TOPICS = {
"dff_animals_skill": "pets",
"dff_sport_skill": "sport",
"dff_food_skill": "food",
+ "dff_music_skill": "music"
}
SKILLS_FOR_LINKING = set(skills_phrases_map.keys())
