It would be great if we could somehow make the backend add to the message a metadata field following a structured format with elements to be rendered as cards. But we can improve the JSON parsing in the frontend if not possible.
It also seems like the metadata is not always returned consistently; sometimes I get results with empty _distance fields, and sometimes empty url fields.
I also see sometimes description or sometimes summary.
As reported by @vgeorge :
It also seems like the metadata is not always returned consistently; sometimes I get results with empty
_distance
fields, and sometimes emptyurl
fields.I also see sometimes
description
or sometimessummary.