Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwolfmsft committed Jul 18, 2024
1 parent e3eadfc commit e5ea1a2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 7 deletions.
6 changes: 4 additions & 2 deletions docs/ai/quickstarts/get-started-openai.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Get started with Semantic Kernel by creating a simple .NET 8 console chat applic
<!-- markdownlint-disable MD029 MD044 -->
:::zone target="docs" pivot="openai"

1. Clone the repository: [dotnet/ai-samples](https://github.com/dotnet/ai-samples)

1. From a terminal or command prompt, navigate to the `openai\02-HikerAI` directory.

[!INCLUDE [download-alert](includes/set-openai-secrets.md)]
Expand All @@ -49,7 +51,7 @@ Get started with Semantic Kernel by creating a simple .NET 8 console chat applic

:::zone-end

2. It's now time to try the console application. Type in the following to run the app:
2. Use the following to run the app:

```dotnetcli
dotnet run
Expand All @@ -65,7 +67,7 @@ Get started with Semantic Kernel by creating a simple .NET 8 console chat applic
:::zone target="docs" pivot="openai"
<!-- markdownlint-enable MD044 -->

## Understanding the code
## Explore the code

The application uses the [`Microsoft.SemanticKernel`](https://www.nuget.org/packages/Microsoft.SemanticKernel) package to send and receive requests to the OpenAI service.

Expand Down
4 changes: 1 addition & 3 deletions docs/ai/quickstarts/includes/prerequisites-openai.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@ ms.topic: include

- .NET 8.0 SDK - [Install the .NET 8.0 SDK](https://dotnet.microsoft.com/download/dotnet/8.0).
- An [API key from OpenAI](https://platform.openai.com/docs/quickstart/account-setup) so you can run this sample.
- On Windows, PowerShell `v7+` is required. To validate your version, run `pwsh` in a terminal. It should return the current version. If it returns an error, execute the following command: `dotnet tool update --global PowerShell`.

1. Clone the repository: [dotnet/ai-samples](https://github.com/dotnet/ai-samples)
- On Windows, PowerShell `v7+` is required. To validate your version, run `pwsh` in a terminal. It should return the current version. If it returns an error, execute the following command: `dotnet tool update --global PowerShell`.
2 changes: 2 additions & 0 deletions docs/ai/quickstarts/quickstart-ai-chat-with-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Get started with AI development, using the `gpt-35-turbo` model from a simple .N
<!-- markdownlint-disable MD029 MD044 -->
:::zone target="docs" pivot="openai"

1. Clone the repository: [dotnet/ai-samples](https://github.com/dotnet/ai-samples)

1. From a terminal or command prompt, navigate to the `openai\03-ChattingAboutMyHikes` directory.

[!INCLUDE [download-alert](includes/set-openai-secrets.md)]
Expand Down
2 changes: 2 additions & 0 deletions docs/ai/quickstarts/quickstart-azure-openai-tool.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Get started with AI by creating a simple .NET 8 console chat application. The ap
<!-- markdownlint-disable MD029 MD044 -->
:::zone target="docs" pivot="openai"

1. Clone the repository: [dotnet/ai-samples](https://github.com/dotnet/ai-samples)

1. From a terminal or command prompt, navigate to the `openai\04-HikerAIPro` directory.

[!INCLUDE [download-alert](includes/set-openai-secrets.md)]
Expand Down
4 changes: 3 additions & 1 deletion docs/ai/quickstarts/quickstart-openai-generate-images.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Get started with AI by creating a simple .NET 8 console chat application. The ap
<!-- markdownlint-disable MD029 MD044 -->
:::zone target="docs" pivot="openai"

1. Clone the repository: [dotnet/ai-samples](https://github.com/dotnet/ai-samples)

1. From a terminal or command prompt, navigate to the `openai\05-HikeImages` directory.

[!INCLUDE [download-alert](includes/set-openai-secrets.md)]
Expand All @@ -60,7 +62,7 @@ Get started with AI by creating a simple .NET 8 console chat application. The ap
:::zone-end
<!-- markdownlint-enable MD029 MD044 -->

## Understanding the code
## Explore the code

<!-- markdownlint-disable MD044 -->
:::zone target="docs" pivot="openai"
Expand Down
4 changes: 3 additions & 1 deletion docs/ai/quickstarts/quickstart-openai-summarize-text.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ Get started with AI by creating a simple .NET 8 console chat application to summ
<!-- markdownlint-disable MD029 MD044 -->
:::zone target="docs" pivot="openai"

1. Clone the repository: [dotnet/ai-samples](https://github.com/dotnet/ai-samples)

1. From a terminal or command prompt, navigate to the `openai\01-HikeBenefitsSummary` directory.

[!INCLUDE [download-alert](includes/set-openai-secrets.md)]
Expand All @@ -59,7 +61,7 @@ Get started with AI by creating a simple .NET 8 console chat application to summ
If you get an error message the Azure OpenAI resources may not have finished deploying. Wait a couple of minutes and try again.
:::zone-end

## Understanding the code
## Explore the code

<!-- markdownlint-disable MD044 -->
:::zone target="docs" pivot="openai"
Expand Down

0 comments on commit e5ea1a2

Please sign in to comment.