MicrosoftDocs / semantic-kernel-docs

Semantic Kernel (SK) is a lightweight SDK enabling integration of AI Large Language Models (LLMs) with conventional programming languages.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoInvokeKernelFunctions arent invoking

kgrosvenor opened this issue · comments

When i use the example from microsoft learn about AutoInvokeKernelFunctions, when i look at the history response i can see that ToolCalls are passing arguments as code rather then properly invoking the functions for example:

If i have a MathPlugin, and ask for 2 * 5, in the arguments it passes code as if the plugin was describing how to use a SDK..., how can you tell the model to not do this?

Have provided a screenshot of the output, you can see it is generating incorrect text for the time plugin,

It should be passing as

name: 'Prompt-TimePlugin',
arguments: {...}