IntentTrigger Class
- java.
lang. Object - com.
microsoft. cognitiveservices. speech. intent. IntentTrigger
- com.
Implements
public final class IntentTrigger
implements java.lang.AutoCloseable
Defines intent trigger object.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the intent trigger. |
static
Intent |
fromModel(SafeHandle modelHandle)
Creates an instance of a intent trigger from Language |
static
Intent |
fromModel(SafeHandle modelHandle, String intentName)
Creates an instance of a intent trigger from Language |
static
Intent |
fromPhrase(String simplePhrase)
Creates an instance of a intent trigger from simple phrase. |
Safe |
getImpl()
INTERNAL |
Methods inherited from java.lang.Object
Method Details
close
public void close()
Closes the intent trigger.
fromModel
public static IntentTrigger fromModel(SafeHandle modelHandle)
Creates an instance of a intent trigger from LanguageUnderstandingModel.
Parameters:
Returns:
fromModel
public static IntentTrigger fromModel(SafeHandle modelHandle, String intentName)
Creates an instance of a intent trigger from LanguageUnderstandingModel.
Parameters:
Returns:
fromPhrase
public static IntentTrigger fromPhrase(String simplePhrase)
Creates an instance of a intent trigger from simple phrase.
Parameters:
Returns:
getImpl
public SafeHandle getImpl()
INTERNAL
Returns:
Applies to
Azure SDK for Java