semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

chat-summary-webapp-react cannot save the settings for Azure OpenAI

Open yanxiaodi opened this issue 2 years ago • 4 comments

Describe the bug I'm running the chat-summary-webapp-react demo app but cannot save the settings.

The first problem is that we need to rename .env.example as .env, which is not clear in the documents.

But still cannot save the settings.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'http://localhost:7071'
  2. Choose Azure OpenAI
  3. Type the key, deployment name, and endpoint
  4. Click on 'Save'
  5. See errors "ModelNotAvailable", "Unauthorized". Sometimes can list the deployed models but cannot save the settings, e.g. "Model xxx not available on xxx endpoint"

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

  • OS: Windows 11
  • IDE: VS Code
  • NuGet Package Version [e.g. 0.1.0]

Additional context Add any other context about the problem here.

yanxiaodi avatar Apr 07 '23 12:04 yanxiaodi

@craigomatic @hathind-ms

dluc avatar Apr 08 '23 03:04 dluc

We're looking at this one now.

microsoftShannon avatar Apr 13 '23 20:04 microsoftShannon

@yanxiaodi - are you still having this issue? cc: @craigomatic

evchaki avatar May 25 '23 20:05 evchaki

@evchaki I'll try it today and let you know. Thanks!

yanxiaodi avatar May 25 '23 22:05 yanxiaodi

@evchaki it works now. I think it works only with text-davinci-003? I tried gpt-4 but got an error: image image

Is it expected? Thanks.

yanxiaodi avatar May 28 '23 09:05 yanxiaodi

We just updated the samples to support chat completion models, ie: gpt35 turbo and gpt4 with PR #1279 so if you pull the latest code you should be able to get it to work with gpt4.

I will close this for now as it appears the original issue was resolved. Please reopen if needed!

craigomatic avatar May 30 '23 22:05 craigomatic