JSONUtterance Class

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

public class JSONUtterance

Exported Model - Utterance that was used to train the model.

Method Summary

Modifier and Type Method and Description
List<JSONEntity> entities()

Get the entities value.

String intent()

Get the intent value.

String text()

Get the text value.

JSONUtterance withEntities(List<JSONEntity> entities)

Set the entities value.

JSONUtterance withIntent(String intent)

Set the intent value.

JSONUtterance withText(String text)

Set the text value.

Method Details

entities

public List entities()

Get the entities value.

Returns:

the entities value

intent

public String intent()

Get the intent value.

Returns:

the intent value

text

public String text()

Get the text value.

Returns:

the text value

withEntities

public JSONUtterance withEntities(List entities)

Set the entities value.

Parameters:

entities - the entities value to set

Returns:

the JSONUtterance object itself.

withIntent

public JSONUtterance withIntent(String intent)

Set the intent value.

Parameters:

intent - the intent value to set

Returns:

the JSONUtterance object itself.

withText

public JSONUtterance withText(String text)

Set the text value.

Parameters:

text - the text value to set

Returns:

the JSONUtterance object itself.

Applies to