How to include metadata inside AI Agent response

Hi,

I have a vectordb and inside this database I have a metadata column with image_url.
I want to include this image_url in the AI Agent response but I only get a text response. How can I achieve this?


Hey @CodeDobby hope all is well.

The option toggle to include metadata is missing for this node, even though it exists in a different setup. See if connecting your workflow in the following manner helps:

this way you have the toggle back:

1 Like

Created a bug for this:

1 Like

Oh.. I see, I have not noticed this. I will try your approach and see if it works. Thank you so much :slight_smile:

1 Like

When you do, please let me know if that worked.

yes it worked. The output included my metadata and I’ve added to the Agents system message another instruction to filter out the “image_url” from the metadata. Thank you :slight_smile:

1 Like

Great to hear, thanks for confirming!