Class JSONUtterance
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.JSONUtterance
-
public class JSONUtterance extends Object
Exported Model - Utterance that was used to train the model.
-
-
Constructor Summary
Constructors Constructor Description JSONUtterance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 Detail
-
text
public String text()
Get the text value.- Returns:
- the text value
-
withText
public JSONUtterance withText(String text)
Set the text value.- Parameters:
text
- the text value to set- Returns:
- the JSONUtterance object itself.
-
intent
public String intent()
Get the intent value.- Returns:
- the intent value
-
withIntent
public JSONUtterance withIntent(String intent)
Set the intent value.- Parameters:
intent
- the intent value to set- Returns:
- the JSONUtterance object itself.
-
entities
public List<JSONEntity> entities()
Get the entities value.- Returns:
- the entities value
-
withEntities
public JSONUtterance withEntities(List<JSONEntity> entities)
Set the entities value.- Parameters:
entities
- the entities value to set- Returns:
- the JSONUtterance object itself.
-
-