Bot Azure e Outsystems

Alexandre Costa 0 Reputation points
2024-04-27T21:39:21.7466667+00:00

Hi guys.

I'm new to this world of chatbots and I've been trying to build a QnA chatbot to integrate into Outsystems.

I have created a Language Studio and inside the language studio I have a QnA maker created. Now in the Azure Chatbot Webhook the MicrosoftClientId and MicrosoftClientSecret is required but I can't find it at all. Can anyone tell me where I can find this information?

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
752 questions
{count} votes

1 answer

Sort by: Most helpful
  1. navba-MSFT 17,360 Reputation points Microsoft Employee
    2024-04-29T05:19:40.0133333+00:00

    @Alexandre Costa Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    To associate the Custom Question Answering project from Language studio with the Azure Bot you don't need the MicrosoftClientId and MicrosoftClientSecret.

    In the Language Studio, After the service has been deployed, you need to click on the Create a Bot button as shown below:

    User's image

    1. After the service has been deployed, select Create a bot. This opens the Azure portal in a new browser tab so you can create a Web App Bot in your Azure subscription.
    2. In the Azure portal, create a Web App Bot. (You may see a warning message to check that the source of the template is trustworthy. You do not need to take any action for that message.) Continue by updating the following settings:
      • Project Details
      • Subscription: Your Azure subscription
      • Resource group: The resource group containing your Language resource
      • Instance details
      • Resource group Location: The same location as your Language service.
      • Azure Bot
      • Bot handle: A unique name for your bot (pre-populated)
      • Choose your pricing tier
      • Pricing tier: Free (F0) (You may need to select Change plan)
      • Microsoft App ID
      • Creation type: Select Create new User-assigned managed identity
    3. Select Next to continue updating the settings.
      • App Service
      • App name: Same as the Bot handle with .azurewebsites.net appended automatically
      • SDK language: Choose either C# or Node.js
      • App Service Plan
      • Creation Type: Select Create new app service plan
      • App Settings
      • Language Resource Key: You will need to copy your Language resource key and paste it here:
        • Open another browser tab and navigate to the Azure portal at https://portal.azure.com.
        • Browse to your Language service resource.
        • On the Keys and Endpoint page, copy one of the keys
        • Paste it here.
      • Language project name: MargiesTravel
      • Language service endpoint hostname: Pre-populated with your language service endpoint
      • Language service details
      • Subscription Id: Pre-populated with your subscription ID
      • Resource Group Name: Pre-populated with your resource group name
      • Account Name: Pre-populated with your resource name
    4. Select Create. Then wait for your bot to be created (the notification icon at the top right, which looks like a bell, will be animated while you wait). Then in the notification that deployment has completed, select Go to resource (or alternatively, on the home page, click Resource groups, open the resource group where you created the bot, and select the Azure bot resource.)
    5. In the left-hand pane of your bot look for Settings, select on Test in Web Chat, and wait until the bot displays the message Hello and Welcome (it may take a few seconds to initialize).
    6. Use the test chat interface to ensure your bot answers questions from your knowledge base as expected.

    For more info about Use Question Answering model with Language Studio, refer this article.

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    0 comments No comments