IntentsSuggestionExample Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. IntentsSuggestionExample
- com.
public class IntentsSuggestionExample
Predicted/suggested intent.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Entity |
entityPredictions()
Get the entityPredictions value. |
List<Intent |
intentPredictions()
Get the intentPredictions value. |
String |
text()
Get the text value. |
List<String> |
tokenizedText()
Get the tokenizedText value. |
Intents |
withEntityPredictions(List<EntityPrediction> entityPredictions)
Set the entityPredictions value. |
Intents |
withIntentPredictions(List<IntentPrediction> intentPredictions)
Set the intentPredictions value. |
Intents |
withText(String text)
Set the text value. |
Intents |
withTokenizedText(List<String> tokenizedText)
Set the tokenizedText value. |
Method Details
entityPredictions
public List
Get the entityPredictions value.
Returns:
intentPredictions
public List
Get the intentPredictions value.
Returns:
text
public String text()
Get the text value.
Returns:
tokenizedText
public List
Get the tokenizedText value.
Returns:
withEntityPredictions
public IntentsSuggestionExample withEntityPredictions(List
Set the entityPredictions value.
Parameters:
Returns:
withIntentPredictions
public IntentsSuggestionExample withIntentPredictions(List
Set the intentPredictions value.
Parameters:
Returns:
withText
public IntentsSuggestionExample withText(String text)
Set the text value.
Parameters:
Returns:
withTokenizedText
public IntentsSuggestionExample withTokenizedText(List
Set the tokenizedText value.
Parameters:
Returns:
Applies to
Azure SDK for Java