Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 813 Bytes

File metadata and controls

24 lines (17 loc) · 813 Bytes

CoCo webinar

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

Dialogflow and CoCo minimal example

This example uses dialogflow banking prebuilt agent.

To run it -

  1. create a banking prebuilt agent on dialogflow
  2. go to settings and download the service account JSON
  3. place it in this folder under the name keys/service_account.json
  4. continue the tutorial from nodejs/py folder