Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SK text and embedding generator wrappers public (#808)
Currently it's possible to inject Semantic Kernel classes into KM only using - IKernelMemoryBuilder.WithSemanticKernelTextGenerationService - IKernelMemoryBuilder.WithSemanticKernelTextEmbeddingGenerationService - IServiceCollection.AddSingleton<ITextGenerator>(instance) - IServiceCollection.AddSingleton<ITextEmbeddingGenerator>(instance) However, it's not possible to create an instance of Semantic Kernel classes directly without writing a custom wrapper class first. Since the project already includes such wrapper, as internal classes, this PR changes them to public classes, to reduce the amount of code to write. Classes: - SemanticKernelTextGenerator - SemanticKernelTextEmbeddingGenerator
- Loading branch information