Azure Bot Service makes it possible to easily build conversation experiences for your customers. As a managed service purpose-built for bot development, Azure Bot Service enables the development of intelligent, enterprise-grade bots that let you maintain control of your data. Build any type of bot—from a Q&A bot to your own branded virtual assistant. Use a comprehensive, open-source SDK and tools to easily connect your bot across popular channels and devices. Give your bot the ability to speak, listen, and understand your users with native integration of Azure Cognitive Services
Sign-up for a Microsoft Azure account and setup the Bot Service.
Sign-up for a PubNub account, if you don't have one already.
Import the Integration Block into your PubNub account. You can choose to add this to an existing application or create a new one.
Configure the Integration Block module code, connecting it to your Microsoft Azure account:
Create a Secret in PubNub Vault, named AZURE_BOT_SERVICES_DIRECT_LINE_SECRET, with value equal to your Azure Direct Link API Key for this service.
Start the Integration Block module.
Try a test message (you can click on Publish
to do this).
This Integration Block is setup to listen to a specific PubNub channel (CHANNEL-to-send-to-AZURE_BOT
) but you can configure it to listen to all channels or a subset, using wildcards, e.g. chat.*
. Thus, you can route message data sent through PubNub over to an Azure Bot application for cross chat room bot integration, for example. The bot response will be published back on to the channel of the incoming message.
Need help? Contact PubNub Support.
Copyright (c) 2018 PubNub
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.