LuisRecognizerOptions Class
- java.
lang. Object - com.
microsoft. bot. ai. luis. LuisRecognizerOptions
- com.
public abstract class LuisRecognizerOptions
Abstract class to enforce the Strategy pattern consumed by the Luis Recognizer through the options selected.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | LuisRecognizerOptions(LuisApplication application) |
Initializes an instance of the Luis |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Luis |
getApplication()
Gets the Luis Application instance. |
|
Bot |
getTelemetryClient()
Gets the currently configured Bot Telemetry Client that logs the Luis |
| boolean |
isIncludeAPIResults()
Indicates if full results from the LUIS API should be returned with the recognizer result. |
| boolean |
isLogPersonalInformation()
Indicates if personal information should be sent as telemetry. |
| void |
setIncludeAPIResults(boolean includeAPIResults)
Indicates if full results from the LUIS API should be returned with the recognizer result. |
| void |
setLogPersonalInformation(boolean logPersonalInformation)
Indicates if personal information should be sent as telemetry. |
| void |
setTelemetryClient(BotTelemetryClient telemetryClient)
Sets the Bot Telemetry Client to log telemetry with. |
Methods inherited from java.lang.Object
Constructor Details
LuisRecognizerOptions
protected LuisRecognizerOptions(LuisApplication application)
Initializes an instance of the LuisRecognizerOptions implementation.
Parameters:
Method Details
getApplication
public LuisApplication getApplication()
Gets the Luis Application instance.
Returns:
getTelemetryClient
public BotTelemetryClient getTelemetryClient()
Gets the currently configured Bot Telemetry Client that logs the LuisResult event.
Returns:
isIncludeAPIResults
public boolean isIncludeAPIResults()
Indicates if full results from the LUIS API should be returned with the recognizer result.
Returns:
isLogPersonalInformation
public boolean isLogPersonalInformation()
Indicates if personal information should be sent as telemetry.
Returns:
setIncludeAPIResults
public void setIncludeAPIResults(boolean includeAPIResults)
Indicates if full results from the LUIS API should be returned with the recognizer result.
Parameters:
setLogPersonalInformation
public void setLogPersonalInformation(boolean logPersonalInformation)
Indicates if personal information should be sent as telemetry.
Parameters:
setTelemetryClient
public void setTelemetryClient(BotTelemetryClient telemetryClient)
Sets the Bot Telemetry Client to log telemetry with.
Parameters: