I would like the assistant I created not to reference the document from the database, as it usually adds a [source 10:1]

You can’t remove it by using prompt, you have to do it in your code before sending it.

I do it like this on my side with javascript:

message.content.replace(/\【.*?】/g, “”)