Assistants Retrieval and related vector storage metadata

As in many vector database tools, the developer can designate text and metadata fields sent to the vector store. I see that the API assistant retrieval tool allows for response citations which is very limited metadata, and can be used for this purpose assuming your meta data is indexed off of file_id, but restricts the user from the typical useage pattern which is described above and allows for more flexibility.
Does anyone know a way to effectively add metadata to to retrieval text and return the metadata with the message response?

2 Likes