Skip to content

Avoid calling/sending data to LLM with native plugin and function calling #6581

Answered by dmytrostruk
EVENFLOW212 asked this question in Q&A
Discussion options

You must be logged in to vote

We are using ToolCallBehavior.EnableKernelFunctions, hence manual function calling using line 63 to 107 of the sample below.

@EVENFLOW212 In this case, you send request to LLM and ask which functions to call, get a result with function list, execute it in order manually, and that should be it. Without initial request to LLM, you won't know which functions to call, so this is required.

After P1M1 gets called thru function calling, we need to "avoid" sending data to LLM but not prevent calls to P2M2 if orchestrated as such.

With manual function calling, after P1M1 gets called, there should not be any requests to LLM in between, unless your P1M1 function performs request to LLM on its own.

Replies: 1 comment 10 replies

Comment options

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

@EVENFLOW212
Comment options

@dmytrostruk
Comment options

Answer selected by sophialagerkranspandey
@EVENFLOW212
Comment options

@dmytrostruk
Comment options

@EVENFLOW212
Comment options

@dmytrostruk
Comment options

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