ExternalEntity Class

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

All required parameters must be populated in order to send to Azure.

Inheritance
ExternalEntity

Constructor

ExternalEntity(*, entity_name: str, start_index: int, entity_length: int, resolution=None, score: Optional[float] = None, **kwargs)

Parameters

entity_name
str
Required

Required. The name of the entity to extend.

start_index
int
Required

Required. The start character index of the predicted entity.

entity_length
int
Required

Required. The length of the predicted entity.

resolution
object
Required

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

score
float
Required

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