Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 

28 Zeilen
742 B

  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. # This is a simple example for a custom action which utters "Hello World!"
  7. # from typing import Any, Text, Dict, List
  8. #
  9. # from rasa_sdk import Action, Tracker
  10. # from rasa_sdk.executor import CollectingDispatcher
  11. #
  12. #
  13. # class ActionHelloWorld(Action):
  14. #
  15. # def name(self) -> Text:
  16. # return "action_hello_world"
  17. #
  18. # def run(self, dispatcher: CollectingDispatcher,
  19. # tracker: Tracker,
  20. # domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
  21. #
  22. # dispatcher.utter_message(text="Hello World!")
  23. #
  24. # return []