.Net: [KernelPromptTemplate] Support primitives in values #4015
Labels
kernel
Issues or pull requests impacting the core kernel
.NET
Issue or Pull requests regarding .NET code
sk team issue
A tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
stale
Issue is stale because it has been open for 90 days with no activity
Today, 'KernelPromptTemplate' requires all values, such as 28 in the expression {{p.f a='28'}}, to be wrapped in single or double quotes. Considering that it's being updated to support primitives - #4013, it would be logical to expect the expression to be like this: {{p.f a=28}}, where the value 28 is specified without single or double quotes and eventually passed to the function as is, without unnecessary string-to-int conversion.
The text was updated successfully, but these errors were encountered: