Ospitare il vostro bot piattaforma con il Bot Libre Enterprise Bot Piattaforma
Bot Libre Forum : Create a greeting with data from Google BigQuery

RE: Create a greeting with data from Google BigQuery

da admin postato Jan 20 2017, 20:56

You can access any web service using a Self script.
See,
https://www.botlibre.com/forum-post?id=13020078

For a greeting you can use a "redirect" or "srai" template to redirect to a script.
i.e.
Template("{redirect "call bigquery"}")

Then you have a script like,

state Greeting { pattern "call bigquery" answer callBigQuery(); function callBigQuery() { var json = Http.requestJSON(...); ... }


Id: 15236899
Postato: Jan 20 2017, 20:56
Aggiornato: Jan 20 2017, 20:57
Risposte: 0
Vista: 2008, oggi: 4, settimana: 15, mese: 8
0 0 0.0/5