Class IntentsSuggestionExample
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.IntentsSuggestionExample
-
public class IntentsSuggestionExample extends Object
Predicted/suggested intent.
-
-
Constructor Summary
Constructors Constructor Description IntentsSuggestionExample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<EntityPrediction>
entityPredictions()
Get the entityPredictions value.List<IntentPrediction>
intentPredictions()
Get the intentPredictions value.String
text()
Get the text value.List<String>
tokenizedText()
Get the tokenizedText value.IntentsSuggestionExample
withEntityPredictions(List<EntityPrediction> entityPredictions)
Set the entityPredictions value.IntentsSuggestionExample
withIntentPredictions(List<IntentPrediction> intentPredictions)
Set the intentPredictions value.IntentsSuggestionExample
withText(String text)
Set the text value.IntentsSuggestionExample
withTokenizedText(List<String> tokenizedText)
Set the tokenizedText value.
-
-
-
Method Detail
-
text
public String text()
Get the text value.- Returns:
- the text value
-
withText
public IntentsSuggestionExample withText(String text)
Set the text value.- Parameters:
text
- the text value to set- Returns:
- the IntentsSuggestionExample object itself.
-
tokenizedText
public List<String> tokenizedText()
Get the tokenizedText value.- Returns:
- the tokenizedText value
-
withTokenizedText
public IntentsSuggestionExample withTokenizedText(List<String> tokenizedText)
Set the tokenizedText value.- Parameters:
tokenizedText
- the tokenizedText value to set- Returns:
- the IntentsSuggestionExample object itself.
-
intentPredictions
public List<IntentPrediction> intentPredictions()
Get the intentPredictions value.- Returns:
- the intentPredictions value
-
withIntentPredictions
public IntentsSuggestionExample withIntentPredictions(List<IntentPrediction> intentPredictions)
Set the intentPredictions value.- Parameters:
intentPredictions
- the intentPredictions value to set- Returns:
- the IntentsSuggestionExample object itself.
-
entityPredictions
public List<EntityPrediction> entityPredictions()
Get the entityPredictions value.- Returns:
- the entityPredictions value
-
withEntityPredictions
public IntentsSuggestionExample withEntityPredictions(List<EntityPrediction> entityPredictions)
Set the entityPredictions value.- Parameters:
entityPredictions
- the entityPredictions value to set- Returns:
- the IntentsSuggestionExample object itself.
-
-