Skip to content

How to avoid multiple consecutive calls to the same function in ToolCallBehavior.AutoInvokeKernelFunctions? #10124

Closed Answered by SergeyMenshykh
LuisM000 asked this question in Q&A
Discussion options

You must be logged in to vote

@LuisM000, got you. You can access function calls if you enable manual function invocation. Then you will need to consolidate the functions arguments and invoke the function yourself. Additionally, you will need to remove the original function calls and add a simulated function call and return your function invocation result as part of that simulated call.

That will only work if the function calls came as part of one request/response from LLM.

Replies: 4 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@LuisM000
Comment options

Comment options

You must be logged in to vote
6 replies
@LuisM000
Comment options

@SergeyMenshykh
Comment options

@LuisM000
Comment options

@SergeyMenshykh
Comment options

Answer selected by LuisM000
@LuisM000
Comment options

@SergeyMenshykh
Comment options

Comment options

You must be logged in to vote
0 replies
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