TurnPath class
Defines path for available turns.
Properties
| activity | The current activity for the turn.
A string key representing the activity path ( |
| activity |
Indicates whether the turncontext.activity has been consumed by some component in the system.
A string key representing the activity processed path ( |
| dialog |
The current dialog event (set during event processing).
A string key representing the dialog event path ( |
| interrupted | If true, an interruption has occurred.
A string key representing the interrupted path ( |
| last |
The result from the last dialog that was called.
A string key representing the last result path ( |
| recognized | The recognized result for the current turn.
A string key representing the recognized result path ( |
| recognized |
Entities that were recognized from text.
A string key representing the recognized entities path ( |
| repeated |
Used to track that we don't end up in an infinite loop of RepeatDialogs().
A string key representing the repeated IDs path ( |
| text | Original text.
A string key representing the original text path ( |
| top |
Path to the top intent.
A string key representing the top intent path ( |
| top |
Path to the top score.
A string key representing the top score path ( |
| unrecognized |
Original utterance split into unrecognized strings.
A string key representing the unrecognized text path ( |
Property Details
activity
The current activity for the turn.
A string key representing the activity path ('turn.activity').
static activity: string
Property Value
string
activityProcessed
Indicates whether the turncontext.activity has been consumed by some component in the system.
A string key representing the activity processed path ('turn.activityProcessed').
static activityProcessed: string
Property Value
string
dialogEvent
The current dialog event (set during event processing).
A string key representing the dialog event path ('turn.dialogEvent').
static dialogEvent: string
Property Value
string
interrupted
If true, an interruption has occurred.
A string key representing the interrupted path ('turn.interrupted').
static interrupted: string
Property Value
string
lastResult
The result from the last dialog that was called.
A string key representing the last result path ('turn.lastresult').
static lastResult: string
Property Value
string
recognized
The recognized result for the current turn.
A string key representing the recognized result path ('turn.recognized').
static recognized: string
Property Value
string
recognizedEntities
Entities that were recognized from text.
A string key representing the recognized entities path ('turn.recognizedEntities').
static recognizedEntities: string
Property Value
string
repeatedIds
Used to track that we don't end up in an infinite loop of RepeatDialogs().
A string key representing the repeated IDs path ('turn.repeatedIds').
static repeatedIds: string
Property Value
string
text
Original text.
A string key representing the original text path ('turn.recognized.text').
static text: string
Property Value
string
topIntent
Path to the top intent.
A string key representing the top intent path ('turn.recognized.intent').
static topIntent: string
Property Value
string
topScore
Path to the top score.
A string key representing the top score path ('turn.recognized.score').
static topScore: string
Property Value
string
unrecognizedText
Original utterance split into unrecognized strings.
A string key representing the unrecognized text path ('turn.unrecognizedText').
static unrecognizedText: string
Property Value
string