Replies: 2 comments 3 replies
-
Hi @Gal-Gilor, which version of the SK Python package are you using? By the sound of the classes you're referring to, you're not using the latest beta package. I would highly recommend you upgrade to the latest package so you can take advantage of our latest enhancements. We have introduced a lot of changes to bring us closer to parity with dotnet. For example, functions now return a The |
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response! Unfortunately, I am forced to used the older version. That said, I will bring that up. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I’m trying to get a precise token counts from kernel, and planners, especially the Stepwise planner, during function execution.
Unfortunately, I did not find the documentation to help with that.
That said , I noticed that I can use PromptTemplateConfig, PromptTemplate, PromptTemplateEngine, SemanticFunctionConfig, and the context object to render the prompt.
If it’s not yet feasible, is it possible to add to the ‘context’ another variable with the rendered prompt or the entire execution token counts (input, outputs both?).
Thoughts?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions