Hello @Mohamed Hussein
Thanks for reaching out to us, attaching File ID to message / thread level is different, I attached a structure image below to make it clear. A thread may include up to 100,000 Messages. Thread is the upper level of Message.
I will share more description of the difference between Message level and Thread level -
Message-Level Attachments:
- Files attached at the message level are accessible only within that specific message context.
- This means if a user attaches a file to one message, then sends a follow-up message without re-attaching or referencing the file, the assistant won’t have access to that file in the follow-up. This aligns with the tooltip you saw in the playground, which is intended to reinforce that each message is isolated in terms of file access unless explicitly attached again.
Thread-Level Attachments:
- If the file is attached at the thread level, it remains accessible throughout the entire conversation thread. This allows the assistant to reference the file across multiple messages within the same thread.
- For use cases where users may ask follow-up questions about previously provided information in an attachment, attaching at the thread level is generally preferred, as it supports continuity without needing the file re-attached.
As you mentioned, yes, this is not clear described in Document but only mentioned in the Playground of Azure OpenAI, I will raise a feedback for this document to content team so that we can have a clear and professional explanation there.
Thanks for your feedback again, I hope this helps.
Regards,
Yutong
-Please kindly accept the answer if you feel helpful to support the community, thanks a lot.