Skip to content

Conversation

@rogerbarreto
Copy link
Member

@rogerbarreto rogerbarreto commented Apr 22, 2025

Motivation and Context

This PR introduces changes recently merged to MEAI which allow flexibility and reusage from the higher level implementation perspective of Semantic Kernel.

  • KernelFunctionInvokingChatClient : MEAI.FunctionInvokingChatClient
  • AutoInvocationFunctionContext : MEAI.FunctionInvocationContext
  • KernelArguments : MEAI.AIFunctionArguments

FYI @stephentoub @SteveSandersonMS

@rogerbarreto rogerbarreto added the msft.ext.ai Related to Microsoft.Extensions.AI label Apr 22, 2025
@rogerbarreto rogerbarreto self-assigned this Apr 22, 2025
@rogerbarreto rogerbarreto requested a review from a team as a code owner April 22, 2025 16:31
@markwallace-microsoft markwallace-microsoft added .NET Issue or Pull requests regarding .NET code kernel.core labels Apr 22, 2025
@rogerbarreto rogerbarreto moved this to Sprint: In Review in Semantic Kernel Apr 22, 2025
@rogerbarreto rogerbarreto moved this from Sprint: In Review to Bug in Semantic Kernel Apr 22, 2025
@rogerbarreto rogerbarreto removed the status in Semantic Kernel Apr 22, 2025
Copy link
Member

@jeffhandley jeffhandley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RogerBarret0 I left several comments for us to consider with @SteveSandersonMS.

Even if we don't make changes into MEAI GA for the possible API additions, the approach you've taken here to refactor the replacement classes out to keep the Kernel* classes more maintainable seems reasonable to me.

You also mentioned a middleware-type concept when we chatted, but I didn't spot where that was surfacing in here. Can you explain that again and/or draw my attention to it please?

@rogerbarreto rogerbarreto marked this pull request as draft April 23, 2025 06:37
@rogerbarreto rogerbarreto added needs discussion Issues that require discussion by the internal Semantic Kernel team before proceeding api_proposal Issues tagged with this label propose a change to the public API surface labels Apr 23, 2025
@rogerbarreto rogerbarreto changed the title .Net: KernelFunctionInvokingChatClient specialization of MEAI.FunctionInvokingChatClient .Net: KernelFunctionInvokingChatClient specialization of MEAI.FunctionInvokingChatClient (Proposal) Apr 23, 2025
@rogerbarreto rogerbarreto marked this pull request as ready for review May 1, 2025 09:59
@rogerbarreto rogerbarreto added PR: ready for review All feedback addressed, ready for reviews and removed needs discussion Issues that require discussion by the internal Semantic Kernel team before proceeding api_proposal Issues tagged with this label propose a change to the public API surface labels May 1, 2025
@rogerbarreto rogerbarreto merged commit 9381c8d into microsoft:feature-msextensions-ai May 6, 2025
11 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 msft.ext.ai Related to Microsoft.Extensions.AI .NET Issue or Pull requests regarding .NET code PR: ready for review All feedback addressed, ready for reviews

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants