Capturing multiple variables in an AI task
# 🤝help
t
I am currently building a bot that contains an AI task prompted to ask the user a series of questions and answer any that the user may have. I want to find a way to make the bot intelligent enough to know what variables to capture at the right times. Allowing the bot to be more dynamic and less strict as to where the conversation goes. Giving the user a more natural feel to the conversation, almost like they are talking to a real person. In addition to that, if the user need to change their answer later on, it has the intelligence to capture that variable again.
@bumpy-butcher-41910
c
You can probably do that with the AI task card. It can provide structured output if you're clear enough on what it is supposed to do.
So take the input from the user, send to task card, store variable.
b
that's correct - like I mentioned during my stream, an AI task can extract variables from a user's input
for example:
c
Hello @bumpy-butcher-41910 , i have a similar usecase but here i'm passing a payment recieved message I would like to extract the reference number nd the invoice number
14 Views