I have created a bot on recast.ai which I want to integrate with slack. Now it's bot connector is asking for end point of my bot running at localhost (forwarded by ngrok). Now my question is:
- My bot is actually running at recast.ai (which I have created & trained) not on my machine then how can I forward it (same as Microsoft LUIS, I believe)?
- I am supposed to develop a parser for my recast.ai bot & host it then what is what is bot connector meant for?
Your bot is not running on Recast.AI. Recast.AI is a platform and an API where you can train a bot to understand users's input. But you need to create a script that received user's input and send it to Recast.AI API to analyse it.
Bot Connector helps you to connect your script to any channels (like messenger or slack) and receive all the user's input from these channels.
So you need to run your script (aka your bot) in local, with ngrok and set this URL in the bot connector interface to receive each messages from your users.
if you make your bot in NodeJs, your script will look like this:
your file index.js:
and run your bot