IEntity interface
A recognized entity.
Properties
end |
End position of entity within text utterance. |
entity | Value of the recognized entity. |
score | Confidence on a scale from 0.0 - 1.0 that the proper entity was recognized. |
start |
Start position of entity within text utterance. |
type | Type of entity that was recognized. |
Property Details
endIndex
End position of entity within text utterance.
endIndex?: number
Property Value
number
entity
Value of the recognized entity.
entity: any
Property Value
any
score
Confidence on a scale from 0.0 - 1.0 that the proper entity was recognized.
score?: number
Property Value
number
startIndex
Start position of entity within text utterance.
startIndex?: number
Property Value
number
type
Type of entity that was recognized.
type: string
Property Value
string