choose And Accomplish Goal
fun chooseAndAccomplishGoal(processOptions: ProcessOptions = ProcessOptions(), goalChoiceApprover: GoalChoiceApprover, agentScope: AgentScope, bindings: Map<String, Any>, goalSelectionOptions: GoalSelectionOptions = GoalSelectionOptions()): AgentProcessExecution
Choose a goal based on the user input and try to achieve it. Open execution model. May bring in actions and conditions from multiple agents to help achieve the goal. Doesn't need reified types because we don't know the type yet.
Parameters
process Options
process options
goal Choice Approver
goal choice approver allowing goal choice to be rejected
agent Scope
scope to look for the agent
bindings
any additional bindings to pass to the agent process
goal Selection Options
options for goal selection, such as confidence cut-off and multi-goal selection, if we want customization.