Search code examples
python-3.xwebhookschatbotrasa-corerasa

Unable to run the actions.py file with RASA for creating a Chatbot


I'am trying to build a chatbot using Rasa using NLU and Core.

All the necessary packages/libraries are installed.The data, stories and action files are also created.

However while running actions.py file, it is not connecting, i;m getting the below message

       (RASA) C:\Users\anbharadwaj\Desktop\Internal Chatbot 21\news>python -m rasa_sdk --actions 
       actions
       2020-04-13 14:35:12 INFO     rasa_sdk.endpoint  - Starting action endpoint server...

Please help me what is the cause of the problem and how to fix it

    Versions using:

    Python - 3.7.3

    Rasa_sdk - 1.4.0

    Rasa_nlu - 0.15.1

    rasa_core - 0.14.5

    tensorflow - 1.13.1

Have tried with almost all versions with Anaconda, and Rasa libraries


Solution

  • the logs are fine, it means that the Action Server has started, but you should see also the name(s) of the action(s) registered (defined in your stories).

    I would try to start Rasa Action Server using Rasa

    rasa run actions
    

    You can confirm it is running invoking http://localhost:5055/, you get Requested URL / not found but at least you know you can connect to it.