Alexa との対話型統合 のインストール

  • リリースバージョン: Zurich
  • 更新日 2025年07月31日
  • 所要時間:4分
  • アドミンロールをお持ちであれば、Alexa との対話型統合 アプリケーション (sn.va.alexa) をインストールできます。このアプリケーションは、関連する ServiceNow® Store アプリケーションとプラグインをインストールします (まだインストールされていない場合)。

    始める前に

    このタスクについて

    次のアプリケーションが Alexa との対話型統合 とともにインストールされます。
    会話型カスタムチャット統合 (com.glide.cs.custom.adapter)
    会話型インターフェイスで 仮想エージェント アプリケーションを有効にするためのカスタムチャット統合フレームワークとスクリプト可能な API を提供します。

    詳細については、「での会話型カスタムチャット統合の作成 仮想エージェント」を参照してください。

    ServiceNow 統合ハブランタイム (com.glide.hub.integration.runtime)
    ServiceNow® 統合ハブ のアクションとフローの実行を有効にします。

    手順

    1. すべて > システムアプリケーション > 利用可能なすべてのアプリケーション > すべて
    2. フィルター基準と検索バーを使用して、Alexa との対話型統合 アプリケーション (sn_va_alexa) を検索します。

      名前または ID でアプリケーションを検索できます。アプリケーションが見つからない場合は、ServiceNow Store へのリクエストが必要になることがあります。

      ServiceNow Store Web サイトにアクセスして利用可能なすべてのアプリを表示し、ストアにリクエストを送信する方法について確認してください。リリースされたすべてのアプリのリリースノート情報については、「ServiceNow Storeバージョン履歴のリリースノート」を参照してください。

    3. アプリケーションのインストールダイアログボックスで、アプリケーションの依存関係を確認します。

      依存するプラグインとアプリケーションは、インストールされる予定である場合、現在インストールされている場合、またはインストールする必要がある場合、リストに表示されます。インストールする必要があるプラグインまたはアプリケーションがある場合は、Alexa との対話型統合 をインストールする前にインストールする必要があります。

    4. [インストール] をクリックします。

    次のタスク

    Alexa を設定するための JSON

    {
        "interactionModel": {
            "languageModel": {
                "invocationName": "my agent",
                "intents": [
                    {
                        "name": "AMAZON.CancelIntent",
                        "samples": []
                    },
                    {
                        "name": "AMAZON.HelpIntent",
                        "samples": []
                    },
                    {
                        "name": "AMAZON.StopIntent",
                        "samples": []
                    },
                    {
                        "name": "EverythingIntent",
                        "slots": [
                            {
                                "name": "EverythingSlot",
                                "type": "Bag_of_words"
                            }
                        ],
                        "samples": [
                            "{EverythingSlot}"
                        ]
                    },
                    {
                        "name": "AMAZON.NavigateHomeIntent",
                        "samples": []
                    },
                    {
                        "name": "VAKeywordIntent",
                        "slots": [
                            {
                                "name": "skip_keyword_slot",
                                "type": "Skip_slot_type"
                            },
                            {
                                "name": "repeat_keyword_slot",
                                "type": "Repeat_keyword_slot_type"
                            },
                            {
                                "name": "more_keyword_slot",
                                "type": "More_keyword_slot_type"
                            }
                        ],
                        "samples": [
                            "{more_keyword_slot}",
                            "{repeat_keyword_slot}",
                            "{skip_keyword_slot}"
                        ]
                    }
                ],
                "types": [
                    {
                        "name": "Bag_of_words",
                        "values": [
                            {
                                "name": {
                                    "value": "name: bag_of_words"
                                }
                            }
                        ]
                    },
                    {
                        "name": "Skip_slot_type",
                        "values": [
                            {
                                "name": {
                                    "value": "skip"
                                }
                            }
                        ]
                    },
                    {
                        "name": "More_keyword_slot_type",
                        "values": [
                            {
                                "name": {
                                    "value": "more"
                                }
                            }
                        ]
                    },
                    {
                        "name": "Repeat_keyword_slot_type",
                        "values": [
                            {
                                "name": {
                                    "value": "repeat"
                                }
                            }
                        ]
                    }
                ]
            }
        }
    }