QnA Maker – Documents to FAQs Application

A common challenge for most informational FAQs (Frequently Asked Questions) scenarios is to separate out the content management from the FAQs design and development, as content owners are usually domain experts who may not be technical. QnAMaker addresses this by enabling a QnA management experience.

In Microsoft words – Azure QnA Maker allows you to edit, remove, or add QnA pairs with an easy-to-use interface, then publish your knowledge base as an API endpoint for a bot service. It’s simple to text and train the bot using a familiar chat interface, and the active learning feature automatically learns questions variations from users over time and adds them to your knowledge base. Use the QnA Maker endpoint to seamlessly integrate with other APIs like Language Understanding service and Speech APIs to interpret and answer user questions in different ways. More details are available at here.

To get my hands dirty, I started developing a minimal app. Basically, a Hello World with QaA Maker

The high-level scope is –

  1. Firstly, I have a “Azure Purchase FAQ.pdf” file which contains the questions and answers related to Azure purchasing (it’s a cut short version for obvious reasons).
  2. Secondly, I uploaded the above file to https://www.qnamaker.ai/ and terminology wise, it’s the knowledge base creation.
  3. Lastly, developed a quick console application using C#. On start this app hits the ‘qnamaker’ endpoint to search a question and gets the answer for it.

Honestly, writing this blog took me more time than developing an end to end working solution

The solution is uploaded at the GitHub. Feel free to copy/clone and try you own hands also. To begin, create the QnA Maker service and deploy with free/defaults. The settings for Sample HTTP request would look like –

POST /knowledgebases/ee0f5e4a-ac42-4f91-9b47-8161b6c5a409/generateAnswer

Host: https://azurepurchasefaq.azurewebsites.net/qnamaker

Authorization: EndpointKey 4836aac3-9fcf-45ca-9295-d256a50216ec

Content-Type: application/json

{“question”:”<Your question>”}

On running the app, the console window should look like this –

Happy coding, and have fun

 

Craft Your AI Strategy

Reference from Gartner –

“Craft Your Artificial Intelligence Strategy
As a CIO, you don’t need to be a mathematics genius or have a PhD in software engineering to make sense of AI for your business. You don’t have to make massive investments in infrastructure and personnel in order to start applying AI’s potentially trans-formative technologies.

Instead, you can draw on the experience and expertise you already have, in two key ways. First, you can assess which business outcomes would benefit most from AI. Second, you can evaluate AI as simply the latest advanced analytical technology that might help achieve those outcomes. Your main goal is to normalize AI planning and development for your whole organization, including leaders of data and analytics, applications and lines of business.”

Computer Vision

Reference from Gartner –

“Computer vision has become a key product differentiator. Technology strategic planners can exploit multiple “onramps” to build competitive advantage using embedded device hardware and systems, apps, cloud platform APIs, advanced analytics packages, algorithms, and tools.”

Speech Analytics

Reference from Gartner –

“Customer experience is the top area of innovation being pursued by marketing leaders. Empowered with larger budgets and spend directed toward innovation efforts, marketing leaders look to analytics for proof that customer experience investments pay off. VoC analytics is often used alongside customer journey analytics in order to evaluate the customer experience across touchpoints and over time.”

Blog #4

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

 

Blog #3

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry’s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.