Skip to main content

EntityValue

Stentor API Reference


Stentor API Reference / stentor-models/src / EntityValue

Interface: EntityValue

Defined in: packages/stentor-models/src/Entity/EntityValue.ts:2

Properties​

name​

name: string

Defined in: packages/stentor-models/src/Entity/EntityValue.ts:8

The name of the entity.

For example, for an entity called cities, a value would be "Los Angeles".


canonicalId?​

optional canonicalId: string

Defined in: packages/stentor-models/src/Entity/EntityValue.ts:12

Used by Alexa. This value is returned as a reference, such as "LAX"


synonyms?​

optional synonyms: string[]

Defined in: packages/stentor-models/src/Entity/EntityValue.ts:18

List of potential synonyms for the entity.

For example, "L.A."" & "City of Angels"