Skip to content

How to force invoke a plugin #9003

Answered by moonbox3
Skyquek asked this question in Q&A
Sep 26, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

You can use the Required FunctionChoiceBehavior (or its equivalent depending upon the AI service). This tells the model it must make a tool call every time. The Required settings is a bit tricky, though. You will need to figure out how many "auto invoke attempts" to configure, as each time you call the LLM it will only respond with a tool call (no need to waste tokens continuously calling the same function).

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@HuskyDanny
Comment options

@moonbox3
Comment options

Answer selected by Skyquek
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