.Net: Document behaviour whereby KernelArguments contains arguments with incorrect types #10153
Labels
documentation
.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)
This issue is reproducible if a KernelFunction delegate takes KernelArguments as a parameter
Consider the following request and response:
Note that the tool_call.function.arguments in the response form the LLM correctly have count as an integer
The KernelFunction delegate takes
KernelArguments
are an input parameter e.g..When the delegate gets called the count argument is of type string because of this code:
If I change the KernelFunction delegate as follows i.e.
The
count
argument is set correctly but the count argument is still inKernelArguments
with the incorrect type.Purpose of this task is to document this behaviour
The text was updated successfully, but these errors were encountered: