JSONEntity Class

Exported Model - Extracted Entity from utterance.

All required parameters must be populated in order to send to Azure.

Inheritance
JSONEntity

Constructor

JSONEntity(*, start_pos: int, end_pos: int, entity: str, role: Optional[str] = None, children=None, **kwargs)

Parameters

start_pos
int
Required

Required. The index within the utterance where the extracted entity starts.

end_pos
int
Required

Required. The index within the utterance where the extracted entity ends.

entity
str
Required

Required. The entity name.

role
str
Required

The role the entity plays in the utterance.

children
list[JSONEntity]
Required