Bot replies slowly

I have developed a chatbot. I don’t know why the bot replying slowly. But it correctly predicts the intent but it takes time to reply. Please guide me on this issue. Thanks in advance.