對話動作已於 2023 年 6 月 13 日淘汰。詳情請參閱「
對話動作已淘汰」。
主要叫用
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
每個動作專案都有預設的主要叫用,做為 Actions 專案的預設進入點。這個叫用的語言模型與專案的顯示名稱相關聯,因此使用者只需說出類似「Ok Google,與 <顯示名稱> 交談」的詞組,即可使用這個叫用。當使用者以這種方式叫用您的動作時,Google 助理執行階段就會與 actions.intent.MAIN
系統意圖相符。
建立主要叫用
如要建立主要叫用,請按照下列步驟操作:
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eEvery Actions project has a default main invocation that serves as the entry point, triggered by users saying a phrase like \u003cem\u003e"Ok Google, talk to \u003c/em\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis main invocation is linked to the \u003ccode\u003eactions.intent.MAIN\u003c/code\u003e system intent, which is automatically triggered when users invoke your Actions project using its display name.\u003c/p\u003e\n"],["\u003cp\u003eThe language model for the main invocation is directly associated with your project's display name, making it easy for users to initiate the conversation.\u003c/p\u003e\n"]]],[],null,["# Main invocation\n\nEvery Actions project has a default, main invocation that acts as the default entry point into your Actions project. The language model for this invocation is associated with your project's display name, so users just need to say a phrase similar to *\"Ok Google, talk to \\\u003cdisplay name\\\u003e\"* to use this invocation. When users invoke your Actions in this manner, the Assistant runtime matches the `actions.intent.MAIN` system intent.\n\nCreate the main invocation\n--------------------------\n\nActions Builder Actions SDK\n\nTo create the main invocation, follow these steps:"]]