PatternMatchingModel Class

Definition

Represents a pattern matching model used for intent recognition.

public sealed class PatternMatchingModel : Microsoft.CognitiveServices.Speech.Intent.LanguageUnderstandingModel
type PatternMatchingModel = class
    inherit LanguageUnderstandingModel
Public NotInheritable Class PatternMatchingModel
Inherits LanguageUnderstandingModel
Inheritance
PatternMatchingModel

Constructors

PatternMatchingModel(String)

Creates a pattern matching model using the specified model ID.

Properties

Entities

This container of PatternMatchingEntitys is used to define all the PatternMatchingEntitys this model will look for.

Intents

This container of PatternMatchingIntents is used to define all the PatternMatchingIntents this model will look for.

ModelId

Unique Id for this model.

Methods

FromJSONFile(String)

Creates a pattern matching model using the specified .json file. This should follow the Microsoft LUIS JSON export schema.

FromJSONFileStream(Stream)

Creates a PatternMatchingModel using the specified istream pointing to an .json file in the LUIS json format. This assumes the stream is already open and has permission to read.

Applies to