DragonFire是基于ubuntu的Linux发行版的开源虚拟助手项目
dragonfire的Python项目详细描述
龙火
基于ubuntu的linux发行版的开源虚拟助手项目
对于您的每个命令,DragonFire将分别执行以下步骤:
- 搜索内置命令并计算代数表达式
- 试着Learn using Advanced NLP and Database Management Techniques
- 请求Omniscient Q&A Engine(感谢所有为这个功能的免费百科全书spaCy项目和Wikipedia做出贡献的人)
- 使用Deep Conversation系统响应,一个由Cornell Movie-Dialogs Corpus 训练的seq2seq神经网络
DragonFire使用Mozilla DeepSpeech来理解您的语音命令,使用Festival Speech Synthesis System来处理文本到语音的任务。
欢迎加入our Gitter chat room。你也可以通过her Twitter account直接与龙火的她交谈。
Android客户端
支持的环境
Operating systems | Linux |
Python versions | Python 3.x (64-bit) |
Distros | KDE neon, elementary OS, Ubuntu |
Package managers | APT, pip |
Languages | English |
System requirements | preferably a CUDA supported GPU, 2GB of free RAM |
安装
下载latest release(文件.deb
)和:
sudo dpkg -i dragonfire_1.0.0_amd64.deb
或者与Docker一起:docker pull dragoncomputer/dragonfire
或者简单地说:sudo ./install.sh
要安装依赖项,请在dpkg -i
命令之后运行sudo apt-get -f install
。安装程序将自动下载Mozilla DeepSpeech(下载大小为1.31 GB)的预训英语模型,并将其放置在/usr/share/dragonfire/deepspeech/models
目录下。如果需要,可以手动download the model。
使用量
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.
或者与Docker一起:docker run dragonfire [-h] [-c] [-s] [-j] [-v] [-g] [--server API_KEY] [-p PORT]
或者直接从linux应用程序启动程序开始。
要激活龙火,请说dragonfire或hey或wake up。
要使她不活动,说去睡觉。
让她安静下来,说够了或者闭嘴。
杀了她就说再见或再见或待会儿见或待会儿见。
:警告:面临问题?看看Troubleshooting:锤子和扳手:部分。
内置命令
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
OPEN (BROWSER | CHROME | FIREFOX)
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 *
学习示例
Dragonfire DEVLOG #4 - Learning
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
全知问答引擎示例
Dragonfire DEVLOG #5 - YodaQA(旧视频-yodaqa被全知取代)
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire ^{ |
深度对话示例
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
You: ^{ | You: ^{ |
Dragonfire: ^{ | Dragonfire: ^{ |
支持的发行版:kde neon、基本操作系统和ubuntu。这些发行版的所有现代版本(Ubuntu12.04LTS及以上版本)都完全受支持。部分支持任何其他基于ubuntu的发行版。
贡献
如果你想为龙火捐款,请阅读this guide。
请考虑支持我们购买咖啡:
我们还有一个集体,您可以捐赠: