Skip to content

Commit 5c5e78c

Browse files
committed
test
1 parent 6ca1d88 commit 5c5e78c

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

docs/ai/quickstarts/includes/connect-prompt/extensions-ai.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
code .
4343
```
4444
45-
## Build the app
45+
## Add the app code
4646
4747
The app uses the [`Microsoft.Extensions.AI`](https://www.nuget.org/packages/Microsoft.Extensions.AI) package to send and receive requests to the OpenAI service.
4848

docs/ai/quickstarts/includes/connect-prompt/semantic-kernel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
code .
2727
```
2828
29-
## Build the app
29+
## Add the app code
3030
3131
The app uses the [`Microsoft.SemanticKernel`](https://www.nuget.org/packages/Microsoft.SemanticKernel) package to send and receive requests to the OpenAI service.
3232

docs/ai/quickstarts/quickstart-openai-summarize-text.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,15 @@ Choose of the options below to create an Azure OpenAI service.
5454

5555
1. To provision an Azure OpenAI service using another tool such as the Azure portal or Azure CLI, complete the steps in the [Create and deploy an Azure OpenAI Service resource](/azure/ai-services/openai/how-to/create-resource?pivots=cli) article.
5656

57-
1. Assign the `Azure AI Developer` role to the account you used to sign-in to Visual Studio or the Azure CLI. The sample app uses a secretless approach to connect to the Azure OpenAI service using Microsoft Entra ID.
57+
1. Assign the `Azure AI Developer` role to the account you used to sign-in to Visual Studio or the Azure CLI. The sample app uses a secretless approach to connect to the Azure OpenAI service using Microsoft Entra ID and `DefaultAzureCredential`.
58+
59+
1. In your project directory, set the Azure OpenAI deployment model name and endpoint as user secrets:
60+
61+
```csharp
62+
dotnet user-secrets init
63+
dotnet user-secrets set AZURE_OPENAI_ENDPOINT <your-openai-key>
64+
dotnet user-secrets set AZURE_OPENAI_GPT_NAME <your-openai-gpt-name>
65+
5866

5967
# [OpenAI](#tab/openai)
6068

0 commit comments

Comments
 (0)