GPT 4o assistant not accepting PDF attachment in message thread (accepts image)

GenixPRO 41 Reputation points
2025-01-17T13:03:17.65+00:00

Hi.

  1. We're having difficulty uploading PDF attachments to a message thread for GPT 4o based assistant.
  2. We're able to upload images but unable to upload PDF to the thread message.
  3. We've enabled File Search and Code Interpreter from Assistants playground

Question:

  1. Is it mandatory to upload a PDF file to the Assistant's vector store and then point to the File ID in the message instead?
  2. Is PDF file upload allowed in message thread? Message also has a temp vector store. What may be the issue with PDF not being uploaded and images can be uploaded. Thanks
Azure OpenAI Service
Azure OpenAI Service
An Azure service that provides access to OpenAI’s GPT-3 models with enterprise capabilities.
3,595 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pavankumar Purilla 3,005 Reputation points Microsoft Vendor
    2025-01-17T18:05:24.9666667+00:00

    Hi GenixPRO,
    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!
    It sounds like you're encountering some issues with uploading PDF attachments to a message thread for the GPT 4o based assistant.

    Is it mandatory to upload a PDF file to the Assistant's vector store and then point to the File ID in the message instead?

    Yes, for the GPT 4o assistant to process PDF files, it is generally required to upload the PDF to the Assistant's vector store and then reference the File ID in the message. This ensures that the assistant can access and process the file correctly.

    Is PDF file upload allowed in message thread?

    While the GPT 4o assistant supports image uploads directly in the message thread, PDF uploads typically require the file to be stored in the vector store first. This is a known limitation and is designed to ensure proper handling and processing of PDF files.

    What may be the issue with PDF not being uploaded and images can be uploaded?

    The primary issue is that the GPT 4o assistant's message thread functionality is optimized for image uploads directly, but not for PDFs. This is why images can be uploaded without issues, but PDFs require an additional step of uploading to the vector store and referencing the File ID.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.