semantic-kernel icon indicating copy to clipboard operation
semantic-kernel copied to clipboard

.Net: Memory builder extension function `WithAzureOpenAITextEmbeddingGeneration` missing

Open sukesh-ak opened this issue 1 year ago • 1 comments

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

sukesh-ak avatar Sep 20 '24 16:09 sukesh-ak

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

markwallace-microsoft avatar Sep 23 '24 08:09 markwallace-microsoft

@markwallace-microsoft Thank you. My apologies. Missed out responding. Will check the new way of doing things. Hope the API's will be completed soon.

sukesh-ak avatar Oct 07 '24 08:10 sukesh-ak