Dialogflow Fulfillment V2 Middleware
Actions on Google NodeJS is only support Dialogflow V1 API. But Dialogflow Enterprise Edition only use V2 API.
This middleware convert V1/V2 json format both request and response if use V2 API on dialogflow.
Usage
const DialogflowApp = ;const connect = ;const dialogflowV2 = ; const actionMap = ;actionMap; const app = ;app;app; ;
connect is convinience usefull middleware layer without server.
TODO
- Unit Test
- CI