Skip to content

OpenAI not reading files #6456

Open
Open
@krankos

Description

@krankos

Description

I am building a chatbot that takes the user's resume as pdf and rates it. I'm using the ai chatbot template. I upload the pdf to vercel blob and I send the url using experimental_attachements. this has been working for the past couple of weeks but know it seems to not read the file.

I made sure the file is received by the LLM and I also tried the base64 thing rather than sending the url.

Sending images works fine

AI SDK Version

  • "ai": "4.3.4"
  • "@ai-sdk/openai": "^1.3.22",
  • "@ai-sdk/react": "^1.2.12"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions