Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning Microsoft Cognitive Services
  • Toc
  • feedback
Learning Microsoft Cognitive Services

Learning Microsoft Cognitive Services

By : Leif Larsen Henning Larsen
close
Learning Microsoft Cognitive Services

Learning Microsoft Cognitive Services

By: Leif Larsen Henning Larsen

Overview of this book

Take your app development to the next level with Learning Microsoft Cognitive Services. Using Leif's knowledge of each of the powerful APIs, you'll learn how to create smarter apps with more human-like capabilities. ? Discover what each API has to offer and learn how to add it to your app ? Study each AI using theory and practical examples ? Learn current API best practices
Table of Contents (14 chapters)
close
Appendix A. LUIS Entities and Intents
Appendix B. Additional Information on Linguistic Analysis

Creating the backend using the Knowledge Exploration Service


The Knowledge Exploration Service (KES) is, in some ways, the backend for the Academic API. It allows us to build a compressed index from structured data, authoring grammar to interpret natural language.

To get started with KES, we need to install the service locally.

With the installation comes some example data, which we will use.

The steps required to have a working service are as follows:

  1. Define a schema.

  2. Generate data.

  3. Build the index.

  4. Author grammar.

  5. Compile grammar.

  6. Host service.

Defining attributes

The schema file defines the attribute structure in our domain. When we previously discussed the Academic API, we saw a list of different entity attributes, which we could retrieve through the queries. This is defined in a schema.

If you open the file, Academic.schema, in the Example folder found where KES is installed, you will see...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete