How to connect RASA NLP to our web application

hey @Akshit another thing just to notify you, the api call which you are making

http://my-amazon-ip:5005/conversations/56/respond?query=“Hi”

is deprecated, try running the new api usig rest channel by provding the credentials.yml file :

credentials.yml file : credenitails

and run the api by using the following command :

python -m rasa_core.run --enable_api -d models/dialogue -u models/nlu --cors “*” -o out.log --endpoints endpoints.yml --credentials credentials.yml

and then you test it in postman: http://localhost:5005/webhooks/rest/webhook

query parameters(body):

{ “sender”: “user123”, “message”: “hi” }

Hope this helps !! :wink:

1 Like