This repository has been archived on 2023-06-09. You can view files and clone it, but cannot push or open issues or pull requests.
jarvis-server/jarvis/skills/research/wikipedia/__init__.py

14 lines
478 B
Python
Raw Normal View History

from adapt.intent import IntentBuilder
from jarvis.skills import Skill, SkillRegistering
from jarvis.skills.decorators import intent_handler
class WikipediaSkill(Skill, metaclass=SkillRegistering):
def __init__(self):
2021-07-28 20:35:20 +02:00
super().__init__("WikipediaSkill")
@intent_handler(IntentBuilder("WikipediaQueryIntent").require("Wikipedia").require("ArticleTitle"))
def handle_wikipedia_query_intent(self, data):
print("Handle Wikipedia Query Intent Method")