Skip to content

Commit

Permalink
correct order for AddAzureTextCompletionService params in dotnet read…
Browse files Browse the repository at this point in the history
…me (#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.
  • Loading branch information
cdMSFT authored May 15, 2023
1 parent 13ad07d commit f7f227f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dotnet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f7f227f

Please sign in to comment.