Is this feature from Open AI supported by Semantic Kernel - force the model to always call one or more functions, you can set tool_choice: "required". #6971
-
https://platform.openai.com/docs/guides/function-calling/function-calling-behavior Is the below feature supported by Semantic Kernel? To force the model to always call one or more functions, you can set tool_choice: "required". The model will then select which function(s) to call. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@EVENFLOW212 Yes, it is supported by using As for now it accepts only one function, but we are working on new function calling abstractions that will accept multiple required functions to call. Thank you! |
Beta Was this translation helpful? Give feedback.
@EVENFLOW212 Yes, it is supported by using
ToolCallBehavior.RequireFunction()
in execution settings:semantic-kernel/dotnet/samples/Concepts/Filtering/AutoFunctionInvocationFiltering.cs
Lines 30 to 33 in d2bc3a8
As for now it accepts only one function, but we are working on new function calling abstractions that will accept multiple required functions to call.
Thank you!