Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The .Net samples doesn't work - Corporate proxy and custom SSL chain #82

Open
zioalex opened this issue Jan 25, 2024 · 0 comments
Open

Comments

@zioalex
Copy link

zioalex commented Jan 25, 2024

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:

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant