Change arguments in IFunctionInvocationFilter? #9631
-
You can return a new function result from the filter, but is it possible to change arguments before making the next(context) call? |
Beta Was this translation helpful? Give feedback.
Answered by
dmytrostruk
Nov 11, 2024
Replies: 1 comment 1 reply
-
@jorisdg Thanks for your question! Yes, it's possible to change arguments before making the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jorisdg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@jorisdg Thanks for your question!
Yes, it's possible to change arguments before making the
next(context)
call, here is an example:semantic-kernel/dotnet/samples/Concepts/Filtering/FunctionInvocationFiltering.cs
Lines 179 to 184 in 7d9f834