Baixe o código-fonte aberto Bot Libre Community Edition e instale o Bot Livre no seu próprio servidor
Bot Libre Forum : Create a greeting with data from Google BigQuery

RE: Create a greeting with data from Google BigQuery

por admin postado 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
Postado: Jan 20 2017, 20:56
Atualizado: Jan 20 2017, 20:57
Respostas: 0
Pontos de vista: 1416, hoje: 1, semana: 5, mês: 16
0 0 0.0/5