microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
860 stars 366 forks source link

unable to install openai packages #9650

Closed volkanbt06 closed 9 months ago

volkanbt06 commented 9 months ago

Hello,

I can't install any Openai package from the packages manager. I'm on bot composer v2.1.2. I'm getting the following error:

Command failed: dotnet add testLuisBot.csproj package "AzureAI.Community.OpenAI.Bot.Builder.Prompt" --version="1.0.7" --source="https://api.nuget.org/v3/index.json"

stevkan commented 9 months ago

@volkanbt06 - I was able to repro this issue. Looking at the Nuget package online, I see that it is built using .NET 7. To make this package work in Composer (or more specifically, in the bot), you will need to

If the steps above don't immediately resolve the problem, you can try initially running dotnet build in the .csproj directory to build the project.

As this should resolve your issue, I am going to close this as resolved. If the issue persists, please feel free to reopen this.