你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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: