Turn Non-static C# Function into SKFunction #3363
-
Is it possible to turn a non-static C# function into a Semantic Kernel native function? We need to use Dependency Injection. |
Beta Was this translation helpful? Give feedback.
Answered by
stephentoub
Nov 2, 2023
Replies: 1 comment
-
Yes, you're looking for SKFunction.FromNativeMethod/FromNativeFunction. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
HazyFish
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, you're looking for SKFunction.FromNativeMethod/FromNativeFunction.