xhyxxj
(xingxianjin)
1
How rasa receives multiple parameters?
bot_ip = “127.0.0.1”
bot_port = “5005”
rasa_url = “http://{ip}:{port}/webhooks/rest/webhook”.format(ip=bot_ip, port=bot_port)
response = requests.post(url=rasa_url, json={“message”: text,“local”: local})
only can know the message; how to get the local in action.py
stephens
(Greg Stephens)
3
Are you asking about metadata? Can you give an example of what you want to pass in? I’ll assume your question is about metadata.
You’ll find info on how to pass metadata on the rest channel here.
You’ll find information on how to read the metadata in your action server here.
xhyxxj
(xingxianjin)
4
I use flask to process it,and different infomation to different position