EntityLabelObject interface
Defines the entity type and position of the extracted entity within the example.
Properties
children | The identified entities within the example utterance. |
end |
The index within the utterance where the extracted entity ends. |
entity |
The entity type. |
role | The role the entity plays in the utterance. |
start |
The index within the utterance where the extracted entity starts. |
Property Details
children
The identified entities within the example utterance.
children?: EntityLabelObject[]
Property Value
endCharIndex
The index within the utterance where the extracted entity ends.
endCharIndex: number
Property Value
number
entityName
The entity type.
entityName: string
Property Value
string
role
The role the entity plays in the utterance.
role?: string
Property Value
string
startCharIndex
The index within the utterance where the extracted entity starts.
startCharIndex: number
Property Value
number