diff --git a/02-SetupDevEnvironment/readme.md b/02-SetupDevEnvironment/readme.md index 802dc6f..6eec8b6 100644 --- a/02-SetupDevEnvironment/readme.md +++ b/02-SetupDevEnvironment/readme.md @@ -124,10 +124,14 @@ Once your Codespace is fully loaded and configured, let's run a sample app to ve 1. Open the terminal. You can open a terminal window by typing **Ctrl+\`** (backtick) on Windows or **Cmd+`** on macOS. 1. Switch to the proper directory by running the following command: - + If you're using Windows Command Prompt (CMD) or PowerShell: ```bash cd 02-SetupDevEnvironment\src\BasicChat-01MEAI ``` + or If you're using Linux, macOS, Git Bash, WSL, or the VS Code terminal + ```bash + cd 02-SetupDevEnvironment/src/BasicChat-01MEAI + ``` 1. Then run the application with the following command: diff --git a/03-CoreGenerativeAITechniques/01-lm-completions-functions.md b/03-CoreGenerativeAITechniques/01-lm-completions-functions.md index 91b0e09..ba43abb 100644 --- a/03-CoreGenerativeAITechniques/01-lm-completions-functions.md +++ b/03-CoreGenerativeAITechniques/01-lm-completions-functions.md @@ -114,9 +114,9 @@ while (true) // Process the message with the chat client (example) var response = await client.GetResponseAsync(conversation); - conversation.Add(response.Message); + conversation.AddRange(response.Messages); - Console.WriteLine(response.Message.Text); + Console.WriteLine(response.Text); } ```