ActiveContext
Stentor API Reference / stentor-models/src / ActiveContext
Interface: ActiveContext
Defined in: packages/stentor-models/src/Response/Response.ts:20
Active Context Object
Propertiesβ
nameβ
name:
string
Defined in: packages/stentor-models/src/Response/Response.ts:24
Name of the context
parameters?β
optionalparameters:object
Defined in: packages/stentor-models/src/Response/Response.ts:28
Parameters passed around with the context
Index Signatureβ
[key: string]: string
timeToLiveβ
timeToLive:
object
Defined in: packages/stentor-models/src/Response/Response.ts:31
timeToLiveInSeconds?β
optionaltimeToLiveInSeconds:number
How long in seconds for the context to stay alive.
Note: Not supported on Dialogflow
turnsToLive?β
optionalturnsToLive:number
How many conversational turns to keep the context alive.