MicrosoftDocs / semantic-kernel-docs

Semantic Kernel (SK) is a lightweight SDK enabling integration of AI Large Language Models (LLMs) with conventional programming languages.
MIT License
172 stars 100 forks source link

AutoInvokeKernelFunctions arent invoking #97

Open kgrosvenor opened 3 months ago

kgrosvenor commented 3 months ago

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: {...}

kgrosvenor commented 3 months ago

image