我一直在尝试着为您的Google Home构建第一个操作的教程:
https://medium.com/google-cloud/building-your-first-action-for-google-home-in-30-minutes-ec6c65b7bd32
我能够将应用程序部署到Google云端,但是一旦尝试部署action.json测试文件,我就会收到一条错误消息,内容为:“暂无帮助主题”。
./gactions preview --action_package action.json --invocation_name "three doors" --preview_mins 1234
No help topic for 'preview'
我遵循了以下建议:
https://stackoverflow.com/questions/46591266/golang-runtime-panic-when-using-gaction-on-linux-to-update-google-home-assistant
但是更新gaction也不起作用,因为没有新的更新。
我正在运行ubuntu-18.04.2 Linux 4.18.0-15(通用x86_64)
{
"versionLabel": "1.0",
"agentInfo": {
"languageCode": "en-US",
"projectId": "three-doors-3124",
"voiceName": "male_1"
},
"actions": [
{
"description": "Launch intent",
"initialTrigger": {
"intent": "assistant.intent.action.MAIN"
},
"httpExecution": {
"url": "https://us-central1-three-doors-3124.cloudfunctions.net/three_doors"
}
}
],
"locale": "en"
}
我不确定如何解决此问题,因此将不胜感激。
谢谢