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/use-your-image-data.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: 'Use your image data with Azure OpenAI Service in Azure OpenAI Studio'
3
-
titleSuffix: Azure OpenAI
3
+
titleSuffix: Azure OpenAI Service
4
4
description: Use this article to learn about using your image data for image generation in Azure OpenAI.
5
5
services: cognitive-services
6
6
manager: nitinme
@@ -12,7 +12,7 @@ ms.date: 05/09/2024
12
12
recommendations: false
13
13
---
14
14
15
-
# Azure OpenAI on your data with images using GPT-4 Turbo with Vision (preview) in Azure OpenAI Studio
15
+
# Use your image data for Azure OpenAI by using GPT-4 Turbo with Vision (preview) in Azure OpenAI Studio
16
16
17
17
Use this article to learn how to provide your own image data for GPT-4 Turbo with Vision, the vison model in Azure OpenAI Service. GPT-4 Turbo with Vision on your data allows the model to generate more customized and targeted answers by using Retrieval Augmented Generation (RAG), based on your own images and image metadata.
18
18
@@ -52,7 +52,7 @@ All three options use an Azure AI Search index to do an image-to-image search an
52
52
53
53
When you're adding a data source for the first time, you might see a red notice that asks you to turn on cross-origin resource sharing (CORS). To stop the warning, select **Turn on CORS** so that Azure OpenAI can access the data source.
54
54
55
-
:::image type="content" source="../media/use-your-image-data/cross-origin-resource-sharing-requirement.png" alt-text="Screenshot that shows an error stating that CORS has not been enabled." lightbox="../media/use-your-image-data/cross-origin-resource-sharing-requirement.png":::
55
+
:::image type="content" source="../media/use-your-image-data/cross-origin-resource-sharing-requirement.png" alt-text="Screenshot that shows an error stating that CORS has not been turned on." lightbox="../media/use-your-image-data/cross-origin-resource-sharing-requirement.png":::
title: 'Use the Azure Developer CLI to deploy resources for Azure OpenAI On Your Data'
3
-
titleSuffix: Azure OpenAI
3
+
titleSuffix: Azure OpenAI Service
4
4
description: Use this article to learn how to automate resource deployment for Azure OpenAI On Your Data.
5
5
manager: nitinme
6
6
ms.service: azure-ai-openai
@@ -13,75 +13,74 @@ recommendations: false
13
13
14
14
# Use the Azure Developer CLI to deploy resources for Azure OpenAI On Your Data
15
15
16
-
Use this article to learn how to automate resource deployment for Azure OpenAI On Your Data. The Azure Developer CLI (`azd`) is an open-source, command-line tool that streamlines provisioning and deploying resources to Azure using a template system. The template contains infrastructure files to provision the necessary Azure OpenAI resources and configurations and includes the completed sample app code.
16
+
Use this article to learn how to automate resource deployment for Azure OpenAI Service On Your Data. The Azure Developer CLI (`azd`) is an open-source command-line tool that streamlines provisioning and deploying resources to Azure by using a template system. The template contains infrastructure files to provision the necessary Azure OpenAI resources and configurations, and it includes the completed sample app code.
17
17
18
18
## Prerequisites
19
19
20
-
- An Azure subscription - <ahref="https://azure.microsoft.com/free/cognitive-services"target="_blank">Create one for free</a>.
20
+
- An Azure subscription. [Create one for free](https://azure.microsoft.com/free/cognitive-services).
21
21
- Access granted to Azure OpenAI in the desired Azure subscription.
22
22
23
-
Azure OpenAI requires registration and is currently only available to approved enterprise customers and partners. [See Limited access to Azure OpenAI Service](/legal/cognitive-services/openai/limited-access?context=/azure/ai-services/openai/context/context) for more information. You can apply for access to Azure OpenAI by completing the form at <ahref="https://aka.ms/oai/access"target="_blank">https://aka.ms/oai/access</a>. Open an issue on this repo to contact us if you have an issue.
23
+
Azure OpenAI requires registration and is currently available only to approved enterprise customers and partners. For more information, see [Limited access to Azure OpenAI Service](/legal/cognitive-services/openai/limited-access?context=/azure/ai-services/openai/context/context). You can apply for access to Azure OpenAI by [completing the form](https://aka.ms/oai/access). Open an issue on this repo to contact us if you have a problem.
24
24
25
-
- The Azure Developer CLI [installed](/azure/developer/azure-developer-cli/install-azd) on your machine
25
+
- The Azure Developer CLI [installed](/azure/developer/azure-developer-cli/install-azd) on your machine.
26
26
27
27
## Clone and initialize the Azure Developer CLI template
28
28
29
-
30
-
31
-
1. For the steps ahead, clone and initialize the template.
29
+
1. For the steps ahead, clone and initialize the template:
32
30
33
31
```bash
34
32
azd init --template openai-chat-your-own-data
35
33
```
36
-
37
-
2. The `azd init`command prompts you for the following information:
38
34
39
-
* Environment name: This value is used as a prefix for all Azure resources created by Azure Developer CLI. The name must be unique across all Azure subscriptions and must be between 3 and 24 characters long. The name can contain numbers and lowercase letters only.
35
+
2. The `azd init`command prompts you to create an environment name. This value is used as a prefix for all Azure resources that Azure Developer CLI creates. The name:
36
+
37
+
- Must be unique across all Azure subscriptions.
38
+
- Must be 3 to 24 characters.
39
+
- Can contain numbers and lowercase letters only.
40
40
41
41
## Use the template to deploy resources
42
42
43
-
1. Sign-in to Azure:
43
+
1. Signin to Azure:
44
44
45
45
```bash
46
46
azd auth login
47
47
```
48
48
49
-
1. Provision and deploy the OpenAI resource to Azure:
49
+
1. Provision and deploy the Azure OpenAI resource to Azure:
50
50
51
51
```bash
52
52
azd up
53
53
```
54
-
55
-
`azd` prompts you for the following information:
56
-
57
-
* Subscription: The Azure subscription that your resources are deployed to.
58
-
* Location: The Azure region where your resources are deployed.
59
-
60
-
> [!NOTE]
61
-
> The sample `azd` template uses the `gpt-35-turbo-16k` model. A recommended region for this template is East US, since different Azure regions support different OpenAI models. You can visit the [Azure OpenAI Service Models](/azure/ai-services/openai/concepts/models) support page for more details about model support by region.
62
-
54
+
55
+
1. `azd` prompts you for the following information:
56
+
57
+
- `Subscription`: The Azure subscription that your resources are deployed to.
58
+
- `Location`: The Azure region where your resources are deployed.
59
+
63
60
> [!NOTE]
64
-
> The provisioning process may take several minutes to complete. Wait for the task to finish before you proceed to the next steps.
65
-
66
-
1. Click the link `azd` outputs to navigate to the new resource group in the Azure portal. You should see the following top level resources:
67
-
68
-
* An Azure OpenAI service with a deployed model
69
-
* An Azure Storage account you can use to upload your own data files
70
-
* An Azure AI Search service configured with the proper indexes and data sources
61
+
> The sample `azd` template uses the `gpt-35-turbo-16k` model. A recommended region for this template is East US, because different Azure regions support different OpenAI models. For more details about model support by region, go to the [Azure OpenAI Service Models](/azure/ai-services/openai/concepts/models) support page.
62
+
63
+
The provisioning process might take several minutes to complete. Wait for the task to finish before you proceed to the next steps.
64
+
65
+
1. Select the link in the `azd` outputs to go to the new resource group in the Azure portal. The following top-level resources should appear:
66
+
67
+
- An Azure OpenAI service with a deployed model
68
+
- An Azure Storage account that you can use to upload your own data files
69
+
- An Azure AI Search service configured with the proper indexes and data sources
71
70
72
71
## Upload data to the storage account
73
72
74
-
`azd` provisioned all of the required resources for you to chat with your own data, but you still need to upload the data files you want to make available to your AI service.
73
+
The `azd`template provisioned all of the required resources for you to chat with your own data, but you still need to upload the data files that you want to make available to your AI service:
75
74
76
-
1. Navigate to the new storage account in the Azure portal.
77
-
1. On the left navigation, select**Storage browser**.
78
-
1. Select **Blob containers** and thennavigate into the **File uploads** container.
79
-
1. Click the **Upload** button at the top of the screen.
75
+
1. Go to the new storage account in the Azure portal.
76
+
1. On the left menu, select**Storage browser**.
77
+
1. Select **Blob containers**, and thengo to the **File uploads** container.
78
+
1. Select the **Upload** button at the top of the pane.
80
79
1. In the flyout menu that opens, upload your data.
81
-
80
+
82
81
> [!NOTE]
83
-
> The search indexer is set to run every 5 minutes to index the data in the storage account. You can eitherwait a few minutes for the uploaded data to be indexed, or you can manually run the indexer from the search service page.
82
+
> The search indexer is set to run every five minutes to index the data in the storage account. You can wait a few minutes for the uploaded data to be indexed, or you can manually run the indexer from the search service page.
84
83
85
84
## Connect or create an application
86
85
87
-
After running the `azd` template and uploading your data, you're ready to start using Azure OpenAI on Your Data. See the [quickstart article](../use-your-data-quickstart.md) for code samples you can use to build your applications.
86
+
After you run the `azd` template and upload your data, you're ready to start using Azure OpenAI On Your Data. See the [quickstart article](../use-your-data-quickstart.md) for code samples that you can use to build your applications.
0 commit comments