Create your first intelligent app with Microsoft Azure. pt 1

This post is part of a series of post about Azure Bot Service

As we know Microsoft Azure is an intelligent cloud that offers us a bunch of services to give the power to our applications and organizations to beat in the Digital Transformation era, giving us the ability to achieve more.

Create a knowledge base with Microsoft QnA Maker

What is QnA Maker?

Is part of Azure Cognitive Services, a suite of services and APIs for building intelligent apps backed by artificial intelligence (AI) and machine learning. Rather than code a bot to anticipate every question a user might ask and provide a response, you can connect it to a knowledge base of questions and answers created with QnA Maker. A common usage scenario is to create a knowledge base from the URL of a FAQ web page so the bot can answer domain-specific questions such as “How do I find my Windows product key” or “Where can I download Visual Studio Code?”

Create your own QnA Maker Service

First, we need to go to the QnA Maker portal .

Then select Sign in in the upper-right corner and sign in with the same account you used to create the web app, unless you already have a knowledge base, the portal will point out that you don’t have any and direct you to create one from the menu.

So in the menu at the top of the portal, select Create a knowledge base, Select Create a QnA service. Selecting this button takes you to the Azure portal and signs you in with the credentials you used earlier. You create the QnA Maker service and the associated Azure app service that will host it in this portal.

In the Azure portal tab enter the following settings for the new QnA Maker service.

When you finish filling all the information above click Create and Wait until “Deploying” changes to “Succeeded” at the top of the blade, indicating that the QnA service and the resources associated with it were successfully deployed.

The next step is to create a knowledge base of questions and answers to infuse the bot with intelligence.

See you in my next post!

Create your first intelligent app with Microsoft Azure.

This post is part of a series of post about Azure Bot Service

As we know Microsoft Azure is an intelligent cloud that offers us a bunch of services to give the power to our applications and organizations to beat in the Digital Transformation era, giving us the ability to achieve more.

Azure Bot Service

In this post, we gonna learn about Azure Bot Service. Azure Bot Services is a service that can be leveraged from Azure, this service offers a set of tools that can be used for the developers to build intelligent bots.

This intelligent bots can interact naturally with users through a range of services. For this exercise, you will need a Microsoft Azure subscription there several ways to get one for FREE you can take a look in the links listed below:

https://azure.microsoft.com/en-us/offers/ms-azr-0044p/

https://azure.microsoft.com/en-us/pricing/member-offers/credit-for-visual-studio-subscribers/

https://www.microsoftazurepass.com/

So now we know where we gonna host our bots, let’s get hands dirty with a few clicks and code.

Go to Azure Portal

Go to: https://portal.azure.com/

At first instance, the portal gonna look like this:

Then Select + Create a resource, followed by AI + Machine Learning, then Web App Bot.

So now in the New Web App Bot page, we gonna fill all the required configurations:

Let’s take a quick look in the configurations properties:

Setting ValueDescription
Bot namechoose a unique nameThis name must be unique within Azure, so make sure a green checkmark appears next to it.
Subscription Select your subscriptionSelect your Azure subscription.
Resource Group. Select Create new and use the name ymatias-tutorialSelect an existing or create a new resource group to hold the resources for this exercise.
LocationSelect the region closest to you from the drop-downSelect the location where the bot should be located.
Pricing tierF0A basic free tier for this app.
App nameLeave defaultThe default value is populated based on your bot name. You can change this if you’d like a different name for the web app, or leave the default value.

Now we gonna select the template that we’re going to use to create our bot, I selected Echo Bot

Then,  select App service plan/Location, followed by Create New, then create an App Service plan named “qa-bot-service-plan” or something similar in the same region that you selected in the prior step. Click OK to close the view.

Once you finish to set up your app service, Click Create at the bottom of the “Web App Bot” panel to start the deployment. Usually, the deployment can take 2 minutes or less.

Select Resource groups in the left-hand sidebar, and click on the resource group name that we already create in the previous step.

Behind the scenes, a lot happened when the Azure Web App Bot was deployed.

  • A bot was created and registered in Azure.
  • An Azure Web App was created to host the bot.

The next step is to take the Q & A Bot Template

See you in my next post!

Sitios web estáticos en Azure Storage

Esta es una nueva caracteristica !

 Azure Storage 

Azure Storage es la solución de almacenamiento en la nube de Microsoft para escenarios modernos de almacenamiento de datos. Azure Storage ofrece un almacén de objetos escalable masivamente para objetos de datos, un servicio de sistema de archivos para la nube, un almacén de mensajería para mensajes confiables y un almacén NoSQL.  Mas informacion aqui.

¿Qué es un sitio web estático?

Los sitios web estáticos se refieren a sitios web que se pueden cargar y servir de forma estática a partir de un conjunto de archivos predefinidos. Ahora puede crear un sitio web estático utilizando archivos HTML, CSS y JavaScript que están alojados en Azure Storage. En cambio, si desea alojar un sitio web dinámico con el tiempo de ejecución de ASP.NET, Java o Node, use las Azure Web Apps y confíe en el tiempo de ejecución para generar y servir su contenido web de forma dinámica.

Los sitios web estáticos pueden ser poderosos con el uso de JavaScript del lado del cliente. Puede crear una aplicación web utilizando frameworks populares como React.js y Angular y hospedarla en el almacenamiento de Azure Blob. Si existe la necesidad de manipular o procesar datos en el lado del servidor, simplemente llame al servicio de Azure administrado relevante como los Servicios cognitivos de Azure o aproveche un servidor web propio alojado en las funciones de Azure.

A continuacion les dejo un corto video donde muestro como funciona esta nueva funcionalidad.

Comenta si te gusto, dejas tus preguntas y nos vemos en la siguiente entrada !