Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response object changes. #49

Open
ferdelamad opened this issue Sep 26, 2018 · 1 comment
Open

Response object changes. #49

ferdelamad opened this issue Sep 26, 2018 · 1 comment

Comments

@ferdelamad
Copy link

ferdelamad commented Sep 26, 2018

Hi, my problem is that I always get the response of the default welcome intent and the next intent that I invoke. But if that intent that I invoke afterward has follow-up intents or has actions-parameters required dialog flow get lots in the conversation.
I temporarily fix it for follow-up intents setting all the follow-up contexts in "Permanent contexts" (I don't know if this is the proper way of solving it), but it does not help for intents that have required actions and parameters for the user to continue the conversation.

The thing is that now dialog flow is following the conversation, but sometimes it gives me both fullfilmentText and richReponse (response from my back-end), but other times it only throws the normal fulfillment text from the dialog flow console.

Last thing, even if you start listening and stop listening like in the example that you have in the library, for every start/stop actions my back-end functions get triggered multiple times, I get between 15-20 triggers per click on start/stop. Any thoughts on that issue as well?

Also, everything works properly on the Google Assistant simulator.

Any suggestions on how to fix the response from dialog flow or on how I should implement the library in order to work properly with intents and the back-end?

Thanks!

@gireeshbandlamudi
Copy link

Dialogflow.startListening((result) =>{ console.warn("result called"); console.warn(result); }, (error)=>{ console.warn(error); });

In the above piece of code result callback is getting called multiple times. Facing the issue. Any progress on this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants