Skip to content

Commit 9de9dc1

Browse files
authored
Update 10 image guidance as important note
1 parent 378efb2 commit 9de9dc1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ 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. Additionally, a single API request can only contain a maximum of 10 images across all messages.
48+
> Remember to set a `"max_tokens"` value, or the return output will be cut off.
49+
50+
> [!IMPORTANT]
51+
> When uploading images, there is a limit of 10 images per chat request.
4952
5053
```json
5154
{

0 commit comments

Comments
 (0)