Giter Club home page Giter Club logo

voice-assistant's Introduction

Voice Assistant

In this repository I show two ways of develop an interactive voice assitant or in other words a chat bot.

1. DialogFlow

One easy way to build an interactive voice assistant is to use visual platforms such as DialogFlow. The advantage of using these platforms lies in its simplicity to fast prototyping from dialog construction to deployment to several other platforms. Furthermore, connecting to your own web service to take more control over the interaction is as easy as to paste the url endpoint in Fullfilment section and that's it.

First create intents in Intents section as show in the following picture: alt text

Then in Fullfilment section add the webservice endpoint: alt text

And this call our own webservice dialogflow_assistant.py

2. From scratch

In some cases we need the interaction goes only one way without user voice feedback i.e. when an assistant wants to remind you things based on user's actions captuerd by a camera or another iot sensor.

Here we build an assistant that challenges a person when is in front of a camera and recognizes him/her. The camera is connected to a facial recognition and emotion detection. The challenge is about to ask the person about several facial expression (emotion) and when is detected by the model, the assistant rewards the person.

alt text

In order to achive this, we first build the logic of the person when is in front of the camera, all details are here interactive_client.py

And to start the interaction we connect to a web service, see details here Interactive_assistant.py

voice-assistant's People

Contributors

jwilliamn avatar

Stargazers

Joel John Regalado Morales avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.