How does AgentInvocation know which agent to pick? #1028
Unanswered
schabiyo-eng
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
autonomy.chooseAndAccomplishGoal(
processOptions = processOptions,
goalChoiceApprover = GoalChoiceApprover.APPROVE_ALL,
agentScope = agentPlatform,
bindings = mapOf("userInput" to UserInput(intent)),
goalSelectionOptions = GoalSelectionOptions(),
)Alternatively you can use HTH |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I have 2 agents defined in my Web App but AgentInvocation is always picking. I thought the agent will use the UserInput to make a decision on which agent to use. Am I wrong? Basically based on the message intent I want to invoque the appropriate agent. I wouldn't want to code that logic myself.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions