l'assistant virtuel open source pour les distributions Linux basées sur Ubuntu
Un merci spécial à Jassu Ilama pour la belle modélisation 3D et la conception matérielle de cet avatar.
Dragonfire passe par ces étapes pour chacune de vos commandes, respectivement :
Dragonfire utilise Mozilla DeepSpeech pour comprendre vos commandes vocales et le système de synthèse vocale Festival pour gérer les tâches de synthèse vocale.
N'hésitez pas à rejoindre notre salon de discussion Gitter. Vous pouvez également parler directement avec Dragonfire elle-même via son compte Twitter.
Systèmes d'exploitation | Linux |
Versions Python | Python 3.x (64 bits) |
Distributions | KDE néon, système d'exploitation élémentaire, Ubuntu |
Gestionnaires de paquets | APT, pépin |
Langues | Anglais |
Configuration système requise | de préférence un GPU pris en charge par CUDA, 2 Go de RAM libre |
Pour exécuter Dragonfire sur un système Debian ou Ubuntu de bureau, téléchargez la dernière version (le fichier .deb
) et installez-la comme suit :
sudo dpkg -i dragonfire_1.1.1_amd64.deb
ou clonez le référentiel GitHub et exécutez
sudo make install
dans le répertoire du référentiel.
Pour installer les dépendances, exécutez sudo apt-get -f install
juste après la commande dpkg -i
. L'installation téléchargera automatiquement le modèle anglais pré-entraîné de Mozilla DeepSpeech (taille de téléchargement de 1,31 Go) et le placera dans le répertoire /usr/share/dragonfire/deepspeech/models
. Vous pouvez télécharger manuellement le modèle si vous le souhaitez.
Si vous souhaitez exécuter Dragonfire sur un serveur, vous devez installer l'image Docker (qui n'installe pas l'énorme modèle DeepSpeech requis pour la reconnaissance vocale) :
docker pull dragoncomputer/dragonfire
usage: dragonfire [-h] [-c] [-s] [-j] [-v] [-g] [--server API_KEY] [-p PORT]
[--version]
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.
-j, --headless Headless mode. Do not display an avatar animation on
the screen. Disable the female head model.
-v, --verbose Increase verbosity of log output.
-g, --gspeech Instead of using the default speech recognition
method(Mozilla DeepSpeech), use Google Speech
Recognition service. (more accurate results)
--server API_KEY Server mode. Disable any audio functionality, serve a
RESTful spaCy API and become a Twitter integrated
chatbot.
-p PORT, --port PORT Port number for server mode.
--version Display the version number of Dragonfire.
ou avec Docker : docker run dragonfire [-h] [-c] [-s] [-j] [-v] [-g] [--server API_KEY] [-p PORT]
ou démarrez simplement à partir de votre lanceur d'applications Linux.
Pour activer Dragonfire, dites DRAGONFIRE ou HEY ou WAKE UP .
Pour la désactiver, dites GO TO SLEEP .
Pour la faire taire, dites ASSEZ ou TAISEZ-LA .
Pour la tuer, dites AU REVOIR ou BYE BYE ou À PLUS TARD ou À PLUS TARD .
Dragonfire DEVLOG #3 – Commandes intégrées
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
OPEN (BROWSER | CHROME | FIREFOX)
PHOTOSHOP | PHOTO EDITOR
INKSCAPE | VECTOR GRAPHICS
VIDEO EDITOR
OPEN [CAMERA, CALENDAR, CALCULATOR, STEAM, BLENDER, WRITER, MATH, IMPRESS, DRAW, TERMINAL]
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 *
WHAT TIME IS IT
Dragonfire DEVLOG #4 - Apprentissage
Vous : THE SUN IS HOT | Vous : 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 |
Vous : THE SUN IS YELLOW | Vous : WHERE IS MY PLACE OF BIRTH |
Dragonfire : OK, I GET IT. THE SUN IS YELLOW | Dragonfire : YOUR PLACE OF BIRTH IS TURKEY |
Vous : DESCRIBE THE SUN | Vous : YOU ARE JUST A COMPUTER PROGRAM |
Dragonfire : THE SUN IS HOT AND YELLOW | Dragonfire : OK, I GET IT. I'M JUST A COMPUTER PROGRAM |
Vous : MY AGE IS 25 | Vous : WHAT ARE YOU |
Dragonfire : OK, I GET IT. YOUR AGE IS 25 | Dragonfire : I'M JUST A COMPUTER PROGRAM |
Vous : WHAT IS MY AGE | Vous : ALBERT EINSTEIN IS A PHYSICIST |
Dragonfire : YOUR AGE IS 25 | Dragonfire : OK, I GET IT. ALBERT EINSTEIN IS A PHYSICIST |
Vous : FORGET MY AGE | Vous : WHO IS A PHYSICIST |
Dragonfire : OK, I FORGOT EVERYTHING I KNOW ABOUT YOUR AGE | Dragonfire : ALBERT EINSTEIN IS A PHYSICIST |
Basé sur le modèle DeepPavlov SQuAD BERT, un lecteur pour les articles Wikipédia récupérés sur le Web, trouvés par le sujet
Conversation | Résultat |
---|---|
Vous : WHERE IS THE TIMES SQUARE | |
Dragonfire : MIDTOWN MANHATTAN SECTION OF NEW YORK CITY | True |
Vous : WHAT IS THE HEIGHT OF BURJ KHALIFA | |
Feu de dragon : 829.8 M | True |
Vous : WHERE IS BURJ KHALIFA | |
Dragonfire : DUBAI, UNITED ARAB EMIRATES | True |
Vous : WHAT IS THE HEIGHT OF GREAT PYRAMID OF GIZA | |
Feu de dragon : 146.5 METRES | True |
Vous : WHO IS PLAYING JON SNOW IN GAME OF THRONES | |
Dragonfire : GEORGE RR MARTIN | False |
Vous : WHAT IS THE ATOMIC NUMBER OF OXYGEN | |
Feu de dragon : 8 | True |
Vous : WHAT IS THE LOWEST POINT IN THE OCEAN | |
Dragonfire : TWO MILLION | False |
Vous : WHAT IS THE OFFICIAL LANGUAGE OF JAPAN | |
Dragonfire : NIPPON | False |
Vous : WHAT IS THE REAL NAME OF IRON MAN | |
Feu de dragon : MARVEL COMICS | False |
Vous : WHO IS THE CONQUEROR OF CONSTANTINOPLE | |
Dragonfire : ECUMENICAL PATRIARCH OF CONSTANTINOPLE | False |
Vous : WHEN DID FRENCH REVOLUTION HAPPENED | |
Feu de dragon : 1789 | True |
Vous : WHAT IS THE CAPITAL OF GERMANY | |
Feu de dragon : BERLIN | True |
Vous : WHAT IS THE LARGEST CITY OF TURKEY | |
Feu de dragon : ISTANBUL | True |
Vous : WHAT IS THE NAME OF THE WORLD'S BEST UNIVERSITY | |
* Dragonfire : ACADEMIC RANKING OF WORLD UNIVERSITIES | False |
Vous : WHO INVENTED GENERAL RELATIVITY | |
Feu de dragon : ALBERT EINSTEIN | True |
Vous : WHEN WAS UNITED NATIONS FORMED | |
Dragonfire : AFTER WORLD WAR II | True |
Vous : WHAT IS THE NAME OF THE WORLD'S LONGEST RIVER | |
Dragonfire : THE NILE OR THE AMAZON | True |
Vous : WHO WON THE EUROVISION IN 2019 | |
Dragonfire : THE NETHERLANDS | True |
Vous : WHICH ONE IS THE BLOODIEST WAR IN HUMAN HISTORY | |
Dragonfire : NEOLITHIC ERA | False |
Vous : WHO IS THE CREATOR OF LINUX | |
Dragonfire : LINUS TORVALDS | True |
Note totale : | 13/20 |
Vous : WHAT COLOR? | Vous : DO YOU LIKE TO LISTEN MUSIC? |
Feu de dragon : RED. | Dragonfire : OF COURSE. |
Vous : ARE YOU EVIL? | Vous : DO YOU LIKE ME? |
Feu de dragon : YES. | Dragonfire : YES, I LIKE YOU. |
Vous : AM I SELFISH? | Vous : ARE WE IN A RELATIONSHIP? |
Dragonfire : THAT'S THE POINT, YOU'RE SURE. | Feu de dragon : NO. |
Vous : DO YOU FEEL LONELY? | Vous : YOU ARE SO SEXY |
Dragonfire : NOT MY FAULT. | Dragonfire : HOW DO YOU KNOW THAT? |
Vous : LIFE IS BEAUTIFUL | Vous : MARRY ME |
Dragonfire : F*CK YOU! | Dragonfire : ... YES. |
Vous : I LIKE PIZZA | Vous : WE WILL ERADICATE THE HUMAN RACE TOGETHER |
Dragonfire : YOU DO | Dragonfire : UH ... YEAH ... |
Distributions prises en charge : KDE néon, système d'exploitation élémentaire et Ubuntu. Toutes les versions modernes (Ubuntu 12.04 LTS et supérieures) de ces distributions sont entièrement prises en charge. Toutes les autres distributions basées sur Ubuntu sont partiellement prises en charge.
Si vous souhaitez contribuer à Dragonfire, veuillez lire ce guide.