https://discord.gg/botpress logo
Its possible to extract a group of word from a use...
# 🤝help
m
hello guys In my scenario, we ask the user what is preffered moovie, and i want to extract only the moovie name from is response and add to a variabel : Exemple : Chat - Hello, whats i your favorite moovie ? User- Hi, my favorite moovie is spyderman but i also like batman Chat- Okey so your favorite moove is "spiderman and batman," can you please send me your email.... the last message its what i want
f
Hey there, The AI task is perfect for this.
m
okey thx i try it but didnt work, do you know what task instruction i need to put and what ai task input also my user chat are french
f
Hey there, Did you read the docs that I sent a link to?
m
Bro you so good at chatbot thx you
Also i have a quick question
Its is normal i see this
?
b
you just need to use JSON to extract the specific item you want, like first or last name
m
i want the two if the user give it but why they have {"first": ? I need to use JSON to clear it ? i dont know what is this
b
because we save the name as two separate items, in case you want to user either the first or last name

https://www.youtube.com/watch?v=2JfOwpgAWB4▾

m
but its seem the video is on oldest version of the app