Skip to content

.Net: Slow performance while using Native Functions Plugins with AutoInvokeKernelFunctions? #6074

Answered by matthewbolanos
ankiga-MSFT asked this question in Q&A
Discussion options

You must be logged in to vote

This sounds like how the OpenAI model works "by design" (and isn't necessarily behavior that specific to Semantic Kernel). For something like "Take the square root of 17 and 11 and add the results" each step needs to happen sequentially so that the AI can use the results of the previous calculation. This means multiple AI requests need to be made (one for each step).

For operations like this, we're in the process of building a Python plugin that will allow the LLM to author python code to complete multiple steps at the same time. This functionality will allow you to mimic the code interpreter feature in the Assistant API. This should be available around Microsoft Build at the end of this …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sophialagerkranspandey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
.NET Issue or Pull requests regarding .NET code
2 participants
Converted from issue

This discussion was converted from issue #5971 on April 30, 2024 23:13.