Hi ,
I’m trying to setup an endpoint to serve via flask api, which can serve as slack endpoint as well as rest ., Can I implement it with the agent.load and agent.handle so that I can both channels together?
Hi ,
I’m trying to setup an endpoint to serve via flask api, which can serve as slack endpoint as well as rest ., Can I implement it with the agent.load and agent.handle so that I can both channels together?
rasa version 1.8.2
hi @vraj - any reason why you’re not using the rasa server? (start it with rasa run
). You can add multiple channels in your endpoints.yml
file
Hi @amn41, thanks for the reply.
I can’t use the rasa server (rasa run) because of some firewall restrictions. So I’m using flask api to expose the service with by loading the agent (Agent.load) .
interesting. I’d love to know if we can improve the Rasa server to fix that problem. What’s the firewall issue?
Hello @amn41, It’s not a firewall issue, for the slack integration I can’t directly provide the endpoint of rasa webhook because of my network restrictions. My rasa server is hosted in intranet and to connect with slack Im using another virtual machine which have internet access. That’s why Im using python agent to load the model and get the response. In that case I want to know how to handle multiple channels while loading the agent