IntentScore Class
- java.
lang. Object - com.
microsoft. bot. builder. IntentScore
- com.
public class IntentScore
Score plus any extra information about an intent.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| IntentScore() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.util.Map<java.lang.String,com.fasterxml.jackson.databind.JsonNode> |
getProperties()
Gets extra properties to include in the results. |
| double |
getScore()
Gets confidence in an intent. |
| void |
setProperties(String key, JsonNode value)
Sets extra properties to include in the results. |
| void |
setScore(double withScore)
Sets confidence in an intent. |
Methods inherited from java.lang.Object
Constructor Details
IntentScore
public IntentScore()
Method Details
getProperties
public Map
Gets extra properties to include in the results.
Returns:
getScore
public double getScore()
Gets confidence in an intent.
Returns:
setProperties
public void setProperties(String key, JsonNode value)
Sets extra properties to include in the results.
Parameters:
setScore
public void setScore(double withScore)
Sets confidence in an intent.
Parameters: