ExternalEntity interface

Defines a user predicted entity that extends an already existing one.

Properties

entityLength

The length of the predicted entity.

entityName

The name of the entity to extend.

resolution

A user supplied custom resolution to return as the entity's prediction.

startIndex

The start character index of the predicted entity.

Property Details

entityLength

The length of the predicted entity.

entityLength?: number

Property Value

number

entityName

The name of the entity to extend.

entityName?: string

Property Value

string

resolution

A user supplied custom resolution to return as the entity's prediction.

resolution?: T

Property Value

T

startIndex

The start character index of the predicted entity.

startIndex?: number

Property Value

number