I created a sample Azure Functions app and tryin to use Semantic Kernel in it. It's a barebone app, the source code is in the GIT here: https://github.com/supreettare/CRUDNLPAzureFunction
I am running into this error
System.MissingMethodException: 'Method not found: 'Microsoft.Extensions.DependencyInjection.IServiceCollection Microsoft.Extensions.DependencyInjection.ServiceCollectionServiceExtensions.AddKeyedSingleton(Microsoft.Extensions.DependencyInjection.IServiceCollection, System.Object, System.Func`3<System.IServiceProvider,System.Object,!!0>)'.'
at this line when adding the AddAzureOpenAIChatCompletion to builder.services
var builder = Kernel.CreateBuilder();
builder.Services.AddAzureOpenAIChatCompletion(azureOpenAIDeploymentName, azureOpenAIEndpoint, azureOpenAIAPIKey);
Any idea why this is happening and if there is a way to solve it? Appreciate any help with this.
Thanks