{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/chatCompletionRequestMessageUser", "title": "chatCompletionRequestMessageUser", "allOf": [ { "$ref": "#/components/schemas/chatCompletionRequestMessage" }, { "type": "object", "properties": { "content": { "oneOf": [ { "type": "string", "description": "The contents of the message." }, { "type": "array", "description": "An array of content parts with a defined type, each can be of type `text` or `image_url` when passing in images. You can pass multiple images by adding multiple `image_url` content parts. Image input is only supported when using the `gpt-4-visual-preview` model.", "minimum": 1, "items": { "$ref": "#/components/schemas/chatCompletionRequestMessageContentPart" } } ], "nullable": true } } } ], "required": [ "content" ] }