Skip to content
Discussion options

You must be logged in to vote

@EVENFLOW212 Yes, it is supported by using ToolCallBehavior.RequireFunction() in execution settings:

var executionSettings = new OpenAIPromptExecutionSettings
{
ToolCallBehavior = ToolCallBehavior.RequireFunction(function.Metadata.ToOpenAIFunction(), autoInvoke: true)
};

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!

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@EVENFLOW212
Comment options

@SergeyMenshykh
Comment options

@EVENFLOW212
Comment options

@dmytrostruk
Comment options

Answer selected by dmytrostruk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants