I have created a simple bot. I also have a simple HTTP server working on another host and a couple of custom actions on that server. I specified the action endpoint in my
enpoints.yml file as following
action_endpoint: url: "http://172.17.0.3:8080/"
talk.py file is
def talk_with_nlu(): agent = Agent.load('models/dialogue', interpreter='./models/nlu/default/simplebotnlu/', action_endpoint='./endpoints.yml') print("Your bot is ready to talk! Type your messages here or send 'stop'") while True: a = input() if a == 'stop': break responses = agent.handle_message(a) for response in responses: print(response["text"]) talk_with_nlu()
When I run this script I don’t see any request post to my HTTP server. I also tried to run by
python -m rasa_core.run -d models/dialogue -u models/nlu/default/simplebotnlu --endpoints ./endpoints.yml
but it also does not post anything to my remote server.