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

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.

主站蜘蛛池模板: 南皮县| 民乐县| 三门峡市| 砚山县| 突泉县| 来宾市| 张家口市| 若尔盖县| 麦盖提县| 寿阳县| 徐闻县| 巢湖市| 嵊泗县| 上蔡县| 冀州市| 资溪县| 惠安县| 闽清县| 广汉市| 简阳市| 陇西县| 偃师市| 平乐县| 鄂州市| 太保市| 理塘县| 固始县| 西乡县| 江北区| 长海县| 资兴市| 临桂县| 广德县| 皋兰县| 饶河县| 香格里拉县| 雅安市| 玉田县| 武穴市| 元江| 简阳市|