microsoft / kernel-memory

RAG architecture: index and query any data using LLM and natural language, track sources, show citations, asynchronous memory patterns.

Home Page:https://microsoft.github.io/kernel-memory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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).

Microsoft.SemanticKernel.AI.* namespace doesn't exist in SemanticKernel 1.0.0-rc4. Package reference should be updated in Microsoft.KernelMemory projects and the errors should be fixed.

Screenshot 2023-12-14 at 13 17 58

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