会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
概要(Dialogflow)
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Actions on Google では、アクションによって Google アシスタントの機能を拡張できます。アクションを使用すると、会話型インターフェースを介して、ユーザーがさまざまな目的を果たすことができます。簡単な指示を出して照明をつけたり、雑学クイズなどで長い会話をしたりできます。
アクションを設計して作成するには、Dialogflow という会話型プラットフォームを使用できます。Dialogflow では、アクションに Actions SDK の機能を含めて、使いやすい IDE、自然言語理解(NLU)、機械学習などといった機能を追加できます。
Google アシスタントを拡張するには、次の手順でアクションを作成します。
会話を設計する
開発を始める前に、会話、つまりアクションのユーザー インターフェースを設計する必要があります。会話は、ユーザーがアクションを呼び出す方法、アクションに有効なユーザーの呼びかけ、アクションがユーザーに応答する方法を記述するものです。
詳細
Actions on Google デベロッパー プロジェクトと Dialogflow エージェントを作成する
Actions Console に移動して、デベロッパー プロジェクトを作成します。プロジェクトを使用して、アクションに関するメタデータを定義し、承認プロセスを通してアクションを管理、追跡できます。プロジェクトを作成したら、すべてのアクションを定義する Dialogflow エージェントを作成します。
詳細
アクションの定義
Dialogflow エージェントでアクションを定義するには、インテントを使用します。インテントとは、アクションの機能へのエントリ ポイントを定義するものです。たとえば、作成するアクションで、品物を購入し、注文の状況をチェックし、1 日の取引を表示できるようにするとします。その場合、次の発話によってトリガーされるインテントを定義できます。
- 「OK Google、靴を買いたいのでお気に入りの靴屋さんにアクセスして」
- 「OK Google、お気に入りの靴屋さんで私の注文を調べて」
- 「OK Google、お気に入りの靴屋さんで今日のお買い得を調べて」
詳細
フルフィルメントを作成してデプロイする
アクションに含まれるアクションが呼び出されると、そのアクションを遂行するためにフルフィルメントが呼び出されて、ユーザーとの会話を開始します。
会話を作成するには、会話の文法(ユーザーが実際にアクションに話しかけることができるもの)を作成するために Dialogflow でインテントを定義します。ユーザーが実際に何かを話しかけてインテントがトリガーされると、フルフィルメントが呼び出され、フルフィルメントによってユーザーにレスポンスが返されます。
このリクエストとレスポンスのやり取りは、タスクを完了するのに十分な情報がフルフィルメントに収集されるまで繰り返されます。
詳細
アクションを提出し、承認を得てからユーザーに公開する

詳細
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-24 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-24 UTC。"],[[["\u003cp\u003eActions on Google lets you build Actions to extend Google Assistant functionality, enabling users to interact through voice commands for tasks or conversations.\u003c/p\u003e\n"],["\u003cp\u003eDialogflow simplifies Action development by providing tools like an IDE, NLU, and machine learning, wrapping the Actions SDK functionality.\u003c/p\u003e\n"],["\u003cp\u003eBuilding an Action involves designing the conversation flow, creating a developer project and Dialogflow agent, defining Actions with intents, and building and deploying fulfillment logic.\u003c/p\u003e\n"],["\u003cp\u003eBefore submitting your Action for approval, it's essential to thoroughly design the user interaction and define how users invoke and interact with your Action.\u003c/p\u003e\n"],["\u003cp\u003eActions are invoked through specific phrases or commands, triggering intents within your Dialogflow agent, which then execute fulfillment logic to handle the user request.\u003c/p\u003e\n"]]],["Actions on Google enhance Google Assistant's capabilities through conversational interfaces. Developers use Dialogflow to build these Actions. The process involves designing the conversation flow and creating a developer project and Dialogflow agent. Define Actions using intents within the Dialogflow agent, which are triggered by user phrases. When triggered, intents call on fulfillment to complete the requested task, creating an interactive conversation until the task is done. Finally, the action is submitted for approval.\n"],null,[]]