{"action":"created","issue":{"url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/133","repository_url":"https://api.github.com/repos/RasaHQ/rasa_core","labels_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/133/comments","events_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/133/events","html_url":"https://github.com/RasaHQ/rasa_core/issues/133","id":281917756,"number":133,"title":"How to make Rasa aware of custom actions module?","user":{"login":"LawnboyMax","id":22385215,"avatar_url":"https://avatars1.githubusercontent.com/u/22385215?v=4","gravatar_id":"","url":"https://api.github.com/users/LawnboyMax","html_url":"https://github.com/LawnboyMax","followers_url":"https://api.github.com/users/LawnboyMax/followers","following_url":"https://api.github.com/users/LawnboyMax/following{/other_user}","gists_url":"https://api.github.com/users/LawnboyMax/gists{/gist_id}","starred_url":"https://api.github.com/users/LawnboyMax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LawnboyMax/subscriptions","organizations_url":"https://api.github.com/users/LawnboyMax/orgs","repos_url":"https://api.github.com/users/LawnboyMax/repos","events_url":"https://api.github.com/users/LawnboyMax/events{/privacy}","received_events_url":"https://api.github.com/users/LawnboyMax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-13T22:23:39Z","updated_at":"2018-02-05T10:33:32Z","closed_at":"2017-12-14T19:28:52Z","author_association":"NONE","body":"<!-- THIS INFORMATION IS MANDATORY - YOUR ISSUE WILL BE CLOSED IF IT IS MISSING. If you don't know your Rasa Core version, use `pip list | grep rasa_core`. Removing the below information is allowed for FEATURE REQUESTS. --> \r\n\r\n**Rasa Core version**:\r\n0.7.6\r\n**Python version**: \r\n3.6.1\r\n**Operating system**:\r\nWindows 10\r\n**Issue**:\r\nNot sure how to make `rasa_core.train` aware of my `actions.py` module. Get the following message when training rasa_core:\r\n```\r\nValueError: Action 'actions.ActionCheckStatus' doesn't correspond to a template / action. \r\nRemember to prefix actions that should utter a template with `utter_`. Error: No module named 'actions'\r\n```\r\n\r\n**Content of domain file**:\r\n```yaml\r\nactions:\r\n  - actions.ActionCheckStatus\r\n```\r\n**Content of actions.py (located in the same dir as domain file)**:\r\n```python\r\nfrom rasa_core.actions import Action\r\nimport requests\r\n\r\nclass ActionCheckStatus(Action):\r\n    def name(self):\r\n        return \"action_check_status\"\r\n\r\n    def run(self, dispatcher, tracker, domain):\r\n        r = requests.get('https://myorg.com')\r\n\tstatus = r.status_code\r\n\tif status == 200:\r\n\t    dispatcher.utter_message(\"myorg.com looks up from here.\")\r\n\telse:\r\n\t    dispatcher.utter_message(\"myorg.com looks down from here.\")\r\n        return []\r\n```"},"comment":{"url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/comments/363044694","html_url":"https://github.com/RasaHQ/rasa_core/issues/133#issuecomment-363044694","issue_url":"https://api.github.com/repos/RasaHQ/rasa_core/issues/133","id":363044694,"user":{"login":"chhavvi","id":22879406,"avatar_url":"https://avatars3.githubusercontent.com/u/22879406?v=4","gravatar_id":"","url":"https://api.github.com/users/chhavvi","html_url":"https://github.com/chhavvi","followers_url":"https://api.github.com/users/chhavvi/followers","following_url":"https://api.github.com/users/chhavvi/following{/other_user}","gists_url":"https://api.github.com/users/chhavvi/gists{/gist_id}","starred_url":"https://api.github.com/users/chhavvi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chhavvi/subscriptions","organizations_url":"https://api.github.com/users/chhavvi/orgs","repos_url":"https://api.github.com/users/chhavvi/repos","events_url":"https://api.github.com/users/chhavvi/events{/privacy}","received_events_url":"https://api.github.com/users/chhavvi/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T10:33:32Z","updated_at":"2018-02-05T10:33:32Z","author_association":"NONE","body":"hi i am also working on this and i am facing the problem as you. Can you tell me how to resolve it. i m using django (python)"}}
{"actor":{"display_login":"chhavvi"}}