Freigeben über


IntentsSuggestionExample Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.IntentsSuggestionExample

public class IntentsSuggestionExample

Predicted/suggested intent.

Method Summary

Modifier and Type Method and 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 Details

entityPredictions

public List entityPredictions()

Get the entityPredictions value.

Returns:

the entityPredictions value

intentPredictions

public List intentPredictions()

Get the intentPredictions value.

Returns:

the intentPredictions value

text

public String text()

Get the text value.

Returns:

the text value

tokenizedText

public List tokenizedText()

Get the tokenizedText value.

Returns:

the tokenizedText value

withEntityPredictions

public IntentsSuggestionExample withEntityPredictions(List entityPredictions)

Set the entityPredictions value.

Parameters:

entityPredictions - the entityPredictions value to set

Returns:

the IntentsSuggestionExample object itself.

withIntentPredictions

public IntentsSuggestionExample withIntentPredictions(List intentPredictions)

Set the intentPredictions value.

Parameters:

intentPredictions - the intentPredictions value to set

Returns:

the IntentsSuggestionExample object itself.

withText

public IntentsSuggestionExample withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the IntentsSuggestionExample object itself.

withTokenizedText

public IntentsSuggestionExample withTokenizedText(List tokenizedText)

Set the tokenizedText value.

Parameters:

tokenizedText - the tokenizedText value to set

Returns:

the IntentsSuggestionExample object itself.

Applies to