Skip to content

Commit 90897ed

Browse files
authored
Merge pull request #2563 from PatrickFarley/pafarley-foundry-toc
Pafarley foundry toc
2 parents c33a64c + 102f714 commit 90897ed

File tree

7 files changed

+115
-195
lines changed

7 files changed

+115
-195
lines changed

articles/ai-services/openai/gpt-v-quickstart.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Quickstart: Use vision-enabled models with the Azure OpenAI Service'
2+
title: 'Quickstart: Use vision-enabled chats with the Azure OpenAI Service'
33
titleSuffix: Azure OpenAI
44
description: Use this article to get started using Azure OpenAI to deploy and use the GPT-4 Turbo with Vision model or other vision-enabled models.
55
services: cognitive-services
@@ -22,6 +22,10 @@ Get started using GPT-4 Turbo with images with the Azure OpenAI Service.
2222
>
2323
> The latest vision-capable models are `gpt-4o` and `gpt-4o mini`. These are in public preview. The latest available GA model is `gpt-4` version `turbo-2024-04-09`.
2424
25+
> [!IMPORTANT]
26+
> Extra usage fees might apply when using chat completion models with vision functionality.
27+
28+
2529
::: zone pivot="ai-foundry-portal"
2630

2731
[!INCLUDE [Azure AI Foundry portal quickstart](includes/gpt-v-studio.md)]
Lines changed: 62 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,45 @@
11
---
2-
title: 'Quickstart: Use images in chats with the Azure OpenAI Service'
2+
title: 'Quickstart: Use vision-enabled chats with the Azure OpenAI Service'
33
titleSuffix: Azure OpenAI
44
description: Use this article to get started using Azure AI Foundry to deploy and use an image-capable model.
55
services: cognitive-services
66
manager: nitinme
77
ms.service: azure-ai-openai
88
ms.topic: include
99
ms.custom: references_regions, ignite-2024
10-
ms.date: 12/05/2024
10+
ms.date: 01/29/2025
1111
---
1212

13-
Start using images in your AI chats with a no-code approach through Azure AI Foundry.
13+
Use this article to get started using [Azure AI Foundry](https://ai.azure.com) to deploy and test a chat completion model with image understanding.
14+
1415

1516
## Prerequisites
1617

1718
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
18-
- An Azure OpenAI Service resource. For more information about resource creation, see the [resource deployment guide](/azure/ai-services/openai/how-to/create-resource).
19+
- Once you have your Azure subscription, <a href="/azure/ai-services/openai/how-to/create-resource?pivots=web-portal" title="Create an Azure OpenAI resource." target="_blank">create an Azure OpenAI resource </a>.
20+
For more information about resource creation, see the [resource deployment guide](/azure/ai-services/openai/how-to/create-resource).
21+
- An [Azure AI Foundry hub](/azure/ai-studio/how-to/create-azure-ai-resource) with your Azure OpenAI resource added as a connection.
22+
23+
## Prepare your media
24+
25+
You need an image to complete this quickstart. You can use this sample image or any other image you have available.
26+
27+
:::image type="content" source="/azure/ai-studio/media/quickstarts/multimodal-vision/car-accident.png" alt-text="Photo of a car accident that can be used to complete the quickstart." lightbox="/azure/ai-studio/media/quickstarts/multimodal-vision/car-accident.png":::
1928

2029
## Go to Azure AI Foundry
2130

22-
Browse to [Azure AI Foundry](https://ai.azure.com/) and sign in with the credentials associated with your Azure OpenAI resource. During or after the sign-in workflow, select the appropriate directory, Azure subscription, and Azure OpenAI resource.
31+
1. Browse to [Azure AI Foundry](https://ai.azure.com/) and sign in with the credentials associated with your Azure OpenAI resource. During or after the sign-in workflow, select the appropriate directory, Azure subscription, and Azure OpenAI resource.
32+
1. Select the hub you'd like to work in.
33+
1. On the left nav menu, select **Models + endpoints** and select **+ Deploy model**.
34+
1. Choose an image-capable deployment by selecting model name: **gpt-4o** or **gpt-4o-mini**. In the window that appears, select a name and deployment type. Make sure your Azure OpenAI resource is connected. For more information about model deployment, see the [resource deployment guide](/azure/ai-services/openai/how-to/create-resource).
35+
1. Select **Deploy**.
36+
1. Next, select your new model and select **Open in playground**. In the chat playground, the deployment you created should be selected in the **Deployment** dropdown.
2337

24-
Create a project or select an existing one. Navigate to the **Models + endpoints** option on the left, and select **Deploy model**. Choose an image-capable deployment by selecting model name: **gpt-4o** or **gpt-4o-mini**. For more information about model deployment, see the [resource deployment guide](/azure/ai-services/openai/how-to/create-resource).
2538

26-
Select the new deployment and select **Open in playground**.
2739

2840
## Playground
2941

30-
From this page, you can quickly iterate and experiment with the model's capabilities.
42+
In this chat session, you instruct the assistant to aid you in understanding images that you input.
3143

3244
For general help with assistant setup, chat sessions, settings, and panels, refer to the [Chat quickstart](/azure/ai-services/openai/chatgpt-quickstart?tabs=command-line&pivots=programming-language-studio).
3345

@@ -36,14 +48,50 @@ For general help with assistant setup, chat sessions, settings, and panels, refe
3648

3749
In this chat session, you're instructing the assistant to aid in understanding images that you input.
3850
1. To start, make sure your image-capable deployment is selected in the **Deployment** dropdown.
39-
2. In the **Setup** pane, provide a System Message to guide the assistant. The default System Message is: "You are an AI assistant that helps people find information." You can tailor the System Message to the image or scenario that you're uploading.
51+
1. In the context text box on the **Setup** panel, provide this prompt to guide the assistant: `"You're an AI assistant that helps people find information."` Or, you can tailor the prompt to your image or scenario.
4052

4153
> [!NOTE]
4254
> We recommend you update the System Message to be specific to the task in order to avoid unhelpful responses from the model.
4355
44-
1. Save your changes, and when prompted to confirm updating the system message, select **Continue**.
45-
1. In the **Chat session** pane, enter a text prompt like "Describe this image," and upload an image with the attachment button. You can use a different text prompt for your use case. Then select **Send**.
46-
1. Observe the output provided. Consider asking follow-up questions related to the analysis of your image to learn more.
56+
1. Select **Apply changes** to save your changes.
57+
1. In the chat session pane, select the attachment button and then **Upload image**. Choose your image.
58+
1. Add the following prompt in the chat field: `Describe this image`, and then select the send icon to submit it.
59+
1. The send icon is replaced by a stop button. If you select it, the assistant stops processing your request. For this quickstart, let the assistant finish its reply.
60+
1. The assistant replies with a description of the image.
61+
1. Ask a follow-up question related to the analysis of your image. You could enter, `"What should I highlight about this image to my insurance company?"`.
62+
1. You should receive a relevant response similar to what's shown here:
63+
```
64+
When reporting the incident to your insurance company, you should highlight the following key points from the image:
65+
66+
1. **Location of Damage**: Clearly state that the front end of the car, particularly the driver's side, is damaged. Mention the crumpled hood, broken front bumper, and the damaged left headlight.
67+
68+
2. **Point of Impact**: Indicate that the car has collided with a guardrail, which may suggest that no other vehicles were involved in the accident.
69+
70+
3. **Condition of the Car**: Note that the damage seems to be concentrated on the front end, and there is no visible damage to the windshield or rear of the car from this perspective.
71+
72+
4. **License Plate Visibility**: Mention that the license plate is intact and can be used for identification purposes.
73+
74+
5. **Environment**: Report that the accident occurred near a roadside with a guardrail, possibly in a rural or semi-rural area, which might help in establishing the accident location and context.
75+
76+
6. **Other Observations**: If there were any other circumstances or details not visible in the image that may have contributed to the accident, such as weather conditions, road conditions, or any other relevant information, be sure to include those as well.
77+
78+
Remember to be factual and descriptive, avoiding speculation about the cause of the accident, as the insurance company will conduct its own investigation.
79+
```
80+
## View and export code
81+
82+
At any point in the chat session, you can enable the **Show raw JSON** switch at the top of the chat window to see the conversation formatted as JSON. Heres' what it looks like at the beginning of the quickstart chat session:
83+
84+
```json
85+
[
86+
{
87+
"role": "system",
88+
"content": [
89+
"You are an AI assistant that helps people find information."
90+
]
91+
},
92+
]
93+
```
94+
4795

4896

4997
## Clean up resources
@@ -52,3 +100,5 @@ If you want to clean up and remove an Azure OpenAI resource, you can delete the
52100

53101
- [Azure portal](../../multi-service-resource.md?pivots=azportal#clean-up-resources)
54102
- [Azure CLI](../../multi-service-resource.md?pivots=azcli#clean-up-resources)
103+
104+

articles/ai-studio/.openpublishing.redirection.ai-studio.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,11 @@
240240
"redirect_url": "/azure/ai-studio/quickstarts/multimodal-vision",
241241
"redirect_document_id": false
242242
},
243+
{
244+
"source_path_from_root": "/articles/ai-studio/quickstarts/multimodal-vision.md",
245+
"redirect_url": "/azure/ai-services/openai/gpt-v-quickstart",
246+
"redirect_document_id": false
247+
},
243248
{
244249
"source_path_from_root": "/articles/ai-studio/reference/reference-model-inference-api.md",
245250
"redirect_url": "/azure/ai-foundry/model-inference/reference/reference-model-inference-api",

articles/ai-studio/ai-services/how-to/connect-azure-openai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Here are a few guides to help you get started with Azure OpenAI Service playgrou
100100
- [Quickstart: Use the chat playground](../../quickstarts/get-started-playground.md)
101101
- [Quickstart: Get started using Azure OpenAI Assistants](../../../ai-services/openai/assistants-quickstart.md?context=/azure/ai-studio/context/context)
102102
- [Quickstart: Use GPT-4o in the real-time audio playground](../../../ai-services/openai/realtime-audio-quickstart.md?context=/azure/ai-studio/context/context)
103-
- [Quickstart: Analyze images and video with GPT-4 for Vision in the playground](../../quickstarts/multimodal-vision.md)
103+
- [Quickstart: Analyze images and video in the chat playground](../../quickstarts/multimodal-vision.md)
104104

105105
Each playground has different model requirements and capabilities. The supported regions will vary depending on the model. For more information about model availability per region, see the [Azure OpenAI Service models documentation](../../../ai-services/openai/concepts/models.md).
106106

articles/ai-studio/concepts/ai-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,6 @@ In the Azure portal, you can find resources that correspond to your project in A
128128

129129
## Next steps
130130

131-
- [Quickstart: Analyze images and video with GPT-4 for Vision in the playground](../quickstarts/multimodal-vision.md)
131+
- [Quickstart: Analyze images and video in the chat playground](../quickstarts/multimodal-vision.md)
132132
- [Learn more about Azure AI Foundry](../what-is-ai-studio.md)
133133
- [Learn more about projects](../how-to/create-projects.md)

0 commit comments

Comments
 (0)