This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rasa_sdk import Action | |
from rasa_sdk.events import SlotSet | |
import requests | |
class ActionTellJoke(Action): | |
def name(self) -> Text: | |
return "action_tell_joke" | |
def run(self, dispatcher: CollectingDispatcher, | |
tracker: Tracker, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import python_weather | |
import asyncio | |
class ActionCheckWeather(Action): | |
def name(self) -> Text: | |
return "action_check_weather" | |
async def run(self, dispatcher: CollectingDispatcher, | |
tracker: Tracker, |
OlderNewer