IntentPrediction Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. IntentPrediction
- com.
public class IntentPrediction
A suggested intent.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name value. |
Double |
score()
Get the score value. |
Intent |
withName(String name)
Set the name value. |
Intent |
withScore(Double score)
Set the score value. |
Method Details
name
public String name()
Get the name value.
Returns:
the name value
score
public Double score()
Get the score value.
Returns:
the score value
withName
public IntentPrediction withName(String name)
Set the name value.
Parameters:
name
- the name value to set
Returns:
the IntentPrediction object itself.
withScore
public IntentPrediction withScore(Double score)
Set the score value.
Parameters:
score
- the score value to set
Returns:
the IntentPrediction object itself.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java