microsoft / semantic-kernel

Integrate cutting-edge LLM technology quickly and easily into your apps
https://aka.ms/semantic-kernel
MIT License
21.52k stars 3.17k forks source link

.Net: Memory builder extension function `WithAzureOpenAITextEmbeddingGeneration` missing #8926

Open sukesh-ak opened 1 week ago

sukesh-ak commented 1 week ago

I found that this function WithOpenAITextEmbeddingGeneration is available in OpenAI but not in AzureOpenAI.

Did the API's change?

https://github.com/microsoft/semantic-kernel/blob/be90d239117dd9d035f9c8c897b2cce6069ecb4c/dotnet/src/Connectors/Connectors.OpenAI/Extensions/OpenAIMemoryBuilderExtensions.cs#L27

markwallace-microsoft commented 1 week ago

@sukesh-ak We are in the process of changing our abstractions for dealing with Vector databases and also search. The new abstractions are documented here: https://learn.microsoft.com/en-us/semantic-kernel/concepts/vector-store-connectors/?pivots=programming-language-csharp. Our goal is to have these complete by Ignite and non experimental soon after that.

You could create the WithAzureOpenAITextEmbeddingGeneration extension method yourself if you want to stick with the old memory abstractions but our recommendation will be to move to the new ones.