https://discord.gg/botpress logo
Post images from knowledge base links
# 🤝help
c
I've got an autonomous node with a knowledge base. The source of the knowledge base is web pages, and many of them will have links to images. I'd like to use the KB to compose my reply, then send a separate bubble with the first image from the first page used from the KB. What would be the best way to approach that?
p
I would recommend taking a look at how the kb gathered the info from the website. From that you should see whether the AN or query Kb can access them and how they are formated.
c
Yes, they are definitely in there! Here's a sample file: https://s3.us-east-1.amazonaws.com/cloud-filesapi-bucket83908e77-kszjubh9ety1/2025/06/19/04/20250619041852-ENYBCVAK.markdown?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=ASIA6JD5CFAAXYT5P5OI%2F20250619%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250619T210601Z&X-Amz-Expires=600&X-Amz-Security-Token=IQoJb3JpZ2luX2VjEMD%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FwEaCXVzLWVhc3QtMSJHMEUCICk4tU%2FLcMOR1uxZqUy3UzQq5nVXGQmj8x7rtjMQvN5lAiEA296HtI2ubkPgpW6ECCUCWNDAgiuujBhFZk0Pa6kyMNIqtgQIqf%2F%2F%2F%2F%2F%2F%2F%2F%2F%2FARABGgw5ODE2NjIzMTI0NDkiDAzLYmvzPGef1%2F5cNiqKBPS6SYv5CagrmyUI6x7QzMkw5r0slbN8oeVaVGt9pr5sSX7CJ3EM80nco526bO4sdcElvwOQ00%2FMYonKDgKmcere66oTEX8j7jEomFrJjCrfqyyxrCcyCFlB0IqgQL8lWp57l94lKpe9UyIVkt6km%2FCsdk2So%2F0qX9OmAjitQ%2BtF1RgWFx0HSjGq7ZiUFWDwfjLL%2Ftgp9%2FSIBXzNiB8ZyBfCY1NAiile%2F%2FSioOUbiYQTZwNl5VQU2nJ0r7WAbw8Yi4gB1h2X7i%2FobW31Qq%2BGHmvReiIQyrU1bBoBkBgMOqGqK%2FXA67JKjT3B9HvyVf4%2FaaA15YbBWrwDRPbXnB7HO5Jvlw%2BGMOongnvmyRtC2IcFLW9FohmG477V0B8aW7asq1%2BtldWDsmhYEPOfCdSYVo%2ByrFRhD7DBhanYJiJlUqtUaPU90S9Rk9cW95hLGU3PIke8lMfxFZzN%2F9BFz%2FSfEp68B07NshVq0rZwbJDY4OvMj2OksJQ94FGvUcHy0nvf0ErmQiCV7ylmlvG2Ww%2B22EbenSr08aDwMeaaHynYwus5AfE56effgeah2Dmlt14TKh%2F1Pb0b5sXCXAlxZdIwvJ%2ByGL7OJwnUKedLIH4MHpRIeJZNZm6Y4waJ8hABTwD1M3Xrfat%2BDfgMftd1IdT6C%2Fq9LC%2FNHcV2UPxmvo6gUR0dEkVJv8kJLOApxTDY6NDCBjqmAUv4ckRuUjrwIRxU%2BECq1A06%2FHDXhJGiFIQ%2FEp3tn%2F%2BJz3GSPbdv%2BXHZbwtllQj28t6cJkvNfXnzzl8t8iTrzTsx3IBS4RD95yj4qH50jrJzNg%2BPcjUY%2BpxQDwETIKTxUn4Swa7v5EWzoxIA0VPcS0%2F1%2FDrDVK%2F64A5%2Fft2sHrymXXEdsAkI9N0JKY2JXQYqldnucZ20yl%2B2rWdun%2BD7CVji4OOudkQ%3D&X-Amz-Signature=5dcdadc53afb8b30a8b1fd150c5bbbf2194acdfd2353bea6e52a74136d3490d4&X-Amz-SignedHeaders=host&x-id=GetObject
But how do I get the Anonymous node + KB to notice that it retrieved some content with links and send an image bubble?
l
there are no more pages when you have your files embedded to a vector db, so there is not a first and last page in the vector you can use prompt to let the AI know that it needs to send the first image in the order of how it was indexed - try this, I am not sure it will work, but let me know how it goes