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

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.

主站蜘蛛池模板: 巨鹿县| 贵港市| 长沙县| 新乐市| 尼玛县| 镇平县| 乌拉特后旗| 泉州市| 北宁市| 辛集市| 襄城县| 简阳市| 闸北区| 阳山县| 布尔津县| 新蔡县| 南部县| 镇康县| 十堰市| 蒲江县| 伊金霍洛旗| 元阳县| 阳城县| 浑源县| 平顺县| 广河县| 邮箱| 永清县| 灵山县| 汝州市| 鞍山市| 昌吉市| 襄垣县| 黔南| 象山县| 揭东县| 克拉玛依市| 紫阳县| 农安县| 永平县| 疏附县|