Book Image

Practical Guide to Azure Cognitive Services

By : Chris Seferlis, Christopher Nellis, Andy Roberts
Book Image

Practical Guide to Azure Cognitive Services

By: Chris Seferlis, Christopher Nellis, Andy Roberts

Overview of this book

Azure Cognitive Services and OpenAI are a set of pre-built artificial intelligence (AI) solution APIs that can be leveraged from existing applications, allowing customers to take advantage of Microsoft’s award-winning Vision, Speech, Text, Decision, and GPT-4 AI capabilities. With Practical Guide to Azure Cognitive Services, you’ll work through industry-specific examples of implementations to get a head-start in your production journey. You’ll begin with an overview of the categorization of Azure Cognitive Services and the benefits of embracing AI solutions for practical business applications. After that, you’ll explore the benefits of using Azure Cognitive Services to optimize efficiency and improve predictive capabilities. Then, you’ll learn how to leverage Vision capabilities for quality control, Form Recognizer to streamline supply chain nuances, language understanding to improve customer service, and Cognitive Search for next-generation knowledge-mining solutions. By the end of this book, you’ll be able to implement various Cognitive Services solutions that will help you enhance efficiency, reduce costs, and improve the customer experience at your organization. You’ll also be well equipped to automate mundane tasks by reaping the full potential of OpenAI.
Table of Contents (22 chapters)
1
Part 1: Ocean Smart – an AI Success Story
5
Part 2: Deploying Next-Generation Knowledge Mining Solutions with Azure Cognitive Search
10
Part 3: Other Cognitive Services That Will Help Your Company Optimize Operations

Building a bot using language Understanding

One area where we see Language Services used frequently is chat bots. In this chapter, we will use Bot Framework Composer to build a chat that calls LUIS. We will use this solution as the application for our previous example of the Content Moderator service from Chapter 11.

LUIS is the precursor to the Language Service described in this chapter. At the time of writing, Bot Framework still uses LUIS, and there should be a new version of Bot Framework that supports the Language Service in the coming months.

Figure 14.9 – A diagram of the services and data flow that use Bot Framework and LUIS

Figure 14.9 – A diagram of the services and data flow that use Bot Framework and LUIS

So, let’s jump in and get started on creating the project to build our bot.

Creating our bot project

When you launch the Bot Framework Composer application, you will come to a welcome page:

  1. Let’s start by creating a new project, as shown in the following screenshot:
Figure 14.10 – Bot Framework Composer – the Create new project dialog ...