convert_to_openai_image_block#
- langchain_core.messages.content_blocks.convert_to_openai_image_block(
- content_block: dict[str, Any],
Convert image content block to format expected by OpenAI Chat Completions API.
- Parameters:
content_block (dict[str, Any])
- Return type:
dict