Skip to content

.Net: Add ONNX ChatClient Extensions + UT #12477

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

RogerBarreto
Copy link
Member

Add IChatClient Extensions for ONNX Connector

Summary

This PR implements missing AddOnnxChatClient extension methods for the ONNX Connector, providing support for the new IChatClient interface alongside the existing IChatCompletionService extensions.

Changes Made

  • New Extension Methods
  • IServiceCollection Extensions: Added AddOnnxRuntimeGenAIChatClient method in a dedicated ServiceCollectionExtensions.DependencyInjection.cs file following the same pattern as other connectors like OpenAI
  • IKernelBuilder Extensions: Added AddOnnxRuntimeGenAIChatClient method in OnnxKernelBuilderExtensions.ChatClient.cs for seamless kernel configuration

@RogerBarreto RogerBarreto self-assigned this Jun 14, 2025
@RogerBarreto RogerBarreto requested a review from a team as a code owner June 14, 2025 15:31
@RogerBarreto RogerBarreto moved this to Sprint: In Review in Semantic Kernel Jun 14, 2025
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel labels Jun 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code
Projects
Status: Sprint: In Review
Development

Successfully merging this pull request may close these issues.

3 participants