Skip to content

Commit f0319d2

Browse files
committed
update
1 parent 38b7ef5 commit f0319d2

File tree

8 files changed

+0
-51
lines changed

8 files changed

+0
-51
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ ms.date: 07/26/2023
1919
- The current version of <a href="https://dotnet.microsoft.com/download/dotnet-core" target="_blank">.NET Core</a>
2020
- An Azure OpenAI Service resource with the `gpt-35-turbo-instruct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
2121

22-
> [!div class="nextstepaction"]
23-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=DOTNET&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Prerequisites)
2422

2523
## Set up
2624

@@ -61,8 +59,6 @@ dotnet add package Azure.AI.OpenAI --version 1.0.0-beta.17
6159

6260
[!INCLUDE [environment-variables](environment-variables.md)]
6361

64-
> [!div class="nextstepaction"]
65-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=DOTNET&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Set-up)
6662

6763
## Create a sample application
6864

@@ -106,9 +102,6 @@ Chatbot:
106102
Microsoft was founded on April 4, 1975.
107103
```
108104

109-
> [!div class="nextstepaction"]
110-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=DOTNET&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Create-dotnet-application)
111-
112105

113106
## Clean up resources
114107

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,13 @@ ms.date: 07/26/2023
2121
* The [Gradle build tool](https://gradle.org/install/), or another dependency manager.
2222
- An Azure OpenAI Service resource with the `gpt-35-turbo-instruct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
2323

24-
> [!div class="nextstepaction"]
25-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVA&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Prerequisites)
2624

2725
## Set up
2826

2927
[!INCLUDE [get-key-endpoint](get-key-endpoint.md)]
3028

3129
[!INCLUDE [environment-variables](environment-variables.md)]
3230

33-
> [!div class="nextstepaction"]
34-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVA&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Set-up-the-environment)
3531

3632
## Create a new Java application
3733

@@ -159,8 +155,6 @@ Microsoft was founded on April 4, 1975..
159155
Usage: number of prompt token is 5, number of completion token is 11, and number of total tokens in request and response is 16.
160156
```
161157

162-
> [!div class="nextstepaction"]
163-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVA&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Create-application)
164158

165159
## Clean up resources
166160

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ ms.date: 10/22/2024
2424
- [Azure CLI](/cli/azure/install-azure-cli) used for passwordless authentication in a local development environment, create the necessary context by signing in with the Azure CLI.
2525
- An Azure OpenAI Service resource with the `gpt-35-turbo-instruct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
2626

27-
> [!div class="nextstepaction"]
28-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Prerequisites)
2927

3028

3129
## Set up
@@ -46,8 +44,6 @@ npm install openai @azure/identity
4644

4745
Your app's _package.json_ file will be updated with the dependencies.
4846

49-
> [!div class="nextstepaction"]
50-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Set-up-the-environment)
5147

5248
## Create a sample application
5349

@@ -152,8 +148,6 @@ Microsoft was founded on April 4, 1975.
152148
> [!NOTE]
153149
> If your receive the error: *Error occurred: OpenAIError: The `apiKey` and `azureADTokenProvider` arguments are mutually exclusive; only one can be passed at a time.* You may need to remove a pre-existing environment variable for the API key from your system. Even though the Microsoft Entra ID code sample is not explicitly referencing the API key environment variable, if one is present on the system executing this sample, this error will still be generated.
154150
155-
> [!div class="nextstepaction"]
156-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Create-application)
157151

158152
## Clean up resources
159153

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ ms.date: 08/28/2023
1515
- <a href="https://aka.ms/installpowershell" target="_blank">You can use either the latest version, PowerShell 7, or Windows PowerShell 5.1.</a>
1616
- An Azure OpenAI Service resource with a model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
1717

18-
> [!div class="nextstepaction"]
19-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=POWERSHELL&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Prerequisites)
20-
2118
## Retrieve key and endpoint
2219

2320
To successfully make a call against the Azure OpenAI service, you'll need the following:
@@ -70,8 +67,6 @@ echo export AZURE_OPENAI_ENDPOINT="REPLACE_WITH_YOUR_ENDPOINT_HERE" >> /etc/envi
7067

7168
---
7269

73-
> [!div class="nextstepaction"]
74-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=POWERSHELL&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Set-up)
7570

7671
## Create a new PowerShell script
7772

@@ -131,8 +126,6 @@ Once upon a time...
131126

132127
Run the code a few more times to see what other types of responses you get as the response won't always be the same.
133128

134-
> [!div class="nextstepaction"]
135-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=POWERSHELL&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Create-PowerShell-script)
136129

137130
### Understanding your results
138131

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ ms.date: 01/03/2024
1818
- The following Python libraries: os, requests, json
1919
- An Azure OpenAI Service resource with a `gpt-35-turbo-instruct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
2020

21-
> [!div class="nextstepaction"]
22-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=PYTHON&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Prerequisites)
2321

2422
## Set up
2523

@@ -60,8 +58,6 @@ Go to your resource in the Azure portal. The **Keys and Endpoint** can be found
6058

6159
[!INCLUDE [environment-variables](environment-variables.md)]
6260

63-
> [!div class="nextstepaction"]
64-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=PYTHON&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Set-up)
6561

6662
## Create a new Python application
6763

@@ -133,8 +129,6 @@ Write a tagline for an ice cream shop. The coldest ice cream in town!
133129

134130
Run the code a few more times to see what other types of responses you get as the response won't always be the same.
135131

136-
> [!div class="nextstepaction"]
137-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=PYTHON&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Create-python-application)
138132

139133
### Understanding your results
140134

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ Go to your resource in the Azure portal. The **Endpoint and Keys** can be found
3434

3535
[!INCLUDE [environment-variables](environment-variables.md)]
3636

37-
> [!div class="nextstepaction"]
38-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=REST&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Set-up)
39-
4037

4138
## REST API
4239

@@ -82,8 +79,6 @@ The output from the completions API will look as follows.
8279
}
8380
```
8481

85-
> [!div class="nextstepaction"]
86-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=REST&Pillar=AOAI&Product=gpt&Page=quickstart&Section=Create-sample-code)
8782

8883
The Azure OpenAI Service also performs content moderation on the prompt inputs and generated outputs. The prompts or responses may be filtered if harmful content is detected. For more information, see the [content filter](../concepts/content-filter.md) article.
8984

articles/ai-services/openai/includes/spring.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,13 @@ ms.date: 11/27/2023
1717
- The [Spring Boot CLI tool](https://docs.spring.io/spring-boot/docs/current/reference/html/getting-started.html#getting-started.installing.cli)
1818
- An Azure OpenAI Service resource with the `gpt-35-turbo` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
1919

20-
> [!div class="nextstepaction"]
21-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=SPRING&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Prerequisites)
2220

2321
## Set up
2422

2523
[!INCLUDE [get-key-endpoint](get-key-endpoint.md)]
2624

2725
[!INCLUDE [environment-variables](spring-environment-variables.md)]
2826

29-
> [!div class="nextstepaction"]
30-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=SPRING&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Set-up-the-environment)
31-
3227
## Create a new Spring application
3328

3429
Create a new Spring project.
@@ -213,8 +208,6 @@ Prompt created 1 generated response(s).
213208
Generated respose from "assistant": Microsoft was founded on April 4, 1975.
214209
```
215210

216-
> [!div class="nextstepaction"]
217-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=SPRING&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Create-application)
218211

219212
## Clean up resources
220213

articles/ai-services/openai/includes/typescript.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ ms.date: 10/22/2024
2424
- [Azure CLI](/cli/azure/install-azure-cli) used for passwordless authentication in a local development environment, create the necessary context by signing in with the Azure CLI.
2525
- An Azure OpenAI Service resource with the `gpt-35-turbo-instruct` model deployed. For more information about model deployment, see the [resource deployment guide](../how-to/create-resource.md).
2626

27-
> [!div class="nextstepaction"]
28-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Prerequisites)
29-
3027
## Set up
3128

3229
[!INCLUDE [get-key-endpoint](get-key-endpoint.md)]
@@ -45,8 +42,6 @@ npm install openai @azure/identity
4542

4643
Your app's _package.json_ file will be updated with the dependencies.
4744

48-
> [!div class="nextstepaction"]
49-
> [I ran into an issue with the setup.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Set-up-the-environment)
5045

5146
## Create a sample application
5247

@@ -207,8 +202,6 @@ Microsoft was founded on April 4, 1975.
207202
> [!NOTE]
208203
> If your receive the error: *Error occurred: OpenAIError: The `apiKey` and `azureADTokenProvider` arguments are mutually exclusive; only one can be passed at a time.* You may need to remove a pre-existing environment variable for the API key from your system. Even though the Microsoft Entra ID code sample is not explicitly referencing the API key environment variable, if one is present on the system executing this sample, this error will still be generated.
209204
210-
> [!div class="nextstepaction"]
211-
> [I ran into an issue when running the code sample.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=JAVASCRIPT&Pillar=AOAI&&Product=gpt&Page=quickstart&Section=Create-application)
212205

213206
## Clean up resources
214207

0 commit comments

Comments
 (0)