from rasa_core.channels.slack import SlackInput from rasa_core.agent import Agent from rasa_core.interpreter import RasaNLUInterpreter import yaml from rasa_core.utils import EndpointConfig
nlu_interpreter = RasaNLUInterpreter(’./models/nlu/default/counselingnlu’) action_endpoint = EndpointConfig(url=“http://localhost:5055/webhook”) agent = Agent.load(’./models/dialogue’, interpreter = nlu_interpreter, action_endpoint = action_endpoint)
input_channel = SlackInput(‘xoxb-4-mjKFLdJHyiXdPM2e9712ZVMD’)
agent.handle_channels([input_channel], 5004, serve_forever=True)
This is the code with which I integrated my bot with Slack. But I am required to design my own interface. I really dont know how to do it. I referred so many links but failed to understand all of them. Please do help me
T