Ask a question to get started
Enter to send•Shift+Enter new line
Convert ImageContentBlock to format expected by OpenAI Chat Completions.
ImageContentBlock
convert_to_openai_image_block( block: dict[str, Any], ) -> dict
block
dict[str, Any]
The image content block to convert.