Skip to content

Commit bc27ca6

Browse files
committed
lint fix test
1 parent 0334ddb commit bc27ca6

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/ai/quickstarts/includes/create-ai-service.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
dotnet user-secrets set OpenAIKey <your-openai-key>
3131
```
3232

33-
---
33+
---

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ In this quickstart, learn how to create a .NET console chat app to connect to an
5050
5151
:::zone target="docs" pivot="azure-openai"
5252
53+
<!-- markdownlint-disable MD047 -->
5354
```bash
5455
dotnet add package Azure.Identity
5556
dotnet add package Azure.AI.OpenAI
@@ -85,20 +86,25 @@ The app uses the [`Microsoft.SemanticKernel`](https://www.nuget.org/packages/Mic
8586
8687
1. In the **Program.cs** file, add the following code to connect and authenticate to the AI model.
8788
88-
<!-- markdownlint-disable MD023 -->
89-
# [Azure OpenAI](#tab/azure-openai)
89+
:::zone target="docs" pivot="azure-openai"
9090
9191
:::code language="csharp" source="snippets/prompt-completion/azure-openai/program.cs" range="6-14":::
9292
9393
> [!NOTE]
9494
> `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.
9595
96+
:::zone-end
97+
98+
:::zone target="docs" pivot="azure-openai"
99+
96100
# [OpenAI](#tab/openai)
97101
98102
:::code language="csharp" source="snippets/prompt-completion/openai/program.cs" range="5-13":::
99103
100104
---
101105
106+
:::zone-end
107+
102108
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.
103109
104110
:::code language="csharp" source="snippets/prompt-completion/openai/program.cs" range="15-20":::

0 commit comments

Comments
 (0)