jschnurr / botkit-middleware-dialogflow

Botkit middleware for Dialogflow (formerly api.ai). Supports Dialogflow API v1 and V2.
MIT License
29 stars 18 forks source link

The module seems to be only detecting whether an agent existing in US (global) location #27

Open phildegreat opened 4 years ago

phildegreat commented 4 years ago

I have defined my agent in AU region, alongside with my project which is also defaulted to AU. ERROR 5 is received with No Dialog Agent found when i use the package and define that as middleware. However, establishing the bot in US/Global region seems to do the trick. This workaround is not viable as our platform is limited to use AU only services.

Did i miss some parameter there that i could potentially pass location to the adaptor? https://github.com/googleapis/nodejs-dialogflow-cx/blob/master/samples/quickstart.js This is for dialogflow cx which i am sure botkit-middleware-dialogflow is only for ES. however, the example work as long as the location is defined correctly.

I am led to believe that location parameter is missing from this middleware...