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

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.

主站蜘蛛池模板: 宜春市| 长宁县| 金山区| 柳州市| 镇赉县| 平武县| 芜湖县| 岳阳县| 全州县| 宁海县| 金坛市| 犍为县| 渭南市| 呼和浩特市| 南阳市| 安远县| 永丰县| 离岛区| 古蔺县| 嘉义县| 个旧市| 宽甸| 昭苏县| 大兴区| 武宁县| 潮安县| 定陶县| 深泽县| 苍南县| 虞城县| 宝丰县| 桐庐县| 广州市| 页游| 介休市| 措美县| 桂林市| 皮山县| 内丘县| 泸水县| 天津市|