https://discord.gg/botpress logo
Currently I have 3 raw inputs asking for client na...
# 💻developers
r
Currently I have 3 raw inputs asking for client name, service provided and amount due, and then a Ai card to confirm it. I am trying to get my bot to figure out if the user gave multiple variables at a time. Say the bot asked "Who is the invoice for?" and the user said "Gina Lawncare Services 600" all at once. Is there a way to bypass the next two questions and extract all 3 variables at once? It kinda does it now one test was: Q: "Who is the invoice for" A:"gina" Q:"What services were provided?" A:"lawncare 5000" Q: "What is the amount owed?" A:"gina lawncare 5000" and the AI card came up with "You need a invoice for Gina for Lawncare services totaling 10,000?" I'm guessing with some crazy javascript I could. If anyone knows what I'm trying to do and can lead me down the right path would be nice! Kinda think i'm just overthinking it but want to use the power of AI to my full advantage and see what it can do.
2 Views