syntithenai / opensnips

Open source projects related to Snips https://snips.ai/.
53 stars 21 forks source link
asr audio-server dialog docker hark hotwords kaldi nlu porcupine rasa snips snips-skills snowboy speech speechrecognition

OpenSnips

This repository is DEPRECATED.

For a working full featured voice dialog manager suite see https://github.com/syntithenai/hermod

Overview

This project is home to a number of open source projects related to the Snips voice platform.

Quickstart

Install docker

curl -fsSL https://get.docker.com -o get-docker.sh
$ sudo sh get-docker.sh
apt-get install docker-compose

Run the example

git clone https://github.com/syntithenai/opensnips.git
docker-compose up &

Open http://localhost:3000/ in your browser to see the microphone demo.

The opensnips repository includes a snips assistant for meekahome that supports the example AppServer intents.

"what is the time"
"what is the date"
"search for <search_topic>"

Web Browser Audioserver

More info

PulseAudio

If you are developing on Linux it is useful to have multiple access to the sound card by using pulse audio.

The docker compose file shows a container can use pulseaudio on the Linux host.

To enable

The snips image is built with alsa and pulse config compatible with the environment variables from the docker-compose file.

!! If you have a (playstation eye) microphone plugged into a always on usb power port, it may not reset on reboot and end up jammed. Switch usb ports (and reboot) to fix.

Pulseaudio Links