And it doesn't work.
I am behind a corporate proxy with a custom SSL certificate chain. This could lead to some problem and would be great to know how to make the sample working in such case.
However the problem seems to be another. As written, I have loaded the variable in secret manager. I am using AzureOpenAI therefore I ran dotnet user-secrets set "AzureOpenAI:ChatCompletionDeploymentName" kind of commands.
And uncommented the line builder.Services.AddAzureOpenAIChatCompletion();.
When I try to build and run it I get error:
Severity Code Description Project File Line Suppression State
Error CS1501 No overload for method 'AddAzureOpenAIChatCompletion' takes 0 arguments 00-Getting-Started C:\Users\Source\Repos\semantic-kernel-docs\samples\dotnet\00-Getting-Started\Program.cs 40 Active
Hi there, I've tested some samples under https://github.com/MicrosoftDocs/semantic-kernel-docs/blob/main/samples/dotnet/00-Getting-Started/README.md
And it doesn't work. I am behind a corporate proxy with a custom SSL certificate chain. This could lead to some problem and would be great to know how to make the sample working in such case.
However the problem seems to be another. As written, I have loaded the variable in secret manager. I am using AzureOpenAI therefore I ran
dotnet user-secrets set "AzureOpenAI:ChatCompletionDeploymentName"
kind of commands.And uncommented the line
builder.Services.AddAzureOpenAIChatCompletion();
.When I try to build and run it I get error: