Skip to content

Commit 309d3e0

Browse files
committed
aoai freshness
1 parent c04316e commit 309d3e0

File tree

12 files changed

+29
-29
lines changed

12 files changed

+29
-29
lines changed

articles/ai-services/openai/dall-e-quickstart.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ ms.custom: devx-track-python, devx-track-dotnet, devx-track-extended-java, devx-
99
ms.topic: quickstart
1010
author: PatrickFarley
1111
ms.author: pafarley
12-
ms.date: 08/08/2023
12+
ms.date: 08/21/2024
1313
zone_pivot_groups: openai-quickstart-dall-e
1414
---
1515

1616
# Quickstart: Generate images with Azure OpenAI Service
1717

1818
> [!NOTE]
19-
> The image generation API creates an image from a text prompt. It does not edit existing images or create variations.
19+
> The image generation API creates an image from a text prompt. It does not edit or create variations from existing images.
2020
2121
::: zone pivot="programming-language-studio"
2222

@@ -61,7 +61,6 @@ zone_pivot_groups: openai-quickstart-dall-e
6161
::: zone-end
6262

6363

64-
6564
::: zone pivot="programming-language-powershell"
6665

6766
[!INCLUDE [PowerShell quickstart](includes/dall-e-powershell.md)]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.custom: devx-track-python
99
ms.topic: quickstart
1010
author: PatrickFarley
1111
ms.author: pafarley
12-
ms.date: 11/02/2023
12+
ms.date: 08/21/2024
1313
zone_pivot_groups: openai-quickstart-gpt-v
1414
---
1515

articles/ai-services/openai/how-to/gpt-with-vision.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ author: PatrickFarley #dereklegenzoff
66
ms.author: pafarley #delegenz
77
ms.service: azure-ai-openai
88
ms.topic: how-to
9-
ms.date: 11/06/2023
9+
ms.date: 08/21/2024
1010
manager: nitinme
1111
---
1212

@@ -15,7 +15,7 @@ manager: nitinme
1515

1616
GPT-4 Turbo with Vision is a large multimodal model (LMM) developed by OpenAI that can analyze images and provide textual responses to questions about them. It incorporates both natural language processing and visual understanding.
1717

18-
The GPT-4 Turbo with Vision model answers general questions about what's present in the images. You can also show it video if you use [Vision enhancement](#use-vision-enhancement-with-video).
18+
The GPT-4 Turbo with Vision model answers general questions about what's present in images. You can also show it video if you use [Vision enhancement](#use-vision-enhancement-with-video).
1919

2020
> [!TIP]
2121
> To use GPT-4 Turbo with Vision, you call the Chat Completion API on a GPT-4 Turbo with Vision model that you have deployed. If you're not familiar with the Chat Completion API, see the [GPT-4 Turbo & GPT-4 how-to guide](/azure/ai-services/openai/how-to/chatgpt?tabs=python&pivots=programming-language-chat-completions).
@@ -236,12 +236,12 @@ The API response should look like the following.
236236
}
237237
```
238238

239-
Every response includes a `"finish_details"` field. It has the following possible values:
239+
Every response includes a `"finish_reason"` field. It has the following possible values:
240240
- `stop`: API returned complete model output.
241241
- `length`: Incomplete model output due to the `max_tokens` input parameter or model's token limit.
242242
- `content_filter`: Omitted content due to a flag from our content filters.
243243

244-
## Detail parameter settings in image processing: Low, High, Auto
244+
### Detail parameter settings in image processing: Low, High, Auto
245245

246246
The _detail_ parameter in the model offers three choices: `low`, `high`, or `auto`, to adjust the way the model interprets and processes images. The default setting is auto, where the model decides between low or high based on the size of the image input.
247247
- `low` setting: the model does not activate the "high res" mode, instead processes a lower resolution 512x512 version, resulting in quicker responses and reduced token consumption for scenarios where fine detail isn't crucial.
@@ -400,7 +400,7 @@ The chat responses you receive from the model should now include enhanced inform
400400
"choices":
401401
[
402402
{
403-
"finish_details": {
403+
"finish_reason": {
404404
"type": "stop",
405405
"stop": "<|fim_suffix|>"
406406
},
@@ -443,7 +443,7 @@ The chat responses you receive from the model should now include enhanced inform
443443
}
444444
```
445445

446-
Every response includes a `"finish_details"` field. It has the following possible values:
446+
Every response includes a `"finish_reason"` field. It has the following possible values:
447447
- `stop`: API returned complete model output.
448448
- `length`: Incomplete model output due to the `max_tokens` input parameter or model's token limit.
449449
- `content_filter`: Omitted content due to a flag from our content filters.
@@ -763,7 +763,7 @@ The chat responses you receive from the model should include information about t
763763
}
764764
```
765765
766-
Every response includes a `"finish_details"` field. It has the following possible values:
766+
Every response includes a `"finish_reason"` field. It has the following possible values:
767767
- `stop`: API returned complete model output.
768768
- `length`: Incomplete model output due to the `max_tokens` input parameter or model's token limit.
769769
- `content_filter`: Omitted content due to a flag from our content filters.

articles/ai-services/openai/includes/dall-e-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use this guide to get started generating images with the Azure OpenAI SDK for C#
1919

2020
- An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services?azure-portal=true)
2121
- The [.NET 7 SDK](https://dotnet.microsoft.com/download/dotnet/7.0)
22-
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
22+
- An Azure OpenAI resource created in a supported region (see [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability)). For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
2323

2424

2525
## Setup

articles/ai-services/openai/includes/dall-e-go.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Use this guide to get started generating images with the Azure OpenAI SDK for Go
1616
## Prerequisites
1717

1818
- An Azure subscription - <a href="https://azure.microsoft.com/free/cognitive-services" target="_blank">Create one for free</a>
19-
* [Go 1.8+](https://go.dev/doc/install)
20-
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
19+
- [Go 1.8+](https://go.dev/doc/install)
20+
- An Azure OpenAI resource created in a supported region (see [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability)). For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
2121

2222

2323
## Setup

articles/ai-services/openai/includes/dall-e-java.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ Use this guide to get started generating images with the Azure OpenAI SDK for Ja
1818
## Prerequisites
1919

2020
- An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services?azure-portal=true)
21-
* The current version of the [Java Development Kit (JDK)](https://www.microsoft.com/openjdk)
22-
* The [Gradle build tool](https://gradle.org/install/), or another dependency manager.
23-
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
21+
- The current version of the [Java Development Kit (JDK)](https://www.microsoft.com/openjdk)
22+
- The [Gradle build tool](https://gradle.org/install/), or another dependency manager.
23+
- An Azure OpenAI resource created in a supported region (see [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability)). For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
2424

2525

2626
## Setup

articles/ai-services/openai/includes/dall-e-javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Use this guide to get started generating images with the Azure OpenAI SDK for Ja
1919

2020
- An Azure subscription - [Create one for free](https://azure.microsoft.com/free/cognitive-services?azure-portal=true)
2121
- [LTS versions of Node.js](https://github.com/nodejs/release#release-schedule)
22-
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
22+
- An Azure OpenAI resource created in a supported region (see [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability)). For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
2323

2424

2525
## Setup

articles/ai-services/openai/includes/dall-e-powershell.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,16 @@ ms.topic: include
99
ms.date: 08/29/2023
1010
---
1111

12-
Use this guide to get started calling the Azure OpenAI Service image generation APIs by using PowerShell.
12+
Use this guide to get started calling the Azure OpenAI Service image generation APIs with PowerShell.
1313

1414
> [!NOTE]
15-
> The image generation API creates an image from a text prompt. It doesn't edit existing images or create variations.
15+
> The image generation API creates an image from a text prompt. It doesn't edit or create variations of existing images.
1616
1717
## Prerequisites
1818

1919
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
2020
- For this task, <a href="https://aka.ms/installpowershell" target="_blank">the latest version of PowerShell 7</a> is recommended because the examples use new features not available in Windows PowerShell 5.1.
21-
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
21+
- An Azure OpenAI resource created in a supported region (see [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability)). For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
2222

2323

2424
## Setup
@@ -27,10 +27,12 @@ Use this guide to get started calling the Azure OpenAI Service image generation
2727

2828
[!INCLUDE [environment-variables](environment-variables.md)]
2929

30+
<!--
3031
> [!div class="nextstepaction"]
3132
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=POWERSHELL&Pillar=AOAI&Product=Chatgpt&Page=quickstart&Section=Set-up)
33+
-->
3234

33-
## Create a new PowerShell script
35+
## Generate images with DALL-E 2
3436

3537
1. Create a new PowerShell file named _quickstart.ps1_. Open the new file in your preferred editor or IDE.
3638

articles/ai-services/openai/includes/dall-e-python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ Use this guide to get started generating images with the Azure OpenAI SDK for Py
2121

2222
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
2323
- <a href="https://www.python.org/" target="_blank">Python 3.8 or later version</a>.
24-
- An Azure OpenAI resource created in the `EastUS`, `AustraliaEast`, or `SwedenCentral` region.
24+
- An Azure OpenAI resource created in a compatible region. See [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability).
2525
- Then, you need to deploy a `dalle3` model with your Azure resource. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
2626

2727
#### [DALL-E 2 (preview)](#tab/dalle2)
2828

2929
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
3030
- <a href="https://www.python.org/" target="_blank">Python 3.8 or later version</a>.
31-
- An Azure OpenAI resource created in the `EastUS` region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
31+
- An Azure OpenAI resource created in a supported region (see [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability)). For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
3232

3333
---
3434

articles/ai-services/openai/includes/dall-e-rest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ Use this guide to get started calling the Azure OpenAI Service image generation
2020
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
2121
- <a href="https://www.python.org/" target="_blank">Python 3.8 or later version</a>.
2222
- The following Python libraries installed: `os`, `requests`, `json`.
23-
- An Azure OpenAI resource created in the `EastUS`, `AustraliaEast`, or `SwedenCentral` region.
23+
- An Azure OpenAI resource created in a supported region. See [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability).
2424
- Then, you need to deploy a `dalle3` model with your Azure resource. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
2525

2626
#### [DALL-E 2 (preview)](#tab/dalle2)
2727

2828
- An Azure subscription. <a href="https://azure.microsoft.com/free/ai-services" target="_blank">Create one for free</a>.
2929
- <a href="https://www.python.org/" target="_blank">Python 3.8 or later version</a>.
3030
- The following Python libraries installed: `os`, `requests`, `json`.
31-
- An Azure OpenAI resource created in the East US region. For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
31+
- An Azure OpenAI resource created in a supported region (see [Region availability](/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability)). For more information, see [Create a resource and deploy a model with Azure OpenAI](../how-to/create-resource.md).
3232

3333
---
3434

0 commit comments

Comments
 (0)