Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support of IEmbeddingGeneration<TValue, TEmbedding> interface by Kern…
…el.GetService method (microsoft#1693) ### Motivation and Context This change is required for backward compatibility of the `Kernel.GetService` method, allowing it to return services registered as instances of classes that implement the `IEmbeddingGeneration<TValue, TEmbedding>` interface. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) - [x] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with `dotnet format` - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄
- Loading branch information