Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Każdy projekt w Actions ma domyślne, główne wywołanie, które jest domyślnym punktem wejścia do projektu Actions. Model językowy tego wywołania jest powiązany z wyświetlaną nazwą projektu, dlatego użytkownicy muszą powiedzieć wyrażenie podobne do „OK Google, porozmawiaj z <wyświetlana nazwa>”, aby użyć tego wywołania. Gdy użytkownicy wywołują Twoje akcje w ten sposób, środowisko wykonawcze Asystenta odpowiada intencji systemowej actions.intent.MAIN.
Tworzenie głównego wywołania
Aby utworzyć główne wywołanie, wykonaj te czynności:
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\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:"]]