The slot in hockey is the area between the face-off circles of the offensive zone. There are two types of slots in hockey: the low slot is right in front of the goaltender and between the face-off circles and the high slot is in the middle of the ice above both circles. In this article, we’ll look at the low slot. You can add slots to your utterance using regular expressions and custom slot types. Adding slots to your utterance is easy.
Adding slots to an utterance
Adding slots to an utterance is a cognitive technique that allows a bot to map a particular utterance to one or more specific entities. Slots can be custom or predefined, but they must have at least one value. The hotel room example shows how a bot can map slots to an entity. For example, a bot can map a specific word to the slot name “room”. The custom slots could describe the dates of a stay, what type of room a user is asking for, etc.
Adding slots to an utterance is a simple process that can make a sentence clearer. Normally, sentences contain only two words: the subject and the verb. Readers focus on these words, but other elements of the sentence can help them be more easily understood. As a result, slot-based sentence construction can be an effective way to make a sentence more memorable. You can use slots to add emphasis or focus to words in the verb or subject slots.
Adding slots to an utterance with regular expressions
To add slots to an utterance, simply input the corresponding slot placeholder. The name of the slot placeholder must be in the format slotName, with spaces on both sides. In the example below, we’ve entered “Service” more than once to express the intent to find a service. In this example, the utterance contains slots for both cities B-FromCity and B-ToCity.
To add slots, first map the utterance to a slot. The mapped utterance is shown in a colored underline. Double-click the word or phrase to edit its value. To delete a slot, select it from the Slots tab. You can also edit its name. After modifying the value, click ‘Delete’ to remove it. After deleting slots, remember to remove the utterance from the map.
Adding slots to an utterance with custom slot types
Adding slots to an utterance with a custom type is a cognitive technique that helps a bot identify the entities to map to an utterance. Slots can be predefined or custom, and each slot has at least one value. The hotel room example above shows how a bot might map a custom type of slot to an entity. This custom type of slot could describe the type of room requested, the dates when the stay is required, and other variables.
The most important thing to remember when defining custom slot types is that they must include at least one value in order to be recognized. To enable this feature, you need to mark the SecureSlot variable as “Content is Secure” and disable Dynamic Slots. You can also enable SecureSlot, but it is not recommended to use it. If you disable SecureSlot, your utterance will not be processed.