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
@@ -88,12 +88,12 @@ The following is a sample request body. The format is the same as the chat compl
88
88
api_base ='<your_azure_openai_endpoint>'# your endpoint should look like the following https://YOUR_RESOURCE_NAME.openai.azure.com/
89
89
api_key="<your_azure_openai_key>"
90
90
deployment_name ='<your_deployment_name>'
91
-
api_version ='2023-12-01-preview'# this might change in the future
91
+
api_version ='2024-02-15-preview'# this might change in the future
@@ -265,7 +265,7 @@ The **object grounding** integration brings a new layer to data analysis and use
265
265
266
266
#### [REST](#tab/rest)
267
267
268
-
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
268
+
Send a POST request to `https://{RESOURCE_NAME}.openai.azure.com/openai/deployments/{DEPLOYMENT_NAME}/chat/completions?api-version=2024-02-15-preview` where
269
269
270
270
- RESOURCE_NAME is the name of your Azure OpenAI resource
271
271
- DEPLOYMENT_NAME is the name of your GPT-4 Turbo with Vision model deployment
@@ -577,7 +577,7 @@ To use a User assigned identity on your Azure AI Services resource, follow these
577
577
578
578
#### [REST](#tab/rest)
579
579
580
-
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
580
+
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
581
581
582
582
- RESOURCE_NAME is the name of your Azure OpenAI resource
583
583
- DEPLOYMENT_NAME is the name of your GPT-4 Vision model deployment
0 commit comments