Integrating with rc-4 of SemanticKernel leads to ambiguous invocation errors when calling AddOpenAIChatCompletion and AddOpenAITextEmbeddingGeneration
glorious-beard opened this issue · comments
I think it's because Kernel Memory is referring to the package Microsoft.SemanticMemory.Connectors.AI.OpenAI, which has been deprecated. Most classes in that package have been moved to Microsoft.SemanticMemory.Connectors.OpenAI. This results in both rc-3 and rc-4 versions of the same kernel builder extensions with the same classname in the same namespace.
(See this line).
The SK team is launching V1 soon, we'll probably wait a few more days and jump directly to the latest and greatest :-)
Fixed, please see the last nugets and code, which is based on SK v1.0.1