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 · 5 replies

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 5 replies

You must be logged in to vote
5 replies
@HuskyDanny

@moonbox3

@yanshinian

@moonbox3

@moonbox3

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
4 participants