nestjs-dialogflow

Dialog flow module that simplify the web hook handling for your NLP application using NestJS

MIT License

Downloads
60
Stars
72

Bot releases are hidden (Show)

nestjs-dialogflow - v3.1.0 Latest Release

Published by adrien2p over 2 years ago

Update packages to NestJs V8 - #63 Thanks to @vincent-benbria

nestjs-dialogflow - v3.0.0

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

nestjs-dialogflow - v2.1.1

Published by adrien2p almost 6 years ago

FIX

  • Decorator looses the context of the decorated method
nestjs-dialogflow -

Published by adrien2p almost 6 years ago

ADD

  • core directory (handler/scanner)

UPDATE

  • Refactor module

REMOVE

  • Remove provider
nestjs-dialogflow - v2.0.0

Published by adrien2p over 6 years ago

Update library for nestjs V5

nestjs-dialogflow - v1.2.2

Published by adrien2p over 6 years ago

Update lib

nestjs-dialogflow - v1.2.1

Published by adrien2p over 6 years ago

Improve README documentation

nestjs-dialogflow - v1.2.0

Published by adrien2p over 6 years ago

Add

  • @DialogFlowParam() decorator in order to pick properties from DialogFlowResponse param and apply as new method parameters
  • Utils internal usage
  • DIALOG_FLOW_PARAMS constant for the new metadata key of @DialogFlowParam() decorator

Update

  • Improve and add tests, better coverage
  • Constants has been updated to avoid any collision
  • OutputContexts and QueryResult interfaces are now exposed
nestjs-dialogflow - v1.1.9

Published by adrien2p over 6 years ago

nestjs-dialogflow - v1.1.8

Published by adrien2p over 6 years ago

nestjs-dialogflow - v1.1.7

Published by adrien2p over 6 years ago

Update

  • Rename static forRoute by static forRoot
nestjs-dialogflow - v1.1.6

Published by adrien2p over 6 years ago

Update

  • README
nestjs-dialogflow - v1.1.5

Published by adrien2p over 6 years ago

Added

  • DialogFlowService in order to handle the controller logic and dispatch intent
  • tests suite
    • Decorators/ tested
    • module/[provider, component, controller] tested

Update

  • DialogFlowController logic now delegated to the DialogFlowService

Fixes

  • Handlers provider stored handler method when no intent or action was found
nestjs-dialogflow - v1.1.4

Published by adrien2p over 6 years ago

Update

  • Rename DialogController to DialogFlowController in order to keep coherence
nestjs-dialogflow - v1.1.3

Published by adrien2p over 6 years ago

Fixes

  • Typo in the default config path in the module
  • Remove console.log in the controller

Added

  • Samples directory
    • Add 01-dialogflow-handlers that show how to use the library
nestjs-dialogflow - v1.1.2

Published by adrien2p over 6 years ago

Fixes

  • Action support with @DialogFlowAction()
nestjs-dialogflow - v1.1.1

Published by adrien2p over 6 years ago

Fixes

  • Regenerate the lib directory

Added

  • DialogFlowAuthorizationMiddleware the middleware compare the token sent by DialogFlow to the token set in the env variable
    DIALOG_FLOW_AUTHORIZATION_TOKEN

Update

  • DialogFlowModule now apply the DialogFlowAuthorizationMiddleware middleware to validate the token sent by DialogFlow
nestjs-dialogflow - Changing library name

Published by adrien2p over 6 years ago

nestjs-dialogflow - v1.0.0

Published by adrien2p over 6 years ago

Added

  • Decorators to handle the intent/action sent from 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 map
  • Some interfaces to defined the response get from DialogFlow 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 handler
    • WebHookConfig which defined the expected parameters in order to configure the controller of DialogFlowModule
  • Base files as README, CHANGELOG, LICENCE
Package Rankings
Top 11.12% on Npmjs.org
Badges
Extracted from project README
Build Status Coverage Status npm version npm Known Vulnerabilities