Frontend API:
User input is sent as user_input property in POST request body.
This request expects an answer in {response:[answer]}
format.
Configation:
Configuration file is located in /static/config.js (nodejs example).
requestURL:string
is the url to which client will POST the requests.
firstMessage:string
is the message session will start with
This example uses dialogflow banking prebuilt agent.
To run it -
- create a banking prebuilt agent on dialogflow
- go to settings and download the service account JSON
- place it in this folder under the name keys/service_account.json
- continue the tutorial from nodejs/py folder