ExampleLabelObject Class

A labeled example utterance.

Inheritance
ExampleLabelObject

Constructor

ExampleLabelObject(*, text: Optional[str] = None, entity_labels=None, intent_name: Optional[str] = None, **kwargs)

Parameters

text
str
Required

The example utterance.

entity_labels
list[EntityLabelObject]
Required

The identified entities within the example utterance.

intent_name
str
Required

The identified intent representing the example utterance.