NLPActionContext
type NLPActionContext = { entities: NlpEntityRegistry; logger: Logger; services: Services;};Defined in: core/src/nlp/nlp.types.ts:16
Everything an intent’s execute receives: the shared Services and what
the phrase filled.
There is no input here, and that is the difference from an
ActionContext. An action is handed arguments a caller composed against
a schema; an intent is handed the spans a phrase happened to fill, looked up by
the slot objects the utterance already named.
Properties
Section titled “Properties”entities
Section titled “entities”entities: NlpEntityRegistry;Defined in: core/src/nlp/nlp.types.ts:18
logger
Section titled “logger”logger: Logger;Defined in: core/src/nlp/nlp.types.ts:19
services
Section titled “services”services: Services;Defined in: core/src/nlp/nlp.types.ts:17