Skip to content

Commit b936849

Browse files
committed
preserve true for links
1 parent c41ff9b commit b936849

File tree

3 files changed

+29
-29
lines changed

3 files changed

+29
-29
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Use this guide to get started calling the Azure OpenAI Service image generation
1818
1919
## Prerequisites
2020

21-
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/cognitive-services).
21+
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/ai-services&preserve-view=true).
2222
- Access granted to DALL-E in the desired Azure subscription.
23-
- [Python 3.7.1 or later version](https://www.python.org/).
23+
- [Python 3.7.1 or later version](https://www.python.org/&preserve-view=true).
2424
- The following Python libraries: `os`, `requests`, `json`.
25-
- 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).
25+
- 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&preserve-view=true).
2626

2727
> [!NOTE]
28-
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
28+
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access&preserve-view=true). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2929
3030
## Retrieve key and endpoint
3131

@@ -103,7 +103,7 @@ Create a new Python file named _quickstart.py_. Open the new file in your prefer
103103
```
104104

105105
> [!IMPORTANT]
106-
> Remember to remove the key from your code when you're done, and never post your key publicly. For production, use a secure way of storing and accessing your credentials. For more information, see [Azure Key Vault](../../../key-vault/general/overview.md).
106+
> Remember to remove the key from your code when you're done, and never post your key publicly. For production, use a secure way of storing and accessing your credentials. For more information, see [Azure Key Vault](../../../key-vault/general/overview.md&preserve-view=true).
107107

108108
1. Run the application with the `python` command:
109109

@@ -117,16 +117,16 @@ Create a new Python file named _quickstart.py_. Open the new file in your prefer
117117

118118
Azure OpenAI stores the output image in the _generated_image.png_ file in your specified directory. The script also displays the image in your default image viewer.
119119

120-
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md).
120+
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md&preserve-view=true).
121121

122122
## Clean up resources
123123

124124
If you want to clean up and remove an Azure OpenAI resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
125125

126-
- [Azure portal](../../multi-service-resource.md?pivots=azportal#clean-up-resources)
127-
- [Azure CLI](../../multi-service-resource.md?pivots=azcli#clean-up-resources)
126+
- [Azure portal](../../multi-service-resource.md?pivots=azportal#clean-up-resources&preserve-view=true)
127+
- [Azure CLI](../../multi-service-resource.md?pivots=azcli#clean-up-resources&preserve-view=true)
128128

129129
## Next steps
130130

131-
* Learn more in this [Azure OpenAI overview](../overview.md).
132-
* Try examples in the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples).
131+
* Learn more in this [Azure OpenAI overview](../overview.md&preserve-view=true).
132+
* Try examples in the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples&preserve-view=true).

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ Use this guide to get started calling the Azure OpenAI Service image generation
1818
1919
## Prerequisites
2020

21-
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/cognitive-services).
21+
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/ai-services&preserve-view=true).
2222
- Access granted to DALL-E in the desired Azure subscription.
23-
- [Python 3.7.1 or later version](https://www.python.org/).
23+
- [Python 3.7.1 or later version](https://www.python.org/&preserve-view=true).
2424
- The following Python libraries: `os`, `requests`, `json`.
25-
- 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).
25+
- 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&preserve-view=true).
2626

2727
> [!NOTE]
28-
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
28+
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access&preserve-view=true). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2929
3030
## Retrieve key and endpoint
3131

@@ -81,7 +81,7 @@ Create a new Python file named _quickstart.py_. Open the new file in your prefer
8181
```
8282

8383
> [!IMPORTANT]
84-
> Remember to remove the key from your code when you're done, and never post your key publicly. For production, use a secure way of storing and accessing your credentials. For more information, see [Azure Key Vault](../../../key-vault/general/overview.md).
84+
> Remember to remove the key from your code when you're done, and never post your key publicly. For production, use a secure way of storing and accessing your credentials. For more information, see [Azure Key Vault](../../../key-vault/general/overview.md&preserve-view=true).
8585

8686
1. Run the application with the `python` command:
8787

@@ -113,7 +113,7 @@ The output from a successful image generation API call looks like the following
113113
}
114114
```
115115

116-
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md).
116+
The image generation APIs come with a content moderation filter. If the service recognizes your prompt as harmful content, it doesn't generate an image. For more information, see [Content filtering](../concepts/content-filter.md&preserve-view=true).
117117

118118
The system returns an operation status of `Failed` and the `error.code` value in the message is set to `contentFilter`. Here's an example:
119119

@@ -156,10 +156,10 @@ It's also possible that the generated image itself is filtered. In this case, th
156156

157157
If you want to clean up and remove an Azure OpenAI resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
158158

159-
- [Azure portal](../../multi-service-resource.md?pivots=azportal#clean-up-resources)
160-
- [Azure CLI](../../multi-service-resource.md?pivots=azcli#clean-up-resources)
159+
- [Azure portal](../../multi-service-resource.md?pivots=azportal#clean-up-resources&preserve-view=true)
160+
- [Azure CLI](../../multi-service-resource.md?pivots=azcli#clean-up-resources&preserve-view=true)
161161

162162
## Next steps
163163

164-
* Learn more in this [Azure OpenAI overview](../overview.md).
165-
* Try examples in the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples).
164+
* Learn more in this [Azure OpenAI overview](../overview.md&preserve-view=true).
165+
* Try examples in the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples&preserve-view=true).

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@ Use this guide to get started generating images with Azure OpenAI in your browse
1818
1919
## Prerequisites
2020

21-
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/cognitive-services).
21+
- An Azure subscription. You can [create a free account](https://azure.microsoft.com/free/ai-services&preserve-view=true).
2222
- Access granted to DALL-E in the desired Azure subscription.
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).
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&preserve-view=true).
2424

2525
> [!NOTE]
26-
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
26+
> Currently, you must submit an application to access Azure OpenAI Service. To apply for access, complete [this form](https://aka.ms/oai/access&preserve-view=true). Existing Azure OpenAI customers need to resubmit the form to receive access to DALL-E. If you need assistance, open an issue on this repo to contact Microsoft.
2727
2828
## Go to Azure OpenAI Studio
2929

30-
To access Azure OpenAI Studio, browse to https://oai.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.
30+
Browse to [Azure OpenAI Studio](https://oai.azure.com/&preserve-view=true) 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.
3131

3232
From the Azure OpenAI Studio landing page, select **DALL·E playground (Preview)** to use the image generation APIs.
3333

@@ -36,7 +36,7 @@ From the Azure OpenAI Studio landing page, select **DALL·E playground (Preview)
3636
Start exploring Azure OpenAI capabilities with a no-code approach through the **DALL·E playground (Preview)**. Enter your image prompt into the text box and select **Generate**. When the AI-generated image is ready, it appears on the page.
3737

3838
> [!NOTE]
39-
> The image generation APIs come with a content moderation filter. If Azure OpenAI recognizes your prompt as harmful content, it doesn't return a generated image. For more information, see [Content filtering](../concepts/content-filter.md).
39+
> The image generation APIs come with a content moderation filter. If Azure OpenAI recognizes your prompt as harmful content, it doesn't return a generated image. For more information, see [Content filtering](../concepts/content-filter.md&preserve-view=true).
4040
4141
:::image type="content" source="../media/quickstarts/dall-e-studio.png" alt-text="Screenshot of the Azure OpenAI Studio landing page showing the DALL-E playground (Preview) with generated images of polar bears." lightbox="../media/quickstarts/dall-e-studio.png":::
4242

@@ -46,10 +46,10 @@ In the **DALL·E playground (Preview)**, you can also view Python and cURL code
4646

4747
If you want to clean up and remove an Azure OpenAI resource, you can delete the resource or resource group. Deleting the resource group also deletes any other resources associated with it.
4848

49-
- [Azure portal](../../multi-service-resource.md?pivots=azportal#clean-up-resources)
50-
- [Azure CLI](../../multi-service-resource.md?pivots=azcli#clean-up-resources)
49+
- [Azure portal](../../multi-service-resource.md?pivots=azportal#clean-up-resources&preserve-view=true)
50+
- [Azure CLI](../../multi-service-resource.md?pivots=azcli#clean-up-resources&preserve-view=true)
5151

5252
## Next steps
5353

54-
* Learn more in this [Azure OpenAI overview](../overview.md).
55-
* Try examples in the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples).
54+
* Learn more in this [Azure OpenAI overview](../overview.md&preserve-view=true).
55+
* Try examples in the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples&preserve-view=true).

0 commit comments

Comments
 (0)