ExampleLabelObject Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. ExampleLabelObject
- com.
public class ExampleLabelObject
A labeled example utterance.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Entity |
entityLabels()
Get the entityLabels value. |
String |
intentName()
Get the intentName value. |
String |
text()
Get the text value. |
Example |
withEntityLabels(List<EntityLabelObject> entityLabels)
Set the entityLabels value. |
Example |
withIntentName(String intentName)
Set the intentName value. |
Example |
withText(String text)
Set the text value. |
Method Details
entityLabels
public List
Get the entityLabels value.
Returns:
intentName
public String intentName()
Get the intentName value.
Returns:
text
public String text()
Get the text value.
Returns:
withEntityLabels
public ExampleLabelObject withEntityLabels(List
Set the entityLabels value.
Parameters:
Returns:
withIntentName
public ExampleLabelObject withIntentName(String intentName)
Set the intentName value.
Parameters:
Returns:
withText
public ExampleLabelObject withText(String text)
Set the text value.
Parameters:
Returns:
Applies to
Azure SDK for Java