EntityPrediction interface

A suggested entity.

Properties

children
endTokenIndex

The index within the utterance where the extracted entity ends.

entityName

The entity's name

phrase

The actual token(s) that comprise the entity.

startTokenIndex

The index within the utterance where the extracted entity starts.

Property Details

children

children?: EntityPrediction[]

Property Value

endTokenIndex

The index within the utterance where the extracted entity ends.

endTokenIndex: number

Property Value

number

entityName

The entity's name

entityName: string

Property Value

string

phrase

The actual token(s) that comprise the entity.

phrase: string

Property Value

string

startTokenIndex

The index within the utterance where the extracted entity starts.

startTokenIndex: number

Property Value

number