https://discord.gg/botpress logo
how to display image in botpress from custom backe...
# 🤝help
w
I've made this simple worflow to display response and this response is from custom backend. But I'm sure how can i display image in ai response. AI response can include image as link. please let me know if someone already known about it. https://cdn.discordapp.com/attachments/1387752784203616286/1387752784362733638/image.png?ex=685e7cfe&is=685d2b7e&hm=231a5b56a9b4159a3b8019101eeaeb246af07f23dcdbb5244bb4b9af696668d7&
p
Have you tried using the image card with the image url returned?
p
Yeah you can still add the text card after. Or use an autonomous node instead if you really want it to be in one message.
w
can you guide me during a quick meeting for that?
I tried several times and it's not working well
w
Actually my ai response is flexible, so sometimes, it will return image url and sometimes it will not. this is example response which have image link. and i want to extract that image link and display text with image in response. https://cdn.discordapp.com/attachments/1387752784203616286/1387886640306847865/image.png?ex=685ef9a8&is=685da828&hm=73f319990b928efd6f328bfcbb20216134615bbb92c5776e871fd0291b7fb621&
p
Could you share your current prompt?
w
wait a sec
this is prompt and it will return multiple images
so i need to handle this
3 Views