JSONUtterance Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. JSONUtterance
- com.
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
Get the entities value.
Returns:
intent
public String intent()
Get the intent value.
Returns:
text
public String text()
Get the text value.
Returns:
withEntities
public JSONUtterance withEntities(List
Set the entities value.
Parameters:
Returns:
withIntent
public JSONUtterance withIntent(String intent)
Set the intent value.
Parameters:
Returns:
withText
public JSONUtterance withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java