Skip to content

Commit 325eafa

Browse files
authored
Update GPT with Vision image count limitation
Add an additional important note to advise users that there is a hard limit of 10 images per single request across all messages.
1 parent 7bb551c commit 325eafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/how-to/gpt-with-vision.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Send a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployme
4545
The following is a sample request body. The format is the same as the chat completions API for GPT-4, except that the message content can be an array containing text and images (either a valid HTTP or HTTPS URL to an image, or a base-64-encoded image).
4646

4747
> [!IMPORTANT]
48-
> Remember to set a `"max_tokens"` value, or the return output will be cut off.
48+
> Remember to set a `"max_tokens"` value, or the return output will be cut off. Additionally, a single API request can only contain a maximum of 10 images across all messages.
4949
5050
```json
5151
{

0 commit comments

Comments
 (0)