azure-search-vector-samples icon indicating copy to clipboard operation
azure-search-vector-samples copied to clipboard

Unable to run dontet sample

Open baskialdensys opened this issue 2 years ago • 8 comments

I'm trying to run the dotnet sample and getting the following error. dotnet restore --interactive is not showing any prompt for authentication Unable to find package OpenAI.Api. No packages exist with this id in source(s): azure-sdk-for-net

baskialdensys avatar Jun 26 '23 12:06 baskialdensys

Add https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json to your nuget feed

droosma avatar Jun 27 '23 13:06 droosma

Hi @baskialdensys were you able to get your issue resolved using the openai nuget package?

farzad528 avatar Jun 29 '23 16:06 farzad528

I already have this entry (https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json) in nuget.config file

baskialdensys avatar Jun 29 '23 18:06 baskialdensys

Unable to find package OpenAI.Api. No packages exist with this id in source(s): azure-sdk-for-net

Getting the same erro Unable to find package OpenAI.Api. No packages exist with this id in source(s): azure-sdk-for-net

baskialdensys avatar Jun 29 '23 18:06 baskialdensys

I deleted my nuget.config file from the project folder, it works now.

baskialdensys avatar Jun 29 '23 18:06 baskialdensys

The readme file has this instruction , that's why I created local nuget.config file


`Verify that you have a nuget.config file in the same folder as your .csproj or .sln file. If not, paste the following content into a nuget.config file:

` ----

baskialdensys avatar Jun 29 '23 18:06 baskialdensys

I am having very similar issue after all the steps completed .

This step fails, dotnet restore --interactive

With multiple error messages

Here's one of the examples: error NU1101: Unable to find package Microsoft.Extensions.Configuration.Json. No packages exist with this id in source(s): azure-sdk-for-net

I have nuget configuration file and .6 and .7 SDK are installed on the system.

Any ideas ?

mg-arrow avatar Jul 03 '23 23:07 mg-arrow

I Just deleted the local project nuget.config file. I was able to compile it. I hope it resolved the right OpenAI nuget package.

baskialdensys avatar Jul 05 '23 12:07 baskialdensys