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

How to use copilot's text import function, I have an error reported

Open 13bbjxwz opened this issue 2 years ago • 6 comments

How to use copilot's text import function, I have an error reported image image The dialog function of copilot works fine.

13bbjxwz avatar May 12 '23 02:05 13bbjxwz

did you set ClientId and RedirectUri? because you use "--user-collection"

https://github.com/microsoft/semantic-kernel/tree/main/samples/apps/copilot-chat-app/importdocument

feiyun0112 avatar May 13 '23 14:05 feiyun0112

Hello!

Thanks for reporting the issue!

The document import feature has been updated since you reported the issue. The user scoped collections have been replaced by chat session scoped collections.

Please refer to the README to see instructions on how to set up the appsettings.json file to allow the app to import documents to chat scoped collections.

Feel free to leave more questions here.

TaoChenOSU avatar May 16 '23 18:05 TaoChenOSU

I have started the webapi service 1684380427264 1684380452410 The configuration file looks like this image But I run dotnet run -- --file . \sample-docs\ms10k.txt prompted this 1684380479208 I don't know how to solve

13bbjxwz avatar May 18 '23 03:05 13bbjxwz

did you setup WebApi Backend Server?

https://github.com/microsoft/semantic-kernel/tree/main/samples/apps/copilot-chat-app#start-the-webapi-backend-server

you can debug WebApi to see what the problem is

https://github.com/microsoft/semantic-kernel/blob/main/samples/apps/copilot-chat-app/webapi/CopilotChat/Controllers/DocumentImportController.cs#LL69C44-L69C44

feiyun0112 avatar May 18 '23 05:05 feiyun0112

this is work, 4f910ff7c8a1c721656b8beef8ea35f

It's still like this be6cb0913a319b3c2efe11b20e58b5b

I also encountered an error. I couldn't open Copolit on Google before, but I could still open it. The image above was opened using Microsoft's browser 1

13bbjxwz avatar May 18 '23 12:05 13bbjxwz

this is work, 4f910ff7c8a1c721656b8beef8ea35f

It's still like this be6cb0913a319b3c2efe11b20e58b5b

I also encountered an error. I couldn't open Copolit on Google before, but I could still open it. The image above was opened using Microsoft's browser 1

To resolve the SSL connection error, have you tried running the following command:

dotnet dev-certs https --trust

TaoChenOSU avatar May 19 '23 14:05 TaoChenOSU

Closing now as it appears this issue has been resolved. Please reopen as needed.

TaoChenOSU avatar Jun 05 '23 19:06 TaoChenOSU