Skip to main content

AddressIntentRequestSlotMap

Stentor API Reference


Stentor API Reference / stentor-models/src / AddressIntentRequestSlotMap

Interface: AddressIntentRequestSlotMap

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:4

Map of slots where the key is the name of the slot.

Extends​

Indexable​

[slotName: string]: RequestSlot\<RequestSlotValues>

Each key is the slot name and the corresponding value is the slot.

Properties​

address?​

optional address: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:10

Fully formed address with street number, street name, quadrant, city, state, and zip code.

On chat, this can sometimes be derived from the NLU's entity extraction.


city?​

optional city: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:14

City name.


state?​

optional state: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:18

State or Province. Can be a two letter abbreviation or full name.


zip?​

optional zip: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:22

Zip code.


street?​

optional street: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:26

Street name and number.


street_name?​

optional street_name: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:30

Street name.


street_number?​

optional street_number: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:34

Street number, only


quadrant?​

optional quadrant: RequestSlot\<string>

Defined in: packages/stentor-models/src/Request/AddressIntentRequest.ts:38

Quadrant, if applicable.