You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ai/quickstarts/quickstart-openai-summarize-text.md
+5-12Lines changed: 5 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ The sample project includes completed apps you can run to connect to your AI mod
48
48
# [Azure OpenAI](#tab/azure-openai)
49
49
50
50
> [!NOTE]
51
-
> The Azure OpenAI scenario assumes the use of `azd` to provision an Azure OpenAI resource and configure essential permissions. If you prefer not to use `azd`, you can [provision an Azure OpenAI resource](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/create-resource?pivots=web-portal) using another tool such as the Azure portal or Azure CLI.
51
+
> The Azure OpenAI scenario assumes the use of `azd` to provision an Azure OpenAI resource and configure essential permissions. If you prefer not to use `azd`, you can [provision an Azure OpenAI resource](/azure/ai-services/openai/how-to/create-resource) using another tool such as the Azure portal or Azure CLI.
52
52
53
53
1. From a terminal or command prompt, navigate to the `azure-openai\01-HikeBenefitsSummary` directory.
54
54
@@ -81,7 +81,7 @@ The **Program.cs** file contains all of the app code. The first several lines of
81
81
> [!NOTE]
82
82
>`DefaultAzureCredential` searches for credentials from your local tooling. If you are not using the `azd` template to provision the Azure OpenAI resource, you'll need to assign the `Azure AI Developer` role to the account you used to sign-in to Visual Studio or the Azure CLI.
Customize the text content of the file or the length of the summary to see the differences in the responses.
111
111
@@ -154,14 +154,7 @@ Get started with AI by creating a simple .NET 8.0 console chat application to su
154
154
155
155
1. From a terminal or command prompt, navigate to the `azure-openai\01-HikeBenefitsSummary` directory.
156
156
157
-
1. Run the `azd up` command to provision the Azure OpenAI resource using the [Azure Developer CLI](/developer/azure-developer-cli/overview). `azd` provisions the Azure OpenAI resources and configures user secrets for you.
158
-
159
-
1. Run the following commands to configure your OpenAI API key as a secret for the sample app:
160
-
161
-
```bash
162
-
dotnet user-secrets init
163
-
dotnet user-secrets set AzureOpenAIKey <your-openai-key>
164
-
```
157
+
1. Run the `azd up` command to provision the Azure OpenAI resource using the [Azure Developer CLI](/developer/azure-developer-cli/overview). `azd` provisions the Azure OpenAI resources and configures permissions for you.
0 commit comments