Skip to content

Commit 9090c57

Browse files
Apply suggestions from code review
Co-authored-by: Genevieve Warren <[email protected]>
1 parent 77e144a commit 9090c57

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The app uses the [`Microsoft.Extensions.AI`](https://www.nuget.org/packages/Micr
113113
:::code language="csharp" source="snippets/prompt-completion/azure-openai/program.cs" range="1-12":::
114114
115115
> [!NOTE]
116-
> [`DefaultAzureCredential`](/dotnet/api/azure.identity.defaultazurecredential?view=azure-dotnet) searches for authentication 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. Visit the [Authenticate to Azure AI services with .NET](/dotnet/ai/azure-ai-services-authentication) page for more information.
116+
> <xref:Azure.Identity.DefaultAzureCredential> searches for authentication credentials from your local tooling. If you aren't 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. For more information, see [Authenticate to Azure AI services with .NET](/dotnet/ai/azure-ai-services-authentication).
117117
118118
:::zone-end
119119
@@ -123,11 +123,11 @@ The app uses the [`Microsoft.Extensions.AI`](https://www.nuget.org/packages/Micr
123123
124124
:::zone-end
125125
126-
1. Read the `benefits.md` file content and use it to create a `prompt` for model. The prompt instructs the model to summarize the file text content.
126+
1. Read the `benefits.md` file content and use it to create a prompt for the model. The prompt instructs the model to summarize the file text content.
127127
128128
:::code language="csharp" source="snippets/prompt-completion/openai/program.cs" range="13-19":::
129129
130-
1. Call the `InvokePromptAsync` function to send the `prompt` to the model to generate a response.
130+
1. Call the `InvokePromptAsync` function to send the prompt to the model to generate a response.
131131
132132
:::code language="csharp" source="snippets/prompt-completion/openai/program.cs" range="21-23":::
133133

0 commit comments

Comments
 (0)