How can I create slots?
# 🤝help
f
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
you're looking at the documentation for v12 - if you're building on botpress cloud that option isn't present
f
so, how can I create slots in botpress cloud?
b
what are you trying to do?
in general you can achieve the same functionality using variables in botpress cloud
f
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
do you mean you want to extract the city from a user's input?
f
yes
b
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
2 Views