Skip to main content

ExpectedResult

Stentor API Reference


Stentor API Reference / stentor-models/src / ExpectedResult

Interface: ExpectedResult

Defined in: packages/stentor-models/src/UtteranceTest.ts:16

An expected result from the NLU to determine if the test passed or failed.

Properties​

intentId​

intentId: string

Defined in: packages/stentor-models/src/UtteranceTest.ts:20

Expected intent ID.


matchedSlots?​

optional matchedSlots: TestSlot\<RelativeDateTime | RequestSlotValues>[]

Defined in: packages/stentor-models/src/UtteranceTest.ts:24

Expected slots.