Code Monkey home page Code Monkey logo

dragonfire's Introduction

Dragonfire

Dragonfire is an open source virtual assistant project for Ubuntu based Linux distributions.

Dragonfire

Special thanks to Jassu Ilama for the beautiful 3D modelling and material design of this avatar.


Dragonfire goes through these steps for each one of your commands, respectively:


Dragonfire uses Kaldi Speech Recognition Toolkit to understand your voice commands and Festival Speech Synthesis System to handle text-to-speech tasks.

Feel free to join our Gitter chat room.

Supported Environments

Operating systems Linux
Python versions CPython 2.7, 3.6 (64-bit)
Distros KDE neon, elementary OS, Ubuntu
Package managers APT, pip
Languages English
System requirements Minimally 1 Core, 2GB free RAM

Installation

Download the latest release (the .deb file) and:

sudo dpkg -i dragonfire_0.9.7_amd64.deb

To install the dependencies run sudo apt-get -f install right after the dpkg -i command. The installation will take roughly 20-30 minutes because it will compile and install Kaldi under /usr/share/kaldi directory.

Usage

usage: dragonfire [-h] [-c] [-s] [--headless]

optional arguments:
  -h, --help    show this help message and exit
  -c, --cli     Command-line interface mode. Give commands to Dragonfire via
                command-line inputs (keyboard) instead of audio inputs
                (microphone).
  -s, --silent  Silent mode. Disable Text-to-Speech output. Dragonfire won't
                generate any audio output.
  --headless    Headless mode. Do not display an avatar animation on the
                screen. Disable the female head model.

To activate Dragonfire say DRAGONFIRE or HEY or WAKE UP.

To deactivate her say GO TO SLEEP.

To silence her say ENOUGH or SHUT UP.

To kill her say GOODBYE or BYE BYE or SEE YOU LATER or CATCH YOU LATER.


โš ๏ธ Facing with a problem? Take a look at the Troubleshooting๐Ÿ› ๏ธ section.


Built-in Commands

Dragonfire DEVLOG #3 - Built-in Commands

DRAGONFIRE | WAKE UP | HEY
GO TO SLEEP
ENOUGH | SHUT UP
WHO AM I | SAY MY NAME
MY TITLE IS LADY | I'M A LADY | I'M A WOMAN | I'M A GIRL
MY TITLE IS SIR | I'M A MAN | I'M A BOY | CALL ME *
WHAT IS YOUR NAME
WHAT IS YOUR GENDER
FILE MANAGER | OPEN FILES
WEB BROWSER
PHOTOSHOP | PHOTO EDITOR
INKSCAPE | VECTOR GRAPHICS
VIDEO EDITOR
OPEN [CAMERA, CALENDAR, CALCULATOR, STEAM, BLENDER, WRITER, MATH, IMPRESS, DRAW]
SOFTWARE CENTER
OFFICE SUITE
KEYBOARD *
ENTER | NEW TAB | SWITCH TAB | CLOSE | GO BACK | GO FORWARD
SCROLL LEFT | SCROLL RIGHT | SCROLL UP | SCROLL DOWN
PLAY | PAUSE | SPACEBAR
SHUT DOWN THE COMPUTER
GOODBYE | BYE BYE | SEE YOU LATER
(SEARCH|FIND) * (IN|ON|AT|USING) WIKIPEDIA
(SEARCH|FIND) * (IN|ON|AT|USING) YOUTUBE
(SEARCH|FIND) * (IN|ON|AT|USING) (GOOGLE|WEB)
(SEARCH IMAGES OF|FIND IMAGES OF|SEARCH|FIND) * (IN|ON|AT|USING) (GOOGLE|WEB|GOOGLE IMAGES|WEB IMAGES)
WHAT'S THE TEMPERATURE IN *

Learning examples

Dragonfire DEVLOG #4 - Learning

You: THE SUN IS HOT You: MY PLACE OF BIRTH IS TURKEY
Dragonfire: OK, I GET IT. THE SUN IS HOT Dragonfire: OK, I GET IT. YOUR PLACE OF BIRTH IS TURKEY
You: THE SUN IS YELLOW You: WHERE IS MY PLACE OF BIRTH
Dragonfire: OK, I GET IT. THE SUN IS YELLOW Dragonfire: YOUR PLACE OF BIRTH IS TURKEY
You: DESCRIBE THE SUN You: YOU ARE JUST A COMPUTER PROGRAM
Dragonfire: THE SUN IS HOT AND YELLOW Dragonfire: OK, I GET IT. I'M JUST A COMPUTER PROGRAM
You: MY AGE IS 25 You: WHAT ARE YOU
Dragonfire: OK, I GET IT. YOUR AGE IS 25 Dragonfire: I'M JUST A COMPUTER PROGRAM
You: WHAT IS MY AGE You: ALBERT EINSTEIN IS A PHYSICIST
Dragonfire: YOUR AGE IS 25 Dragonfire: OK, I GET IT. ALBERT EINSTEIN IS A PHYSICIST
You: FORGET MY AGE You: WHO IS A PHYSICIST
Dragonfire: OK, I FORGOT EVERYTHING I KNOW ABOUT YOUR AGE Dragonfire: ALBERT EINSTEIN IS A PHYSICIST

Omniscient Q&A Engine examples

Dragonfire DEVLOG #5 - YodaQA (Old video - YodaQA is superseded by Omniscient)

You: WHERE IS THE TIMES SQUARE You: WHEN WAS CONSTANTINOPLE CONQUERED
Dragonfire: PLEASE WAIT... NEW YORK CITY โœ… Dragonfire: PLEASE WAIT... 1453 โœ…
You: WHAT IS THE HEIGHT OF BURJ KHALIFA You: WHAT IS THE CAPITAL OF TURKEY
Dragonfire: PLEASE WAIT... 1,680 FT โ›” Dragonfire: PLEASE WAIT... ISTANBUL โ›”
You: WHERE IS BURJ KHALIFA You: WHAT IS THE LARGEST CITY OF TURKEY
Dragonfire: PLEASE WAIT... DUBAI โœ… Dragonfire: PLEASE WAIT... ISTANBUL โœ…
You: WHAT IS THE HEIGHT OF GREAT PYRAMID OF GIZA You: WHAT IS THE NAME OF THE WORLD'S BEST UNIVERSITY
Dragonfire: PLEASE WAIT... (481 FEET โœ… Dragonfire: PLEASE WAIT... UNIVERSITIES ALUMNI ASSOCIATION โ›”
You: WHO IS PLAYING JON SNOW IN GAME OF THRONES You: WHO INVENTED GENERAL RELATIVITY
Dragonfire: PLEASE WAIT... NED โ›” Dragonfire: PLEASE WAIT... EINSTEIN โœ…
You: WHAT IS THE ATOMIC NUMBER OF OXYGEN You: WHEN WAS UNITED NATIONS FORMED
Dragonfire: PLEASE WAIT... 8 โœ… Dragonfire: PLEASE WAIT... 2017 โ›”
You: WHAT IS THE LOWEST POINT IN THE OCEAN You: WHAT IS THE NAME OF THE WORLD'S LONGEST RIVER
Dragonfire: PLEASE WAIT... EARTH โ›” Dragonfire: PLEASE WAIT... AMAZON โœ…
You: WHAT IS THE OFFICIAL LANGUAGE OF JAPAN You: WHAT IS THE BRAND OF THE WORLD'S MOST EXPENSIVE CAR
Dragonfire: PLEASE WAIT... ENGLISH โ›” Dragonfire: PLEASE WAIT... MERCEDES-BENZ โ›”
You: WHAT IS THE REAL NAME OF IRON MAN You: WHAT IS THE BLOODIEST WAR IN HUMAN HISTORY
Dragonfire: PLEASE WAIT... STARK โœ… Dragonfire: PLEASE WAIT... WORLD WAR II โœ…
You: WHO IS THE CONQUEROR OF CONSTANTINOPLE You: WHAT IS THE NAME OF THE BEST SELLER BOOK
Dragonfire: PLEASE WAIT... BYZANTIUM โ›” Dragonfire PLEASE WAIT... THE DISCIPLINE OF MARKET LEADERS โ›”

Supported Distributions: KDE neon, elementary OS and Ubuntu. All modern releases (Ubuntu 12.04 LTS and above) of these distributions are fully supported. Any other Ubuntu based distributions are partially supported.

Contribute

If you want to contribute to Dragonfire then please read this guide.

Please consider to support us on Patreon:

Become a patron

dragonfire's People

Contributors

alexpantyukhin avatar ismlkrkmz avatar jklmnn avatar mertyildiran avatar nergdron avatar prophetdaniel avatar valentinchcloud avatar

Watchers

 avatar  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.