From f7f227fbf603358d61772832b550c70ee86b8052 Mon Sep 17 00:00:00 2001 From: cdMSFT <60192871+cdMSFT@users.noreply.github.com> Date: Mon, 15 May 2023 12:49:25 -0500 Subject: [PATCH] correct order for AddAzureTextCompletionService params in dotnet readme (#974) ### Motivation and Context dotnet README.md has incorrect order for parameters for AddAzureTextCompletionService Error message returns: "The Azure OpenAI endpoint must start with 'https://'" when following the read me. ### Description Changed the order to reflect the constructor. --- dotnet/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotnet/README.md b/dotnet/README.md index 10798ef6827c..d6563828162f 100644 --- a/dotnet/README.md +++ b/dotnet/README.md @@ -27,10 +27,9 @@ var kernel = Kernel.Builder.Build(); // Azure OpenAI kernel.Config.AddAzureTextCompletionService( - "davinci-azure", // Alias used by the kernel "text-davinci-003", // Azure OpenAI Deployment Name "https://contoso.openai.azure.com/", // Azure OpenAI Endpoint - "...your Azure OpenAI Key..." // Azure OpenAI Key + "...your Azure OpenAI Key...", // Azure OpenAI Key ); // Alternative using OpenAI