on ‎2020 Dec 14 11:20 PM
Hi All,
I have a scenario where we have multiple different thread of bots developed, now is there a way to develop a main bot which on selection can call respective bot based on selection or is there a way in the webclient for these to work seamlessely?
Worst i would have to migrate all the bots to single bot so they can work together, this would be my last option if there is nothing else.
Request clarification before answering.
Hi Prashant,
yes, this is possible - a concept we also call "Concierge Bot". The idea is to build this "concierge bot", which is the one your users would talk to. The Concierge Bot would then be responsible to process the user utterance and forward the request to one of your other bots via CAI API calls. You can generate an oAuth runtime token in the "target bots" for this purpose.
Now, your challenge will be how to select the right bot to forward the request to. You may solve this with a specific training set for the concierge bot, or other means like calling all your other bots to identify which one has the highest confidence. You may need to experiment with some options to get the best result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Moaen, we do not have a template or demo, unfortunately. You can refer to our API reference to check the APIs you would need to use. To summarize the concept: Have one bot that is the entry point for your users. Build your bot actions (e.g. using Webhook calls) to call your other bots using APIs.
Thanks for your response, and this is the same I was trying to have the main bot which calls another bot as API using OAuth.
But need to explore to make sure all subsequent call goes to that called both.
I also saw the roadmap and I see something called BOT Manager and by definition, it looks that it would help fullfill this requirement of linking different bots for seamless development and user experience. is my understanding correct?
Thanks,
Prashant Singhal
You could use a memory variable to ensure subsequent requests are always routed to the same bot. And you are right: The multi-bot manager on the roadmap is designed to address this requirement. If you need a solution quickly, then the API integration is the recommended option.
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.