This repository is an example, developed in classroom, for getting started with Dialogflow.
The repository contains a simple agent to speak about the weather (WeatherAgent.zip
), to be imported in Dialogflow.
Moreover, it contains an example of how to interact with the Dialogflow API (v1) through HTML5 and JavaScript. It uses the HTML5 Web Speech API to providing both speech-to-text and text-to-speech functionality in the browser. It was tested on Chrome 57+ and Safari 10.1+.
The JavaScript code present in the example has been inspired by the gist provided in the Dialogflow documentation.
The example contained in this repository is published at https://reti2vc-2018.github.io/dialogflow-weather/