Performance improvement for functional calling #9907
Replies: 2 comments 2 replies
-
@TaoChenOSU do you have thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
Hi @HuskyDanny, Thank you for your question! By looking at the timeline you posted, it only shows one function call within To answer your question, by default SK functions already generate a set of logs at different log levels. It's also possible to write more logs. If you are using native functions, you can write logs within them. If you are using prompt functions, you can use a filter to create more logs: https://review.learn.microsoft.com/en-us/semantic-kernel/concepts/enterprise-readiness/filters?branch=main&pivots=programming-language-csharp Could you please let us know which language you are using? |
Beta Was this translation helpful? Give feedback.
-
Hi Team,
I have a trace monitoring showing 17s spent on a semantic function
I enabled functional calling, so the back and forth network calls to get the function execution might take the most of the time.
My question is "Is there a way to inject log for the substep of functional calling or a specific feature in smeantic kernel if there is no native one"?
The reason why I want to do it is I want to find the root cause of 17s and find potential improvement on it based on spans and logs
Beta Was this translation helpful? Give feedback.
All reactions