Message annotations - how to handle it properly


We’ve added to our product the possibility to integrate any website with OpenAI Assistants to allow visitors chat with assistants. In the first version we removed all occurrences of message annotations, but we would like to add them to improve the user experience. We were thinking of something like the one in the attached screenshot.

I have two questions:

  1. We’ve noticed, that sometimes we can receive empty annotations array, sample below. Why is this happening? Is this due to incorrect configuration of the assistant, bad instructions, or is it just what happens and in such a case it is best to remove the annotations?
                "type": "text",
                "text": {
                    "value": "Yes, OpenWidget provides free tools, including an official Free Customer Service Tools plugin, designed to help customers utilize OpenWidget's features and services at no cost【42†source】. If you need more details or have any other questions, feel free to ask!",
                    "annotations": []
  1. As creators of the assistant, would you like to give users the ability to download source files? Would you prefer it to remain only source material to which the end-user has no access?

They’ve been mostly mum about different comings and goings, but I think that one stopgap change is that to prevent dumping out of a company’s entire retrieval source by prompt engineering, the chunks of retrieval have been disabled as an annotation link source.

Hi, do you know what is the importance of studying Physical geography in the field of education?

Hi and welcome to the Developer Forum!

It seems like you are looking for ChatGPT! This is not it, you can find it over at