Dialog flow module that simplify the web hook handling for your NLP application using NestJS
MIT License
Bot releases are hidden (Show)
Published by adrien2p over 5 years ago
Update package according to the new api of nestjs V6
Take advantage of discovery module provided by nestjs-plus
Published by adrien2p almost 6 years ago
FIX
Published by adrien2p over 6 years ago
Update library for nestjs V5
Published by adrien2p over 6 years ago
Update lib
Published by adrien2p over 6 years ago
Improve README documentation
Published by adrien2p over 6 years ago
@DialogFlowParam()
decorator in order to pick properties from DialogFlowResponse
param and apply as new method parametersUtils
internal usageDIALOG_FLOW_PARAMS
constant for the new metadata key of @DialogFlowParam()
decoratorOutputContexts
and QueryResult
interfaces are now exposedPublished by adrien2p over 6 years ago
Published by adrien2p over 6 years ago
Published by adrien2p over 6 years ago
static forRoute
by static forRoot
Published by adrien2p over 6 years ago
Published by adrien2p over 6 years ago
DialogFlowService
in order to handle the controller logic and dispatch intentDecorators/
testedmodule/[provider, component, controller]
testedDialogFlowController
logic now delegated to the DialogFlowService
Handlers
provider stored handler method when no intent or action was foundPublished by adrien2p over 6 years ago
DialogController
to DialogFlowController
in order to keep coherencePublished by adrien2p over 6 years ago
01-dialogflow-handlers
that show how to use the libraryPublished by adrien2p over 6 years ago
@DialogFlowAction()
Published by adrien2p over 6 years ago
DialogFlowAuthorizationMiddleware
the middleware compare the token sent by DialogFlow
to the token set in the env variableDIALOG_FLOW_AUTHORIZATION_TOKEN
DialogFlowModule
now apply the DialogFlowAuthorizationMiddleware
middleware to validate the token sent by DialogFlow
Published by adrien2p over 6 years ago
Published by adrien2p over 6 years ago
DialogFlow
@DialogFlowIntent()
decorator to define the concerned intent instead of the action.@DialogFlowAction()
decorator to define the concerned action instead of the intent.DialogFlowModule
Which provide the features
DialogFlowController
configurable controller through DialogFlowModule.forRoute(webHookConfig)
Handlers
provider which get the metadata from the components in order to store and return the handlers mapDialogFlow
and the expected result await by Dialogflow
DialogFlowFulfilmentResponse
which defined the expected response await by DialogFlow
DialogFlowResponse
the response sent from DialogFlow
and pass as argument to the handlerWebHookConfig
which defined the expected parameters in order to configure the controller of DialogFlowModule
README
, CHANGELOG
, LICENCE