Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.
/ spree-api-ai-demo Public archive

A demo of using the Web Speech APIs and Api.ai to add a voice interface to the Spree e-commerce appplication

Notifications You must be signed in to change notification settings

voxable/spree-api-ai-demo

Repository files navigation

Api.ai + Web Speech API demonstration

This is a demonstration of using Api.ai and the Web Speech APIs (via the excellent SpeechKITT library) to add a voice interface to a web application. In this case, that application is the Spree e-commerce platform.

Getting started

In order to get this up and running, you'll need an account at Api.ai. Create a new agent, and upload the entities and intents found in app/assets/voice. Then create a .env file and add the following line:

API_AI_CLIENT_ACCESS_TOKEN=

Be sure to add your agent's client access token to the right of the =, obvs.

From there, it should just be the normal Rails app setup rigamarole.

How it was accomplished

Check out the diff between the demo and master branches to see what was done.

About

A demo of using the Web Speech APIs and Api.ai to add a voice interface to the Spree e-commerce appplication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages