Skip to content

Commit 881a797

Browse files
Merge pull request #6022 from PatrickFarley/openai-updates-2
add note on SAS URLs
2 parents 452f111 + cad2579 commit 881a797

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/ai-foundry/openai/includes/gpt-v-javascript.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ For the recommended keyless authentication with Microsoft Entra ID, you need to:
7070
7171
Select an image from the [azure-samples/cognitive-services-sample-data-files](https://github.com/Azure-Samples/cognitive-services-sample-data-files/tree/master/ComputerVision/Images). Use the image URL in the code below or set the `IMAGE_URL` environment variable to the image URL.
7272
73+
> [!IMPORTANT]
74+
> If you use a SAS URL to an image stored in Azure blob storage, you need to enable Managed Identity and assign the **Storage Blob Reader** role to your Azure OpenAI resource (do this in the Azure portal). This allows the model to access the image in blob storage.
75+
7376
> [!TIP]
7477
> You can also use a base 64 encoded image data instead of a URL. For more information, see the [GPT-4 Turbo with Vision how-to guide](../how-to/gpt-with-vision.md#use-a-local-image).
7578

0 commit comments

Comments
 (0)