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:
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
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java