官术网_书友最值得收藏!

About action

Action in Dialogflow is a rather simple concept. In the previous section, you created an intent using the template who is the first president?. Action in the FaqChatbot agent is responsible for extracting parameters such as @president-number and @sys.geo-country from the intent. Typically, you do not have to define the name of the action, as Dialogflow will automatically add the action name, but you can also give the action name manually, president_number, as shown:

The following screenshot shows the action:

Action

In the next section, you will learn how to create a context using an action. Using context, the action can extract values, not only from the current intent, but also from external intents, allowing current intents to access parameters from other intents.

主站蜘蛛池模板: 东台市| 彰化市| 衡东县| 全州县| 临邑县| 花垣县| 新昌县| 买车| 西平县| 弋阳县| 石柱| 莲花县| 静海县| 西昌市| 青河县| 铁岭县| 汉川市| 佛学| 慈溪市| 芜湖市| 东源县| 红原县| 静海县| 太仆寺旗| 唐河县| 津市市| 通州区| 运城市| 阿尔山市| 翼城县| 随州市| 邹城市| 申扎县| 黔西| 南漳县| 怀远县| 朔州市| 太和县| 兰溪市| 温宿县| 嘉禾县|