DOC: Multimodal Message Schema for OpenAI Models - Docs + Error Improvements: include metadata property #8227
Labels
auto:documentation
Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder
auto:nit
Small modifications/deletions, fixes, deps or improvements to existing code or docs
Uh oh!
There was an error while loading. Please reload this page.
Checklist
Issue with current documentation:
When creating a Multimodal message (PDF/Image) to an OpenAI chat model in the format below, our docs and error throwing is not clear that the metadata property is required. Currently, If the metadata property is not set correctly in a multimodal Base64ContentBlock message, we throw an unintuitive OpenAI error.
Improvement Suggestion
LangGraphJS MultiModal Inputs
Langgraph PY MultiModal Inputs
@langchain/core/messages
to say "missing required metadata property" instead of OpenAI error.Base64ContentBlock
Idea or request for content:
No response
The text was updated successfully, but these errors were encountered: