Code Monkey home page Code Monkey logo

mercedes-benz-connected-vehicle-chatbot's Introduction

Mercedes-Benz Connected Vehicle Chatbot

A Houndify based chatbot which supports self defined Mercedes-Benz usecases using the Connected Vehicle API.

How to start the Application

Run python client_main.py, the file is located in the top level directory.

Usage

The application should be self explanatory:

  • one can chat by typing into the textbox at the bottom
  • one can speek to the system after clicking on the buttom with the microphone symbol
  • (TTS is not supported yet)

Dependencies

  • The application uses pyaudio which is based on portAudio (needs to be installed on the OS).
  • QT5 should be installed such that it can be used by the PyQt5 python package
  • for the other dependencies it should be sufficient to pip install requirements.txt

Usecases

Mercedes-Benz specific usecases exploit the Connected Vehicle API, therefore the following car domains are supported:

  • information about tires, doors, location, odometer, fuel, state of charge
  • command to (UN)LOCK doors

The information requests are specified as generic as possible on Houndify, therefore a sentence like

  • "What is the status of my < car-domain >"
  • "Could you given me information about my < car-domain >"
  • "How are/is my < car-domain >"

should work for tires, doors, fuel, etc.

For locking the doors try:

  • "please tell Mercedes to lock my car"

Implementation approach

From a technical perspective five steps had to be done:

  • employing the Houndify SDK/API (TextClient & AudioClient)
  • defining custom Mercedes-Benz Connected Car usecases on Houndify
  • building a python wrapper for the Mercedes-Benz Connected Car REST API and define how to present the vehicle specific usecases to the user
  • building the GUI with QT5 (QT5 Designer for the basic static layout and PyQt5 to add chat bubbles dynamically at runtime)
  • and of course putting everything together (includes debugging, logging, getting crazy here and there ;) )

mercedes-benz-connected-vehicle-chatbot's People

Contributors

joapfel avatar

Watchers

 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.