2017-04-08 57 views
0

無法讓我的操作在預覽中工作。預覽不適用於Google,網絡和設備上的操作

上gcloud我跑在安裝應用程序後....

./gactions preview -action_package=agent.json -invocation_name="my action" 

...和我...

推動測試動作 '我的行動' ... '我的行動'現已提供給您,直到2017-04-08 9:32 CDT(從現在起29分鐘) 嘗試'gactions simulate',然後'與我的行動對話',或者使用Web模擬器https://g.co/actionswebsim

然後我跑了......

./gactions simulate 

..和我...

用戶TTS(CTRL-C停止):

比從我得到的設備...

對不起,我不知道如何去幫助與...

並從Web模擬器我....

{ 
    "response": "Sorry, this action is not available in simulation", 
    "audioResponse": "//NExAASq..."content_copy, 
    "debugInfo": { 
     "sharedDebugInfo": [ 
      { 
       "name": "GOOGLE_SYSTEM_ACTION", 
       "debugInfo": "Your query is handled by Google’s system actions" 
      } 
     ] 
    } 
} 

任何想法?

謝謝, 唐

回答

0

爲了模擬器來調用你的意圖,你有「在your invocation namedeep link phrase」與「跟your invocation name」或開始

更多細節在這裏: https://developers.google.com/actions/distribute/invocation-and-discovery

+0

是的,我嘗試了所有建議的激活詞,但沒有運氣。我想知道動作SDK是否仍然受支持。預覽可通過API.AI正常工作。 –

+0

它在錯誤中聲明您的查詢正在使用系統操作。在說出你的調用詞後你會得到什麼迴應? – Leo

+0

對不起,此操作在模擬中不可用 –

0

它適用於我。 只需輸入以下'與我的測試應用程序對話'