https://discord.gg/botpress logo
#🤝help
How can I create slots?
# 🤝help
f

famous-needle-62969

01/11/2024, 7:46 PM
In the developer's guide it says you can create it in the Flow Editor view, click Insert Skill> Slot, but I don't see that option.
b

bumpy-butcher-41910

01/11/2024, 7:53 PM
you're looking at the documentation for v12 - if you're building on botpress cloud that option isn't present
f

famous-needle-62969

01/11/2024, 8:51 PM
so, how can I create slots in botpress cloud?
b

bumpy-butcher-41910

01/11/2024, 8:55 PM
what are you trying to do?
in general you can achieve the same functionality using variables in botpress cloud
f

famous-needle-62969

01/11/2024, 9:55 PM
I have a list of intents, where, for example, one of the phrases is 'I want to fly to Italy,' and I want the word 'Italy' to be able to be any other city, because if I ask the chatbot a question that goes beyond the defined intents, it doesn't understand. I don't know how I could solve this
b

bumpy-butcher-41910

01/11/2024, 9:55 PM
do you mean you want to extract the city from a user's input?
f

famous-needle-62969

01/11/2024, 9:55 PM
yes
b

bumpy-butcher-41910

01/11/2024, 9:58 PM
you would use an ai task for this
you can tell the ai task to just look for a city in what the user said
in raw input i ask for a city, and the AI task extracts it