Skip to content

.Net: SK integration with MEAI Abstractions (Service Selector + Contents) Phase 1#10651

Merged
rogerbarreto merged 31 commits intomicrosoft:feature-msextensions-aifrom
rogerbarreto:issues/10319-sk-meai-integration
Mar 3, 2025
Merged

.Net: SK integration with MEAI Abstractions (Service Selector + Contents) Phase 1#10651
rogerbarreto merged 31 commits intomicrosoft:feature-msextensions-aifrom
rogerbarreto:issues/10319-sk-meai-integration

Conversation

@rogerbarreto
Copy link
Member

@rogerbarreto rogerbarreto commented Feb 24, 2025

Motivation and Context

This change adds a new IChatClientSelector abstraction to work without breaking current IAIServiceSelector implementations.

This was necessary because Kernel now will be able to resolve IChatClients which are not IAIService implementations, and OrderedAIServiceSelector now can select not only AIServices but ChatClients as well by implementing the IChatClientSelector interface.

All other changes are related to test accepting IChatClients added to the Service DI container, ensuring they work as expected together with current IChatCOmpletionService and ITextGenerationService in the Kernel.

@rogerbarreto rogerbarreto added the .NET Issue or Pull requests regarding .NET code label Feb 24, 2025
@markwallace-microsoft markwallace-microsoft added kernel Issues or pull requests impacting the core kernel kernel.core labels Feb 26, 2025
@rogerbarreto rogerbarreto marked this pull request as ready for review February 26, 2025 19:56
@rogerbarreto rogerbarreto merged commit 908333b into microsoft:feature-msextensions-ai Mar 3, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kernel.core kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants