Skip to content

Example shown during the "Conversational Interfaces" lecture

Notifications You must be signed in to change notification settings

reti2vc-2017/apiai-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

api.ai weather sample

This repository is an example, developed in classroom, for getting started with api.ai.

The repository contains a simple agent to speak about the weather (WeatherAgent.zip), to be imported in api.ai.

Moreover, it contains an example of how to interact with the api.ai API 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.

Screenshot of the example

The JavaScript code present in the example has been inspired by the gist provided in the api.ai documentation.

Try it!

The example contained in this repository is published at https://reti2vc-2017.github.io/apiai-weather/