IntentPattern class
Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License.
Constructors
Intent |
Initializes a new instance of the IntentPattern class. |
Properties
intent | Gets the intent. Sets the intent. |
pattern | Gets the pattern. Sets the pattern |
regex |
Constructor Details
IntentPattern(string, string)
Initializes a new instance of the IntentPattern class.
new IntentPattern(intent?: string, pattern?: string)
Parameters
- intent
-
string
The intent.
- pattern
-
string
The regex pattern to match..
Property Details
intent
Gets the intent. Sets the intent.
string intent
Property Value
string
The intent.
pattern
Gets the pattern. Sets the pattern
string pattern
Property Value
string
The pattern.
regex
RegExp regex
Property Value
RegExp
An instance of RegExp with the given pattern.