EntityLabel Class
Defines the entity type and position of the extracted entity within the example.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
EntityLabel
Constructor
EntityLabel(*, entity_name: str, start_token_index: int, end_token_index: int, role: Optional[str] = None, role_id: Optional[str] = None, children=None, **kwargs)
Parameters
- start_token_index
- int
Required
Required. The index within the utterance where the extracted entity starts.
- end_token_index
- int
Required
Required. The index within the utterance where the extracted entity ends.
- children
- list[EntityLabel]
Required
Feedback
Submit and view feedback for