Images with gpt4o and assistant

I currently use the wizard pai and I would like to know if I use gpt 4o in the wizard and add a PDF with images or images only if a user sends the image can he identify it?

There is currently no way to send an image with message.create…

message = client.beta.threads.messages.create(
thread_id=thread.id,
role=“user”,
content=“I need to solve the equation 3x + 11 = 14. Can you help me?”
)

I did a little research and found this:

thread = client.beta.threads.create(
  messages=[
    {
      "role": "user",
      "content": "Create 3 data visualizations based on the trends in this file.",
      "attachments": [
        {
          "file_id": file.id,
          "tools": [{"type": "code_interpreter"}]
        }
      ]
    }
  ]
)

Messages can contain text, images, or file attachment. Message attachments are helper methods that add files to a thread’s tool_resources . You can also choose to add files to the thread.tool_resources directly.

→ This means that, you can send images to your assistant thread only at creation.

or am i wrong :stuck_out_tongue: