DATA PARSING IN BOTPRESS
# 🤝help
f
Is there a way to set up an AI task for extraction of data from a given text and then store them separately to different variables?
@acceptable-kangaroo-64719
@flat-plumber-75402
a
Hey @future-lifeguard-12317 yes, you can use an AI task to parse data- here's an example

https://cdn.discordapp.com/attachments/1139865239890972692/1140593471019831316/image.png

Just make sure you: 1. Clearly describe what data you want to extract 2. Clearly describe how you want that data stores 3. Put backup plans in your flow in case the data is not extracted
f
Shouldn't "name: {{workflow.name}}" be in output?
a
Depends on your use case. If the bot is only seeing the data once, yes. But if the AI task sees the data multiple times, it needs to know what data it has already extracted and what is left to extract.
2 Views