Share via


RecognizerResult interface

Value returned from a recognizer.

Properties

alteredText

Optional. The modified version of the text input, if applicable.

entities

Optional. Entities recognized in the input, if any.

intents

A mapping of intent names to their corresponding confidence scores.

text

The original text input provided by the user.

Property Details

alteredText

Optional. The modified version of the text input, if applicable.

alteredText?: string

Property Value

string

entities

Optional. Entities recognized in the input, if any.

entities?: any

Property Value

any

intents

A mapping of intent names to their corresponding confidence scores.

intents: Record<string, IntentScore>

Property Value

Record<string, IntentScore>

text

The original text input provided by the user.

text: string

Property Value

string