You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/gpt-with-vision.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The following command shows the most basic way to use the GPT-4 Turbo with Visio
30
30
31
31
#### [REST](#tab/rest)
32
32
33
-
Send a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployments/{DEPLOYMENT_NAME}/chat/completions?api-version=2023-12-01-preview` where
33
+
Send a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployments/{DEPLOYMENT_NAME}/chat/completions?api-version=2024-02-15-preview` where
34
34
35
35
- RESOURCE_NAME is the name of your Azure OpenAI resource
36
36
- DEPLOYMENT_NAME is the name of your GPT-4 Turbo with Vision model deployment
@@ -85,12 +85,12 @@ The following is a sample request body. The format is the same as the chat compl
85
85
api_base ='<your_azure_openai_endpoint>'# your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
86
86
api_key="<your_azure_openai_key>"
87
87
deployment_name ='<your_deployment_name>'
88
-
api_version ='2023-12-01-preview'# this might change in the future
88
+
api_version ='2024-02-15-preview'# this might change in the future
@@ -262,7 +262,7 @@ The **object grounding** integration brings a new layer to data analysis and use
262
262
263
263
#### [REST](#tab/rest)
264
264
265
-
Send a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployments/{DEPLOYMENT_NAME}/extensions/chat/completions?api-version=2023-12-01-preview` where
265
+
Send a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployments/{DEPLOYMENT_NAME}/chat/completions?api-version=2024-02-15-preview` where
266
266
267
267
- RESOURCE_NAME is the name of your Azure OpenAI resource
268
268
- DEPLOYMENT_NAME is the name of your GPT-4 Turbo with Vision model deployment
@@ -574,7 +574,7 @@ To use a User assigned identity on your Azure AI Services resource, follow these
574
574
575
575
#### [REST](#tab/rest)
576
576
577
-
1. Prepare a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployments/{DEPLOYMENT_NAME}/extensions/chat/completions?api-version=2023-12-01-preview` where
577
+
1. Prepare a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployments/{DEPLOYMENT_NAME}/chat/completions?api-version=2024-02-15-preview` where
578
578
579
579
- RESOURCE_NAME is the name of your Azure OpenAI resource
580
580
- DEPLOYMENT_NAME is the name of your GPT-4 Vision model deployment
0 commit comments