actions-on-google / actions-on-google-nodejs

Node.js client library for Actions on Google
https://actions-on-google.github.io/actions-on-google-nodejs
Apache License 2.0
900 stars 193 forks source link

promptFetch equivalent? #158

Open anmolagar opened 6 years ago

anmolagar commented 6 years ago

https://developers.google.com/actions/assistant/best-practices

This doc talks about promptFetch everywhere, can somebody please provide a link to where i can get the complete implementation of this?

Phaael commented 6 years ago

I'm looking for this too.

smishra2 commented 6 years ago

Hey @anmolagar, sorry this is a bit unclear. PromptFetch is a sort of abstraction on general response formation logic (SSML tag concatenation, getters for prompt strings, etc).

We're working on making this documentation clear. I'll keep this issue open in the meantime.

xinunix commented 6 years ago

I would like to see a concrete implementation of this method as well, just for general guidance on the best way to implement an abstracted prompt fetcher if nothing else. It seems that is a pretty common challenge that needs to be addressed in anything more sophisticated than the most simple proof of concepts.