[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE.md)
[![CLA](https://img.shields.io/badge/CLA%3F-Required-blue.svg)](https://mycroft.ai/cla)
[![Team](https://img.shields.io/badge/Team-Mycroft_Core-violetblue.svg)](https://github.com/MycroftAI/contributors/blob/master/team/Mycroft%20Core.md)
![Status](https://img.shields.io/badge/-Production_ready-green.svg)
![Unit Tests](https://github.com/mycroftai/mycroft-core/workflows/Unit%20Tests/badge.svg)
[![codecov](https://codecov.io/gh/MycroftAI/mycroft-core/branch/dev/graph/badge.svg?token=zQzRlkXxAr)](https://codecov.io/gh/MycroftAI/mycroft-core)
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](http://makeapullrequest.com)
[![Join chat](https://img.shields.io/badge/Mattermost-join_chat-brightgreen.svg)](https://chat.mycroft.ai)
# Mycroft
Mycroft is a hackable open source voice assistant.
## Table of Contents
- [Getting Started](#getting-started)
- [Running Mycroft](#running-mycroft)
- [Using Mycroft](#using-mycroft)
* [*Home* Device and Account Manager](#home-device-and-account-manager)
* [Skills](#skills)
- [Behind the scenes](#behind-the-scenes)
* [Pairing Information](#pairing-information)
* [Configuration](#configuration)
* [Using Mycroft Without Home](#using-mycroft-without-home)
* [API Key Services](#api-key-services)
* [Using Mycroft behind a proxy](#using-mycroft-behind-a-proxy)
+ [Using Mycroft behind a proxy without authentication](#using-mycroft-behind-a-proxy-without-authentication)
+ [Using Mycroft behind an authenticated proxy](#using-mycroft-behind-an-authenticated-proxy)
- [Getting Involved](#getting-involved)
- [Links](#links)
## Getting Started
First, get the code on your system! The simplest method is via git ([git installation instructions](https://gist.github.com/derhuerst/1b15ff4652a867391f03)):
- `cd ~/`
- `git clone https://github.com/MycroftAI/mycroft-core.git`
- `cd mycroft-core`
- `bash dev_setup.sh`
This script sets up dependencies and a [virtualenv][about-virtualenv]. If running in an environment besides Ubuntu/Debian, Arch or Fedora you may need to manually install packages as instructed by dev_setup.sh.
[about-virtualenv]:https://virtualenv.pypa.io/en/stable/
NOTE: The default branch for this repository is 'dev', which should be considered a work-in-progress. If you want to clone a more stable version, switch over to the 'master' branch.
## Running Mycroft
Mycroft provides `start-mycroft.sh` to perform common tasks. This script uses a virtualenv created by `dev_setup.sh`. Assuming you installed mycroft-core in your home directory run:
- `cd ~/mycroft-core`
- `./start-mycroft.sh debug`
The "debug" command will start the background services (microphone listener, skill, messagebus, and audio subsystems) as well as bringing up a text-based Command Line Interface (CLI) you can use to interact with Mycroft and see the contents of the various logs. Alternatively you can run `./start-mycroft.sh all` to begin the services without the command line interface. Later you can bring up the CLI using `./start-mycroft.sh cli`.
The background services can be stopped as a group with:
- `./stop-mycroft.sh`
## Using Mycroft
### *Home* Device and Account Manager
Mycroft AI, Inc. maintains a device and account management system known as Mycroft Home. Developers may sign up at: https://home.mycroft.ai
By default, mycroft-core is configured to use Home. By saying "Hey Mycroft, pair my device" (or any other request verbal request) you will be informed that your device needs to be paired. Mycroft will speak a 6-digit code which you can enter into the pairing page within the [Mycroft Home site](https://home.mycroft.ai).
Once paired, your unit will use Mycroft API keys for services such as Speech-to-Text (STT), weather and various other skills.
### Skills
Mycroft is nothing without skills. There are a handful of default skills that are downloaded automatically to your `/opt/mycroft/skills` directory, but most need to be installed explicitly. See the [Skill Repo](https://github.com/MycroftAI/mycroft-skills#welcome) to discover skills made by others. Please share your own interesting work!
## Behind the scenes
### Pairing Information
Pairing information generated by registering with Home is stored in:
`~/.config/mycroft/identity/identity2.json` <b><-- DO NOT SHARE THIS WITH OTHERS!</b>
### Configuration
Mycroft's configuration consists of 4 possible locations:
- `mycroft-core/mycroft/configuration/mycroft.conf`(Defaults)
- [Mycroft Home](https://home.mycroft.ai) (Remote)
- `/etc/mycroft/mycroft.conf` (Machine)
- `$XDG_CONFIG_DIR/mycroft/mycroft.conf` (which is by default `$HOME/.config/mycroft/mycroft.conf`) (USER)
When the configuration loader starts, it looks in these locations in this order, and loads ALL configurations. Keys that exist in multiple configuration files will be overridden by the last file to contain the value. This process results in a minimal amount being written for a specific device and user, without modifying default distribution files.
### Using Mycroft Without Home
If you do not wish to use the Mycroft Home service, before starting Mycroft for the first time, create `$HOME/.config/mycroft/mycroft.conf` with the following contents:
```
{
"skills": {
"blacklisted_skills": [
"mycroft-configuration.mycroftai",
"mycroft-pairing.mycroftai"
]
}
}
```
### API Key Services
The Mycroft backend provides access to a range of API keys for specific services. Without pairing with the Mycroft backend, you will need to add your own API keys, install a different Skill or Plugin to perform that function, or not have access to that functionality.
These are the keys currently used in Mycroft Core through the Mycroft backend:
- [STT API, Google STT, Google Cloud Speech](http://www.chromium.org/developers/how-tos/api-keys)
- [A range of STT services](https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/customizations/stt-engine) are available for use with Mycroft.
- [Weather Skill API, OpenWeatherMap](http://openweathermap.org/api)
- [Wolfram-Alpha Skill](http://products.wolframalpha.com/api/)
### Using Mycroft behind a proxy
Many schools, universities and workplaces run a `proxy` on their network. If you need to type in a username and password to access the external internet, then you are likely behind a `proxy`.
If you plan to use Mycroft behind a proxy, then you will need to do an additional configuration step.
_NOTE: In order to complete this step, you will need to know the `hostname` and `port` for the proxy server. Your network administrator will be able to provide these details. Your network administrator may want information on what type of traffic Mycroft will be using. We use `https` traffic on port `443`, primarily for accessing ReST-based APIs._
#### Using Mycroft behind a proxy without authentication
If you are using Mycroft behind a proxy without authentication, add the following environment variables, changing the `proxy_hostname.com` and `proxy_port` for the values for your network. These commands are executed from the Linux command line interface (CLI).
```bash
$ export http_proxy=http://proxy_hostname.com:proxy_port
$ export https_port=http://proxy_hostname.com:proxy_port
$ export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,0.0.0.0,::1"
```
#### Using Mycroft behind an authenticated proxy
If you are behind a proxy which requires authentication, add the following environment variables, changing the `proxy_hostname.com` and `proxy_port` for the values for your network. These commands are executed from the Linux command line interface (CLI).
```bash
$ export http_proxy=http://user:password@proxy_hostname.com:proxy_port
$ export https_port=http://user:password@proxy_hostname.com:proxy_port
$ export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com,0.0.0.0,::1"
```
## Getting Involved
This is an open sourc
没有合适的资源?快使用搜索试试~ 我知道了~
基于Mycroft人工智能框架的开源语音助手软件
共881个文件
dialog:315个
py:229个
word:127个
需积分: 0 0 下载量 98 浏览量
2024-05-07
14:32:23
上传
评论 1
收藏 9.5MB ZIP 举报
温馨提示
这是一个基于Mycroft人工智能框架的开源语音助手软件。特点是具有强大的语音识别和理解能力
资源推荐
资源详情
资源评论
收起资源包目录
基于Mycroft人工智能框架的开源语音助手软件 (881个子文件)
mycroft.conf 11KB
mycroft.conf 104B
backend.down.dialog 826B
backend.down.dialog 711B
not connected to the internet.dialog 662B
backend.down.dialog 521B
backend.down.dialog 515B
backend.down.dialog 486B
not connected to the internet.dialog 458B
not connected to the internet.dialog 452B
backend.down.dialog 452B
backend.down.dialog 444B
backend.down.dialog 443B
backend.down.dialog 441B
backend.down.dialog 438B
not connected to the internet.dialog 411B
not connected to the internet.dialog 403B
mycroft.intro.dialog 394B
not connected to the internet.dialog 386B
not connected to the internet.dialog 384B
mycroft.intro.dialog 372B
not connected to the internet.dialog 331B
not connected to the internet.dialog 275B
backend.down.dialog 269B
not connected to the internet.dialog 268B
i didn't catch that.dialog 257B
learning enabled.dialog 250B
mycroft.intro.dialog 247B
mycroft.intro.dialog 247B
backend.down.dialog 241B
learning enabled.dialog 238B
mycroft.intro.dialog 231B
not connected to the internet.dialog 230B
mycroft.intro.dialog 230B
mycroft.intro.dialog 227B
mycroft.intro.dialog 227B
not connected to the internet.dialog 225B
backend.down.dialog 220B
mycroft.intro.dialog 217B
mycroft.intro.dialog 213B
mycroft.intro.dialog 208B
mycroft.intro.dialog 206B
mycroft.intro.dialog 205B
mycroft.intro.dialog 197B
mycroft.intro.dialog 196B
mycroft.intro.dialog 187B
learning enabled.dialog 183B
mycroft.intro.dialog 180B
not connected to the internet.dialog 180B
learning enabled.dialog 178B
learning enabled.dialog 175B
learning enabled.dialog 173B
learning enabled.dialog 172B
learning enabled.dialog 171B
learning enabled.dialog 171B
not connected to the internet.dialog 171B
not connected to the internet.dialog 171B
i didn't catch that.dialog 163B
not connected to the internet.dialog 158B
not connected to the internet.dialog 158B
i didn't catch that.dialog 157B
learning enabled.dialog 157B
learning enabled.dialog 156B
learning enabled.dialog 152B
i didn't catch that.dialog 150B
learning enabled.dialog 150B
time.changed.reboot.dialog 149B
learning enabled.dialog 147B
time.changed.reboot.dialog 141B
i didn't catch that.dialog 141B
i didn't catch that.dialog 139B
learning enabled.dialog 138B
sorry I couldn't install default skills.dialog 134B
backend.down.dialog 132B
learning enabled.dialog 132B
skills updated.dialog 129B
i didn't catch that.dialog 123B
i didn't catch that.dialog 122B
i didn't catch that.dialog 122B
sorry I couldn't install default skills.dialog 120B
i didn't catch that.dialog 119B
i didn't catch that.dialog 119B
i didn't catch that.dialog 117B
i didn't catch that.dialog 117B
i didn't catch that.dialog 114B
learning disabled.dialog 113B
checking for updates.dialog 111B
time.changed.reboot.dialog 111B
skills updated.dialog 109B
checking for updates.dialog 107B
i didn't catch that.dialog 106B
i didn't catch that.dialog 104B
skills updated.dialog 103B
time.changed.reboot.dialog 100B
time.changed.reboot.dialog 100B
example-context.dialog 96B
example-multiple-context.dialog 94B
skill.error.dialog 93B
skills updated.dialog 93B
time.changed.reboot.dialog 93B
共 881 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
猿来如此yyy
- 粉丝: 1654
- 资源: 151
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- fdsfdsfdsfdsfdsfdsfdsfds
- 目标检测-零售食品LOGO检测数据集-5000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 目标检测-零售食品LOGO检测数据集-1000张图-+对应VOC-COCO-YOLO三种格式标签+数据集划分脚本
- 计算机科学选修课:人工智能导论 第四节 PPT
- 计算机科学选修课:人工智能导论 第三节 PPT
- Delphi 12 控件之LMD.VCL.Full.Version.zip
- 常用阀门定位器的调试步骤及说明
- 计算机科学选修课:人工智能导论 第二节 PPT
- 计算机科学选修课:人工智能导论 第一章 PPT
- Delphi 12 控件Indy-Indy-10.6.3.3.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功