From 3c95978fc96dc99f24b917e93619cdac2688fee0 Mon Sep 17 00:00:00 2001 From: Mathieu Date: Tue, 14 Sep 2021 09:25:38 +0200 Subject: [PATCH] Added "searching" dialog to wikipedia skill --- jarvis/skills/research/wikipedia/__init__.py | 2 +- .../fr-fr/{searching.dialog => wikipedia_searching.dialog} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename jarvis/skills/research/wikipedia/dialog/fr-fr/{searching.dialog => wikipedia_searching.dialog} (100%) diff --git a/jarvis/skills/research/wikipedia/__init__.py b/jarvis/skills/research/wikipedia/__init__.py index ebc3b1c..c0388c6 100644 --- a/jarvis/skills/research/wikipedia/__init__.py +++ b/jarvis/skills/research/wikipedia/__init__.py @@ -10,7 +10,7 @@ class WikipediaSkill(Skill, metaclass=SkillRegistering): @intent_file_handler("search.wikipedia.intent", "WikipediaQueryIntent") def handle_wikipedia_query_intent(self, data): if 'query' in data: - # TODO : say somethink like "i'm searching..." + self.speak_dialog_threaded("wikipedia_searching") print("[INTENT RESULT] : " + wikipedia.page_summary(query=data['query'])) else: # TODO: fallback to duckduckgo or wolfram alpha diff --git a/jarvis/skills/research/wikipedia/dialog/fr-fr/searching.dialog b/jarvis/skills/research/wikipedia/dialog/fr-fr/wikipedia_searching.dialog similarity index 100% rename from jarvis/skills/research/wikipedia/dialog/fr-fr/searching.dialog rename to jarvis/skills/research/wikipedia/dialog/fr-fr/wikipedia_searching.dialog