Magenta Voice Platform interoperability enabler.
The skill connects Mycroft speaker to Magenta Voice Platform.
As Magenta Voice Platform supports German language only, the skill auto-translates user queries from English to German, and Platform answers - from German back to English.
To ask a single question: "Hey Mycroft, ask Magenta ", e.g: "Hey Mycroft, ask Magenta the weather in London"
To activate Magenta: "Hey Mycroft, launch Magenta". After the launch, all user queries will be sent to Magenta Platform.
To stop Magenta: "Hey Mycroft, terminate Magenta".
Skill requires the following environment variables to operate:
- ENVIRONMENT: Magenta Voice target environment
- TENANT: Magenta Voice tenant
- API_KEY: API key to connect to the tenant
- BASE_URL: base URL of the Magenta Voice Platform API
- USER_API: URL path to user management API
- INVOKE_TEXT: URL path to send text API
- TESTING_SECRET: API token encoding secret
Here is the configuration to run STT/TTS in German:
STT: Mozilla DeepSpeech with a model from Aashish Agarwal TTS: Google Speech services
{
"lang": "de-de",
"max_allowed_core_version": 21.2,
"stt": {
"deepspeech_server": {
"uri": "http://localhost:8080/stt"
},
"module": "deepspeech_server"
},
"tts": {
"module": "google",
"google": {
"lang": "de"
}
}
}
Reference: https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/customizations/languages/german
-
Deborah Dahl
Information