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

Slots

To allow the chatbot to be really useful, it has to be able to gather details about what the user is asking for. If you are wanting to order a pizza, the chatbot needs to know what toppings you want, what style of base you want, and where you want it delivered to. This information is collected and stored in slots.

Slots are designed to only accept certain types of information. If you were trying to find out whether they wanted a large, medium, or small pizza, it wouldn't be very useful if they could enter any random information. Defining the information that can be stored in a certain slot is called creating a slot type.

To make use of the information gathered in the slots, they can be accessed in the next stage of the chatbot logic. This could be as simple as saying "You have ordered a large Hawaiian pizza", where the size and topping are exactly what the user previously ordered.

主站蜘蛛池模板: 略阳县| 贡嘎县| 靖江市| 贵溪市| 达州市| 贡嘎县| 武城县| 蕉岭县| 周口市| 茌平县| 鸡西市| 泽普县| 松阳县| 乌拉特中旗| 锡林浩特市| 桂平市| 通城县| 集安市| 遂宁市| 乌兰浩特市| 石屏县| 张家口市| 和政县| 长兴县| 东方市| 莱州市| 瓮安县| 保德县| 霍山县| 德阳市| 黄龙县| 河西区| 常山县| 民县| 北海市| 马关县| 南宫市| 安化县| 双峰县| 鄂州市| 高唐县|