As you write patterns for voice commands, you can add slots to them. Slots are essentially ‘variables’ in user’s utterances: they represent variable pieces of information you expect to occur in the user’s input.

Slots allows Alan to identify and retrieve important facts from the user’s speech. By having this data, the in-app assistant can respond to the user’s request appropriately. For example, when building a weather assistant, you can capture the user’s location and date with slots so that the assistant can provide the correct forecast.

Alan allows using the following slot types:


You can add a maximum of 5 slots of any types to the command pattern.