Skip to content

Conversation

ASchwad
Copy link

@ASchwad ASchwad commented Jul 4, 2025

https://stackoverflow.com/questions/78395237/query-azure-openai-with-images

OpenAI APIs require the image_url format for vision capabilities, e.g.:

{
            "type": "image_url",
            "image_url": {
                "url": f"data:image/jpeg;base64,{base64_image}"
            }
}

Copy link

vercel bot commented Jul 4, 2025

@ASchwad is attempting to deploy a commit to the LangChain Team on Vercel.

A member of the Team first needs to authorize it.

@ASchwad ASchwad changed the title Adjust Image Preview Fix: Image Format not accepted by OpenAI Jul 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant