You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using Function Calls in a Semantic Kernel Prompt Template, and naming an injected KernelArgument to be passed to the function.
The argument is converted to a str() by the VarBlock causing the Function Invocation to fail if it expects the real type of the argument.
To Reproduce
Steps to reproduce the behavior:
Create a Kernel Function that accepts a non string parameter
Inject the parameter as a Kernel Argument
Create a Prompt Template calling that Kernel Function with the argument
Render the Prompt Template
Expected behavior
Function is called with the correct argument type. The return value from the function is what's rendered as a string in the final template.