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

Setting user attributes

In addition to the user input cards, there is also another way to save information in context. This can be done by using the set up user attribute card. Using this card, you can set context-specific information at any point during the conversation. Let's take a look at how to do it. To add this card, choose ADD A CARD, click the + icon, and choose the Set Up User Attribute card:

The preceding screenshot shows the user-likes-history variable being set to true when the user asked for historical attractions. This information can later be used to drive the conversation (as used in the Go to Block card) or to provide recommendations. Variables that are already in the context can be reset to new values or no value at all. To clear the value of a variable, use the special NOT SET value from the drop-down menu that appears as soon as you try to fill in a value for the variable. Also, you can set/reset more than one variable in a card.

主站蜘蛛池模板: 卫辉市| 徐州市| 榕江县| 金湖县| 镇巴县| 盘山县| 永吉县| 菏泽市| 龙口市| 石狮市| 双峰县| 修水县| 黑河市| 玉龙| 高密市| 桦川县| 舒城县| 阜南县| 彰化县| 南靖县| 稻城县| 寿宁县| 万全县| 永城市| 肇源县| 平顶山市| 略阳县| 新闻| 汉中市| 东丰县| 临邑县| 隆德县| 弋阳县| 永春县| 信丰县| 甘肃省| 集安市| 贡山| 镶黄旗| 七台河市| 苍山县|