Skip to content

Instantly share code, notes, and snippets.

View cgawron's full-sized avatar

Christian Gawron cgawron

View GitHub Profile
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,
import python_weather
import asyncio
class ActionCheckWeather(Action):
def name(self) -> Text:
return "action_check_weather"
async def run(self, dispatcher: CollectingDispatcher,
tracker: Tracker,