Skip to content

Commit

Permalink
fix/tell_me_more (#48)
Browse files Browse the repository at this point in the history
wrong keyword used in intent, needs to match context
  • Loading branch information
JarbasAl authored Jun 20, 2024
1 parent a9c4857 commit 6f5168d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ def handle_search(self, message):
# self.speak_dialog("wikiroulette")
# TODO

@intent_handler(IntentBuilder("WikiMore").require("More").require("wiki_article"))
@intent_handler(IntentBuilder("WikiMore").require("More").require("WikiKnows"))
def handle_tell_more(self, message):
"""Follow up query handler, "tell me more".
If a "spoken_lines" entry exists in the active contexts
If a "WikiKnows" entry exists in the active contexts
this can be triggered.
"""
sess = SessionManager.get(message)
Expand Down

0 comments on commit 6f5168d

Please sign in to comment.