EntityLabel interface

Defines the entity type and position of the extracted entity within the example.

Properties

children
endTokenIndex

The index within the utterance where the extracted entity ends.

entityName

The entity type.

role

The role of the predicted entity.

roleId

The role id for the predicted entity.

startTokenIndex

The index within the utterance where the extracted entity starts.

Property Details

children

children?: EntityLabel[]

Property Value

endTokenIndex

The index within the utterance where the extracted entity ends.

endTokenIndex: number

Property Value

number

entityName

The entity type.

entityName: string

Property Value

string

role

The role of the predicted entity.

role?: string

Property Value

string

roleId

The role id for the predicted entity.

roleId?: string

Property Value

string

startTokenIndex

The index within the utterance where the extracted entity starts.

startTokenIndex: number

Property Value

number