diff --git a/functionals/botpress-nlu/src/providers/dialogflow.js b/functionals/botpress-nlu/src/providers/dialogflow.js index 9cdd1f2..0c8beac 100644 --- a/functionals/botpress-nlu/src/providers/dialogflow.js +++ b/functionals/botpress-nlu/src/providers/dialogflow.js @@ -75,6 +75,7 @@ export default class DialogflowProvider extends Provider { return { intent, intents: [intent], + original: detection, entities: entities.map(entity => ({ name: entity.name, // usually the entity name, but can be modified type: entity.name, // when parameter name modified dialogflow doesn't give the original entity name