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:
the entityLabels value
intentName
public String intentName()
Get the intentName value.
Returns:
the intentName value
text
public String text()
Get the text value.
Returns:
the text value
withEntityLabels
public ExampleLabelObject withEntityLabels(List
Set the entityLabels value.
Parameters:
entityLabels
- the entityLabels value to set
Returns:
the ExampleLabelObject object itself.
withIntentName
public ExampleLabelObject withIntentName(String intentName)
Set the intentName value.
Parameters:
intentName
- the intentName value to set
Returns:
the ExampleLabelObject object itself.
withText
public ExampleLabelObject withText(String text)
Set the text value.
Parameters:
text
- the text value to set
Returns:
the ExampleLabelObject object itself.