-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
.Net Removing special "input" argument #4156
.Net Removing special "input" argument #4156
Conversation
dotnet/src/SemanticKernel.Core/TemplateEngine/Blocks/CodeBlock.cs
Outdated
Show resolved
Hide resolved
The mentions of "input" should be removed from semantic-kernel/dotnet/src/SemanticKernel.Abstractions/Functions/KernelFunctionAttribute.cs Lines 33 to 43 in ae64b16
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably update PR description to describe new syntax for better visibility.
Before:
var result = await kernel.InvokeAsync(excuseFunction, new("I missed the F1 final race"));
After:
var result = await kernel.InvokeAsync(excuseFunction, new() { ["input"] = "I missed the F1 final race" });
Motivation and Context
Resolves #3887
Before:
After: