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

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.

主站蜘蛛池模板: 哈密市| 沽源县| 奎屯市| 醴陵市| 鄢陵县| 宜城市| 会泽县| 津市市| 肥城市| 淮滨县| 阳春市| 博罗县| 商城县| 万荣县| 万源市| 枣庄市| 张家口市| 延吉市| 乌拉特后旗| 明水县| 辉南县| 华亭县| 霍邱县| 兴安县| 砀山县| 乳源| 日喀则市| 台山市| 靖州| 马尔康县| 西盟| 青岛市| 遵义市| 津南区| 克什克腾旗| 昂仁县| 安国市| 金寨县| 松阳县| 友谊县| 苏尼特左旗|