NLURequestProps
Stentor API Reference / stentor-models/src / NLURequestProps
Interface: NLURequestProps
Defined in: packages/stentor-models/src/NLU/NLUService.ts:23
Propertiesβ
locale?β
optionallocale?:string
Defined in: packages/stentor-models/src/NLU/NLUService.ts:27
Optional locale to request, defaults to "en"
userId?β
optionaluserId?:string
Defined in: packages/stentor-models/src/NLU/NLUService.ts:31
Optional userId to pass with the request
sessionId?β
optionalsessionId?:string
Defined in: packages/stentor-models/src/NLU/NLUService.ts:35
Optional sessionId to pass with the request
channel?β
optionalchannel?:string
Defined in: packages/stentor-models/src/NLU/NLUService.ts:39
Optional channel information
platform?β
optionalplatform?:string
Defined in: packages/stentor-models/src/NLU/NLUService.ts:43
Optional platform information.
activeContext?β
optionalactiveContext?:ActiveContext[]
Defined in: packages/stentor-models/src/NLU/NLUService.ts:48
Optional active context to pass with the request, used to weight certain intents.
requestAttributes?β
optionalrequestAttributes?:Record<string,string>
Defined in: packages/stentor-models/src/NLU/NLUService.ts:52
Optional request attributes.
transcript?β
optionaltranscript?:Message[]
Defined in: packages/stentor-models/src/NLU/NLUService.ts:56
Current session transcript
session?β
optionalsession?:SessionStore
Defined in: packages/stentor-models/src/NLU/NLUService.ts:60
Optional session store
filters?β
optionalfilters?:object
Defined in: packages/stentor-models/src/NLU/NLUService.ts:64
Optional filters for knowledge base service calls
Index Signatureβ
[key: string]: string