|
@@ -1,27 +0,0 @@
|
1
|
|
-# This files contains your custom actions which can be used to run
|
2
|
|
-# custom Python code.
|
3
|
|
-#
|
4
|
|
-# See this guide on how to implement these action:
|
5
|
|
-# https://rasa.com/docs/rasa/custom-actions
|
6
|
|
-
|
7
|
|
-
|
8
|
|
-# This is a simple example for a custom action which utters "Hello World!"
|
9
|
|
-
|
10
|
|
-# from typing import Any, Text, Dict, List
|
11
|
|
-#
|
12
|
|
-# from rasa_sdk import Action, Tracker
|
13
|
|
-# from rasa_sdk.executor import CollectingDispatcher
|
14
|
|
-#
|
15
|
|
-#
|
16
|
|
-# class ActionHelloWorld(Action):
|
17
|
|
-#
|
18
|
|
-# def name(self) -> Text:
|
19
|
|
-# return "action_hello_world"
|
20
|
|
-#
|
21
|
|
-# def run(self, dispatcher: CollectingDispatcher,
|
22
|
|
-# tracker: Tracker,
|
23
|
|
-# domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
|
24
|
|
-#
|
25
|
|
-# dispatcher.utter_message(text="Hello World!")
|
26
|
|
-#
|
27
|
|
-# return []
|