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/concepts/gpt-with-vision.md
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,20 +24,20 @@ The GPT-4 Turbo with Vision model answers general questions about what's present
24
24
25
25
Enhancements let you incorporate other Azure AI services (such as Azure AI Vision) to add new functionality to the chat-with-vision experience.
26
26
27
-
**Object grounding**: Azure AI Vision complements GPT-4 Turbo with Vision’s text response by identifying and locating salient objects in the input images. This lets the chat model give more accurate and detailed responses about the contents of the image.
28
-
29
27
> [!IMPORTANT]
30
28
> To use Vision enhancement, you need a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource.
31
29
30
+
> [!IMPORTANT]
31
+
> Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
32
+
33
+
**Object grounding**: Azure AI Vision complements GPT-4 Turbo with Vision’s text response by identifying and locating salient objects in the input images. This lets the chat model give more accurate and detailed responses about the contents of the image.
34
+
32
35
:::image type="content" source="../media/concepts/gpt-v/object-grounding.png" alt-text="Screenshot of an image with object grounding applied. Objects have bounding boxes with labels.":::
33
36
34
37
:::image type="content" source="../media/concepts/gpt-v/object-grounding-response.png" alt-text="Screenshot of a chat response to an image prompt about an outfit. The response is an itemized list of clothing items seen in the image.":::
35
38
36
39
**Optical Character Recognition (OCR)**: Azure AI Vision complements GPT-4 Turbo with Vision by providing high-quality OCR results as supplementary information to the chat model. It allows the model to produce higher quality responses for images with dense text, transformed images, and numbers-heavy financial documents, and increases the variety of languages the model can recognize in text.
37
40
38
-
> [!IMPORTANT]
39
-
> To use Vision enhancement, you need a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource.
40
-
41
41
:::image type="content" source="../media/concepts/gpt-v/receipts.png" alt-text="Photo of several receipts.":::
42
42
43
43
:::image type="content" source="../media/concepts/gpt-v/ocr-response.png" alt-text="Screenshot of the JSON response of an OCR call.":::
@@ -46,9 +46,6 @@ Enhancements let you incorporate other Azure AI services (such as Azure AI Visio
> In order to use the video prompt enhancement, you need both an Azure AI Vision resource, in the paid (S1) tier, in addition to your Azure OpenAI resource.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/concepts/use-your-data.md
+63-3Lines changed: 63 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -297,19 +297,79 @@ Along with using Elasticsearch databases in Azure OpenAI Studio, you can also us
297
297
298
298
---
299
299
300
-
## Deploy to a copilot (preview) or web app
300
+
## Deploy to a copilot (preview), Teams app (preview), or web app
301
301
302
302
After you connect Azure OpenAI to your data, you can deploy it using the **Deploy to** button in Azure OpenAI studio.
303
303
304
304
:::image type="content" source="../media/use-your-data/deploy-model.png" alt-text="A screenshot showing the model deployment button in Azure OpenAI Studio." lightbox="../media/use-your-data/deploy-model.png":::
305
305
306
-
This gives you the option of deploying a standalone web app for you and your users to interact with chat models using a graphical user interface. See [Use the Azure OpenAI web app](../how-to/use-web-app.md) for more information.
306
+
This gives you multiple options for deploying your solution.
307
307
308
-
You can also deploy to a copilot in [Copilot Studio](/microsoft-copilot-studio/fundamentals-what-is-copilot-studio) (preview) directly from Azure OpenAI studio, enabling you to bring conversational experiences to various channels such as: Microsoft Teams, websites, Dynamics 365, and other [Azure Bot Service channels](/microsoft-copilot-studio/publication-connect-bot-to-azure-bot-service-channels). The tenant used in the Azure OpenAI service and Copilot Studio (preview) should be the same. For more information, see [Use a connection to Azure OpenAI On Your Data](/microsoft-copilot-studio/nlu-generative-answers-azure-openai).
308
+
#### [Copilot (preview)](#tab/copilot)
309
+
310
+
You can deploy to a copilot in [Copilot Studio](/microsoft-copilot-studio/fundamentals-what-is-copilot-studio) (preview) directly from Azure OpenAI studio, enabling you to bring conversational experiences to various channels such as: Microsoft Teams, websites, Dynamics 365, and other [Azure Bot Service channels](/microsoft-copilot-studio/publication-connect-bot-to-azure-bot-service-channels). The tenant used in the Azure OpenAI service and Copilot Studio (preview) should be the same. For more information, see [Use a connection to Azure OpenAI On Your Data](/microsoft-copilot-studio/nlu-generative-answers-azure-openai).
309
311
310
312
> [!NOTE]
311
313
> Deploying to a copilot in Copilot Studio (preview) is only available in US regions.
312
314
315
+
#### [Teams app (preview)](#tab/teams)
316
+
317
+
A Teams app lets you bring conversational experience to your users in Teams to improve operational efficiency and democratize access of information. This Teams app is configured to users within your Azure account tenant and personal chat (non-group chat) scenarios.
318
+
319
+
320
+
**Prerequisites**
321
+
322
+
- The latest version of [Visual Studio Code](https://code.visualstudio.com/) installed.
323
+
- The latest version of [Teams toolkit](https://marketplace.visualstudio.com/items?itemName=TeamsDevApp.ms-teams-vscode-extension) installed. This is a VS Code extension that creates a project scaffolding for your app.
324
+
-[Node.js](https://nodejs.org/en/download/) (version 16 or 17) installed. For more information, see [Node.js version compatibility table for project type](/microsoftteams/platform/toolkit/build-environments#nodejs-version-compatibility-table-for-project-type).
- Sign in to your [Microsoft 365 developer account](/microsoftteams/platform/concepts/build-and-test/prepare-your-o365-tenant) (using this link to get a test account: [Developer program](https://developer.microsoft.com/microsoft-365/dev-program)).
327
+
- Enable **custom Teams apps** and turn on **custom app uploading** in your account (instructions [here](/microsoftteams/platform/concepts/build-and-test/prepare-your-o365-tenant#enable-custom-teams-apps-and-turn-on-custom-app-uploading))
328
+
-[Azure command-line interface (CLI)](/cli/azure/install-azure-cli) installed. This is a cross-platform command-line tool to connect to Azure and execute administrative commands on Azure resources. For more information on setting up environment variables, see the [Azure SDK documentation](https://github.com/Azure/azure-sdk-for-go/wiki/Set-up-Your-Environment-for-Authentication).
329
+
- Your Azure account has been assigned **Cognitive Services OpenAI user** or **Cognitive Services OpenAI Contributor** role of the Azure OpenAI resource you're using, allowing your account to make Azure OpenAI API calls. For more information, see [Using your data with Azure OpenAI securely](/azure/ai-services/openai/how-to/use-your-data-securely#using-the-api) and [Add role assignment to an Azure OpenAI resource](/azure/ai-services/openai/how-to/role-based-access-control#add-role-assignment-to-an-azure-openai-resource) for instructions on setting this role in the Azure portal.
330
+
331
+
332
+
You can deploy to a standalone Teams app directly from Azure OpenAI Studio. Follow the steps below:
333
+
334
+
1. After you've added your data to the chat model, select **Deploy** and then **a new Teams app (preview)**.
335
+
336
+
1. Enter the name of your Teams app and download the resulting .zip file.
337
+
338
+
1. Extract the .zip file and open the folder in Visual Studio Code.
339
+
340
+
1. If you chose **API key** in the data connection step, manually copy and paste your Azure AI Search key into the `src\prompts\chat\config.json` file. Your Azure AI Search Key can be found in Azure OpenAI Studio Playground by selecting the **View code** button with the key located under Azure Search Resource Key. If you chose **System assigned managed identity**, you can skip this step. Learn more about different data connection options in the [Data connection](/azure/ai-services/openai/concepts/use-your-data?tabs=ai-search#data-connection) section.
341
+
342
+
1. Open the Visual Studio Code terminal and log into Azure CLI, selecting the account that you assigned **Cognitive Service OpenAI User** role to. Use the `az login` command in the terminal to log in.
343
+
344
+
1. To debug your app, press the **F5** key or select **Run and Debug** from the left pane. Then select your debugging environment from the dropdown list. A webpage opens where you can chat with your custom copilot.
345
+
> [!NOTE]
346
+
> The citation experience is available in **Debug (Edge)** or **Debug (Chrome)** only.
347
+
348
+
1. After you've tested your copilot, you can provision, deploy, and publish your Teams app by selecting the **Teams Toolkit Extension** on the left pane in Visual Studio Code. Run the separate provision, deploy, and publish stages in the **Lifecycle** section. You may be asked to sign in to your Microsoft 365 account where you have permissions to upload custom apps and your Azure Account.
349
+
350
+
1. Provision your app: (detailed instructions in [Provision cloud resources](/microsoftteams/platform/toolkit/provision))
351
+
352
+
1. Assign the **Cognitive Service OpenAI User** role to your deployed App Service resource
353
+
1. Go to the Azure portal and select the newly created Azure App Service resource
354
+
1. Go to **settings** -> **identity** -> **enable system assigned identity**
355
+
1. Select **Azure role assignments** and then **add role assignments**. Specify the following parameters:
356
+
* Scope: resource group
357
+
* Subscription: the subscription of your Azure OpenAI resource
358
+
* Resource group of your Azure OpenAI resource
359
+
* Role: **Cognitive Service OpenAI user**
360
+
361
+
1. Deploy your app to Azure by following the instructions in [Deploy to the cloud](/microsoftteams/platform/toolkit/deploy).
362
+
363
+
1. Publish your app to Teams by following the instructions in [Publish Teams app](/microsoftteams/platform/toolkit/publish).
364
+
365
+
The README file in your Teams app has additional details and tips. Also, see [Tutorial - Build Custom Copilot using Teams](/microsoftteams/platform/teams-ai-library-tutorial) for guided steps.
366
+
367
+
#### [Web app](#tab/web-app)
368
+
369
+
Deploying to a standalone web app lets you and your users to interact with chat models through a graphical user interface. See [Use the Azure OpenAI web app](../how-to/use-web-app.md) for more information.
370
+
371
+
---
372
+
313
373
## Use Azure OpenAI On Your Data securely
314
374
315
375
You can use Azure OpenAI On Your Data securely by protecting data and resources with Microsoft Entra ID role-based access control, virtual networks, and private endpoints. You can also restrict the documents that can be used in responses for different users with Azure AI Search security filters. See [Securely use Azure OpenAI On Your Data](../how-to/use-your-data-securely.md).
Copy file name to clipboardExpand all lines: articles/ai-services/openai/how-to/gpt-with-vision.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,9 @@ The **object grounding** integration brings a new layer to data analysis and use
260
260
> [!IMPORTANT]
261
261
> To use the Vision enhancement with an Azure OpenAI resource, you need to specify a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource. If you're using an Azure AI Services resource, you don't need an additional Computer Vision resource.
262
262
263
+
> [!IMPORTANT]
264
+
> Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
265
+
263
266
> [!CAUTION]
264
267
> Azure AI enhancements for GPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement for GPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
265
268
@@ -454,6 +457,9 @@ Follow these steps to set up a video retrieval system and integrate it with your
454
457
> [!IMPORTANT]
455
458
> To use the Vision enhancement with an Azure OpenAI resource, you need to specify a Computer Vision resource. It must be in the paid (S1) tier and in the same Azure region as your GPT-4 Turbo with Vision resource. If you're using an Azure AI Services resource, you don't need an additional Computer Vision resource.
456
459
460
+
> [!IMPORTANT]
461
+
> Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
462
+
457
463
> [!CAUTION]
458
464
> Azure AI enhancements for GPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement for GPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/deploy-web-app.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ Studio by selecting the **Deploy to** button.
15
15
16
16
:::image type="content" source="../media/use-your-data/deploy-model.png" alt-text="A screenshot showing the model deployment button in Azure OpenAI Studio." lightbox="../media/use-your-data/deploy-model.png":::
17
17
18
-
This gives you the option to either deploy to a standalone web application, or a copilot in Copilot Studio (preview) if you're [using your own data](../concepts/use-your-data.md#deploy-to-a-copilot-preview-or-web-app) on the model.
18
+
This gives you the option to either deploy to a standalone web application, or a copilot in Copilot Studio (preview) if you're [using your own data](../concepts/use-your-data.md#deploy-to-a-copilot-preview-teams-app-preview-or-web-app) on the model.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/gpt-v-python.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,6 +109,10 @@ The **object grounding** integration brings a new layer to data analysis and use
109
109
> [!CAUTION]
110
110
> Azure AI enhancements forGPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement forGPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
111
111
112
+
> [!IMPORTANT]
113
+
> Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
114
+
115
+
112
116
1. Replace the contents of _quickstart.py_ with the following code.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/gpt-v-rest.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,10 @@ The **object grounding** integration brings a new layer to data analysis and use
111
111
> [!CAUTION]
112
112
> Azure AI enhancements forGPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement forGPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
113
113
114
+
> [!IMPORTANT]
115
+
> Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
116
+
117
+
114
118
1. Replace the contents of _quickstart.py_ with the following code.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/gpt-v-studio.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,6 +64,10 @@ The **object grounding** integration brings a new layer to data analysis and use
64
64
> [!CAUTION]
65
65
> Azure AI enhancements for GPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement for GPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
66
66
67
+
> [!IMPORTANT]
68
+
> Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
69
+
70
+
67
71
In this chat session, you try out the capabilities of the enhanced Vision model.
68
72
1. To start, select your GPT-4 Turbo with Vision deployment from the dropdown.
69
73
1. In the **Configuration** tab on the right side of the chat experience, turn on the option for **Vision** under the **Enhancements** section.
@@ -86,6 +90,9 @@ GPT-4 Turbo with Vision provides exclusive access to Azure AI Services tailored
86
90
> [!CAUTION]
87
91
> Azure AI enhancements for GPT-4 Turbo with Vision will be billed separately from the core functionalities. Each specific Azure AI enhancement for GPT-4 Turbo with Vision has its own distinct charges. For details, see the [special pricing information](../concepts/gpt-with-vision.md#special-pricing-information).
88
92
93
+
> [!IMPORTANT]
94
+
> Vision enhancements are not supported by the GPT-4 Turbo GA model. They are only available with the preview models.
95
+
89
96
1. To start, select your GPT-4 Turbo with Vision deployment from the dropdown.
90
97
1. In the **Configuration** tab on the right side of the chat experience, turn on the option for **Vision** under the **Enhancements** section.
91
98
1. You're required to select a Computer Vision resource to try the enhanced Vision API. Select your resource, and **Save**.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/use-your-data-powershell.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,4 +80,4 @@ The available health plans in the Contoso Electronics plan and benefit packages
80
80
81
81
## Chat with your model using a web app
82
82
83
-
To start chatting with the Azure OpenAI model that uses your data, you can deploy a web app using [Azure OpenAI studio](../concepts/use-your-data.md#deploy-to-a-copilot-preview-or-web-app) or example code we [provide on GitHub](https://go.microsoft.com/fwlink/?linkid=2244395). This app deploys using Azure app service, and provides a user interface for sending queries. This app can be used Azure OpenAI models that use your data, or models that don't use your data. See the readme file in the repo for instructions on requirements, setup, and deployment. You can optionally customize the [frontend and backend logic](../how-to/use-web-app.md#web-app-customization) of the web app by making changes to the source code.
83
+
To start chatting with the Azure OpenAI model that uses your data, you can deploy a web app using [Azure OpenAI studio](../concepts/use-your-data.md#deploy-to-a-copilot-preview-teams-app-preview-or-web-app) or example code we [provide on GitHub](https://go.microsoft.com/fwlink/?linkid=2244395). This app deploys using Azure app service, and provides a user interface for sending queries. This app can be used Azure OpenAI models that use your data, or models that don't use your data. See the readme file in the repo for instructions on requirements, setup, and deployment. You can optionally customize the [frontend and backend logic](../how-to/use-web-app.md#web-app-customization) of the web app by making changes to the source code.
Copy file name to clipboardExpand all lines: articles/ai-services/openai/includes/use-your-data-rest.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,4 +90,4 @@ curl -i -X POST $AZURE_OPENAI_ENDPOINT/openai/deployments/$AZURE_OPENAI_DEPLOYME
90
90
91
91
## Chat with your model using a web app
92
92
93
-
To start chatting with the Azure OpenAI model that uses your data, you can deploy a web app using [Azure OpenAI studio](../concepts/use-your-data.md#deploy-to-a-copilot-preview-or-web-app) or example code we [provide on GitHub](https://go.microsoft.com/fwlink/?linkid=2244395). This app deploys using Azure app service, and provides a user interface for sending queries. This app can be used Azure OpenAI models that use your data, or models that don't use your data. See the readme file in the repo for instructions on requirements, setup, and deployment. You can optionally customize the [frontend and backend logic](../how-to/use-web-app.md#web-app-customization) of the web app by making changes to the source code.
93
+
To start chatting with the Azure OpenAI model that uses your data, you can deploy a web app using [Azure OpenAI studio](../concepts/use-your-data.md#deploy-to-a-copilot-preview-teams-app-preview-or-web-app) or example code we [provide on GitHub](https://go.microsoft.com/fwlink/?linkid=2244395). This app deploys using Azure app service, and provides a user interface for sending queries. This app can be used Azure OpenAI models that use your data, or models that don't use your data. See the readme file in the repo for instructions on requirements, setup, and deployment. You can optionally customize the [frontend and backend logic](../how-to/use-web-app.md#web-app-customization) of the web app by making changes to the source code.
0 commit comments